From 9bdbb52c5c1023739e9d3aaacbf50e74bf956e28 Mon Sep 17 00:00:00 2001 From: tetragon Date: Mon, 17 Sep 2007 22:15:55 +0000 Subject: Some HTML fixes that also help with the resolution of bug 1795858 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1626 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/oe.pl | 686 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 343 insertions(+), 343 deletions(-) (limited to 'bin/oe.pl') diff --git a/bin/oe.pl b/bin/oe.pl index 00617c8e..af15f373 100755 --- a/bin/oe.pl +++ b/bin/oe.pl @@ -354,10 +354,10 @@ sub form_header { if ( $form->{id} ) { $openclosed = qq| - | + | . $locale->text('Open') . qq| - | + | . $locale->text('Closed') . qq| @@ -380,12 +380,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} @@ -393,21 +393,21 @@ sub form_header { { if ( $form->{forex} ) { $exchangerate .= - qq|| + qq|| . $locale->text('Exchange Rate') . qq|$form->{exchangerate} - {exchangerate}> + |; } else { $exchangerate .= - qq|| + qq|| . $locale->text('Exchange Rate') - . qq|{exchangerate}>|; + . qq||; } } $exchangerate .= qq| -{forex}> + |; @@ -416,8 +416,8 @@ sub form_header { $terms = qq| - | . $locale->text('Terms') . qq| - {terms}> | + | . $locale->text('Terms') . qq| + | . $locale->text('days') . qq| @@ -426,8 +426,8 @@ sub form_header { if ( $form->{business} ) { $business = qq| - | . $locale->text('Business') . qq| - $form->{business} + | . $locale->text('Business') . qq| + $form->{business}    |; $business .= qq| | . $locale->text('Trade Discount') . qq| @@ -441,21 +441,21 @@ sub form_header { if ( $form->{type} !~ /_quotation$/ ) { $ordnumber = qq| - | . $locale->text('Order Number') . qq| - - + | . $locale->text('Order Number') . qq| + + - | . $locale->text('Order Date') . qq| - {transdate}> + | . $locale->text('Order Date') . qq| + - | . $locale->text('Required by') . qq| - {reqdate}> + | . $locale->text('Required by') . qq| + - | . $locale->text('PO Number') . qq| - + | . $locale->text('PO Number') . qq| + |; @@ -464,15 +464,15 @@ sub form_header { $creditremaining = qq| - + - + - - + + @@ -490,20 +490,20 @@ sub form_header { if ( $form->{type} eq 'sales_quotation' ) { $ordnumber = qq| - - - + + |; } else { $ordnumber = qq| - - - + + + |; @@ -512,50 +512,50 @@ sub form_header { $ordnumber .= qq| - - + + - - + + |; } $ordnumber .= qq| -{oldtransdate}>|; +|; if ( $form->{"select$form->{vc}"} ) { - $vc = qq| - {vc}">$form->{"select$form->{vc}"} + {vc}"}, 1 ) . qq|">|; } else { - $vc = qq|{vc} value="$form->{$form->{vc}}" size=35>|; + $vc = qq||; } $department = qq| - | if $form->{selectdepartment}; $employee = qq| - + |; if ( $form->{type} eq 'sales_order' ) { if ( $form->{selectemployee} ) { $employee = qq| - - - | . $locale->text('Salesperson') . qq| + + |; @@ -565,9 +565,9 @@ sub form_header { if ( $form->{selectemployee} ) { $employee = qq| - - - | . $locale->text('Employee') . qq| + + |; @@ -582,7 +582,7 @@ sub form_header { print qq| - + |; $form->hide_form( @@ -590,38 +590,38 @@ sub form_header { ); print qq| -
| . $locale->text('Credit Limit') . qq|| . $locale->text('Credit Limit') . qq| | . $form->format_amount( \%myconfig, $form->{creditlimit}, 0, "0" ) . qq|| . $locale->text('Remaining') . qq|| . $locale->text('Remaining') . qq| | . $form->format_amount( \%myconfig, $form->{creditremaining}, 0, "0" ) . qq|
| + | . $locale->text('Quotation Number') . qq|
| . $locale->text('RFQ Number') . qq|| . $locale->text('RFQ Number') . qq|
| . $locale->text('Quotation Date') . qq|{transdate}>| . $locale->text('Quotation Date') . qq|
$reqlabel{reqdate}>$reqlabel
| . $locale->text('Department') . qq| - +
| . $locale->text('Salesperson') . qq|
| . $locale->text('Employee') . qq|
- - +
$form->{title}
+ +
$form->{title}
- + -
- +
- - - {vc}_id value=$form->{"$form->{vc}_id"}> - {vc}"}"> + + + {vc}_id"}"> + {vc}"}"> $creditremaining $business $department $exchangerate - - + + - - + +
$vclabel$vc$vclabel$vc
| . $locale->text('Shipping Point') . qq|| . $locale->text('Shipping Point') . qq|
| . $locale->text('Ship via') . qq|| . $locale->text('Ship via') . qq|
+ $openclosed $employee @@ -642,8 +642,8 @@ sub form_header { for ( split / /, $form->{taxaccounts} ) { print qq| -{"${_}_rate"}> - + + |; } @@ -661,9 +661,9 @@ sub form_footer { } $rows = ( $rows > $introws ) ? $rows : $introws; $notes = -qq||; +qq||; $intnotes = -qq||; +qq||; $form->{taxincluded} = ( $form->{taxincluded} ) ? "checked" : ""; @@ -672,9 +672,9 @@ qq|