{{ $data['site']['site_address'] }}
Phone: {{ $data['site']['site_phone'] }}

INVOICE

Customer
{{$data['customer']['customer_name']}} - {{$data['customer']['customer_address']}}
No. Pol
{{ isset($data['car']) ? $data['car']['pet_color'] : '' }}
Phone
{{$data['customer']['customer_phone']}}
Date
{{date('d F Y H:i', strtotime($data['cart']['created_at']))}}

@foreach($data['cart']['orders'] as $order) @foreach($order['items'] as $item) @php $tradeInAmount = 0; $tradeInAmount = $tradeInAmount + $item['trade_in_amount']; @endphp @endif @endforeach @endforeach
Product
Qty
Price
Disc
Amount
{{$item['item_name']}} {{number_format($item['item_qty'], 0, '', '.')}} x {{number_format($item['price_before_tax'], 0, '', '.')}} {{number_format($item['item_disc_value'], 0, '', '.')}} {{number_format(($item['price_before_tax']*$item['item_qty'])-($item['item_disc_value']*$item['item_qty']), 0, '', '.')}}
Total {{number_format($data['cart']['price_before_tax'], 0, '', '.')}}
Tax {{number_format($data['cart']['tax_value'], 0, '', '.')}}
Trade In - {{number_format($tradeInAmount, 0, '', '.')}}
Grand Total {{number_format($data['cart']['payment_amount_suggestion'], 0, '', '.')}}
Cash {{ !empty($data['cart']['payment_history']['cash']) ? number_format($data['cart']['payment_history']['cash'], 0, '', '.') : 0 }}
Debit {{ !empty($data['cart']['payment_history']['debit']) ? number_format($data['cart']['payment_history']['debit'], 0, '', '.') : 0 }}
BCA Credit {{ !empty($data['cart']['payment_history']['cc']) ? number_format($data['cart']['payment_history']['cc'], 0, '', '.') : 0 }}
Transfer {{ !empty($data['cart']['payment_history']['transfer']) ? number_format($data['cart']['payment_history']['transfer'], 0, '', '.') : 0 }}
Qris {{ !empty($data['cart']['payment_history']['qris']) ? number_format($data['cart']['payment_history']['qris'], 0, '', '.') : 0 }}
Change {{ number_format($data['cart']['payment_amount_suggestion'] - ($data['cart']['payment_history']['cc']+$data['cart']['payment_history']['transfer']+$data['cart']['payment_history']['qris']+$data['cart']['payment_history']['debit']+$data['cart']['payment_history']['cash']), 0, '', '.') }}

Note:
-untuk ban 3 bulan garansi syaratnya cek rutin setiap bulannya
-untuk aki gs dan yuasa garansi 3 bulan ,yokoba 6 bulan,dan aspira 3 bulan khusus jogja aki gs dan aspira untuk Motor injeksi 2019 ke atas garansi 1 tahun
Hormat kami,


Sitepat