X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fic.pl;h=c52288ad2605eb9757f85f83e8f068c1682e9aba;hb=a1e47d425a58b8342992daab4907591506949f07;hp=63ce108ca604537abf59830273263ea20a32a6f0;hpb=1cd8764aa91e783e0884f9caf5d9b72ffff37a34;p=kivitendo-erp.git diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 63ce108ca..c52288ad2 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -185,7 +185,7 @@ sub search {   | . $locale->text('From') . qq| $button1 - | . $locale->text('To') . qq| + | . $locale->text('To (time)') . qq| $button2 @@ -235,7 +235,7 @@ sub search { | . $locale->text('From') . qq| $button1 - | . $locale->text('To') . qq| + | . $locale->text('To (time)') . qq| $button2 @@ -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}) { @@ -1471,14 +1477,8 @@ sub addtop100 { |; - - if ($form->{menubar}) { - require "$form->{path}/menu.pl"; - &menubar; - } + . $locale->text('choice') . qq|"> - print qq| @@ -1596,7 +1596,7 @@ sub generate_report { if ($form->{transdateto}) { $callback .= "&transdateto=$form->{transdateto}"; $option .= "\n
" - . $locale->text('To') + . $locale->text('To (time)') . " " . $locale->date(\%myconfig, $form->{transdateto}, 1); } @@ -2009,14 +2009,8 @@ sub generate_report { print qq| |; + . $locale->text('Add') . qq|"> - if ($form->{menubar}) { - require "$form->{path}/menu.pl"; - &menubar; - } - - print qq| @@ -2224,7 +2218,7 @@ sub form_header { } $notes = - qq||; + qq||; if (($rows = $form->numtextrows($form->{description}, 40)) > 1) { $description = qq||; @@ -2233,6 +2227,8 @@ sub form_header { qq||; } + $ean = qq||; + foreach $item (split / /, $form->{taxaccounts}) { $form->{"IC_tax_$item"} = ($form->{"IC_tax_$item"}) ? "checked" : ""; } @@ -2334,11 +2330,6 @@ sub form_header { {weight}> - -   - $form->{weightunit} - {weightunit}> - @@ -2369,11 +2360,6 @@ sub form_header {  $form->{weight} {weight}> - -   - $form->{weightunit} - {weightunit}> - @@ -2465,7 +2451,7 @@ sub form_header { |; $formel = - qq||; + qq||; $imagelinks = qq| @@ -2616,9 +2602,16 @@ sub form_header { - + + | . $locale->text('EAN-Code') . qq| + + + + + $ean + @@ -2750,13 +2743,6 @@ sub form_footer { } } - if (!$form->{previousform}) { - if ($form->{menubar}) { - require "$form->{path}/menu.pl"; - &menubar; - } - } - print qq|