Transaction references extended with parametrized patterns, added check_reference...
[fa-stable.git] / gl / includes / ui / gl_bank_ui.inc
index 7d98271b88462c99ef6964fb9b668989caf915f7..8e491712a03d52cf19cfa51953c190d3db5d46d4 100644 (file)
@@ -17,13 +17,13 @@ function display_bank_header(&$order)
        $customer_error = false;
        div_start('pmt_header');
 
-       start_outer_table(TABLESTYLE2, "width=90%"); // outer table
+       start_outer_table(TABLESTYLE2, "width='90%'"); // outer table
 
        table_section(1);
        
     date_row(_("Date:"), 'date_', '', true, 0, 0, 0, null, true);
 
-       ref_row(_("Reference:"), 'ref', '');
+       ref_row(_("Reference:"), 'ref', '', $order->reference, false, $order->trans_type, get_post('date_'));
 
        table_section(2, "33%");
 
@@ -84,9 +84,9 @@ function display_bank_header(&$order)
                                $customer_error = true;
                                        display_error(_("This customer account is on hold."));
                        }
-                       else                    
+                       else
                                        display_warning(_("This customer account is on hold."));
-               }               
+               }
                break;
 
                case PT_QUICKENTRY :
@@ -146,7 +146,7 @@ function display_gl_items($title, &$order)
        display_heading($title);
 
     div_start('items_table');
-       start_table(TABLESTYLE, "colspan=7 width=95%");
+       start_table(TABLESTYLE, "width='95%'");
 
        if ($dim == 2)
                $th = array(_("Account Code"), _("Account Description"), _("Dimension")." 1",
@@ -318,4 +318,3 @@ function gl_options_controls($order)
 
 //---------------------------------------------------------------------------------
 
-?>
\ No newline at end of file