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 +
+
+