diff --git a/client/recurring_invoices.php b/client/recurring_invoices.php index fd362f92..f6d4dd67 100644 --- a/client/recurring_invoices.php +++ b/client/recurring_invoices.php @@ -21,6 +21,13 @@ $recurring_invoices_sql = mysqli_query($mysqli, "SELECT * FROM recurring_invoice ORDER BY recurring_invoice_next_date DESC" ); +// Get Payment Provide Details +$payment_provider_sql = mysqli_query($mysqli, "SELECT * FROM payment_providers WHERE payment_provider_active = 1 LIMIT 1"); +$row = mysqli_fetch_array($payment_provider_sql); +$payment_provider_id = intval($row['payment_provider_id']); +$payment_provider_name = nullable_htmlentities($row['payment_provider_name']); +$payment_provider_threshold = floatval($row['payment_provider_threshold']); + ?>

Recurring Invoices

@@ -35,7 +42,7 @@ $recurring_invoices_sql = mysqli_query($mysqli, "SELECT * FROM recurring_invoice Amount Next Bill Date Frequency - + Auto Pay @@ -68,7 +75,7 @@ $recurring_invoices_sql = mysqli_query($mysqli, "SELECT * FROM recurring_invoice ly - + 0) { ?> diff --git a/guest/guest_view_invoice.php b/guest/guest_view_invoice.php index 08b04ab5..05879292 100644 --- a/guest/guest_view_invoice.php +++ b/guest/guest_view_invoice.php @@ -92,6 +92,7 @@ $sql = mysqli_query($mysqli, "SELECT * FROM payment_providers WHERE payment_prov $row = mysqli_fetch_array($sql); $payment_provider_id = intval($row['payment_provider_id']); $payment_provider_name = nullable_htmlentities($row['payment_provider_name']); +$payment_provider_threshold = floatval($row['payment_provider_threshold']); //Set Currency Format $currency_format = numfmt_create($company_locale, NumberFormatter::CURRENCY);