X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fic.pl;h=df330d3ac58e86fa7484ad8136f4d9dd66f0ee44;hb=30531673553bc83a944806586bd4226cd6ec336c;hp=6d49eab28470e98fb81eb0a15f6a0610b2c1cdc6;hpb=69c4afb76eaafbbe668a66775e6072df5ce5bd49;p=kivitendo-erp.git diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 6d49eab28..df330d3ac 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -30,9 +30,12 @@ # Inventory Control module # #====================================================================== +#$locale->text('ea'); use SL::IC; +#use SL::PE; + require "$form->{path}/io.pl"; 1; @@ -48,9 +51,9 @@ sub add { "$form->{script}?action=add&item=$form->{item}&path=$form->{path}&login=$form->{login}&password=$form->{password}" unless $form->{callback}; - $form->{unit} = - ($form->{item} eq 'service') ? $locale->text('hr') : $locale->text('ea'); + $form->{"unit_changeable"} = 1; + IC->get_pricegroups(\%myconfig, \%$form); &link_part; &display_form; @@ -84,14 +87,12 @@ sub search { $button1 = qq|
| - . $locale->text('Part Number') - . qq| | + . $locale->text('Part Number') . qq|| - . $locale->text('Part Description') - . qq| | + . $locale->text('Part Description') . qq| $l_serialnumber| - . $locale->text('Unit of measure') - . qq| | + . $locale->text('Unit of measure') . qq|||
| - . $locale->text('List Price') - . qq| | + . $locale->text('List Price') . qq|| - . $locale->text('Sell Price') - . qq| | -| - . $locale->text('Last Cost') - . qq| | + . $locale->text('Sell Price') . qq| +| + . $locale->text('Last Cost') . qq| | | - . $locale->text('Line Total') - . qq| | + . $locale->text('Line Total') . qq|
| - . $locale->text('Updated') - . qq| | + . $locale->text('Updated') . qq|| - . $locale->text('Bin') - . qq| | + . $locale->text('Bin') . qq|| - . $locale->text('ROP') - . qq| | + . $locale->text('ROP') . qq|| - . $locale->text('Weight') - . qq| | + . $locale->text('Weight') . qq||
| - . $locale->text('Image') - . qq| | + . $locale->text('Image') . qq|| - . $locale->text('Drawing') - . qq| | + . $locale->text('Drawing') . qq|| - . $locale->text('Microfiche') - . qq| | + . $locale->text('Microfiche') . qq|| - . $locale->text('Group') - . qq| | + . $locale->text('Group') . qq||
| - . $locale->text('Subtotal') - . qq| | + . $locale->text('Subtotal') . qq|| - . $locale->text('soldtotal') - . qq| | + . $locale->text('soldtotal') . qq| +| + . $locale->text('deliverydate') . qq| |