diff --git a/resources/views/print/resittebus.blade.php b/resources/views/print/resittebus.blade.php index 9030924..011ab73 100644 --- a/resources/views/print/resittebus.blade.php +++ b/resources/views/print/resittebus.blade.php @@ -368,59 +368,58 @@ hr.new5 { color: black; padding:4px; } + + .header-style{ + display: flex; + justify-content: space-between; + align-items: center + } + + .header-style span { + font-family: Arial, Helvetica, sans-serif; + text-align: right; + background-color: #d9deda; + color: black; + padding: 2px; + font-size: 10px; + border: 1px solid black; + } - - - - - - - - - - - - - - -
User Image User Image
- - - - - - - - - - -
Salinan Pelanggan
RESIT BAYARAN
+
+ User Image +
+ Salinan Pelanggan +
+

- + - + - + - + +@php + $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); + $masa = date('H:i:s', $masa_bayaran); +@endphp + - -
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }} Nama : {{ $customers_info['nama'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphpNo 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
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }} Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp Masa Bayaran : {{ $masa }}
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp

@@ -444,11 +443,24 @@ hr.new5 { : RM {{ number_format($penebusan['rebate'],2) }} - Tebus Keseluruhan - : RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }} + + + + + + + + + + Tebus Keseluruhan + : RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }} + + + + +
Marhun: {{ $gadai['marhun'] }}
-
@@ -457,23 +469,18 @@ hr.new5 { - - - - - - - + + - + - + @@ -483,45 +490,37 @@ hr.new5 {

-
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di Keluarkan
{{ $khazanah_user->name }} Cagaran Diterima {{ $customers_info['nama'] }} Ar-Rahn
{{ Auth::user()->name }}
{{ Auth::user()->name }}
- - - - - - - - - - -
Salinan Pejabat
RESIT BAYARAN
+
+ User Image +
+ Salinan Pejabat +
+

- + - + - + - - - - - - - - + +@php + $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); + $masa = date('H:i:s', $masa_bayaran); +@endphp +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }} Nama : {{ $customers_info['nama'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp 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
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }} Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp Masa Bayaran : {{ $masa }}

@@ -546,21 +545,32 @@ hr.new5 { : RM {{ number_format($penebusan['rebate'],2) }} - Tebus Keseluruhan - : RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }} + + + + + + + + + + Tebus Keseluruhan + : RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }} + + + + + + +
Marhun: {{ $gadai['marhun'] }}

- - - - - @@ -569,15 +579,23 @@ hr.new5 { - - - + - + - +
.................................................... .................................................... ....................................................
DiSemak Cagaran Di Keluarkan {{ $khazanah_user->name }} Cagaran Diterima {{ $khazanah_user->name }} Ar-Rahn
{{ Auth::user()->name }}
{{ Auth::user()->name }}
-
\ No newline at end of file + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
\ No newline at end of file