mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
This commit refactors the calculateInvoiceBalance function in functions.php. The invoice_id parameter is now properly sanitized using intval() to prevent SQL injection attacks. Additionally, the SQL query for retrieving the invoice and payments data has been formatted for better readability.
52 KiB
52 KiB