fix
This commit is contained in:
@@ -54,7 +54,20 @@ function getAddWithdrawButtons(){
|
||||
<span class="badge badge-light-success fs-7 fw-bolder"><? echo money_format('%.2n', $wlt['amount']*0.01); ?></span>
|
||||
</td>
|
||||
<td class="text-start">
|
||||
<span class="badge badge-light-danger fs-7 fw-bolder"><? echo money_format('%.2n', 0 * 0.01); ?></span>
|
||||
<span class="badge badge-light-danger fs-7 fw-bolder"><?
|
||||
// var_dump($escrow);
|
||||
// $found_key = array_search($wlt['code'], array_column($escrow[0], 'currency'));
|
||||
// var_dump($found_key);
|
||||
$escrow_amount = 0;
|
||||
foreach ($escrow as $key => $val) {
|
||||
if ($val['currency'] === $wlt['code']) {
|
||||
$escrow_amount = $val['sum'];
|
||||
}
|
||||
}
|
||||
|
||||
echo money_format('%.2n', $escrow_amount * 0.01);
|
||||
|
||||
?></span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user