From 7121e1a56a57ac2d232d7e73b9127d640301b53d Mon Sep 17 00:00:00 2001 From: tetragon Date: Tue, 18 Sep 2007 00:24:08 +0000 Subject: Quoting updates and fixing an incorrect variable git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1627 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/pos.pl | 220 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 110 insertions(+), 110 deletions(-) diff --git a/bin/pos.pl b/bin/pos.pl index e1f26c8c..0622681f 100755 --- a/bin/pos.pl +++ b/bin/pos.pl @@ -198,12 +198,12 @@ sub form_header { $exchangerate = qq||; $exchangerate .= qq| - | . $locale->text('Currency') . qq| - | + | . $locale->text('Currency') . qq| + | if $form->{defaultcurrency}; $exchangerate .= qq| - - {defaultcurrency}> + + |; if ( $form->{defaultcurrency} @@ -211,36 +211,36 @@ sub form_header { { if ( $form->{forex} ) { $exchangerate .= - qq|| + qq|| . $locale->text('Exchange Rate') - . qq|$form->{exchangerate}{exchangerate}>|; + . qq|$form->{exchangerate}|; } else { $exchangerate .= - qq|| + qq|| . $locale->text('Exchange Rate') - . qq|{exchangerate}>|; + . qq||; } } $exchangerate .= qq| -{forex}> + |; if ( $form->{selectcustomer} ) { - $customer = qq| - $form->{selectcustomer} + |; } else { - $customer = qq||; + $customer = qq||; } $department = qq| | . $locale->text('Department') . qq| - - + @@ -248,9 +248,9 @@ sub form_header { $employee = qq| - | . $locale->text('Salesperson') . qq| - - | . $locale->text('Salesperson') . qq| + + | if $form->{selectemployee}; @@ -263,10 +263,10 @@ sub form_header { if ( $form->{business} ) { $business = qq| - | . $locale->text('Business') . qq| + | . $locale->text('Business') . qq| $form->{business} - - | . $locale->text('Trade Discount') . qq| + + | . $locale->text('Trade Discount') . qq| | . $form->format_amount( \%myconfig, $form->{tradediscount} * 100 ) . qq| % @@ -293,11 +293,11 @@ sub form_header { s/(