|
@@ -101,6 +101,11 @@ class WithdrawalListController extends Curd
|
|
|
$item['reason'] = $memberAccountListExtendJson['reason'];
|
|
|
}
|
|
|
}
|
|
|
+ if (!empty($item['member_account_list_json'])) {
|
|
|
+ $accountListJson = json_decode($item['member_account_list_json'], true);
|
|
|
+ $item['out_rate'] = !empty($accountListJson['out_rate']) ? $accountListJson['out_rate'] / 10 : 0;
|
|
|
+ $item['to_account'] = sprintf('%.2f', $item['member_account_list_amount'] - (round($item['member_account_list_amount'] * $item['out_rate'] / 100, 2)));
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
return $items;
|