User Image User Image
UNTUK KEGUNAAN PELANGGAN

T
@if (sizeof($wakil) != 0) @php $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); $masa = date('H:i:s', $masa_bayaran); @endphp @else @php $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); $masa = date('H:i:s', $masa_bayaran); @endphp @endif
Nama Wakil : {{ $wakil['nama'] }} No SAG : {{ $gadai['norujukan'] }}
No K/P Wakil : {{ $wakil['nokp'] }} Tarikh Bayar : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No Telefon : {{ $wakil['telefon'] }} Masa Bayaran : {{ $masa }}
Alamat : {{ $wakil['alamat1'] }} Tempoh Simpan : {{ $gadai['tempoh'] }}
No Wakil : {{ sizeof($surat_wakil) == 0 ? '-' : $surat_wakil['no_surat'] }}
Nama : {{ $customers_info['nama'] }} No SAG : {{ $gadai['norujukan'] }}
No K/P : @php if ($customers_info['kpbaru'] == '') { echo $customers_info['kplama']; } else { echo $customers_info['kpbaru']; } @endphp Tarikh Bayar : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Masa Bayaran : {{ $masa }}
Tempoh Simpan : {{ $gadai['tempoh'] }}

@if (sizeof($wakil) != 0)
Maklumat Pelanggan
Nama : {{ $customers_info['nama'] }}
No K/P : @php if ($customers_info['kpbaru'] == '') { echo $customers_info['kplama']; } else { echo $customers_info['kpbaru']; } @endphp
@endif
Harga Jualan : RM {{ number_format($gadai['hargajualan'], 2) }}
(-) Ansuran Pembiayaan Telah Dibayar : RM {{ number_format($totalBayaranAnsuran, 2) }}
Baki Harga Jualan : RM {{ number_format($gadai['bakihargajualan'], 2) }}
(-) Ibra' (Rebat) : RM {{ number_format($penebusan['rebate'], 2) }}
Jumlah Keseluruhan : RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}
Marhun: {{ $gadai['marhun'] }}
.................................................... .................................................... ....................................................
Khazanah {{ sizeof($wakil) != 0 ? 'Wakil' : 'Pelanggan' }} Ar-Rahn
{{ $khazanah_user->name }} {{ sizeof($wakil) != 0 ? $wakil['nama'] : $customers_info['nama'] }} {{ Auth::user()->name }}

User Image User Image
UNTUK KEGUNAAN PEJABAT

T
@if (sizeof($wakil) != 0) @php $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); $masa = date('H:i:s', $masa_bayaran); @endphp @else @php $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); $masa = date('H:i:s', $masa_bayaran); @endphp @endif
Nama Wakil : {{ $wakil['nama'] }} No SAG : {{ $gadai['norujukan'] }}
No K/P Wakil : {{ $wakil['nokp'] }} Tarikh Bayar : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No Telefon : {{ $wakil['telefon'] }} Masa Bayaran : {{ $masa }}
Alamat : {{ $wakil['alamat1'] }} Tempoh Simpan : {{ $gadai['tempoh'] }}
No Wakil : {{ sizeof($surat_wakil) == 0 ? '-' : $surat_wakil['no_surat'] }}
Nama : {{ $customers_info['nama'] }} No SAG : {{ $gadai['norujukan'] }}
No K/P : @php if ($customers_info['kpbaru'] == '') { echo $customers_info['kplama']; } else { echo $customers_info['kpbaru']; } @endphp Tarikh Bayar : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Masa Bayaran : {{ $masa }}
Tempoh Simpan : {{ $gadai['tempoh'] }}

@if (sizeof($wakil) != 0)
Maklumat Pelanggan
Nama : {{ $customers_info['nama'] }}
No K/P : @php if ($customers_info['kpbaru'] == '') { echo $customers_info['kplama']; } else { echo $customers_info['kpbaru']; } @endphp
@endif
Harga Jualan : RM {{ number_format($gadai['hargajualan'], 2) }}
(-) Ansuran Pembiayaan Telah Dibayar : RM {{ number_format($totalBayaranAnsuran, 2) }}
Baki Harga Jualan : RM {{ number_format($gadai['bakihargajualan'], 2) }}
(-) Ibra' (Rebat) : RM {{ number_format($penebusan['rebate'], 2) }}
Jumlah Keseluruhan : RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}
Marhun: {{ $gadai['marhun'] }}
.................................................... .................................................... ....................................................
Khazanah {{ sizeof($wakil) != 0 ? 'Wakil' : 'Pelanggan' }} Ar-Rahn
{{ $khazanah_user->name }} {{ sizeof($wakil) != 0 ? $wakil['nama'] : $customers_info['nama'] }} {{ Auth::user()->name }}
Duit Pelanggan : RM {{ number_format($transaction_tebus['duitpelanggan'], 2) }}
Jumlah Perlu Dibayar : RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}
Baki : RM {{ number_format($transaction_tebus['bakipelanggan'], 2) }}
.................................................... .................................................... .................................................... ....................................................