mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-30 18:03:59 +00:00
create Wallet Transaction - integration (convert the amount)
This commit is contained in:
@@ -14,7 +14,8 @@ class WalletTransactionValidation extends AbstractValidation
|
||||
return [
|
||||
'wallet_id' => $object->getWalletId(),
|
||||
'currency_id' => $object->getCurrency(),
|
||||
'original_currency_id' => $object->getOriginalCurrency(),
|
||||
'amount' => $object->getAmount(),
|
||||
'trans_type'=>$object->getTransType()
|
||||
];
|
||||
}
|
||||
|
||||
@@ -26,7 +27,8 @@ class WalletTransactionValidation extends AbstractValidation
|
||||
return [
|
||||
'wallet_id' => 'required',
|
||||
'currency_id' => 'required',
|
||||
'original_currency_id' => 'required',
|
||||
'amount' => 'required',
|
||||
'trans_type'=>'required'
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user