From ef9882c9c4a835a5616e6699119be267c90c0c83 Mon Sep 17 00:00:00 2001 From: hafifierahman Date: Mon, 21 Oct 2024 00:46:45 +0800 Subject: [PATCH] added block specific cawangan transaction --- config/redeemoption.php | 6 ++- resources/views/customers/v2/info.blade.php | 57 ++++++++------------ resources/views/penebusan/v2/index.blade.php | 6 +++ 3 files changed, 33 insertions(+), 36 deletions(-) diff --git a/config/redeemoption.php b/config/redeemoption.php index 8ddf12bd..b2eace96 100644 --- a/config/redeemoption.php +++ b/config/redeemoption.php @@ -1,7 +1,9 @@ env('ENABLE_TAMBAHPINJAM',1), - 'enable_separuh' => env('ENABLE_SEPARUH',0), - 'enable_pembiayaansemula' => env('ENABLE_AUTOTAWARRUQ',0) + 'enable_separuh' => env('ENABLE_SEPARUH',1), + 'enable_pembiayaansemula' => env('ENABLE_AUTOTAWARRUQ',1), + 'enable_specific_block' => env('ENABLE_BLOCK',0), + 'cawangan_block' => env('CAWANGAN_BLOCK','011227') ]; ?> diff --git a/resources/views/customers/v2/info.blade.php b/resources/views/customers/v2/info.blade.php index 2fe50245..c9617d0a 100644 --- a/resources/views/customers/v2/info.blade.php +++ b/resources/views/customers/v2/info.blade.php @@ -119,40 +119,29 @@ - -
- -
- - - - - - - -
-
- - - -
- -
- - - - -
-
+
+
+ + + +
+
+ +
+ @if(config('redeemoption.enable_specific_block') == 0 || Auth::user()->cawangan !== config('redeemoption.cawangan_block')) + + @endif +
+
+