@extends('layouts.app') @section('content')


Articulos Registrados

@foreach($articulos as $art) @endforeach
Nombre Descripcion Categoria Precio Venta Precio Costo Utilidad Stock
{{$art->nombre}} {{$art->descripcion}} {{$art->nomCat}} {{$art->p_venta}} {{$art->p_costo}} {{$art->p_venta - $art->p_costo}} {{$art->stock}}

Total de Tipos de Articulos: Q. {{number_format($total, 2)}}

Total de Precio Venta: Q. {{number_format($pventaTotal, 2)}}

Total de Precio Costo: Q. {{number_format($pcostoTotal, 2)}}

Total de Utilidad: Q. {{number_format($pventaTotal - $pcostoTotal, 2)}}

@endsection @section('scripts') @endsection