|
{{ $invoice->created_at->format('d/m/y') }} |
{{ $invoice->created_at->format('H:i') }} |
{{ $invoice->user->name }} |
{{ $invoice->sales_name }} |
{{ $invoice->qty }} |
Rp. {{ number_format($invoice->subtotal, 0, ',', '.') }} |
Rp. {{ number_format($invoice->discount, 0, ',', '.') }} |
Rp. {{ number_format($invoice->grandtotal, 0, ',', '.') }} |
@if ($invoice->payment === 'Multi')
@php
$totalCash += $invoice->cash;
$totalSubtotalCard += $invoice->transfer;
@endphp
Rp. {{ number_format($invoice->cash, 0, ',', '.') }} |
Rp. {{ number_format($invoice->transfer, 0, ',', '.') }} |
@elseif ($invoice->payment === 'Cash')
@php
$totalCash += $invoice->grandtotal;
@endphp
Rp. {{ number_format($invoice->grandtotal, 0, ',', '.') }} |
Rp. 0 |
@elseif ($invoice->payment === 'Qris')
@php
$totalSubtotalCard += $invoice->grandtotal;
@endphp
Rp. 0 |
Rp. {{ number_format($invoice->grandtotal, 0, ',', '.') }} |
@elseif ($invoice->payment === 'Card')
@php
$totalSubtotalCard += $invoice->grandtotal;
@endphp
Rp. 0 |
Rp. {{ number_format($invoice->grandtotal, 0, ',', '.') }} |
@else
{{-- mz --}}
Rp. 0 |
Rp. 0 |
@endif
@if($invoice->sync == 'N')
@else
@endif
|
|