{{-- @dd($data['noInvoice']) --}} @php $interest = $dataBunga->interest ?? 0; // new purchase $totalPrice = $totalHarga ?? 0; $result = ($totalPrice * $interest) / 100; $totalWithInterest = $totalPrice + ($totalPrice * $interest) / 100; @endphp
{{-- --}}
{{-- Company Logo
Jamal Industri --}}

INVOICE

Nama Pembeli : {{ $name ?? 'Pembeli yng terhormat' }}
Kode Invoice : {{ $noInvoice ?? 'no_invoice' }}
Tanggal : {{ now()->format('d-F-Y') }}
Jenis Pembayaran : Paylater
{{--

{{ $data->title }}

--}}
@foreach ($dataProduk as $items) @endforeach
Nama Kuantitas Harga Satuan Total Harga
{{ $items['product']['name'] ?? $items['product']['name'] }} {{ $items['quantity'] ?? 0 }} Rp. {{ number_format($items['product']['price'] ?? $items['product']['price'], 0, ',', '.') }} Rp. {{ number_format(($items['product']['price'] ?? $items['product']['price']) * ($items['quantity'] ?? 1), 0, ',', '.') }}

Subtotal: Rp. {{ number_format($totalHarga ?? 0, 0, ',', '.') }}

Bunga ({{ $dataBunga->interest ?? 0 }}%): Rp. {{ number_format($result ?? 0, 0, ',', '.') }}

Total: Rp. {{ number_format($totalWithInterest ?? 0, 0, ',', '.') }}

Check My Sosial Media

Instagram : @_ha_nif

No. Hp : 0851-6131-0017

Email : newhanif743@gmail.com

Company Logo
Jamal Industri