From 5b3dee5c0634ca2c1273d3c72c3ca42a10177fe6 Mon Sep 17 00:00:00 2001 From: MUHD HAFIFIE Date: Wed, 28 Apr 2021 15:50:18 +0800 Subject: [PATCH] kawalanstoklama --- resources/views/gadaian/edit.blade.php | 2 +- resources/views/gadaian/index.blade.php | 2 +- resources/views/penebusan/index.blade.php | 4 +- .../views/print/laporan_kawalanstok.blade.php | 41 +++++++++---------- resources/views/print/resitansuran.blade.php | 4 +- .../views/print/resittambahpinjam.blade.php | 4 +- resources/views/print/resittebus.blade.php | 4 +- .../views/print/resittebussebelum.blade.php | 4 +- .../views/print/resittebusseparuh.blade.php | 4 +- .../print/resittebusseparuhbelum.blade.php | 4 +- 10 files changed, 35 insertions(+), 38 deletions(-) diff --git a/resources/views/gadaian/edit.blade.php b/resources/views/gadaian/edit.blade.php index c9e1447..84d2902 100644 --- a/resources/views/gadaian/edit.blade.php +++ b/resources/views/gadaian/edit.blade.php @@ -889,7 +889,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/gadaian/index.blade.php b/resources/views/gadaian/index.blade.php index f7b9d86..220133f 100644 --- a/resources/views/gadaian/index.blade.php +++ b/resources/views/gadaian/index.blade.php @@ -804,7 +804,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/penebusan/index.blade.php b/resources/views/penebusan/index.blade.php index 46e1d01..3ca6b1d 100644 --- a/resources/views/penebusan/index.blade.php +++ b/resources/views/penebusan/index.blade.php @@ -1305,7 +1305,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', @@ -1579,7 +1579,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_kawalanstok.blade.php b/resources/views/print/laporan_kawalanstok.blade.php index ebbef87..72be36c 100644 --- a/resources/views/print/laporan_kawalanstok.blade.php +++ b/resources/views/print/laporan_kawalanstok.blade.php @@ -323,7 +323,7 @@ @php $totalpinjtebus = $totalpinjtebuskeseluruhan + $totalpinjtebussehari; echo number_format($totalpinjtebus,2); @endphp - + {{-- Ansuran Pembiayaan Baki C/F
@@ -370,7 +370,7 @@ @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 - + --}} Lelongan @@ -469,66 +469,63 @@ @php $counter++;@endphp - + Baki - {{ $gad1 - $teb1 - $lel1 - $hpk1 }} + @php $totalbil1 = $gad1 - $teb1 - $lel1 - $hpk1; echo number_format($totalbil1);@endphp + + + @php $totalpinj1 = $gadpinj1 - $tebpinj1 - $lelpinj1 - $hpkpinj1; echo number_format($totalpinj1,2);@endphp - {{ $gadpinj1 - $tebpinj1 - $lelpinj1 - $hpkpinj1 }} + @php $totalbil2 = $gad2 - $teb2 - $lel2 - $hpk2; echo number_format($totalbil2);@endphp - {{ $gad2 - $teb2 - $lel2 - $hpk2 }} + @php $totalpinj2 = $gadpinj2 - $tebpinj2 - $lelpinj2 - $hpkpinj2; echo number_format($totalpinj2,2);@endphp - {{ $gadpinj2 - $tebpinj2 - $lelpinj2 - $hpkpinj2 }} + @php $totalbil3 = $gad3 - $teb3 - $lel3 - $hpk3; echo number_format($totalbil3);@endphp - {{ $gad3 - $teb3 - $lel3 - $hpk3 }} + @php $totalpinj3 = $gadpinj3 - $tebpinj3 - $lelpinj3 - $hpkpinj3; echo number_format($totalpinj3,2);@endphp - {{ $gadpinj3 - $tebpinj3 - $lelpinj3 - $hpkpinj3 }} + @php $totalbil = $totalbilgadai-$totalbiltebus-$totalbillelong-$totalbilhapuskira; echo number_format($totalbil);@endphp - {{ $totalbil = $totalbilgadai-$totalbiltebus-$totalbillelong-$totalbilhapuskira }} - - - - {{ $totalpinjgadai-$totalpinjtebus-$totalpinjlelong-$totalpinjhapuskira }} - + @php $totalpinj = $totalpinjgadai-$totalpinjtebus-$totalpinjlelong-$totalpinjhapuskira; echo number_format($totalpinj,2);@endphp - {{ (($gad1 - $teb1 - $lel1 - $hpk1)/$totalbil)*100 }} + @php $percentbil1 = (($gad1 - $teb1 - $lel1 - $hpk1)/$totalbil)*100; echo number_format($percentbil1,2) . ' %';@endphp - {{ $gadpinj1 - $tebpinj1 - $lelpinj1 - $hpkpinj1 }} + @php $percentpinj1 = (($gadpinj1 - $tebpinj1 - $lelpinj1 - $hpkpinj1)/$totalpinj)*100; echo number_format($percentpinj1,2) . ' %';@endphp - {{ (($gad2 - $teb2 - $lel2 - $hpk2)/$totalbil)*100 }} + @php $percentbil2 = (($gad2 - $teb2 - $lel2 - $hpk2)/$totalbil)*100; echo number_format($percentbil2,2) . ' %';@endphp - {{ $gadpinj2 - $tebpinj2 - $lelpinj2 - $hpkpinj2 }} + @php $percentpinj2 = (($gadpinj2 - $tebpinj2 - $lelpinj2 - $hpkpinj2)/$totalpinj)*100; echo number_format($percentpinj2,2) . ' %';@endphp - {{ (($gad3 - $teb3 - $lel3 - $hpk3)/$totalbil)*100 }} + @php $percentbil3 = (($gad3 - $teb3 - $lel3 - $hpk3)/$totalbil)*100; echo number_format($percentbil3,2) . ' %';@endphp - {{ $gadpinj3 - $tebpinj3 - $lelpinj3 - $hpkpinj3 }} - + @php $percentpinj3 = (($gadpinj3 - $tebpinj3 - $lelpinj3 - $hpkpinj3)/$totalpinj)*100;; echo number_format($percentpinj3,2) . ' %';@endphp diff --git a/resources/views/print/resitansuran.blade.php b/resources/views/print/resitansuran.blade.php index 1f6695e..ff61051 100644 --- a/resources/views/print/resitansuran.blade.php +++ b/resources/views/print/resitansuran.blade.php @@ -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/resittambahpinjam.blade.php b/resources/views/print/resittambahpinjam.blade.php index 5dce90e..cfe1a1a 100644 --- a/resources/views/print/resittambahpinjam.blade.php +++ b/resources/views/print/resittambahpinjam.blade.php @@ -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..0f167d3 100644 --- a/resources/views/print/resittebus.blade.php +++ b/resources/views/print/resittebus.blade.php @@ -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..a953339 100644 --- a/resources/views/print/resittebussebelum.blade.php +++ b/resources/views/print/resittebussebelum.blade.php @@ -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..745377c 100644 --- a/resources/views/print/resittebusseparuh.blade.php +++ b/resources/views/print/resittebusseparuh.blade.php @@ -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..4d79e2d 100644 --- a/resources/views/print/resittebusseparuhbelum.blade.php +++ b/resources/views/print/resittebusseparuhbelum.blade.php @@ -501,7 +501,7 @@ hr.new5 { - + @@ -527,7 +527,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
- +
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) }}