diff --git a/app/Http/Controllers/KhazanahController.php b/app/Http/Controllers/KhazanahController.php index 2a0d97d..4586746 100644 --- a/app/Http/Controllers/KhazanahController.php +++ b/app/Http/Controllers/KhazanahController.php @@ -1172,7 +1172,7 @@ class KhazanahController extends Controller public function createpanjar(Request $request) { $auth_user = Auth::user(); - + $api_url = config('api.url'); $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); $bakiperubatan = 0; @@ -1719,11 +1719,20 @@ class KhazanahController extends Controller // lejer am panjar tamat... - $updateVault = Http::put( config('api.url').'/api/UpdateVault/Panjar/'.$auth_user['cawangan'],[ 'totpanjar'=>$request->bayaran ]); - + + $upVault = $updateVault->getStatusCode(); + $upDeno = $denominasicreate->getStatusCode(); + + if($upVault == 200 && empty($panjar) == false && $upDeno == 200) + { + return redirect('/panjar')->with('messageinformation','Panjar Berjaya Disimpan.'); + }else{ + return redirect('/panjar')->with('messageinformation','Panjar Mengalami Masalah UntukDisimpan.'); + } + return response($updateVault); } @@ -2440,10 +2449,13 @@ class KhazanahController extends Controller $tebus_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; } $tebus = Http::get(config('api.url'). '/api/tebus/laporan/'. $auth_user['cawangan'] .'/'. $tebus_date)->json(); + $tebuspengasingan = Http::get(config('api.url'). '/api/tebus/laporanjenistawarruq/'. $auth_user['cawangan'],['tarikh' => $tebus_date])->json(); + $upahlama = Http::get(config('api.url'). '/api/advansurdetails/'. $auth_user['cawangan'],['tarikh' => $tebus_date])->json(); + $cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); $cawangan_detail=$cawangan[0]; // dd($gadai); - return view('print.laporan_penebusan', compact('tebus','cawangan_detail','tarikh_cetak','tebus_date','api_url')); + return view('print.laporan_penebusan', compact('tebus','cawangan_detail','tarikh_cetak','tebus_date','tebuspengasingan','api_url','upahlama')); } public function laporanLelongan(){ @@ -2494,7 +2506,7 @@ class KhazanahController extends Controller $split_date = explode('-',$request->datetimepicker1); $tebus_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; } - $tebus = Http::get(config('api.url'). '/api/ansuran/laporan/'. $auth_user['cawangan'] .'/'. $tebus_date)->json(); + $tebus = Http::get(config('api.url'). '/api/ansuran/laporan/'. $auth_user['cawangan'],['tarikh' => $tebus_date])->json(); $cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); $cawangan_detail=$cawangan[0]; // dd($gadai); @@ -2815,6 +2827,15 @@ class KhazanahController extends Controller return view('print.laporan_marhunterkumpul', compact('marhun','cawangan_detail','tarikh_cetak','tebus_date','api_url')); } + public function laporanRingkasanHarian(){ + $auth_user = Auth::user(); + $api_url = config('api.url'); + + + $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); + + return view('khazanah.laporan.ringkasanharian',compact('cawangan_info','api_url')); + } public function cetakLaporanRingkasanHarian(Request $request){ // dd($request); @@ -2824,15 +2845,75 @@ class KhazanahController extends Controller $current = new Carbon(); $tarikh_cetak = $current->toDateString(); + if($request->dateringkasanharian == null){ + $ringkasan_date = $current->toDateString(); + }else{ + $split_date = explode('-',$request->dateringkasanharian); + $ringkasan_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + } + $cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); $cawangan_detail=$cawangan[0]; $laporan_ringkasan = Http::get(config('api.url') . '/api/laporan/harian',[ 'kodcaw'=>$auth_user['cawangan'], - 'tarikh'=>$tarikh_cetak + 'tarikh'=>$ringkasan_date ])->json(); + $laporan = $laporan_ringkasan[0]; - return view('print.laporan_ringkasanharian', compact('cawangan_detail','tarikh_cetak','api_url','laporan')); + + $kawalanstok = Http::get(config('api.url'). '/api/kawalanstok/laporan/'. $auth_user['cawangan'] .'/'. $ringkasan_date)->json(); + + /* Kawalan Stok */ + //Gadai + $totalbilgadaikeseluruhan = $kawalanstok[0]['gadai1'][0]['bil'] + $kawalanstok[0]['gadai2'][0]['bil'] + $kawalanstok[0]['gadai3'][0]['bil']; + $totalbilgadaisehari = $kawalanstok[0]['gadaiini1'][0]['bil'] + $kawalanstok[0]['gadaiini2'][0]['bil'] + $kawalanstok[0]['gadaiini3'][0]['bil']; + $totalbilgadai = $totalbilgadaikeseluruhan + $totalbilgadaisehari; + + $totalpinjgadaikeseluruhan = $kawalanstok[0]['gadai1'][0]['pinj'] + $kawalanstok[0]['gadai2'][0]['pinj'] + $kawalanstok[0]['gadai3'][0]['pinj']; + $totalpinjgadaisehari = $kawalanstok[0]['gadaiini1'][0]['pinj'] + $kawalanstok[0]['gadaiini2'][0]['pinj'] + $kawalanstok[0]['gadaiini3'][0]['pinj']; + $totalpinjgadai = $totalpinjgadaikeseluruhan + $totalpinjgadaisehari; + + //Tebus + $totalbiltebuskeseluruhan = $kawalanstok[1]['tebus1'][0]['bil'] + $kawalanstok[1]['tebus2'][0]['bil'] + $kawalanstok[1]['tebus3'][0]['bil']; + $totalbiltebussehari = $kawalanstok[1]['tebusini1'][0]['bil'] + $kawalanstok[1]['tebusini2'][0]['bil'] + $kawalanstok[1]['tebusini3'][0]['bil']; + $totalbiltebus = $totalbiltebuskeseluruhan + $totalbiltebussehari; + + $totalpinjtebuskeseluruhan = $kawalanstok[1]['tebus1'][0]['pinj'] + $kawalanstok[1]['tebus2'][0]['pinj'] + $kawalanstok[1]['tebus3'][0]['pinj']; + $totalpinjtebussehari = $kawalanstok[1]['tebusini1'][0]['pinj'] + $kawalanstok[1]['tebusini2'][0]['pinj'] + $kawalanstok[1]['tebusini3'][0]['pinj']; + $totalpinjtebus = $totalpinjtebuskeseluruhan + $totalpinjtebussehari; + + //Ansuran + + $totalbilanskeseluruhan = $kawalanstok[4]['ans1']['bil'] + $kawalanstok[4]['ans2']['bil'] + $kawalanstok[4]['ans3']['bil']; + $totalbilanssehari = $kawalanstok[4]['ansini1']['bil'] + $kawalanstok[4]['ansini2']['bil'] + $kawalanstok[4]['ansini3']['bil']; + $totalbilans = $totalbilanskeseluruhan + $totalbilanssehari; + + $totalpinjanskeseluruhan = $kawalanstok[4]['ans1']['pinj'] + $kawalanstok[4]['ans2']['pinj'] + $kawalanstok[4]['ans3']['pinj']; + $totalpinjanssehari = $kawalanstok[4]['ansini1']['pinj'] + $kawalanstok[4]['ansini2']['pinj'] + $kawalanstok[4]['ansini3']['pinj']; + $totalpinjans = floatval($totalpinjanskeseluruhan + $totalpinjanssehari); + + //Lelong + $totalbillelongkeseluruhan = $kawalanstok[2]['lelong1'][0]['bil'] + $kawalanstok[2]['lelong2'][0]['bil'] + $kawalanstok[2]['lelong3'][0]['bil']; + $totalbillelongsehari = $kawalanstok[2]['lelongini1'][0]['bil'] + $kawalanstok[2]['lelongini2'][0]['bil'] + $kawalanstok[2]['lelongini3'][0]['bil']; + $totalbillelong = $totalbillelongkeseluruhan + $totalbillelongsehari; + + $totalpinjlelongkeseluruhan = $kawalanstok[2]['lelong1'][0]['pinj'] + $kawalanstok[2]['lelong2'][0]['pinj'] + $kawalanstok[2]['lelong3'][0]['pinj']; + $totalpinjlelongsehari = $kawalanstok[2]['lelongini1'][0]['pinj'] + $kawalanstok[2]['lelongini2'][0]['pinj'] + $kawalanstok[2]['lelongini3'][0]['pinj']; + $totalpinjlelong = floatval($totalpinjlelongkeseluruhan + $totalpinjlelongsehari); + + $totalbilhapuskirakeseluruhan = $kawalanstok[3]['hapuskira1'][0]['bil'] + $kawalanstok[3]['hapuskira2'][0]['bil'] + $kawalanstok[3]['hapuskira3'][0]['bil']; + $totalbilhapuskirasehari = $kawalanstok[3]['hapuskiraini1'][0]['bil'] + $kawalanstok[3]['hapuskiraini2'][0]['bil'] + $kawalanstok[3]['hapuskiraini3'][0]['bil']; + $totalbilhapuskira = $totalbilhapuskirakeseluruhan + $totalbilhapuskirasehari; echo number_format($totalbilhapuskira); + + $totalpinjhapuskirakeseluruhan = $kawalanstok[3]['hapuskira1'][0]['pinj'] + $kawalanstok[3]['hapuskira2'][0]['pinj'] + $kawalanstok[3]['hapuskira3'][0]['pinj']; + $totalpinjhapuskirasehari = $kawalanstok[3]['hapuskiraini1'][0]['pinj'] + $kawalanstok[3]['hapuskiraini2'][0]['pinj'] + $kawalanstok[3]['hapuskiraini3'][0]['pinj']; + $totalpinjhapuskira = $totalpinjhapuskirakeseluruhan + $totalpinjhapuskirasehari; echo number_format($totalpinjhapuskira,2); + + $totalbilkawalanstok = $totalbilgadai-$totalbiltebus-$totalbilans-$totalbillelong-$totalbilhapuskira; + $totalpinjkawalanstok = $totalpinjgadai-$totalpinjtebus-$totalpinjans-$totalpinjlelong-$totalpinjhapuskira; + + return view('print.laporan_ringkasanharian', compact('cawangan_detail','tarikh_cetak','ringkasan_date','api_url','laporan','totalbilkawalanstok','totalpinjkawalanstok')); } public function cetakLaporanRingkasanTerkumpul(Request $request){ @@ -2886,7 +2967,7 @@ class KhazanahController extends Controller $cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); $cawangan_detail=$cawangan[0]; - // dd($gadai); + return view('print.laporan_kawalanstok', compact('kawalanstok','cawangan_detail','tarikh_cetak','tebus_date','api_url')); } @@ -3282,7 +3363,7 @@ class KhazanahController extends Controller $cajperkhidmatan = Http::get(config('api.url').'/api/cajperkhidmatanterkumpul/' . $auth_user['cawangan'],['tarikh' => $tarikh_imbangan2])->json(); //TunaiDitangan Sementara Upah - if($tarikh_imbangan2 >= '2021-04-22') + if($tarikh_imbangan2 >= '2021-04-22' && $tarikh_imbangan2 < '2021-05-05') { $advansurharini = Http::get(config('api.url').'/api/advansurharini/' . $auth_user['cawangan'],['tarikh' => $tarikh_imbangan2])->json(); $totaltunaiditangan = floatval($tunaiditangan) - floatval($advansurharini); @@ -3319,7 +3400,7 @@ class KhazanahController extends Controller // $tanggungansemasa = ['pendahuluan' => $imbangduga['pendahuluan'],'bds' => $panjar['bds'],'perubatan' => $panjar['perubatan'],'keraian' => $panjar['keraian'],'bakilelong' => $bakilelong['bakilelong'],'rugilelong' => $bakilelong['rugilelong'],'wtd' => $wtd,'cajlelong' => $cajlelong]; array_push($tanggungansemasa,['glcode' => '2000/007','descpt' => 'Keuntungan Tergantung', 'amaun' => $keuntungan]); - array_push($tanggungansemasa,['glcode' => '5000/013','descpt' => 'Keuntungan Sebenar','amaun' => $keuntungansebenar]); + array_push($tanggungansemasa,['glcode' => '5000/013','descpt' => 'Upah Simpan','amaun' => $keuntungansebenar]); array_push($tanggungansemasa,['glcode' => '5000/241','descpt' => 'Rebet','amaun' => ($rebet * -1)]); array_push($tanggungansemasa,['glcode' => '7000/102','descpt' => 'Pendahuluan Daripada HQ','amaun' => $imbangduga['pendahuluan']]); array_push($tanggungansemasa,['glcode' => '3000/017','descpt' => 'PANJAR - Baiki dan Selenggara','amaun' => -$panjar['bds']]); @@ -3547,6 +3628,63 @@ class KhazanahController extends Controller } + public function laporan_Perbelanjaan(Request $request) + { + $auth_user = Auth::user(); + $api_url = config('api.url'); + $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); + + + return view('khazanah.laporan.perbelanjaan', compact('cawangan_info','api_url')); + } + + public function cetaklaporan_Perbelanjaan(Request $request) + { + $api_url = config('api.url'); + $auth_user = Auth::user(); + $current = Carbon::now(); + $current = new Carbon(); + $tarikh_cetak = $current->toDateString(); + + if($request->datemula == null){ + $mula_date = '2017-01-01'; + }else{ + $split_date = explode('-', $request->datemula); + $mula_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + } + + if($request->datehingga == null){ + $hingga_date = $current->toDateString(); + }else{ + $split_date = explode('-', $request->datehingga); + $hingga_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + } + + $perbelanjaan = Http::get(config('api.url'). '/api/SenaraiPanjar/' . $auth_user['cawangan'] . '/' . $mula_date . '/' . $hingga_date)->json(); + + $cawangan = Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); + $cawangan_detail=$cawangan[0]; + + return view('print.laporan_perbelanjaan', compact('perbelanjaan','cawangan_detail','tarikh_cetak','mula_date','hingga_date','api_url')); + } + + public function cetaklaporan_Perbelanjaan_Baucer($baucer) + { + $api_url = config('api.url'); + $auth_user = Auth::user(); + $current = Carbon::now(); + $current = new Carbon(); + $tarikh_cetak = $current->toDateString(); + + $perbelanjaan = Http::get(config('api.url'). '/api/SenaraiPanjar/listeach/' . $auth_user['cawangan'],['nobaucer' => $baucer])->json(); + + $cawangan = Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); + $cawangan_detail=$cawangan[0]; + + return view('print.laporan_perbelanjaan_baucer', compact('perbelanjaan','cawangan_detail','tarikh_cetak','api_url')); + } + + public function RequestPembatalan(Request $request) { $kodcaw = $request->kodcaw; diff --git a/resources/views/aliran_tunai/index.blade.php b/resources/views/aliran_tunai/index.blade.php index 3e65099..e9bf5a9 100644 --- a/resources/views/aliran_tunai/index.blade.php +++ b/resources/views/aliran_tunai/index.blade.php @@ -124,7 +124,7 @@
- + {{-- --}}
-
-
- Bilangan Surat : 3 - Jumlah Pinjaman : RM 3,000.00 -
-
+ @@ -81,7 +82,8 @@ var today_date = current_year + '-' +current_month+'-'+current_date; $.ajax({ method:'get', - url: api_url + '/api/ansuran/laporan/'+kodcaw+'/' + today_date, + url: api_url + '/api/ansuran/laporan/'+kodcaw, + data:{ 'tarikh' : today_date }, success: function(tebus){ tebustable(tebus); } @@ -94,16 +96,23 @@ var today_date = split_date[2] + '-' +split_date[1]+'-'+split_date[0]; $.ajax({ method:'get', - url: api_url + '/api/ansuran/laporan/'+kodcaw+'/' + today_date, + url: api_url + '/api/ansuran/laporan/'+kodcaw, + data:{ 'tarikh' : today_date }, success: function(tebus){ tebustable(tebus); } }); }); + const formatter = new Intl.NumberFormat('en-US', { + minimumFractionDigits: 2 + }); + function tebustable(data){ var counter = 1; var total_pinjaman = 0; + var total_bayaran = 0; + var total_keuntungan = 0; tabletebus.clear().draw(); $.each(data,function(index,tebus){ $.ajax({ @@ -114,17 +123,22 @@ url:api_url + '/api/customers/' + gadai[0][0]['nokp'], method:'get', success: function(customer){ + total_pinjaman += Number(gadai[0][0]['bakipjm']); + total_bayaran += Number(tebus['duit_masuk']); + total_keuntungan += Number(tebus['bayaran_keuntungan']); tabletebus.row.add([ counter, tebus['norujukan'], customer[0]['nama'], gadai[0][0]['nokp'], - tebus['jbg'], - tebus['pinjaman'], - tebus['ansuran'], - tebus['nilaimarhun'], - '' + gadai[0][0]['tempoh'], + gadai[0][0]['bakipjm'], + tebus['duit_masuk'], + tebus['bayaran_keuntungan'] ]).draw(); + $('#pinjamantotal').text(formatter.format(total_pinjaman.toFixed(2))); + $('#bayarantotal').text(formatter.format(total_bayaran.toFixed(2))); + $('#keuntungantotal').text(formatter.format(total_keuntungan.toFixed(2))); } }); } diff --git a/resources/views/khazanah/laporan/imbangduga.blade.php b/resources/views/khazanah/laporan/imbangduga.blade.php index a4d0031..e105bc6 100644 --- a/resources/views/khazanah/laporan/imbangduga.blade.php +++ b/resources/views/khazanah/laporan/imbangduga.blade.php @@ -7,7 +7,13 @@
-
{{ __('Data Imbangduga') }}
+
@@ -19,15 +25,8 @@
@csrf -
- - - -
Mula
-
-
-
-
Hingga
+
+
Tarikh

@@ -38,43 +37,9 @@
-
-
- -
-
-
- - -
- - -
- - - -
-
-
-
- - - - - - - - - - - -
BilBil GadaianJumlah Pinjaman (RM)Peratusan %
-
-
-
@@ -83,205 +48,20 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @endsection diff --git a/resources/views/khazanah/laporan/index.blade.php b/resources/views/khazanah/laporan/index.blade.php index f3e55f8..22d14b5 100644 --- a/resources/views/khazanah/laporan/index.blade.php +++ b/resources/views/khazanah/laporan/index.blade.php @@ -72,7 +72,7 @@ Stok Audit
- Ringkasan Harian + Ringkasan Harian
Marhun Terkumpul @@ -81,12 +81,14 @@ Aging Kawalan Stok
- Laporan ImbangDuga + Imbang Duga
- Laporan Peti Besi + Peti Besi +
+
+ Perbelanjaan
- diff --git a/resources/views/khazanah/laporan/perbelanjaan.blade.php b/resources/views/khazanah/laporan/perbelanjaan.blade.php new file mode 100644 index 0000000..0bd14ff --- /dev/null +++ b/resources/views/khazanah/laporan/perbelanjaan.blade.php @@ -0,0 +1,206 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+ @csrf +
+
+ Mula +
+ + +
+ Hingga +
+ + + + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + +
BilTarikhTuntutan OlehPerkaraJ. PerbelanjaanBaucerJumlah(RM)
TOTAL
+
+
+ + +
+
+
+
+
+ +@endsection + diff --git a/resources/views/khazanah/laporan/ringkasanharian.blade.php b/resources/views/khazanah/laporan/ringkasanharian.blade.php new file mode 100644 index 0000000..14338d2 --- /dev/null +++ b/resources/views/khazanah/laporan/ringkasanharian.blade.php @@ -0,0 +1,59 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+ @csrf +
+
+ Tarikh +
+ + +
+
+
+
+ +
+
+
+
+
+ +@endsection + diff --git a/resources/views/khazanah/laporan/stokaudit.blade.php b/resources/views/khazanah/laporan/stokaudit.blade.php index 50f89fb..05c190a 100644 --- a/resources/views/khazanah/laporan/stokaudit.blade.php +++ b/resources/views/khazanah/laporan/stokaudit.blade.php @@ -100,13 +100,11 @@
@@ -124,6 +122,12 @@ var tablecustomers = $('#myTable').DataTable({ "ordering": false }); + + $(document).ready( function () { + $('#datetimepicker1').datepicker({ + format: 'dd-mm-yyyy' + }); + }); @endsection diff --git a/resources/views/khazanah/panjar.blade.php b/resources/views/khazanah/panjar.blade.php index 979283a..2a5f9e7 100644 --- a/resources/views/khazanah/panjar.blade.php +++ b/resources/views/khazanah/panjar.blade.php @@ -18,6 +18,15 @@
+ + @if(Session::has('messageinformation')) + + @endif
diff --git a/resources/views/penebusan/index.blade.php b/resources/views/penebusan/index.blade.php index f145236..6339641 100644 --- a/resources/views/penebusan/index.blade.php +++ b/resources/views/penebusan/index.blade.php @@ -1336,7 +1336,7 @@ let teller = "{{ Auth::user()->name }}"; Swal.fire({ - title: 'Tunggu Pengesahan Daripada Operasi.', + title: 'Tunggu Pengesahan Daripada Khazanah-Operasi.', icon: 'info', width: 600, padding: '3em', @@ -1610,7 +1610,7 @@ let teller = "{{ Auth::user()->name }}"; Swal.fire({ - title: 'Tunggu Pengesahan Daripada Operasi.', + title: 'Tunggu Pengesahan Daripada Khazanah-Operasi.', icon: 'info', width: 600, padding: '3em', diff --git a/resources/views/print/laporan_ansuran.blade.php b/resources/views/print/laporan_ansuran.blade.php index 3b0ad46..c72a728 100644 --- a/resources/views/print/laporan_ansuran.blade.php +++ b/resources/views/print/laporan_ansuran.blade.php @@ -200,16 +200,17 @@ - - - - - - - + + + + + + + - @php $counter = 1; @endphp + @php $counter = 1;$totalduitmasuk = 0;$totalkeuntungan = 0; @endphp @foreach($tebus as $index=>$item) + @php $totalduitmasuk += $item['duit_masuk'];$totalkeuntungan += $item['bayaran_keuntungan']; @endphp @@ -221,24 +222,28 @@ echo $customer_detail[0]['nama']; @endphp - - - - - + + + + + @php $counter++; @endphp @if($index+1 < sizeof($tebus)) @if($item['teller'] != $tebus[$index + 1]['teller']) - + + + @php $counter = 0; @endphp @endif @else - + + + @endif @endforeach diff --git a/resources/views/print/laporan_gadaian.blade.php b/resources/views/print/laporan_gadaian.blade.php index 2e0567f..031a6b8 100644 --- a/resources/views/print/laporan_gadaian.blade.php +++ b/resources/views/print/laporan_gadaian.blade.php @@ -211,6 +211,7 @@ + @php $counter = 1; $totalpinjaman = 0; @endphp @@ -227,7 +228,7 @@ - @php $totalpinjamanteller = 0;$totalnmteller = 0;$totalberatteller = 0; @endphp + @php $totalpinjamanteller = 0;$totalnmteller = 0;$totalberatteller = 0;$totalupah12 = 0; @endphp @endif @@ -245,10 +246,11 @@ + @php $counter++; @endphp - @php $totalpinjamanteller += $item['pinjaman'];$totalnmteller += $item['nilaimarhun'];$totalberatteller += $item['berat']; @endphp + @php $totalpinjamanteller += $item['pinjaman'];$totalnmteller += $item['nilaimarhun'];$totalberatteller += $item['berat'];$totalupah12 += $item['upah12']; @endphp @if($index+1 < sizeof($gadai)) @if($item['teller'] != $gadai[$index + 1]['teller']) @@ -256,6 +258,8 @@ + + @php $counter = 1; @endphp @endif @@ -265,6 +269,8 @@ + + @endif @endforeach diff --git a/resources/views/print/laporan_kawalanstok.blade.php b/resources/views/print/laporan_kawalanstok.blade.php index fc61eb2..63a5b46 100644 --- a/resources/views/print/laporan_kawalanstok.blade.php +++ b/resources/views/print/laporan_kawalanstok.blade.php @@ -97,6 +97,8 @@ padding: 8px; font-size:11px; text-align:center; + border:1px solid black; + } @@ -111,6 +113,7 @@ text-align: left; padding:4px; color:black; + border:1px solid black; } @@ -203,26 +206,25 @@
BilNorujukanNamaNo KPJBGPembiayaanAnsuran UpahN MarhunNo RujukanNamaNo K/PTempohBaki Pembiayaan (RM)Bayaran (RM)Keuntungan (RM)
{{ $counter }} {{$item['norujukan']}}{{$gadai_detail[0][0]['nokp']}}{{$item['jbg']}}{{$item['pinjaman']}}{{$item['ansuran']}}{{$item['nilaimarhun']}}{{ $gadai_detail[0][0]['nokp'] }}{{ $gadai_detail[0][0]['tempoh'] }}{{ number_format($gadai_detail[0][0]['bakipjm'],2) }}{{ number_format($item['duit_masuk'],2) }}{{ number_format($item['bayaran_keuntungan'],2) }}
{{ $counter }} Jumlah Bagi Teller : {{$item['teller']}}{{ $counter-1 }} Jumlah Bagi Teller : {{ $item['teller'] }}{{ number_format($totalduitmasuk,2) }} {{ number_format($totalkeuntungan,2) }}
{{ $counter }} Jumlah Bagi Teller : {{$item['teller']}}{{ $counter-1 }} Jumlah Bagi Teller : {{ $item['teller'] }}{{ number_format($totalduitmasuk,2) }} {{ number_format($totalkeuntungan,2) }}
Berat N Marhun PembiayaanKeuntungan Peratus (%)
Teller : {{ $item['teller'] }}
{{ number_format($item['berat'],2) }} {{ number_format($item['nilaimarhun'],2) }} {{ number_format($item['pinjaman'],2) }}{{ number_format($item['upah12'],2) }} {{ $item['percentpinj'] }}
{{ number_format($totalberatteller,2) }} {{ number_format($totalnmteller,2) }} {{ number_format($totalpinjamanteller,2) }} {{ number_format($totalupah12,2) }}
{{ number_format($totalberatteller,2) }} {{ number_format($totalnmteller,2) }} {{ number_format($totalpinjamanteller,2) }} {{ number_format($totalupah12,2) }}
- - - - - + + + + + - - - - - - - - + + + + + + + + @php $counter = 1;@endphp - {{-- {{ dd($kawalanstok) }} --}} @@ -280,44 +282,92 @@ Jumlah + + + + + + + + + + + + @@ -328,44 +378,44 @@ Jumlah @@ -376,108 +426,106 @@ Jumlah @php $counter++;@endphp - + + - diff --git a/resources/views/print/laporan_penebusan.blade.php b/resources/views/print/laporan_penebusan.blade.php index a4c31c5..0a0a048 100644 --- a/resources/views/print/laporan_penebusan.blade.php +++ b/resources/views/print/laporan_penebusan.blade.php @@ -302,6 +302,40 @@
Nilai MarhunRM1.00 - RM400.99RM401.00 - RM2,000.99RM2,001.00 - RM1,000,000.00JumlahNilai MarhunRM1.00 - RM400.99RM401.00 - RM2,000.99RM2,001.00 - RM1,000,000.00Jumlah
BilPinjamanBilPinjamanBilPinjamanBilPinjamanBilPembiayaanBilPembiayaanBilPembiayaanBilPembiayaan
Gadai @@ -231,44 +233,44 @@ Jumlah - {{ $kawalanstok[0]['gadai1'][0]['bil']}}
- {{ $kawalanstok[0]['gadaiini1'][0]['bil']}}
+ {{ number_format($kawalanstok[0]['gadai1'][0]['bil']) }}
+ {{ number_format($kawalanstok[0]['gadaiini1'][0]['bil']) }}
{{ $gad1 = ($kawalanstok[0]['gadai1'][0]['bil'] + $kawalanstok[0]['gadaiini1'][0]['bil']) }}
- {{ $kawalanstok[0]['gadai1'][0]['pinj']}}
- {{ floatval($kawalanstok[0]['gadaiini1'][0]['pinj']) }}
- {{ $gadpinj1 = ($kawalanstok[0]['gadai1'][0]['pinj'] + $kawalanstok[0]['gadaiini1'][0]['pinj']) }} + {{ number_format($kawalanstok[0]['gadai1'][0]['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[0]['gadaiini1'][0]['pinj']),2) }}
+ @php $gadpinj1 = ($kawalanstok[0]['gadai1'][0]['pinj'] + $kawalanstok[0]['gadaiini1'][0]['pinj']); echo number_format($gadpinj1,2) @endphp
- {{ $kawalanstok[0]['gadai2'][0]['bil']}}
- {{ $kawalanstok[0]['gadaiini2'][0]['bil']}}
- {{ $gad2 = ($kawalanstok[0]['gadai2'][0]['bil'] + $kawalanstok[0]['gadaiini2'][0]['bil']) }} + {{ number_format($kawalanstok[0]['gadai2'][0]['bil']) }}
+ {{ number_format($kawalanstok[0]['gadaiini2'][0]['bil']) }}
+ @php $gad2 = ($kawalanstok[0]['gadai2'][0]['bil'] + $kawalanstok[0]['gadaiini2'][0]['bil']); echo number_format($gad2); @endphp
- {{ $kawalanstok[0]['gadai2'][0]['pinj']}}
- {{ floatval($kawalanstok[0]['gadaiini2'][0]['pinj']) }}
- {{ $gadpinj2 = ($kawalanstok[0]['gadai2'][0]['pinj'] + $kawalanstok[0]['gadaiini2'][0]['pinj']) }} + {{ number_format($kawalanstok[0]['gadai2'][0]['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[0]['gadaiini2'][0]['pinj']),2) }}
+ @php $gadpinj2 = ($kawalanstok[0]['gadai2'][0]['pinj'] + $kawalanstok[0]['gadaiini2'][0]['pinj']); echo number_format($gadpinj2,2); @endphp
- {{ $kawalanstok[0]['gadai3'][0]['bil']}}
- {{ $kawalanstok[0]['gadaiini3'][0]['bil']}}
- {{ $gad3 = ($kawalanstok[0]['gadai3'][0]['bil'] + $kawalanstok[0]['gadaiini3'][0]['bil']) }} + {{ number_format($kawalanstok[0]['gadai3'][0]['bil']) }}
+ {{ number_format($kawalanstok[0]['gadaiini3'][0]['bil']) }}
+ @php $gad3 = ($kawalanstok[0]['gadai3'][0]['bil'] + $kawalanstok[0]['gadaiini3'][0]['bil']); echo number_format($gad3); @endphp
- {{ $kawalanstok[0]['gadai3'][0]['pinj']}}
- {{ floatval($kawalanstok[0]['gadaiini3'][0]['pinj']) }}
- {{ $gadpinj3 = ($kawalanstok[0]['gadai3'][0]['pinj'] + $kawalanstok[0]['gadaiini3'][0]['pinj']) }} + {{ number_format($kawalanstok[0]['gadai3'][0]['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[0]['gadaiini3'][0]['pinj']),2) }}
+ @php $gadpinj3 = ($kawalanstok[0]['gadai3'][0]['pinj'] + $kawalanstok[0]['gadaiini3'][0]['pinj']); echo number_format($gadpinj3,2); @endphp
- {{ $totalbilgadaikeseluruhan = $kawalanstok[0]['gadai1'][0]['bil'] + $kawalanstok[0]['gadai2'][0]['bil'] + $kawalanstok[0]['gadai3'][0]['bil']}}
- {{ $totalbilgadaisehari = $kawalanstok[0]['gadaiini1'][0]['bil'] + $kawalanstok[0]['gadaiini2'][0]['bil'] + $kawalanstok[0]['gadaiini3'][0]['bil']}}
- {{ $totalbilgadai = $totalbilgadaikeseluruhan + $totalbilgadaisehari }} + @php $totalbilgadaikeseluruhan = $kawalanstok[0]['gadai1'][0]['bil'] + $kawalanstok[0]['gadai2'][0]['bil'] + $kawalanstok[0]['gadai3'][0]['bil']; echo number_format($totalbilgadaikeseluruhan); @endphp
+ @php $totalbilgadaisehari = $kawalanstok[0]['gadaiini1'][0]['bil'] + $kawalanstok[0]['gadaiini2'][0]['bil'] + $kawalanstok[0]['gadaiini3'][0]['bil']; echo number_format($totalbilgadaisehari); @endphp
+ @php $totalbilgadai = $totalbilgadaikeseluruhan + $totalbilgadaisehari; echo number_format($totalbilgadai); @endphp
- {{ $totalpinjgadaikeseluruhan = $kawalanstok[0]['gadai1'][0]['pinj'] + $kawalanstok[0]['gadai2'][0]['pinj'] + $kawalanstok[0]['gadai3'][0]['pinj']}}
- {{ $totalpinjgadaisehari = $kawalanstok[0]['gadaiini1'][0]['pinj'] + $kawalanstok[0]['gadaiini2'][0]['pinj'] + $kawalanstok[0]['gadaiini3'][0]['pinj']}}
- {{ $totalpinjgadai = $totalpinjgadaikeseluruhan + $totalpinjgadaisehari }} + @php $totalpinjgadaikeseluruhan = $kawalanstok[0]['gadai1'][0]['pinj'] + $kawalanstok[0]['gadai2'][0]['pinj'] + $kawalanstok[0]['gadai3'][0]['pinj']; echo number_format($totalpinjgadaikeseluruhan,2); @endphp
+ @php $totalpinjgadaisehari = $kawalanstok[0]['gadaiini1'][0]['pinj'] + $kawalanstok[0]['gadaiini2'][0]['pinj'] + $kawalanstok[0]['gadaiini3'][0]['pinj']; echo number_format($totalpinjgadaisehari,2); @endphp
+ @php $totalpinjgadai = $totalpinjgadaikeseluruhan + $totalpinjgadaisehari; echo number_format($totalpinjgadai,2); @endphp
- {{ $kawalanstok[1]['tebus1'][0]['bil']}}
- {{ $kawalanstok[1]['tebusini1'][0]['bil']}}
- {{ $teb1 = ($kawalanstok[1]['tebus1'][0]['bil'] + $kawalanstok[1]['tebusini1'][0]['bil']) }} + {{ number_format($kawalanstok[1]['tebus1'][0]['bil']) }}
+ {{ number_format($kawalanstok[1]['tebusini1'][0]['bil']) }}
+ @php $teb1 = ($kawalanstok[1]['tebus1'][0]['bil'] + $kawalanstok[1]['tebusini1'][0]['bil']); echo number_format($teb1); @endphp
- {{ $kawalanstok[1]['tebus1'][0]['pinj']}}
- {{ floatval($kawalanstok[1]['tebusini1'][0]['pinj']) }}
- {{ $tebpinj1 = ($kawalanstok[1]['tebus1'][0]['pinj'] + $kawalanstok[1]['tebusini1'][0]['pinj']) }} + {{ number_format($kawalanstok[1]['tebus1'][0]['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[1]['tebusini1'][0]['pinj']),2) }}
+ @php $tebpinj1 = ($kawalanstok[1]['tebus1'][0]['pinj'] + $kawalanstok[1]['tebusini1'][0]['pinj']); echo number_format($tebpinj1,2); @endphp
- {{ $kawalanstok[1]['tebus2'][0]['bil']}}
- {{ $kawalanstok[1]['tebusini2'][0]['bil']}}
- {{ $teb2 = ($kawalanstok[1]['tebus2'][0]['bil'] + $kawalanstok[1]['tebusini2'][0]['bil']) }} + {{ number_format($kawalanstok[1]['tebus2'][0]['bil']) }}
+ {{ number_format($kawalanstok[1]['tebusini2'][0]['bil']) }}
+ @php $teb2 = ($kawalanstok[1]['tebus2'][0]['bil'] + $kawalanstok[1]['tebusini2'][0]['bil']); echo number_format($teb2); @endphp
- {{ $kawalanstok[1]['tebus2'][0]['pinj']}}
- {{ floatval($kawalanstok[1]['tebusini2'][0]['pinj']) }}
- {{ $tebpinj2 = ($kawalanstok[1]['tebus2'][0]['pinj'] + $kawalanstok[1]['tebusini2'][0]['pinj']) }} + {{ number_format($kawalanstok[1]['tebus2'][0]['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[1]['tebusini2'][0]['pinj']),2) }}
+ @php $tebpinj2 = ($kawalanstok[1]['tebus2'][0]['pinj'] + $kawalanstok[1]['tebusini2'][0]['pinj']); echo number_format($tebpinj2,2); @endphp
- {{ $kawalanstok[1]['tebus3'][0]['bil']}}
- {{ $kawalanstok[1]['tebusini3'][0]['bil']}}
- {{ $teb3 = ($kawalanstok[1]['tebus3'][0]['bil'] + $kawalanstok[1]['tebusini3'][0]['bil']) }} + {{ number_format($kawalanstok[1]['tebus3'][0]['bil']) }}
+ {{ number_format($kawalanstok[1]['tebusini3'][0]['bil']) }}
+ @php $teb3 = ($kawalanstok[1]['tebus3'][0]['bil'] + $kawalanstok[1]['tebusini3'][0]['bil']); echo number_format($teb3); @endphp
- {{ $kawalanstok[1]['tebus3'][0]['pinj']}}
- {{ floatval($kawalanstok[1]['tebusini3'][0]['pinj']) }}
- {{ $tebpinj3 = ($kawalanstok[1]['tebus3'][0]['pinj'] + $kawalanstok[1]['tebusini3'][0]['pinj']) }} + {{ number_format($kawalanstok[1]['tebus3'][0]['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[1]['tebusini3'][0]['pinj']),2) }}
+ @php $tebpinj3 = ($kawalanstok[1]['tebus3'][0]['pinj'] + $kawalanstok[1]['tebusini3'][0]['pinj']); echo number_format($tebpinj3,2); @endphp
- {{ $totalbiltebuskeseluruhan = $kawalanstok[1]['tebus1'][0]['bil'] + $kawalanstok[1]['tebus2'][0]['bil'] + $kawalanstok[1]['tebus3'][0]['bil']}}
- {{ $totalbiltebussehari = $kawalanstok[1]['tebusini1'][0]['bil'] + $kawalanstok[1]['tebusini2'][0]['bil'] + $kawalanstok[1]['tebusini3'][0]['bil']}}
- {{ $totalbiltebus = $totalbiltebuskeseluruhan + $totalbiltebussehari }} + @php $totalbiltebuskeseluruhan = $kawalanstok[1]['tebus1'][0]['bil'] + $kawalanstok[1]['tebus2'][0]['bil'] + $kawalanstok[1]['tebus3'][0]['bil']; echo number_format($totalbiltebuskeseluruhan); @endphp
+ @php $totalbiltebussehari = $kawalanstok[1]['tebusini1'][0]['bil'] + $kawalanstok[1]['tebusini2'][0]['bil'] + $kawalanstok[1]['tebusini3'][0]['bil']; echo number_format($totalbiltebussehari); @endphp
+ @php $totalbiltebus = $totalbiltebuskeseluruhan + $totalbiltebussehari; echo number_format($totalbiltebus); @endphp
- {{ $totalpinjtebuskeseluruhan = $kawalanstok[1]['tebus1'][0]['pinj'] + $kawalanstok[1]['tebus2'][0]['pinj'] + $kawalanstok[1]['tebus3'][0]['pinj']}}
- {{ $totalpinjtebussehari = $kawalanstok[1]['tebusini1'][0]['pinj'] + $kawalanstok[1]['tebusini2'][0]['pinj'] + $kawalanstok[1]['tebusini3'][0]['pinj']}}
- {{ $totalpinjtebus = $totalpinjtebuskeseluruhan + $totalpinjtebussehari }} + @php $totalpinjtebuskeseluruhan = $kawalanstok[1]['tebus1'][0]['pinj'] + $kawalanstok[1]['tebus2'][0]['pinj'] + $kawalanstok[1]['tebus3'][0]['pinj']; echo number_format($totalpinjtebuskeseluruhan,2); @endphp
+ @php $totalpinjtebussehari = $kawalanstok[1]['tebusini1'][0]['pinj'] + $kawalanstok[1]['tebusini2'][0]['pinj'] + $kawalanstok[1]['tebusini3'][0]['pinj']; echo number_format($totalpinjtebussehari,2); @endphp
+ @php $totalpinjtebus = $totalpinjtebuskeseluruhan + $totalpinjtebussehari; echo number_format($totalpinjtebus,2); @endphp +
Ansuran Pembiayaan + Baki C/F
+ Hari Ini
+ Jumlah +
+ {{ number_format($kawalanstok[4]['ans1']['bil']) }}
+ {{ number_format($kawalanstok[4]['ansini1']['bil']) }}
+ @php $ans1 = ($kawalanstok[4]['ans1']['bil'] + $kawalanstok[4]['ansini1']['bil']); echo number_format($ans1); @endphp +
+ {{ number_format($kawalanstok[4]['ans1']['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[4]['ansini1']['pinj']),2) }}
+ @php $anspinj1 = ($kawalanstok[4]['ans1']['pinj'] + $kawalanstok[4]['ansini1']['pinj']); echo number_format($anspinj1); @endphp +
+ {{ number_format($kawalanstok[4]['ans2']['bil']) }}
+ {{ number_format($kawalanstok[4]['ansini2']['bil']) }}
+ @php $ans2 = ($kawalanstok[4]['ans2']['bil'] + $kawalanstok[4]['ansini2']['bil']); echo number_format($ans2); @endphp +
+ {{ number_format($kawalanstok[4]['ans2']['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[4]['ansini2']['pinj']),2) }}
+ @php $anspinj2 = ($kawalanstok[4]['ans2']['pinj'] + $kawalanstok[4]['ansini2']['pinj']); echo number_format($anspinj2); @endphp +
+ {{ number_format(intval($kawalanstok[4]['ans3']['bil'])) }}
+ {{ number_format(intval($kawalanstok[4]['ansini3']['bil'])) }}
+ @php $ans3 = ($kawalanstok[4]['ans3']['bil'] + $kawalanstok[4]['ansini3']['bil']); echo number_format($ans3); @endphp +
+ {{ number_format($kawalanstok[4]['ans3']['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[4]['ansini3']['pinj']),2) }}
+ @php $anspinj3 = ($kawalanstok[4]['ans3']['pinj'] + $kawalanstok[4]['ansini3']['pinj']); echo number_format($anspinj3,2); @endphp +
+ @php $totalbilanskeseluruhan = $kawalanstok[4]['ans1']['bil'] + $kawalanstok[4]['ans2']['bil'] + $kawalanstok[4]['ans3']['bil']; echo number_format($totalbilanskeseluruhan); @endphp
+ @php $totalbilanssehari = $kawalanstok[4]['ansini1']['bil'] + $kawalanstok[4]['ansini2']['bil'] + $kawalanstok[4]['ansini3']['bil']; echo number_format($totalbilanssehari); @endphp
+ @php $totalbilans = $totalbilanskeseluruhan + $totalbilanssehari; echo number_format($totalbilans); @endphp +
+ @php $totalpinjanskeseluruhan = $kawalanstok[4]['ans1']['pinj'] + $kawalanstok[4]['ans2']['pinj'] + $kawalanstok[4]['ans3']['pinj']; echo number_format($totalpinjanskeseluruhan,2); @endphp
+ @php $totalpinjanssehari = $kawalanstok[4]['ansini1']['pinj'] + $kawalanstok[4]['ansini2']['pinj'] + $kawalanstok[4]['ansini3']['pinj']; echo number_format($totalpinjanssehari,2); @endphp
+ @php $totalpinjans = floatval($totalpinjanskeseluruhan + $totalpinjanssehari); echo number_format($totalpinjans,2); @endphp
- {{ $kawalanstok[2]['lelong1'][0]['bil']}}
- {{ $kawalanstok[2]['lelongini1'][0]['bil']}}
- {{ $lel1 = ($kawalanstok[2]['lelong1'][0]['bil'] + $kawalanstok[2]['lelongini1'][0]['bil']) }} + {{ number_format($kawalanstok[2]['lelong1'][0]['bil']) }}
+ {{ number_format($kawalanstok[2]['lelongini1'][0]['bil']) }}
+ @php $lel1 = ($kawalanstok[2]['lelong1'][0]['bil'] + $kawalanstok[2]['lelongini1'][0]['bil']); echo number_format($lel1); @endphp
- {{ $kawalanstok[2]['lelong1'][0]['pinj']}}
- {{ floatval($kawalanstok[2]['lelongini1'][0]['pinj']) }}
- {{ $lelpinj1 = ($kawalanstok[2]['lelong1'][0]['pinj'] + $kawalanstok[2]['lelongini1'][0]['pinj']) }} + {{ number_format($kawalanstok[2]['lelong1'][0]['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[2]['lelongini1'][0]['pinj']),2) }}
+ @php $lelpinj1 = ($kawalanstok[2]['lelong1'][0]['pinj'] + $kawalanstok[2]['lelongini1'][0]['pinj']); echo number_format($lelpinj1); @endphp
- {{ $kawalanstok[2]['lelong2'][0]['bil']}}
- {{ $kawalanstok[2]['lelongini2'][0]['bil']}}
- {{ $lel2 = ($kawalanstok[2]['lelong2'][0]['bil'] + $kawalanstok[2]['lelongini2'][0]['bil']) }} + {{ number_format($kawalanstok[2]['lelong2'][0]['bil']) }}
+ {{ number_format($kawalanstok[2]['lelongini2'][0]['bil']) }}
+ @php $lel2 = ($kawalanstok[2]['lelong2'][0]['bil'] + $kawalanstok[2]['lelongini2'][0]['bil']); echo number_format($lel2); @endphp
- {{ $kawalanstok[2]['lelong2'][0]['pinj']}}
- {{ floatval($kawalanstok[2]['lelongini2'][0]['pinj']) }}
- {{ $lelpinj2 = ($kawalanstok[2]['lelong2'][0]['pinj'] + $kawalanstok[2]['lelongini2'][0]['pinj']) }} + {{ number_format($kawalanstok[2]['lelong2'][0]['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[2]['lelongini2'][0]['pinj']),2) }}
+ @php $lelpinj2 = ($kawalanstok[2]['lelong2'][0]['pinj'] + $kawalanstok[2]['lelongini2'][0]['pinj']); echo number_format($lelpinj2); @endphp
- {{ intval($kawalanstok[2]['lelong3'][0]['bil']) }}
- {{ intval($kawalanstok[2]['lelongini3'][0]['bil']) }}
- {{ $lel3 = ($kawalanstok[2]['lelong3'][0]['bil'] + $kawalanstok[2]['lelongini3'][0]['bil']) }} + {{ number_format(intval($kawalanstok[2]['lelong3'][0]['bil'])) }}
+ {{ number_format(intval($kawalanstok[2]['lelongini3'][0]['bil'])) }}
+ @php $lel3 = ($kawalanstok[2]['lelong3'][0]['bil'] + $kawalanstok[2]['lelongini3'][0]['bil']); echo number_format($lel3); @endphp
- {{ $kawalanstok[2]['lelong3'][0]['pinj'] }}
- {{ floatval($kawalanstok[2]['lelongini3'][0]['pinj']) }}
- {{ $lelpinj3 = ($kawalanstok[2]['lelong3'][0]['pinj'] + $kawalanstok[2]['lelongini3'][0]['pinj']) }} + {{ number_format($kawalanstok[2]['lelong3'][0]['pinj'],2) }}
+ {{ number_format(floatval($kawalanstok[2]['lelongini3'][0]['pinj']),2) }}
+ @php $lelpinj3 = ($kawalanstok[2]['lelong3'][0]['pinj'] + $kawalanstok[2]['lelongini3'][0]['pinj']); echo number_format($lelpinj3,2); @endphp
- {{ $totalbillelongkeseluruhan = $kawalanstok[2]['lelong1'][0]['bil'] + $kawalanstok[2]['lelong2'][0]['bil'] + $kawalanstok[2]['lelong3'][0]['bil'] }}
- {{ $totalbillelongsehari = $kawalanstok[2]['lelongini1'][0]['bil'] + $kawalanstok[2]['lelongini2'][0]['bil'] + $kawalanstok[2]['lelongini3'][0]['bil'] }}
- {{ $totalbillelong = $totalbillelongkeseluruhan + $totalbillelongsehari }} + @php $totalbillelongkeseluruhan = $kawalanstok[2]['lelong1'][0]['bil'] + $kawalanstok[2]['lelong2'][0]['bil'] + $kawalanstok[2]['lelong3'][0]['bil']; echo number_format($totalbillelongkeseluruhan); @endphp
+ @php $totalbillelongsehari = $kawalanstok[2]['lelongini1'][0]['bil'] + $kawalanstok[2]['lelongini2'][0]['bil'] + $kawalanstok[2]['lelongini3'][0]['bil']; echo number_format($totalbillelongsehari); @endphp
+ @php $totalbillelong = $totalbillelongkeseluruhan + $totalbillelongsehari; echo number_format($totalbillelong); @endphp
- {{ $totalpinjlelongkeseluruhan = $kawalanstok[2]['lelong1'][0]['pinj'] + $kawalanstok[2]['lelong2'][0]['pinj'] + $kawalanstok[2]['lelong3'][0]['pinj'] }}
- {{ $totalpinjlelongsehari = $kawalanstok[2]['lelongini1'][0]['pinj'] + $kawalanstok[2]['lelongini2'][0]['pinj'] + $kawalanstok[2]['lelongini3'][0]['pinj'] }}
- {{ $totalpinjlelong = floatval($totalpinjlelongkeseluruhan + $totalpinjlelongsehari) }} + @php $totalpinjlelongkeseluruhan = $kawalanstok[2]['lelong1'][0]['pinj'] + $kawalanstok[2]['lelong2'][0]['pinj'] + $kawalanstok[2]['lelong3'][0]['pinj']; echo number_format($totalpinjlelongkeseluruhan,2); @endphp
+ @php $totalpinjlelongsehari = $kawalanstok[2]['lelongini1'][0]['pinj'] + $kawalanstok[2]['lelongini2'][0]['pinj'] + $kawalanstok[2]['lelongini3'][0]['pinj']; echo number_format($totalpinjlelongsehari,2); @endphp
+ @php $totalpinjlelong = floatval($totalpinjlelongkeseluruhan + $totalpinjlelongsehari); echo number_format($totalpinjlelong,2); @endphp
- {{ $kawalanstok[3]['hapuskira1'][0]['bil'] }}
- {{ $kawalanstok[3]['hapuskiraini1'][0]['bil'] }}
- {{ $hpk1 = $kawalanstok[3]['hapuskira1'][0]['bil'] + $kawalanstok[3]['hapuskiraini1'][0]['bil'] }} + {{ number_format($kawalanstok[3]['hapuskira1'][0]['bil']) }}
+ {{ number_format($kawalanstok[3]['hapuskiraini1'][0]['bil']) }}
+ @php $hpk1 = $kawalanstok[3]['hapuskira1'][0]['bil'] + $kawalanstok[3]['hapuskiraini1'][0]['bil']; echo number_format($hpk1); @endphp
- {{ floatval($kawalanstok[3]['hapuskira1'][0]['pinj']) }}
- {{ floatval($kawalanstok[3]['hapuskiraini1'][0]['pinj']) }}
- {{ $hpkpinj1 = ($kawalanstok[3]['hapuskira1'][0]['pinj'] + $kawalanstok[3]['hapuskiraini1'][0]['pinj']) }} + {{ number_format(floatval($kawalanstok[3]['hapuskira1'][0]['pinj']),2) }}
+ {{ number_format(floatval($kawalanstok[3]['hapuskiraini1'][0]['pinj']),2) }}
+ @php $hpkpinj1 = ($kawalanstok[3]['hapuskira1'][0]['pinj'] + $kawalanstok[3]['hapuskiraini1'][0]['pinj']); echo number_format($hpkpinj1); @endphp
- {{ $kawalanstok[3]['hapuskira2'][0]['bil'] }}
- {{ $kawalanstok[3]['hapuskiraini2'][0]['bil'] }}
- {{ $hpk2 = ($kawalanstok[3]['hapuskira2'][0]['bil'] + $kawalanstok[3]['hapuskiraini2'][0]['bil']) }} + {{ number_format($kawalanstok[3]['hapuskira2'][0]['bil']) }}
+ {{ number_format($kawalanstok[3]['hapuskiraini2'][0]['bil']) }}
+ @php $hpk2 = ($kawalanstok[3]['hapuskira2'][0]['bil'] + $kawalanstok[3]['hapuskiraini2'][0]['bil']); echo number_format($hpk2); @endphp
- {{ floatval($kawalanstok[3]['hapuskira2'][0]['pinj']) }}
- {{ floatval($kawalanstok[3]['hapuskiraini2'][0]['pinj']) }}
- {{ $hpkpinj2 = ($kawalanstok[3]['hapuskira2'][0]['pinj'] + $kawalanstok[3]['hapuskiraini2'][0]['pinj']) }} + {{ number_format(floatval($kawalanstok[3]['hapuskira2'][0]['pinj']),2) }}
+ {{ number_format(floatval($kawalanstok[3]['hapuskiraini2'][0]['pinj']),2) }}
+ @php $hpkpinj2 = ($kawalanstok[3]['hapuskira2'][0]['pinj'] + $kawalanstok[3]['hapuskiraini2'][0]['pinj']); echo number_format($hpkpinj2); @endphp
- {{ $kawalanstok[3]['hapuskira3'][0]['bil'] }}
- {{ $kawalanstok[3]['hapuskiraini3'][0]['bil'] }}
- {{ $hpk3 = ($kawalanstok[3]['hapuskira3'][0]['bil'] + $kawalanstok[3]['hapuskiraini3'][0]['bil']) }} + {{ number_format($kawalanstok[3]['hapuskira3'][0]['bil']) }}
+ {{ number_format($kawalanstok[3]['hapuskiraini3'][0]['bil']) }}
+ @php $hpk3 = ($kawalanstok[3]['hapuskira3'][0]['bil'] + $kawalanstok[3]['hapuskiraini3'][0]['bil']); echo number_format($hpk3); @endphp
- {{ floatval($kawalanstok[3]['hapuskira3'][0]['pinj']) }}
- {{ floatval($kawalanstok[3]['hapuskiraini3'][0]['pinj']) }}
- {{ $hpkpinj3 = $kawalanstok[3]['hapuskira3'][0]['pinj'] + $kawalanstok[3]['hapuskiraini3'][0]['pinj'] }} + {{ number_format(floatval($kawalanstok[3]['hapuskira3'][0]['pinj']),2) }}
+ {{ number_format(floatval($kawalanstok[3]['hapuskiraini3'][0]['pinj']),2) }}
+ @php $hpkpinj3 = $kawalanstok[3]['hapuskira3'][0]['pinj'] + $kawalanstok[3]['hapuskiraini3'][0]['pinj']; echo number_format($hpkpinj3); @endphp
- {{ $totalbilhapuskirakeseluruhan = $kawalanstok[3]['hapuskira1'][0]['bil'] + $kawalanstok[3]['hapuskira2'][0]['bil'] + $kawalanstok[3]['hapuskira3'][0]['bil'] }}
- {{ $totalbilhapuskirasehari = $kawalanstok[3]['hapuskiraini1'][0]['bil'] + $kawalanstok[3]['hapuskiraini2'][0]['bil'] + $kawalanstok[3]['hapuskiraini3'][0]['bil'] }}
- {{ $totalbilhapuskira = $totalbilhapuskirakeseluruhan + $totalbilhapuskirasehari }} + @php $totalbilhapuskirakeseluruhan = $kawalanstok[3]['hapuskira1'][0]['bil'] + $kawalanstok[3]['hapuskira2'][0]['bil'] + $kawalanstok[3]['hapuskira3'][0]['bil']; echo number_format($totalbilhapuskirakeseluruhan); @endphp
+ @php $totalbilhapuskirasehari = $kawalanstok[3]['hapuskiraini1'][0]['bil'] + $kawalanstok[3]['hapuskiraini2'][0]['bil'] + $kawalanstok[3]['hapuskiraini3'][0]['bil']; echo number_format($totalbilhapuskirasehari); @endphp
+ @php $totalbilhapuskira = $totalbilhapuskirakeseluruhan + $totalbilhapuskirasehari; echo number_format($totalbilhapuskira); @endphp
- {{ $totalpinjhapuskirakeseluruhan = $kawalanstok[3]['hapuskira1'][0]['pinj'] + $kawalanstok[3]['hapuskira2'][0]['pinj'] + $kawalanstok[3]['hapuskira3'][0]['pinj'] }}
- {{ $totalpinjhapuskirasehari = $kawalanstok[3]['hapuskiraini1'][0]['pinj'] + $kawalanstok[3]['hapuskiraini2'][0]['pinj'] + $kawalanstok[3]['hapuskiraini3'][0]['pinj'] }}
- {{ $totalpinjhapuskira = $totalpinjhapuskirakeseluruhan + $totalpinjhapuskirasehari }} + @php $totalpinjhapuskirakeseluruhan = $kawalanstok[3]['hapuskira1'][0]['pinj'] + $kawalanstok[3]['hapuskira2'][0]['pinj'] + $kawalanstok[3]['hapuskira3'][0]['pinj']; echo number_format($totalpinjhapuskirakeseluruhan,2); @endphp
+ @php $totalpinjhapuskirasehari = $kawalanstok[3]['hapuskiraini1'][0]['pinj'] + $kawalanstok[3]['hapuskiraini2'][0]['pinj'] + $kawalanstok[3]['hapuskiraini3'][0]['pinj']; echo number_format($totalpinjhapuskirasehari,2); @endphp
+ @php $totalpinjhapuskira = $totalpinjhapuskirakeseluruhan + $totalpinjhapuskirasehari; echo number_format($totalpinjhapuskira,2); @endphp
Baki - {{ $gad1 - $teb1 - $lel1 - $hpk1 }} + @php $totalbil1 = $gad1 - $teb1 - $lel1 - $ans1 - $hpk1; echo number_format($totalbil1);@endphp + + @php $totalpinj1 = $gadpinj1 - $tebpinj1 - $lelpinj1 - $anspinj1 - $hpkpinj1; echo number_format($totalpinj1,2);@endphp - {{ $gadpinj1 - $tebpinj1 - $lelpinj1 - $hpkpinj1,2 }} + @php $totalbil2 = $gad2 - $teb2 - $lel2 - $ans2 - $hpk2; echo number_format($totalbil2);@endphp - {{ $gad2 - $teb2 - $lel2 - $hpk2 }} + @php $totalpinj2 = $gadpinj2 - $tebpinj2 - $lelpinj2 - $anspinj2 - $hpkpinj2; echo number_format($totalpinj2,2);@endphp - {{ $gadpinj2 - $tebpinj2 - $lelpinj2 - $hpkpinj2 }} + @php $totalbil3 = $gad3 - $teb3 - $lel3 = - $ans3 - $hpk3; echo number_format($totalbil3);@endphp - {{ $gad3 - $teb3 - $lel3 - $hpk3 }} + @php $totalpinj3 = $gadpinj3 - $tebpinj3 - $lelpinj3 - $anspinj3 - $hpkpinj3; echo number_format($totalpinj3,2);@endphp - {{ $gadpinj3 - $tebpinj3 - $lelpinj3 - $hpkpinj3 }} + @php $totalbil = $totalbilgadai-$totalbiltebus-$totalbilans-$totalbillelong-$totalbilhapuskira; echo number_format($totalbil);@endphp - {{ $totalbil = $totalbilgadai-$totalbiltebus-$totalbillelong-$totalbilhapuskira }} - - - {{ $totalpinjgadai-$totalpinjtebus-$totalpinjlelong-$totalpinjhapuskira }} - + @php $totalpinj = $totalpinjgadai-$totalpinjtebus-$totalpinjans-$totalpinjlelong-$totalpinjhapuskira; echo number_format($totalpinj,2);@endphp
- {{ (($gad1 - $teb1 - $lel1 - $hpk1)/$totalbil)*100 }} + + @php $percentbil1 = (($totalbil1)/$totalbil)*100; echo number_format($percentbil1,2) . ' %';@endphp - {{ $gadpinj1 - $tebpinj1 - $lelpinj1 - $hpkpinj1 }} + @php $percentpinj1 = (($totalpinj1)/$totalpinj)*100; echo number_format($percentpinj1,2) . ' %';@endphp - {{ (($gad2 - $teb2 - $lel2 - $hpk2)/$totalbil)*100 }} + @php $percentbil2 = (($totalbil2)/$totalbil)*100; echo number_format($percentbil2,2) . ' %';@endphp - {{ $gadpinj2 - $tebpinj2 - $lelpinj2 - $hpkpinj2 }} + @php $percentpinj2 = (($totalpinj2)/$totalpinj)*100; echo number_format($percentpinj2,2) . ' %';@endphp - {{ (($gad3 - $teb3 - $lel3 - $hpk3)/$totalbil)*100 }} + @php $percentbil3 = (($totalbil3)/$totalbil)*100; echo number_format($percentbil3,2) . ' %';@endphp - {{ $gadpinj3 - $tebpinj3 - $lelpinj3 - $hpkpinj3 }} - + @php $percentpinj3 = (($totalpinj3)/$totalpinj)*100;; echo number_format($percentpinj3,2) . ' %';@endphp
+

Laporan Transaksi Penebusan

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BilJenisPenebusan(RM)Keuntungan(RM)Rebate(RM)
{{ $tebuspengasingan['biltawarruq'] }}Tawarruq{{ number_format($tebuspengasingan['totaltawarruq'],2) }}{{ number_format($tebuspengasingan['keuntungantawarruq'],2) }}{{ number_format($tebuspengasingan['totalrebate'],2) }}
{{ $tebuspengasingan['bilarrahn'] }}Ar-Rahn{{ number_format($tebuspengasingan['totalarrahn'],2) }}{{ number_format($tebuspengasingan['keuntunganarrahn'],2) }} Not Applicable
{{ $upahlama['bil'] }}Bayaran Upah Not Applicable {{ number_format($upahlama['total'],2) }} Not Applicable
+ diff --git a/resources/views/print/laporan_perbelanjaan.blade.php b/resources/views/print/laporan_perbelanjaan.blade.php new file mode 100644 index 0000000..f879714 --- /dev/null +++ b/resources/views/print/laporan_perbelanjaan.blade.php @@ -0,0 +1,273 @@ + + + + + + + + + + + + + + + + + + + + + + + + + {{-- --}} + {{-- --}} + + + + + + {{-- + + + + + + + --}} + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LAPORAN WANG PERBELANJAAN
TARIKH: + @php + $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak); + $formattedweddingdate = $myDateTime->format('d-m-Y'); + echo($formattedweddingdate); + @endphp +
MULA:@php + $myDateTime = DateTime::createFromFormat('Y-m-d', $mula_date); + $formattedweddingdate = $myDateTime->format('d-m-Y'); + echo($formattedweddingdate); + @endphp HINGGA:@php + $myDateTime = DateTime::createFromFormat('Y-m-d', $hingga_date); + $formattedweddingdate = $myDateTime->format('d-m-Y'); + echo($formattedweddingdate); + @endphp
+ +
+ + + + + + + + + + + @php $counter = 1; $totalbayaran = 0;@endphp + @foreach($perbelanjaan as $index=>$item) + @php $totalbayaran += $item['bayaran']; @endphp + + + + + + + + + + @php $counter++; @endphp + @endforeach +
BilTarikhKategoriTuntutan OlehPerkara/ItemBaucer#Jumlah (RM)
{{ $counter }}{{ $item['tarikh'] }}{{ $item['kategori'] }}{{ $item['tuntutoleh'] }}{{ $item['deskripsi'] }}{{$item['nobaucer']}}{{$item['bayaran']}}
+ +
JUMLAH KESELURUHAN BAYARAN : RM {{ number_format($totalbayaran,2) }}
+ +
+
+ + + + + + + + + + + + + + + + + + + +
.................................................................. .................................................................. ..................................................................
Disediakan Disemak Disahkan
+ + + + + + diff --git a/resources/views/print/laporan_perbelanjaan_baucer.blade.php b/resources/views/print/laporan_perbelanjaan_baucer.blade.php new file mode 100644 index 0000000..f82eb96 --- /dev/null +++ b/resources/views/print/laporan_perbelanjaan_baucer.blade.php @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + {{-- --}} + {{-- --}} + + + + + + {{-- + + + + + + + --}} + +
+ + + + + + + + + + + + + + + + + + + + + + + +
BAUCER WANG PANJAR
Tarikh Cetak: + @php + $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak); + $formattedweddingdate = $myDateTime->format('d-m-Y'); + echo($formattedweddingdate); + @endphp +
Bayar Kepada: + {{ $perbelanjaan['tuntutoleh'] }} + No Baucer#: + {{ $perbelanjaan['nobaucer'] }} +
+ +
+ + + + + + + + + + + + + + + + + +
Tarikh BilPerkara/ItemKategoriJumlah (RM)
{{ $perbelanjaan['tarikh'] }}{{ $perbelanjaan['deskripsi'] }}{{ $perbelanjaan['kategori'] }}{{ number_format($perbelanjaan['bayaran'],2) }}
JUMLAH BAYARAN : RM {{ number_format($perbelanjaan['bayaran'],2) }}
+ + +
+
+ + + + + + + + + + + + + + + + + + + +
.................................................................. .................................................................. ..................................................................
Disediakan Disemak Disahkan
+ + + + + + diff --git a/resources/views/print/laporan_ringkasanharian.blade.php b/resources/views/print/laporan_ringkasanharian.blade.php index 4b6c6fb..c156367 100644 --- a/resources/views/print/laporan_ringkasanharian.blade.php +++ b/resources/views/print/laporan_ringkasanharian.blade.php @@ -50,6 +50,8 @@ +

Tarikh : {{ $ringkasan_date }} Tarikh Cetak : {{ $tarikh_cetak }}

+
@@ -63,9 +65,11 @@
3. ANSURAN PEMBIAYAAN
{{ 'RM '. number_format($laporan['total_ansuran'],2) }}
4. BAYARAN ONLINE
-
+
RM 0.00
5. KEUNTUNGAN
-
+
{{ 'RM '. number_format($laporan['total_keuntungan'],2) }}
+
6. KEUNTUNGAN ONLINE
+
RM 0.00
@@ -80,7 +84,7 @@
3. ANSURAN PEMBIAYAAN
{{ $laporan['bilangan_ansuran'] }}
4. BAYARAN ONLINE
-
+
0
5. PELANGGAN BARU
{{ $laporan['bilangan_customer_baru'] }}
@@ -94,11 +98,11 @@

C) WANG PETI BESI

1. SISTEM
-
+
{{ 'RM '. number_format($laporan['petibesi_sistem'],2) }}
2. IMBANG DUGA
-
+
{{ 'RM '. number_format($laporan['petibesiimbangduga'],2) }}
3. DENOMINASI
-
+
{{ 'RM '. number_format($laporan['petibesi_deno'],2) }}
@@ -139,23 +143,23 @@ 1 IMBANG DUGA - - - + {{ 'RM '. number_format($laporan['outstandingimbangduga'],2) }} + Not Applicable + Not Applicable 2 STOK AUDIT - - - + {{ 'RM '. number_format($laporan['stokauditpembiayaan'],2) }} + {{ 'RM '. number_format($laporan['stokauditnilaimarhun'],2) }} + {{ number_format($laporan['stokauditcount']) }} 3 KAWALAN STOK - - - + {{ 'RM '. number_format($totalpinjkawalanstok,2) }} + Not Applicable + {{ number_format($totalbilkawalanstok) }} diff --git a/resources/views/print/laporan_stokaudit.blade.php b/resources/views/print/laporan_stokaudit.blade.php index 0d5a442..de071c4 100644 --- a/resources/views/print/laporan_stokaudit.blade.php +++ b/resources/views/print/laporan_stokaudit.blade.php @@ -208,8 +208,9 @@ Pembiayaan Lanjutan - @php $counter = 1; @endphp + @php $counter = 1;$totalpinjaman = 0; @endphp @foreach($stokaudit['rekod'] as $index=>$item) + @php if($item['hargajualan'] == null) $totalpinjaman += $item['pinjaman']; else $totalpinjaman += $item['bakipjm']; @endphp {{ $counter }} {{$item['norujukan']}} @@ -217,7 +218,7 @@ {{$item['nokp']}} {{ number_format($item['berat'],2) }} {{ number_format($item['nilaimarhun'],2) }} - {{ number_format($item['pinjaman'],2) }} + @php if($item['hargajualan'] == null) echo number_format($item['pinjaman'],2); else echo number_format($item['bakipjm'],2); @endphp {{$item['lelong_tawarruq']}} @php $counter++; @endphp @@ -226,7 +227,7 @@ Jumlah {{ number_format($stokaudit['totalberat'],2) }} {{ number_format($stokaudit['totalnilaimarhun'],2) }} - {{ number_format($stokaudit['total'],2) }} + {{ number_format($totalpinjaman,2) }} diff --git a/resources/views/print/laporan_stokauditbelumaktif.blade.php b/resources/views/print/laporan_stokauditbelumaktif.blade.php index 0d5a442..de071c4 100644 --- a/resources/views/print/laporan_stokauditbelumaktif.blade.php +++ b/resources/views/print/laporan_stokauditbelumaktif.blade.php @@ -208,8 +208,9 @@ Pembiayaan Lanjutan - @php $counter = 1; @endphp + @php $counter = 1;$totalpinjaman = 0; @endphp @foreach($stokaudit['rekod'] as $index=>$item) + @php if($item['hargajualan'] == null) $totalpinjaman += $item['pinjaman']; else $totalpinjaman += $item['bakipjm']; @endphp {{ $counter }} {{$item['norujukan']}} @@ -217,7 +218,7 @@ {{$item['nokp']}} {{ number_format($item['berat'],2) }} {{ number_format($item['nilaimarhun'],2) }} - {{ number_format($item['pinjaman'],2) }} + @php if($item['hargajualan'] == null) echo number_format($item['pinjaman'],2); else echo number_format($item['bakipjm'],2); @endphp {{$item['lelong_tawarruq']}} @php $counter++; @endphp @@ -226,7 +227,7 @@ Jumlah {{ number_format($stokaudit['totalberat'],2) }} {{ number_format($stokaudit['totalnilaimarhun'],2) }} - {{ number_format($stokaudit['total'],2) }} + {{ number_format($totalpinjaman,2) }} diff --git a/resources/views/print/resitansuran.blade.php b/resources/views/print/resitansuran.blade.php index 1f6695e..8361d30 100644 --- a/resources/views/print/resitansuran.blade.php +++ b/resources/views/print/resitansuran.blade.php @@ -46,7 +46,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:20%; - font-size:10px; + font-size:12px; border: 1px solid black; } @@ -54,7 +54,7 @@ hr.new5 { #cust td, #cust th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:10px; text-align:right; } @@ -109,7 +109,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:10px; + font-size:15px; } #inside td, #inside th { @@ -137,7 +137,7 @@ hr.new5 { border-collapse:collapse; width:100%; margin-top:40px; - font-size:10px; + font-size:12px; } #semakan td, #semakan th { @@ -195,14 +195,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #perjanjian td, #perjanjian th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #perjanjian tr:nth-child(even){background-color:#ffffff} @@ -221,14 +221,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #keuntungan td, #keuntungan th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #keuntungan tr:nth-child(even){background-color: #ffffff;} @@ -248,7 +248,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 45%; - font-size:10px; + font-size:13px; border: 1px solid black; } @@ -256,7 +256,7 @@ hr.new5 { #payment td, #payment th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:10px; text-align: left; } @@ -281,7 +281,7 @@ hr.new5 { #akuan td, #akuan th { padding: 7px; - font-size:9px; + font-size:10px; padding:4px; } @@ -303,14 +303,14 @@ hr.new5 { .formula{ font-family: Arial, Helvetica, sans-serif; - font-size:12px; + font-size:14px; } #copy_cust { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:10%; - font-size:10px; + font-size:12px; } @@ -334,7 +334,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 50%; - font-size:10px; + font-size:12px; } @@ -499,7 +499,7 @@ hr.new5 { Marhun : {{ $gadai['marhun'] }} No SAG: {{ $transaction['norujukan'] }} -Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($transaction['created_at']); $date = $time->format('d/m/y'); echo $date; @endphp +Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($transaction['created_at']); $date = $time->format('d/m/Y'); echo $date; @endphp @@ -522,7 +522,7 @@ hr.new5 { - + diff --git a/resources/views/print/resitansuransebelum.blade.php b/resources/views/print/resitansuransebelum.blade.php index 47478c3..cfb28ff 100644 --- a/resources/views/print/resitansuransebelum.blade.php +++ b/resources/views/print/resitansuransebelum.blade.php @@ -46,7 +46,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:20%; - font-size:10px; + font-size:12px; border: 1px solid black; } @@ -54,7 +54,7 @@ hr.new5 { #cust td, #cust th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:10px; text-align:right; } @@ -102,14 +102,14 @@ hr.new5 { padding:10px; width : 250px; transform: rotate(-90deg); - font-size:11px; + font-size:12px; } #inside { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:10px; + font-size:15px; } #inside td, #inside th { @@ -137,7 +137,7 @@ hr.new5 { border-collapse:collapse; width:100%; margin-top:40px; - font-size:10px; + font-size:12px; } #semakan td, #semakan th { @@ -171,7 +171,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:11px; + font-size:12px; } #salinan td, #salinan th { @@ -195,14 +195,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #perjanjian td, #perjanjian th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #perjanjian tr:nth-child(even){background-color:#ffffff} @@ -221,14 +221,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #keuntungan td, #keuntungan th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #keuntungan tr:nth-child(even){background-color: #ffffff;} @@ -248,7 +248,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 45%; - font-size:10px; + font-size:12px; border: 1px solid black; } @@ -256,7 +256,7 @@ hr.new5 { #payment td, #payment th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:10px; text-align: left; } @@ -281,7 +281,7 @@ hr.new5 { #akuan td, #akuan th { padding: 7px; - font-size:9px; + font-size:10px; padding:4px; } @@ -310,7 +310,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:10%; - font-size:10px; + font-size:12px; } @@ -334,7 +334,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 50%; - font-size:10px; + font-size:12px; } @@ -342,7 +342,7 @@ hr.new5 { #copy_cust td, #copy_cust th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; text-align:right; width: 10%; diff --git a/resources/views/print/resittambahpinjam.blade.php b/resources/views/print/resittambahpinjam.blade.php index 5dce90e..56fbe11 100644 --- a/resources/views/print/resittambahpinjam.blade.php +++ b/resources/views/print/resittambahpinjam.blade.php @@ -102,14 +102,14 @@ hr.new5 { padding:10px; width : 250px; transform: rotate(-90deg); - font-size:11px; + font-size:12px; } #inside { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:10px; + font-size:15px; } #inside td, #inside th { @@ -137,7 +137,7 @@ hr.new5 { border-collapse:collapse; width:100%; margin-top:40px; - font-size:10px; + font-size:12px; } #semakan td, #semakan th { @@ -171,7 +171,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:11px; + font-size:12px; } #salinan td, #salinan th { @@ -195,14 +195,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #perjanjian td, #perjanjian th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #perjanjian tr:nth-child(even){background-color:#ffffff} @@ -221,14 +221,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #keuntungan td, #keuntungan th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #keuntungan tr:nth-child(even){background-color: #ffffff;} @@ -248,7 +248,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 45%; - font-size:10px; + font-size:13px; border: 1px solid black; } @@ -256,7 +256,7 @@ hr.new5 { #payment td, #payment th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:10px; text-align: left; } @@ -281,7 +281,7 @@ hr.new5 { #akuan td, #akuan th { padding: 7px; - font-size:9px; + font-size:10px; padding:4px; } @@ -310,7 +310,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:10%; - font-size:10px; + font-size:12px; } @@ -334,7 +334,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 50%; - font-size:10px; + font-size:12px; } @@ -342,7 +342,7 @@ hr.new5 { #copy_cust td, #copy_cust th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; text-align:right; width: 10%; @@ -502,7 +502,7 @@ hr.new5 { - + @@ -524,7 +524,7 @@ hr.new5 {
Tarikh Bayaran : @php $time = new DateTime($transaction['created_at']); $date = $time->format('d/m/y'); echo $date; @endphp Tarikh Bayaran : @php $time = new DateTime($transaction['created_at']); $date = $time->format('d/m/Y'); echo $date; @endphp
Harga Jualan : RM {{ number_format(($transaction['bakiharga'] + $transaction['duit_masuk']),2) }} Marhun : {{ $gadai['marhun'] }} : 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 Nama : {{ $customers_info['nama'] }} : Tarikh Bayar @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
- + diff --git a/resources/views/print/resittebus.blade.php b/resources/views/print/resittebus.blade.php index 76cdca2..daf5bc6 100644 --- a/resources/views/print/resittebus.blade.php +++ b/resources/views/print/resittebus.blade.php @@ -46,7 +46,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:20%; - font-size:10px; + font-size:12px; border: 1px solid black; } @@ -54,7 +54,7 @@ hr.new5 { #cust td, #cust th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:10px; text-align:right; } @@ -102,14 +102,14 @@ hr.new5 { padding:10px; width : 250px; transform: rotate(-90deg); - font-size:11px; + font-size:12px; } #inside { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:10px; + font-size:15px; } #inside td, #inside th { @@ -137,7 +137,7 @@ hr.new5 { border-collapse:collapse; width:100%; margin-top:40px; - font-size:10px; + font-size:12px; } #semakan td, #semakan th { @@ -171,7 +171,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:11px; + font-size:12px; } #salinan td, #salinan th { @@ -195,14 +195,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #perjanjian td, #perjanjian th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #perjanjian tr:nth-child(even){background-color:#ffffff} @@ -221,14 +221,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #keuntungan td, #keuntungan th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #keuntungan tr:nth-child(even){background-color: #ffffff;} @@ -248,7 +248,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 45%; - font-size:10px; + font-size:12px; border: 1px solid black; } @@ -256,7 +256,7 @@ hr.new5 { #payment td, #payment th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:13px; text-align: left; } @@ -281,7 +281,7 @@ hr.new5 { #akuan td, #akuan th { padding: 7px; - font-size:9px; + font-size:10px; padding:4px; } @@ -310,7 +310,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:10%; - font-size:10px; + font-size:12px; } @@ -334,7 +334,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 50%; - font-size:10px; + font-size:12px; } @@ -342,7 +342,7 @@ hr.new5 { #copy_cust td, #copy_cust th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; text-align:right; width: 10%; @@ -506,7 +506,7 @@ hr.new5 { - + @@ -531,7 +531,7 @@ hr.new5 {
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/y'); echo $date; @endphp Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Pembiayaan : RM {{ number_format($gadai['bakipjm'],2) }} Marhun : {{ $gadai['marhun'] }} 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 Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
- + diff --git a/resources/views/print/resittebussebelum.blade.php b/resources/views/print/resittebussebelum.blade.php index 7903f10..71b07fb 100644 --- a/resources/views/print/resittebussebelum.blade.php +++ b/resources/views/print/resittebussebelum.blade.php @@ -46,7 +46,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:20%; - font-size:10px; + font-size:12px; border: 1px solid black; } @@ -54,7 +54,7 @@ hr.new5 { #cust td, #cust th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:10px; text-align:right; } @@ -102,14 +102,14 @@ hr.new5 { padding:10px; width : 250px; transform: rotate(-90deg); - font-size:11px; + font-size:12px; } #inside { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:10px; + font-size:15px; } #inside td, #inside th { @@ -137,7 +137,7 @@ hr.new5 { border-collapse:collapse; width:100%; margin-top:40px; - font-size:10px; + font-size:12px; } #semakan td, #semakan th { @@ -171,7 +171,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:11px; + font-size:12px; } #salinan td, #salinan th { @@ -195,14 +195,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #perjanjian td, #perjanjian th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #perjanjian tr:nth-child(even){background-color:#ffffff} @@ -221,14 +221,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #keuntungan td, #keuntungan th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #keuntungan tr:nth-child(even){background-color: #ffffff;} @@ -248,7 +248,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 45%; - font-size:10px; + font-size:12px; border: 1px solid black; } @@ -256,7 +256,7 @@ hr.new5 { #payment td, #payment th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:13px; text-align: left; } @@ -281,7 +281,7 @@ hr.new5 { #akuan td, #akuan th { padding: 7px; - font-size:9px; + font-size:10px; padding:4px; } @@ -310,7 +310,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:10%; - font-size:10px; + font-size:12px; } @@ -334,7 +334,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 50%; - font-size:10px; + font-size:12px; } @@ -342,7 +342,7 @@ hr.new5 { #copy_cust td, #copy_cust th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; text-align:right; width: 10%; @@ -410,7 +410,7 @@ hr.new5 { - + @@ -432,7 +432,7 @@ hr.new5 {
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/y'); echo $date; @endphp Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Harga Jualan : RM {{ number_format(($gadai['hargajualan']),2) }} Marhun : {{ $gadai['marhun'] }} 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; @endphpNama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
- + diff --git a/resources/views/print/resittebusseparuh.blade.php b/resources/views/print/resittebusseparuh.blade.php index 9652349..c88c4de 100644 --- a/resources/views/print/resittebusseparuh.blade.php +++ b/resources/views/print/resittebusseparuh.blade.php @@ -54,7 +54,7 @@ hr.new5 { #cust td, #cust th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:10px; text-align:right; } @@ -102,14 +102,14 @@ hr.new5 { padding:10px; width : 250px; transform: rotate(-90deg); - font-size:11px; + font-size:12px; } #inside { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:10px; + font-size:15px; } #inside td, #inside th { @@ -137,7 +137,7 @@ hr.new5 { border-collapse:collapse; width:100%; margin-top:40px; - font-size:10px; + font-size:12px; } #semakan td, #semakan th { @@ -171,7 +171,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:11px; + font-size:12px; } #salinan td, #salinan th { @@ -195,14 +195,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #perjanjian td, #perjanjian th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #perjanjian tr:nth-child(even){background-color:#ffffff} @@ -221,14 +221,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #keuntungan td, #keuntungan th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #keuntungan tr:nth-child(even){background-color: #ffffff;} @@ -248,7 +248,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 45%; - font-size:10px; + font-size:13px; border: 1px solid black; } @@ -256,7 +256,7 @@ hr.new5 { #payment td, #payment th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:10px; text-align: left; } @@ -281,7 +281,7 @@ hr.new5 { #akuan td, #akuan th { padding: 7px; - font-size:9px; + font-size:10px; padding:4px; } @@ -310,7 +310,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:10%; - font-size:10px; + font-size:12px; } @@ -334,7 +334,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 50%; - font-size:10px; + font-size:12px; } @@ -342,7 +342,7 @@ hr.new5 { #copy_cust td, #copy_cust th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; text-align:right; width: 10%; @@ -406,7 +406,7 @@ hr.new5 { - + @@ -428,7 +428,7 @@ hr.new5 {
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/y'); echo $date; @endphp Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Pembiayaan : RM {{ number_format(($gadai['pinjaman']),2) }} Marhun : {{ $gadai['marhun'] }} 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; @endphpNama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
- + diff --git a/resources/views/print/resittebusseparuhbelum.blade.php b/resources/views/print/resittebusseparuhbelum.blade.php index a933d35..99953f0 100644 --- a/resources/views/print/resittebusseparuhbelum.blade.php +++ b/resources/views/print/resittebusseparuhbelum.blade.php @@ -46,7 +46,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:20%; - font-size:10px; + font-size:12px; border: 1px solid black; } @@ -54,7 +54,7 @@ hr.new5 { #cust td, #cust th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:10px; text-align:right; } @@ -102,14 +102,14 @@ hr.new5 { padding:10px; width : 250px; transform: rotate(-90deg); - font-size:11px; + font-size:12px; } #inside { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:10px; + font-size:15px; } #inside td, #inside th { @@ -137,7 +137,7 @@ hr.new5 { border-collapse:collapse; width:100%; margin-top:40px; - font-size:10px; + font-size:12px; } #semakan td, #semakan th { @@ -159,19 +159,11 @@ hr.new5 { } - - - - - - - - #salinan { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:100%; - font-size:11px; + font-size:12px; } #salinan td, #salinan th { @@ -195,14 +187,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #perjanjian td, #perjanjian th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #perjanjian tr:nth-child(even){background-color:#ffffff} @@ -221,14 +213,14 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 100%; - font-size:10px; + font-size:12px; } #keuntungan td, #keuntungan th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; } #keuntungan tr:nth-child(even){background-color: #ffffff;} @@ -248,7 +240,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 45%; - font-size:10px; + font-size:13px; border: 1px solid black; } @@ -256,7 +248,7 @@ hr.new5 { #payment td, #payment th { border: 0px solid; padding: 3px; - font-size:9px; + font-size:10px; text-align: left; } @@ -281,7 +273,7 @@ hr.new5 { #akuan td, #akuan th { padding: 7px; - font-size:9px; + font-size:10px; padding:4px; } @@ -310,7 +302,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width:10%; - font-size:10px; + font-size:12px; } @@ -334,7 +326,7 @@ hr.new5 { font-family: Arial, Helvetica, sans-serif; border-collapse:collapse; width: 50%; - font-size:10px; + font-size:12px; } @@ -342,7 +334,7 @@ hr.new5 { #copy_cust td, #copy_cust th { border: 1px solid #ddd; padding: 2px; - font-size:9px; + font-size:10px; text-align:right; width: 10%; @@ -501,7 +493,7 @@ hr.new5 { - + @@ -527,7 +519,7 @@ hr.new5 {
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/y'); echo $date; @endphp Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Harga Jualan : RM {{ number_format(($gadai['hargajualan']),2) }} Marhun : {{ $gadai['marhun'] }} 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 Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
- + diff --git a/routes/web.php b/routes/web.php index f3828a3..f902cba 100644 --- a/routes/web.php +++ b/routes/web.php @@ -183,13 +183,16 @@ Route::get('/laporan/petibesi',['as'=>'laporan.petibesi','uses'=>'KhazanahContro Route::post('laporan/petibesi/cetak',['as'=>'petibesi.laporancetak','uses'=>'KhazanahController@cetakLaporanPetiBesi'])->middleware('auth','khazanah'); Route::get('/laporan/marhunterkumpul',['as'=>'laporan.marhunterkumpul','uses'=>'KhazanahController@laporanMarhunTerkumpul'])->middleware('auth','khazanah'); Route::post('laporan/marhunterkumpul/cetak',['as'=>'marhunterkumpul.laporancetak','uses'=>'KhazanahController@cetakLaporanMarhunTerkumpul'])->middleware('auth','khazanah'); +Route::get('laporan/ringkasanharian/',['as'=>'laporan.ringkasanharian','uses'=>'KhazanahController@laporanRingkasanHarian'])->middleware('auth','khazanah'); Route::get('laporan/ringkasanharian/cetak',['as'=>'ringkasanharian.laporancetak','uses'=>'KhazanahController@cetakLaporanRingkasanHarian'])->middleware('auth','khazanah'); Route::get('laporan/ringkasanterkumpul/cetak',['as'=>'ringkasanterkumpul.laporancetak','uses'=>'KhazanahController@cetakLaporanRingkasanTerkumpul'])->middleware('auth','khazanah'); Route::get('/laporan/agingbulanan', [ 'as'=>'laporan.agingbulanan', 'uses'=>'KhazanahController@laporanAging_Bulanan'])->middleware('auth','khazanah'); Route::post('/laporan/agingbulanan/cetak', ['as'=>'agingbulan.cetaklaporan', 'uses'=>'KhazanahController@cetaklaporang_Aging'])->middleware('auth','khazanah'); - -Route::get('/laporan/agingbulanan', [ 'as'=>'laporan.agingbulanan', 'uses'=>'KhazanahController@laporanAging_Bulanan'])->middleware('auth','khazanah'); -Route::post('/laporan/agingbulanan/cetak', ['as'=>'agingbulan.cetaklaporan', 'uses'=>'KhazanahController@cetaklaporang_Aging'])->middleware('auth','khazanah'); +Route::get('/laporan/perbelanjaan', [ 'as'=>'laporan.perbelanjaan', 'uses'=>'KhazanahController@laporan_Perbelanjaan'])->middleware('auth','khazanah'); +Route::post('/laporan/perbelanjaan/cetak', ['as'=>'perbelanjaan.cetaklaporan', 'uses'=>'KhazanahController@cetaklaporan_Perbelanjaan'])->middleware('auth','khazanah'); +Route::get('/laporan/perbelanjaan/cetak/{baucer}', ['as'=>'perbelanjaan.cetaklaporanbaucer', 'uses'=>'KhazanahController@cetaklaporan_Perbelanjaan_Baucer'])->middleware('auth','khazanah'); +// Route::get('/laporan/agingbulanan', [ 'as'=>'laporan.agingbulanan', 'uses'=>'KhazanahController@laporanAging_Bulanan'])->middleware('auth','khazanah'); +// Route::post('/laporan/agingbulanan/cetak', ['as'=>'agingbulan.cetaklaporan', 'uses'=>'KhazanahController@cetaklaporang_Aging'])->middleware('auth','khazanah'); Route::get('/laporan/komoditi',['as'=>'laporan.komoditi','uses'=>'KomuditiController@cetakRekodKomoditi']);
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/y'); echo $date; @endphp Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Pembiayaan : RM {{ number_format(($gadai['pinjaman']),2) }}