From bbea778560bb6df777f98adead64a0e76f9787f8 Mon Sep 17 00:00:00 2001 From: tetragon Date: Tue, 18 Sep 2007 15:05:56 +0000 Subject: More changes for similar issues to bug 1795858 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1632 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/ir.pl | 150 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 75 insertions(+), 75 deletions(-) (limited to 'bin/ir.pl') diff --git a/bin/ir.pl b/bin/ir.pl index 4cb435a5..d892cedd 100755 --- a/bin/ir.pl +++ b/bin/ir.pl @@ -285,10 +285,10 @@ sub form_header { $lang = qq| - | . $locale->text('Language') . qq| - - {oldlanguage_code}> - | . $locale->text('Language') . qq| + + + |; @@ -300,12 +300,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} @@ -313,40 +313,40 @@ sub form_header { { if ( $form->{forex} ) { $exchangerate .= qq| - | + | . $locale->text('Exchange Rate') . qq| - $form->{exchangerate}{exchangerate}> + $form->{exchangerate} |; } else { $exchangerate .= qq| - | + | . $locale->text('Exchange Rate') . qq| - {exchangerate}> + |; } } $exchangerate .= qq| -{forex}> + |; if ( $form->{selectvendor} ) { - $vendor = qq| - $form->{selectvendor} + |; } else { - $vendor = qq||; + $vendor = qq||; } $department = qq| | . $locale->text('Department') . qq| - - + @@ -362,7 +362,7 @@ sub form_header { print qq| -
+ |; $form->{vc} = "vendor"; @@ -371,35 +371,35 @@ sub form_header { ); print qq| - - +
+ - @@ -549,9 +549,9 @@ qq|
$form->{title}
- - +
+ -
- - + + - {vendor_id}> - + + - - - - + + + $department $exchangerate
| . $locale->text('Vendor') . qq|$vendor| . $locale->text('Vendor') . qq|$vendor
+ - +
| . $locale->text('Credit Limit') . qq| | . $form->format_amount( \%myconfig, $form->{creditlimit}, 0, "0" ) . qq| | . $locale->text('Remaining') . qq| | . $form->format_amount( \%myconfig, $form->{creditremaining}, 0, "0" ) @@ -408,36 +408,36 @@ sub form_header {
| . $locale->text('Record in') . qq|| . $locale->text('Record in') . qq|
+ - - + + - - - + + + - - + + - - + + - - + + $lang
| . $locale->text('Invoice Number') . qq|| . $locale->text('Invoice Number') . qq|
| . $locale->text('Order Number') . qq|| . $locale->text('Order Number') . qq|
| . $locale->text('Invoice Date') . qq|{transdate}>| . $locale->text('Invoice Date') . qq|
| . $locale->text('Due Date') . qq|{duedate}>| . $locale->text('Due Date') . qq|
| . $locale->text('PO Number') . qq|| . $locale->text('PO Number') . qq|
@@ -468,16 +468,16 @@ sub form_footer { } $rows = ( $rows > $introws ) ? $rows : $introws; $notes = -qq||; +qq||; $intnotes = -qq||; +qq||; $tax = ""; $form->{taxincluded} = ( $form->{taxincluded} ) ? "checked" : ""; $taxincluded = ""; if ( $form->{taxaccounts} ) { $taxincluded = qq| - {taxincluded}> | + {taxincluded}> | . $locale->text('Tax Included') . qq| |; } @@ -490,8 +490,8 @@ qq| +
+ $taxincluded
$subtotal $tax - - + +
| . $locale->text('Total') . qq|$form->{invtotal}| . $locale->text('Total') . qq|$form->{invtotal}