X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fic.pl;h=b99fb25f4409c6691bfca86672b7718b5f1498f3;hb=864b73ffb0964215f287a393ea37ec2eef6eb8eb;hp=33a78b94dbe452263aaa16456a7c2fa75194c6ad;hpb=d319704a66e9be64da837ccea10af6774c2b0838;p=kivitendo-erp.git diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 33a78b94d..b99fb25f4 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| |