diff --git a/client/unpaid_invoices.php b/client/unpaid_invoices.php index 9276600b..9bca00aa 100644 --- a/client/unpaid_invoices.php +++ b/client/unpaid_invoices.php @@ -22,7 +22,9 @@ $invoices_sql = mysqli_query($mysqli, "SELECT * FROM invoices WHERE invoice_clie // Payment Provider Active Query $sql_payment_provider = mysqli_query($mysqli, "SELECT * FROM payment_providers WHERE payment_provider_active = 1 LIMIT 1;"); $row = mysqli_fetch_array($sql_payment_provider); +$payment_provider_id = intval($row['payment_provider_id']); $payment_provider_active = intval($row['payment_provider_active']); +$payment_provider_threshold = floatval($row['payment_provider_threshold']); // Saved Payment Methods $sql_saved_payment_methods = mysqli_query($mysqli, " @@ -140,7 +142,9 @@ $balance = $invoice_amounts - $amount_paid; - + $invoice_amount) { + ?> diff --git a/guest/includes/guest_footer.php b/guest/includes/guest_footer.php index 192aaae0..8421428e 100644 --- a/guest/includes/guest_footer.php +++ b/guest/includes/guest_footer.php @@ -7,7 +7,7 @@ - +