{{session('status')}}
Ventas del día
$ {{number_format($total_ventas)}}
Gastos del día
$ {{number_format($total_gastos)}}
Costos aproximados
$ {{number_format($total_costos)}}
Ganancias aprox
$ {{number_format($total_ganancias)}}
{{-- caja general --}}
@foreach($metodos as $metodo)
@endforeach
{{$metodo->titulo}}
$ {{number_format($caja->total_metodo($metodo->id))}}
| ID | Usuario | N° productos | Total | @if(Auth::user()->is_admin == 'Si')Costo | Ganancias Aprox | @endifFecha | Acción |
|---|---|---|---|---|---|---|---|
| #{{$venta->id}} |
{{$venta->user->name}} |
{{$venta->number_items()}} | $ {{number_format($venta->total)}} | @if(Auth::user()->is_admin == 'Si')$ {{number_format($venta->costo())}} | $ {{number_format($venta->ganancia())}} | @endif{{date_format(date_create($venta->created_at), 'd/m/Y h:i A')}} |
| ID | Usuario | Valor | Caja | Tipo | Proveedor | Fecha | Acciones |
|---|---|---|---|---|---|---|---|
| #{{$gasto->id}} |
{{$gasto->user->name}} |
$ {{number_format($gasto->valor)}} | {{$gasto->caja->nombre}} | {{$gasto->tipo->titulo}} | {{($gasto->id_proveedor != null) ? $gasto->proveedor->nombre : 'N/A'}} | {{date_format(date_create($gasto->created_at),'d/m/Y h:i A')}} |
Bienvenido!
@endif