mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
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:
@@ -32,6 +32,10 @@ if(isset($_GET['invoice_id'])){
|
||||
$client_phone = substr($row['client_phone'],0,3)."-".substr($row['client_phone'],3,3)."-".substr($row['client_phone'],6,4);
|
||||
}
|
||||
$client_website = $row['client_website'];
|
||||
$client_net_terms = $row['client_net_terms'];
|
||||
if($client_net_terms == 0){
|
||||
$client_net_terms = $config_default_net_terms;
|
||||
}
|
||||
|
||||
$sql_history = mysqli_query($mysqli,"SELECT * FROM history WHERE invoice_id = $invoice_id ORDER BY history_id DESC");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user