Commit db3bce1f authored by iWallet Dev's avatar iWallet Dev

Fee Waiving Condition @ Flat3 Withdrawal

parent 37e561f1
...@@ -1611,6 +1611,20 @@ class WithdrawModelClass extends ModelClassEx { ...@@ -1611,6 +1611,20 @@ class WithdrawModelClass extends ModelClassEx {
} }
$this -> drawFee = $standardJPYFee["published_amount"]; $this -> drawFee = $standardJPYFee["published_amount"];
$loggedInUserAcc = $this -> getUserData(PARAM_USER_ACCOUNT);
$adminException = $this -> getSettingConfiguration("administrative_exception");
foreach($adminException as $data){
if(isset($data -> user_account) && $data -> user_account === $loggedInUserAcc){
if(isset($data -> ignore_f3withdrawal_fee) && $data -> ignore_f3withdrawal_fee){
$this -> setFeeEx(NO_COUNT);
$this -> drawFee = NO_COUNT;
}
break;
}
}
} }
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment