diff --git a/client_quotes.php b/client_quotes.php index 60830da7..cc038769 100644 --- a/client_quotes.php +++ b/client_quotes.php @@ -83,6 +83,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); $quote_status = nullable_htmlentities($row['quote_status']); $quote_date = nullable_htmlentities($row['quote_date']); $quote_expire = nullable_htmlentities($row['quote_expire']); + $quote_discount = floatval($row['quote_discount_amount']); $quote_amount = floatval($row['quote_amount']); $quote_currency_code = nullable_htmlentities($row['quote_currency_code']); $quote_created_at = nullable_htmlentities($row['quote_created_at']); diff --git a/client_recurring_invoices.php b/client_recurring_invoices.php index ab7dc548..2e4bb952 100644 --- a/client_recurring_invoices.php +++ b/client_recurring_invoices.php @@ -83,6 +83,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); } $recurring_next_date = nullable_htmlentities($row['recurring_next_date']); $recurring_amount = floatval($row['recurring_amount']); + $recurring_discount = floatval($row['recurring_discount_amount']); $recurring_currency_code = nullable_htmlentities($row['recurring_currency_code']); $recurring_created_at = nullable_htmlentities($row['recurring_created_at']); $category_id = intval($row['category_id']); @@ -106,9 +107,9 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); - - - + + +