From 55bd1f287698469471b41b77cf99ca181433a7a5 Mon Sep 17 00:00:00 2001 From: Holger Lindemann Date: Fri, 26 Jan 2007 16:59:45 +0000 Subject: [PATCH] =?utf8?q?EAN-Code=20f=C3=BCr=20Artikel?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ic.pl | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 56c698e80..c52288ad2 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -269,6 +269,8 @@ sub search { | . $locale->text('Part Number') . qq| + | . $locale->text('EAN') . qq| + | @@ -1028,6 +1030,10 @@ sub addtop100 { $callback .= "&partnumber=$form->{partnumber}"; $option .= $locale->text('Part Number') . qq| : $form->{partnumber}
|; } + if ($form->{ean}) { + $callback .= "&partnumber=$form->{ean}"; + $option .= $locale->text('EAN') . qq| : $form->{ean}
|; + } if ($form->{partsgroup}) { $callback .= "&partsgroup=$form->{partsgroup}"; $option .= $locale->text('Group') . qq| : $form->{partsgroup}
|; @@ -1067,7 +1073,7 @@ sub addtop100 { } @columns = $form->sort_columns( - qw(number partnumber description partsgroup bin onhand rop unit listprice linetotallistprice sellprice linetotalsellprice lastcost linetotallastcost priceupdate weight image drawing microfiche invnumber ordnumber quonumber name serialnumber soldtotal) + qw(number partnumber ean description partsgroup bin onhand rop unit listprice linetotallistprice sellprice linetotalsellprice lastcost linetotallastcost priceupdate weight image drawing microfiche invnumber ordnumber quonumber name serialnumber soldtotal) ); if ($form->{l_linetotal}) { @@ -2212,7 +2218,7 @@ sub form_header { } $notes = - qq||; + qq||; if (($rows = $form->numtextrows($form->{description}, 40)) > 1) { $description = qq||; @@ -2221,6 +2227,8 @@ sub form_header { qq||; } + $ean = qq||; + foreach $item (split / /, $form->{taxaccounts}) { $form->{"IC_tax_$item"} = ($form->{"IC_tax_$item"}) ? "checked" : ""; } @@ -2443,7 +2451,7 @@ sub form_header { |; $formel = - qq||; + qq||; $imagelinks = qq| @@ -2594,9 +2602,16 @@ sub form_header { - + + | . $locale->text('EAN-Code') . qq| + + + + + $ean + -- 2.20.1