@if ($invoiceNo) @endif
{{--
--}}
@if ($selectedType) @else @endif
{{-- @if ($loadingsap) @else @endif --}} {{-- @if ($syncount >= 1) @else @endif --}}
@if ($isEnableService) @endif @php $totalCash = 0; $totalTransfer = 0; $totalSubtotalQrisCash = 0; $totalSubtotalCard = 0; $totalService = 0; @endphp @foreach ($invoices as $invoice) @if ($invoice->cashback !== 'N') @else @endif @if ($isEnableService) @endif @if ($invoice->payment === 'Multi') @php $totalCash += $invoice->cash; $totalSubtotalCard += $invoice->transfer; @endphp @elseif ($invoice->payment === 'Cash') @php $totalCash += $invoice->grandtotal; @endphp @elseif ($invoice->payment === 'Qris') @php $totalSubtotalCard += $invoice->grandtotal; @endphp @elseif ($invoice->payment === 'Card') @php $totalSubtotalCard += $invoice->grandtotal; @endphp @else @endif @endforeach
No. Invoice Tanggal Jam Kasir Staff Jumlah Sub Total Diskon CashbackPersen Service Jumlah ServiceTotal Tunai Kartu Aksi
{{ \Carbon\Carbon::parse($invoice->created_at)->format('d/m/y') }} {{ \Carbon\Carbon::parse($invoice->created_at)->format('H:i') }} {{ $invoice->users_name }} {{ $invoice->sales_name }} {{ $invoice->total_qty }} Rp. {{ number_format($invoice->subtotal ?? 0, 0, ',', '.') }} Rp. {{ number_format($invoice->disc_total, 0, ',', '.') }}Rp. {{ number_format($invoice->value, 0, ',', '.') }}Rp. 0{{ number_format($invoice->service_percent, 1) }}% @php $totalService += $invoice->service_amount ?? 0; @endphp Rp. {{ number_format($invoice->service_amount ?? 0, 0, ',', '.') }} Rp. {{ number_format($invoice->grandtotal, 0, ',', '.') }}Rp. {{ number_format($invoice->cash, 0, ',', '.') }} Rp. {{ number_format($invoice->transfer, 0, ',', '.') }}Rp. {{ number_format($invoice->grandtotal, 0, ',', '.') }} Rp. 0Rp. 0 Rp. {{ number_format($invoice->grandtotal, 0, ',', '.') }}Rp. 0 Rp. {{ number_format($invoice->grandtotal, 0, ',', '.') }}Rp. 0 Rp. 0
@if ($isEnableService) @endif @if ($isEnableService) @endif
Total Struk Jumlah Tunai KartuTotal ServiceSub Total Diskon Cashback Total Retur Penjualan
Total {{ $invoices->count() }} {{ $invoices->sum('total_qty') }} Rp. {{ number_format($totalCash, 0, ',', '.') }} Rp. {{ number_format($totalSubtotalCard, 0, ',', '.') }}Rp. {{ number_format($totalService, 0, ',', '.') }}Rp. {{ number_format($invoices->sum('subtotal'), 0, ',', '.') }} Rp. {{ number_format($invoices->sum('disc_total'), 0, ',', '.') }} Rp. {{ number_format($invoices->sum('value'), 0, ',', '.') }} Rp. {{ number_format($invoices->sum('grandtotal'), 0, ',', '.') }} Rp. {{ number_format($returnsale->sum('price'), 0, ',', '.') }}
{{-- --}}
{{-- @foreach ($invoices as $invoice) @endforeach --}} @livewireScripts