Got rid of the due date and used client_net_terms if not used use the system default net terms

This commit is contained in:
root
2019-05-18 20:49:30 -04:00
parent 857a298588
commit 65c961986c
13 changed files with 41 additions and 38 deletions

View File

@@ -131,6 +131,10 @@
$client_name = $row['client_name'];
$category_id = $row['category_id'];
$category_name = $row['category_name'];
$client_net_terms = $row['client_net_terms'];
if($client_net_terms == 0){
$client_net_terms = $config_default_net_terms;
}
$now = time();