X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fic.pl;h=3765f64a51c323da97ab26fb19f6939621540401;hb=2d6988532a665bd7e42bb88a38a8b52cbb352646;hp=81db7674172595f06a9d040ff258d48b9bb33006;hpb=0576299f2aa98125991c4ffcd2f75073ea583d7d;p=kivitendo-erp.git diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 81db76741..3765f64a5 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -30,10 +30,14 @@ # Inventory Control module # #====================================================================== +#$locale->text('ea'); use SL::IC; -require "$form->{path}/io.pl"; +#use SL::PE; + +require "bin/mozilla/io.pl"; +require "bin/mozilla/common.pl"; 1; @@ -45,12 +49,12 @@ sub add { $form->{title} = $locale->text('Add ' . ucfirst $form->{item}); $form->{callback} = - "$form->{script}?action=add&item=$form->{item}&path=$form->{path}&login=$form->{login}&password=$form->{password}" + "$form->{script}?action=add&item=$form->{item}&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; @@ -76,7 +80,7 @@ sub search { # $locale->text('Services') # use JavaScript Calendar or not - $form->{jsscript} = $jscalendar; + $form->{jsscript} = 1; $jsscript = ""; if ($form->{jsscript}) { @@ -84,14 +88,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| |