From 337ceb7477b46338d8080578042cfc2a215f40a1 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 11 Aug 2025 21:51:05 -0400 Subject: [PATCH] Fix Client Net terms displaying default Net terms instead of On Receipt if selected --- user/includes/inc_all_client.php | 3 --- user/includes/inc_client_top_head.php | 8 +++++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/user/includes/inc_all_client.php b/user/includes/inc_all_client.php index 4c6a5061..346d69c2 100644 --- a/user/includes/inc_all_client.php +++ b/user/includes/inc_all_client.php @@ -49,9 +49,6 @@ if (isset($_GET['client_id'])) { $client_referral = nullable_htmlentities($row['client_referral']); $client_currency_code = nullable_htmlentities($row['client_currency_code']); $client_net_terms = intval($row['client_net_terms']); - if ($client_net_terms == 0) { - $client_net_terms = $config_default_net_terms; - } $client_tax_id_number = nullable_htmlentities($row['client_tax_id_number']); $client_abbreviation = nullable_htmlentities($row['client_abbreviation']); $client_rate = floatval($row['client_rate']); diff --git a/user/includes/inc_client_top_head.php b/user/includes/inc_client_top_head.php index 53ba2e7f..db9460a0 100644 --- a/user/includes/inc_client_top_head.php +++ b/user/includes/inc_client_top_head.php @@ -148,7 +148,13 @@
Net Terms - Days + + + Days + + On Receipt + +
Tax ID