Refactor for bank transactions
This commit is contained in:
parent
013a7430b3
commit
99704a3dbd
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class UpdateBankTransactionRequest extends Request
|
|||
|
||||
|
||||
if(array_key_exists('baseType', $input) && strlen($input['baseType']) > 1)
|
||||
$input['base_type'] = $input['baseType'] == 'deposit' ? 'CREDIT' : 'DEBIT';
|
||||
$input['base_type'] = $input['baseType']; //== 'deposit' ? 'CREDIT' : 'DEBIT';
|
||||
|
||||
if(array_key_exists('vendor_id', $input) && strlen($input['vendor_id']) > 1)
|
||||
$input['vendor_id'] = $this->decodePrimaryKey($input['vendor_id']);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue