From f7c6b6b312b0074ae34c68d1c4fddf21aa3c9249 Mon Sep 17 00:00:00 2001
From: Amirah22 <94591077+Amirah22@users.noreply.github.com>
Date: Thu, 9 Mar 2023 14:06:58 +0800
Subject: [PATCH 1/3] update bold ayat notis tuntut baki lelong
---
resources/views/print/notistuntutbaki.blade.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/views/print/notistuntutbaki.blade.php b/resources/views/print/notistuntutbaki.blade.php
index c81953c..d754a42 100644
--- a/resources/views/print/notistuntutbaki.blade.php
+++ b/resources/views/print/notistuntutbaki.blade.php
@@ -254,7 +254,7 @@
Jika tuan/puan gagal menuntut wang lebihan (sekiranya ada) dalam masa empat bulan dari tarikh surat ini, wang lebihan tersebut akan diserahkan kepada Akauntan
- Negara (Seksyen 25(1) Akta Pemegang Pajak Gadai 1992). Tuan/puan diminta membawa Kad Pengenalan dan Surat Akuan Gadaian semasa membuat tuntutan wang tersebut.
+ Negara (Seksyen 25(1) Akta Pemegang Pajak Gadai 1992). Tuan/puan diminta membawa Kad Pengenalan dan Surat Akuan Gadaian semasa membuat tuntutan wang tersebut.
Sekian, terima kasih.
From 9b134d5e477c4474fc1395824628f62bc332879e Mon Sep 17 00:00:00 2001
From: hafifierahman
Date: Sun, 12 Mar 2023 00:33:23 +0800
Subject: [PATCH 2/3] fix updated latest
---
app/Http/Controllers/GadaianController.php | 9 ++++++--
resources/views/customers/info.blade.php | 12 ++++++----
.../views/homepage/khazanah/home.blade.php | 23 ++++++++++++++++++-
resources/views/khazanah/info.blade.php | 13 +++++++----
resources/views/layouts/app.blade.php | 4 ++--
.../views/penebusan/index-khazanah.blade.php | 8 +++----
resources/views/penebusan/index.blade.php | 10 ++++----
7 files changed, 57 insertions(+), 22 deletions(-)
diff --git a/app/Http/Controllers/GadaianController.php b/app/Http/Controllers/GadaianController.php
index 79d15a6..7b72b64 100644
--- a/app/Http/Controllers/GadaianController.php
+++ b/app/Http/Controllers/GadaianController.php
@@ -329,7 +329,7 @@ class GadaianController extends Controller
public function resit($id)
{
-
+ $auth_user = Auth::user();
$totaltransaction = 0;
$transaction = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/transaction/id/'. $id)->json();
@@ -347,7 +347,12 @@ class GadaianController extends Controller
// if(sizeof($customers_info) != 0)
// $customers_info = $customers_info[0];
- return view('print.resitansuran',compact('transaction','gadai','customers_info'));
+ $wakil = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/getwakil/' . $auth_user['cawangan'] . '/code/' . $transaction['nowakil'])->json();
+
+ if(sizeof($wakil) != 0)
+ $wakil = $wakil[0];
+
+ return view('print.resitansuran',compact('transaction','gadai','customers_info','wakil'));
}
public function resitansurans($id)
diff --git a/resources/views/customers/info.blade.php b/resources/views/customers/info.blade.php
index 63d8f50..0016655 100644
--- a/resources/views/customers/info.blade.php
+++ b/resources/views/customers/info.blade.php
@@ -370,7 +370,7 @@
Ubah
Terima
- Daftar Akaun Online
+ {{-- Daftar Akaun Online --}}
@php
- $gadaiNumber = $gadai == null ? '0' : count($gadaiNumber);
- $listSerahNumber = $listserah == null ? '0' : count($listserah);
+ $gadaiNumber = isset($gadai) == false ? '0' : count($gadai);
+ $listSerahNumber = isset($listserah) == false ? '0' : count($listserah);
if($auth_user['role_harian'] == 'teller')
{
diff --git a/resources/views/penebusan/index-khazanah.blade.php b/resources/views/penebusan/index-khazanah.blade.php
index d920f52..9044c0c 100644
--- a/resources/views/penebusan/index-khazanah.blade.php
+++ b/resources/views/penebusan/index-khazanah.blade.php
@@ -259,7 +259,7 @@