added ansuran specific block

This commit is contained in:
hafifierahman
2025-05-11 00:25:21 +08:00
parent 09fb9def6c
commit 83f19f024c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -5,5 +5,6 @@ return [
'enable_pembiayaansemula' => env('ENABLE_AUTOTAWARRUQ',1),
// 'enable_specific_block' => env('ENABLE_BLOCK',0),
'cawangan_block' => explode(',', env('CAWANGAN_BLOCK', '1STOP,010915,010219,011013,011412,010621,010620,010617,010618')),
'ansuran_block' => explode(',', env('ANSURAN_BLOCK', '')),
];
?>
+1 -1
View File
@@ -91,7 +91,7 @@
<select class="form-control" id="sltjenistebus">
<option value="T">T = Penyelesaian Pembiayaan</option>
@if($gadai['tagbaru'] == 1)
@if(!in_array(Auth::user()->cawangan, config('redeemoption.cawangan_block', [])))
@if(!in_array(Auth::user()->cawangan, config('redeemoption.ansuran_block', [])))
<option value="A" {{ $gadai['tempoh'] >= 12 ? 'disabled' : '' }}>A = Ansuran Pembiayaan</option>
@endif
@if(config('redeemoption.enable_separuh') == 1)