From ec7c29250add117693e2660834b17cc09c3ce7ad Mon Sep 17 00:00:00 2001 From: hafifierahman Date: Fri, 12 Nov 2021 01:16:54 +0800 Subject: [PATCH] buat laporan --- .../views/homepage/khazanah/home.blade.php | 2 - .../khazanah/laporan/agingbulanan.blade.php | 45 ++------ .../khazanah/laporan/audittrail.blade.php | 65 ++--------- .../views/khazanah/laporan/index.blade.php | 102 ++++-------------- .../khazanah/laporan/pelangganbaru.blade.php | 12 +-- .../print/laporan_pelangganbaru.blade.php | 24 +---- 6 files changed, 41 insertions(+), 209 deletions(-) diff --git a/resources/views/homepage/khazanah/home.blade.php b/resources/views/homepage/khazanah/home.blade.php index fdfe7ac..a0eef2e 100644 --- a/resources/views/homepage/khazanah/home.blade.php +++ b/resources/views/homepage/khazanah/home.blade.php @@ -557,8 +557,6 @@ confirmButtonText: 'Simpan' }).then((result) => { - console.log(result); - return false; if (result.isConfirmed) { saveData(); diff --git a/resources/views/khazanah/laporan/agingbulanan.blade.php b/resources/views/khazanah/laporan/agingbulanan.blade.php index 227dddd..1d5bc1f 100644 --- a/resources/views/khazanah/laporan/agingbulanan.blade.php +++ b/resources/views/khazanah/laporan/agingbulanan.blade.php @@ -5,20 +5,16 @@
-
{{ __('Laporan Aging Bulanan') }}
- -
-
-
- -
-
-

Laporan Aging Bulanan

-
-
- + + -
+
@csrf @@ -48,28 +44,7 @@
-
-
- - - - - - - - - - - -
BilBil GadaianJumlah Pinjaman (RM)Peratusan %
-
-
-
-
- Bilangan Surat : 3 - Jumlah Pinjaman : RM 3,000.00 -
-
+
diff --git a/resources/views/khazanah/laporan/audittrail.blade.php b/resources/views/khazanah/laporan/audittrail.blade.php index 37a1c4e..b4436d5 100644 --- a/resources/views/khazanah/laporan/audittrail.blade.php +++ b/resources/views/khazanah/laporan/audittrail.blade.php @@ -1,63 +1,4 @@ @extends('layouts.app') - @section('content')
@@ -80,6 +21,12 @@
+ @if(session()->has('errormessage')) +
+ {{ session()->get('errormessage') }} +
+ @endif +
diff --git a/resources/views/khazanah/laporan/index.blade.php b/resources/views/khazanah/laporan/index.blade.php index bfef71c..9430ce4 100644 --- a/resources/views/khazanah/laporan/index.blade.php +++ b/resources/views/khazanah/laporan/index.blade.php @@ -15,7 +15,7 @@
-
+
@@ -29,7 +29,7 @@ Ringkasan Terkumpul
Laporan HQ @@ -41,6 +41,12 @@ {{-- Stok Audit Details --}} Harga Emas
+ +
@@ -55,9 +61,6 @@ - @@ -67,7 +70,12 @@ - + +
+ Rebet +
@@ -94,6 +102,12 @@ + +
@@ -102,80 +116,4 @@
- - @endsection diff --git a/resources/views/khazanah/laporan/pelangganbaru.blade.php b/resources/views/khazanah/laporan/pelangganbaru.blade.php index dd3c930..1f58559 100644 --- a/resources/views/khazanah/laporan/pelangganbaru.blade.php +++ b/resources/views/khazanah/laporan/pelangganbaru.blade.php @@ -41,21 +41,13 @@ Bil - No Pelanggan No K/P Nama - Yuran Ahli
-
-
- Bilangan Surat : 3 - Jumlah Pinjaman : RM 3,000.00 -
-
@@ -107,10 +99,8 @@ $.each(data,function(index,customers){ tablecustomers.row.add([ counter, - customers['nopelanggan'], customers['kpbaru'], - customers['nama'], - customers['yuranahli'] + customers['nama'] ]).draw(); }); diff --git a/resources/views/print/laporan_pelangganbaru.blade.php b/resources/views/print/laporan_pelangganbaru.blade.php index c6e8ccd..7bb29aa 100644 --- a/resources/views/print/laporan_pelangganbaru.blade.php +++ b/resources/views/print/laporan_pelangganbaru.blade.php @@ -166,9 +166,8 @@ - - - + + - - - - @@ -200,30 +193,21 @@
SENARAI PELANGGAN BARU SENARAI PELANGGAN BARU Tarikh Cetak: @php $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak); @@ -185,12 +184,6 @@ $formattedweddingdate = $myDateTime->format('d-m-Y'); echo($formattedweddingdate) @endphp - -
- - - @php $counter = 1;$totalyuran = 0; @endphp + @php $counter = 1; @endphp @foreach($senaraipelanggan as $index=>$item) - - - @php $counter++; $totalyuran += $item['yuranahli'];@endphp + @php $counter++;@endphp @endforeach - - - - -
BilNo Pelanggan No KP NamaYuran Ahli
{{ $counter }}{{$item['nopelanggan']}} {{$item['kpbaru']}} {{$item['nama']}}{{$item['yuranahli']}}
JUMLAH KESELURUHAN : RM {{ number_format($totalyuran,2) }}