Merge pull request #819 from twetech/fix-collections-formatting

Add missing currency variable
This commit is contained in:
Johnny 2023-11-22 11:47:24 -05:00 committed by GitHub
commit 2adb500612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -57,6 +57,9 @@
ORDER BY
months_behind DESC;";
$result_client_balance_report = mysqli_query($mysqli, $sql_client_balance_report);
//get currency format from settings
$config_currency_code = getSettingValue($mysqli, "company_currency");
?>
<div class="card card-dark">
@ -97,11 +100,11 @@
echo "<tr>";
echo "<td><a href='client_details.php?client_id=$client_id'>$client_name</a></td>";
echo "<td class='text-right'>$formatted_balance</td>";
echo "<td>$formatted_balance</td>";
echo "<td>$billing_contact_phone</td>";
echo "<td class='text-right'>$formatted_recurring_monthly_total</td>";
echo "<td class='text-right'>$formatted_behind_amount</td>";
echo "<td class='text-right'>$months_behind</td>";
echo "<td>$formatted_recurring_monthly_total</td>";
echo "<td>$formatted_behind_amount</td>";
echo "<td>$months_behind</td>";
echo "</tr>";
}
?>