From: Joe Hunt Date: Mon, 13 Jul 2009 07:26:36 +0000 (+0000) Subject: Comments should follow templates and recurrent invoices. X-Git-Tag: 2.3-final~1175 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=6f0c644797c87578c24c94852b5c9b973804a801;p=fa-stable.git Comments should follow templates and recurrent invoices. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 4af7e5e1..889758eb 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 517bd34e..603eef15 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 cb77b3f6..da202a7b 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; }