{{--

Palm Lagoon TRANS STUDIO BALI

--}}

{{ $setting->wh_name }}
Telp: {{ $setting->phone }}
{{ $setting->address }}

{{--

Invoice: 123123

--}} {{--

123

--}}
@php $cashierName = $invoice->users_name; $atPosition = strpos($cashierName, '@'); if ($atPosition !== false) { $cashierName = substr($cashierName, 0, $atPosition); } @endphp
Cashier : {{ $cashierName }}
Bill No : {{ $invoice->no }}
Date    : {{ \Carbon\Carbon::parse($invoice->created_at)->format('d/m/Y H:i:s') }}
@foreach ($detail as $dt) @endforeach
Item Qty Price
{{ $dt->name }} {{ intval($dt->qty) }} {{ number_format($dt->nprice, 0, ',', '.') }} @if ($dt->price != $dt->nprice)
({{ number_format($dt->nprice - $dt->price, 0, ',', '.') }}) @endif
@if ($invoice->payment == 'Multi' || $invoice->payment == 'Card') @php $note = json_decode($invoice->note, true); @endphp
Card Number : {{ $note['nomor_kartu'] }}
Name        : {{ $note['nama_pemegang_kartu'] }}
@endif
Sub Total  :
{{ number_format($invoice->subtotal, 0, ',', '.') }}
Discount   :
{{ number_format($invoice->disc_total, 0, ',', '.') }}
GrandTotal :
{{ number_format($invoice->must_paid, 0, ',', '.') }}
@if ($invoice->payment == 'Multi' || $invoice->payment == 'Card')
Card       :
{{ number_format($note['transfer'], 0, ',', '.') }}
Cash       :
{{ number_format($note['cash'] ?? 0, 0, ',', '.') }}
@else
Card       :
0
Cash       :
{{ number_format($invoice->paid, 0, ',', '.') }}
@endif
Change     :
{{ number_format($invoice->change, 0, ',', '.') }}

Handled By : {{ $invoice->sales_name }}

{!! $footer !!}



( _ _ _ _ _ _ _ _ _ _ _ )