fix deposite and withdraw
This commit is contained in:
@@ -110,6 +110,7 @@ class WalletController extends Controller
|
||||
"note" => $data['note'],
|
||||
'sts' => 4,
|
||||
]);
|
||||
$type = $deposit ? 3 : 4;
|
||||
new TransactionInterface($wallet_interface, $_inp = [
|
||||
'gold' => 0,
|
||||
'cash' => $data['value'],
|
||||
@@ -117,7 +118,7 @@ class WalletController extends Controller
|
||||
"note" => $data['note'],
|
||||
'withdraw_id' => $Withdraw->id,
|
||||
'active' => true
|
||||
], 4, true, $deposit, $gold_block);
|
||||
], $type, true, $deposit, $gold_block);
|
||||
|
||||
if($this->Config('send_to_tahesab') == "true"){
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user