From d88827e94a20526ed319d0a74e39f2a38d582420 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 13 Jul 2009 07:26:36 +0000 Subject: [PATCH] Comments should follow templates and recurrent invoices. --- CHANGELOG.txt | 3 +++ sales/create_recurrent_invoices.php | 2 +- sales/sales_order_entry.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 4af7e5e..889758e 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -24,6 +24,9 @@ $ -> Affected files $ /gl/includes/db/gl_db_banking.inc /gl/includes/db/gl_db_trans.inc /reporting/rep709.php +! Comments should follow templates and recurrent invoices. +$ /sales/create_recurrent_invoices.php + /sales/sales_order_entry.php 12-Jul-2009 Joe Hunt # Wrong presentation of left to allocate if discount was given diff --git a/sales/create_recurrent_invoices.php b/sales/create_recurrent_invoices.php index 517bd34..603eef1 100644 --- a/sales/create_recurrent_invoices.php +++ b/sales/create_recurrent_invoices.php @@ -42,7 +42,7 @@ function create_recurrent_invoices($customer_id, $branch_id, $order_no, $tmpl_no $doc->due_date = get_invoice_duedate($doc->customer_id, $doc->document_date); $doc->reference = references::get_next($doc->trans_type); - $doc->Comments=''; + //$doc->Comments=''; foreach ($doc->line_items as $line_no=>$item) { $line = &$doc->line_items[$line_no]; diff --git a/sales/sales_order_entry.php b/sales/sales_order_entry.php index cb77b3f..da202a7 100644 --- a/sales/sales_order_entry.php +++ b/sales/sales_order_entry.php @@ -456,7 +456,7 @@ function create_cart($type, $trans_no) } else $doc->due_date = $doc->document_date; $doc->reference = references::get_next($doc->trans_type); - $doc->Comments=''; + //$doc->Comments=''; foreach($doc->line_items as $line_no => $line) { $doc->line_items[$line_no]->qty_done = 0; } -- 2.30.2