Comments should follow templates and recurrent invoices.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 13 Jul 2009 07:26:36 +0000 (07:26 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 13 Jul 2009 07:26:36 +0000 (07:26 +0000)
CHANGELOG.txt
sales/create_recurrent_invoices.php
sales/sales_order_entry.php

index 4af7e5e12dce486f8bb0f3cd2e342ccee8de2257..889758eb6b106d180f52df82a6b51b5702fa3d31 100644 (file)
@@ -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
index 517bd34e33a943b8b4ba8b36af61130cbd046543..603eef15eef5c4713ac67f0ada6abe8d850b883f 100644 (file)
@@ -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];
index cb77b3f631889e3214bd6d109a02fe21d528b96b..da202a7bd72747dd9cd277dd5f40cea8ed0902be 100644 (file)
@@ -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;
                }