| N |
Fecha |
Producto |
Cantidad |
Precio |
Total |
@php
$totalServices = 0;
$quaintityServices = 0;
$total = 0;
$quantity = 0;
@endphp
@forelse ($saleProducts as $saleProduct)
@php
$total += $saleProduct->total_total;
$quantity += $saleProduct->total_quantity;
@endphp
| {{ $loop->iteration }} |
{{ ($saleProduct->created_at->format('d/m/Y')) }} |
{{ ($saleProduct->product->names_together) }} |
{{ number_format($saleProduct->total_quantity, 0) }} |
{{ number_format($saleProduct->total_sale_price, 2) }} |
{{ number_format($saleProduct->total_total, 2) }} |
@empty
@endforelse
| Total Productos |
{{ number_format($quantity,0) }} |
|
{{ number_format($total,2) }} |
@forelse ($saleServices as $saleService)
@php
$total += $saleService->total_total;
$quantity += $saleService->total_quantity;
$totalServices += $saleService->total_total;
$quaintityServices += $saleService->total_quantity;
@endphp
| {{ $loop->iteration }} |
{{ ($saleService->created_at->format('d/m/Y')) }} |
{{ ($saleService->service_name) }} |
{{ number_format($saleService->total_quantity, 0) }} |
{{ number_format($saleService->total_sale_price, 2) }} |
{{ number_format($saleService->total_total, 2) }} |
@empty
@endforelse
| Total Servicios |
{{ number_format($quaintityServices,0) }} |
|
{{ number_format($totalServices,2) }} |
| Total |
{{ number_format($quantity,0) }} |
|
{{ number_format($total,2) }} |