added ansuran specific block
This commit is contained in:
@@ -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', '')),
|
||||
];
|
||||
?>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user