| 
              
                | [% 'Customer' | $T8 %] | [%- IF selectcustomer %]
    
[%- ELSE %]
    
[%- END %][% L.hidden_tag('selectcustomer', selectcustomer) %]
                [% L.hidden_tag('oldcustomer', oldcustomer) %]
                [% L.hidden_tag('customer_id', customer_id) %]
                [% L.hidden_tag('terms', terms) %] |  
                |  | 
                    
                      | [% 'Credit Limit' | $T8 %] | [% LxERP.format_amount(creditlimit, 0) %][% L.hidden_tag('creditlimit', LxERP.format_amount(creditlimit, 0)) %] | [% 'Remaining' | $T8 %] | [% LxERP.format_amount(creditremaining, 0) %][% L.hidden_tag('creditremaining', LxERP.format_amount(creditremaining, 0)) %] |  |  
                [% department_html %]
              [%- IF selectdepartment %]| [% 'Currency' | $T8 %] | [% L.hidden_tag('selectcurrency', selectcurrency) %]
                [% L.hidden_tag('defaultcurrency', defaultcurrency) %]
                [% L.hidden_tag('fxgain_accno', fxgain_accno) %]
                [% L.hidden_tag('fxloss_accno', fxloss_accno) %]
                [% L.hidden_tag('forex', forex) %]
                [% IF show_exch %] | [% 'Exchangerate' | $T8 %] | [%- IF forex %][% L.hidden_tag(exchangerate, LxERP.format_amount(exchangerate, 2)) %][% LxERP.format_amount(exchangerate, 2) %][%- ELSE %][% L.input_tag(exchangerate, LxERP.format_amount(exchangerate, 2), size=10) %][%- END %][% END %] |  
                [%- END %]| [% 'Department' | $T8 %] |  |  
                | [% L.checkbox_tag('taxincluded', checked=taxincluded) %] | [% 'Tax Included' | $T8 %] |  |  |