X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fic.pl;h=56c698e80e472cb4db65d76efff583b823de33a4;hb=a25ac4907df1aca0db5fd0017b96e5d0bc5eadf1;hp=1f45b3a34acc6cd3a75b2e50cdc74b0cb1102b89;hpb=92daa1a66a9ff737c92df86da3c28d663c421032;p=kivitendo-erp.git diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 1f45b3a34..56c698e80 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 @@ -313,7 +313,7 @@ sub search { - @@ -1471,14 +1471,8 @@ sub addtop100 { |; + . $locale->text('choice') . qq|"> - if ($form->{menubar}) { - require "$form->{path}/menu.pl"; - &menubar; - } - - print qq| @@ -1596,7 +1590,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 +2003,8 @@ sub generate_report { print qq| |; - - if ($form->{menubar}) { - require "$form->{path}/menu.pl"; - &menubar; - } + . $locale->text('Add') . qq|"> - print qq| @@ -2071,6 +2059,8 @@ sub edit { IC->get_part(\%myconfig, \%$form); + $form->{"original_partnumber"} = $form->{"partnumber"}; + $form->{title} = $locale->text('Edit ' . ucfirst $form->{item}); &link_part; @@ -2332,11 +2322,6 @@ sub form_header { -
 | +  | . $locale->text('Part Number') . qq|  | . $locale->text('Part Description') . qq| {weight}> -   - $form->{weightunit} - {weightunit}> -
@@ -2367,11 +2352,6 @@ sub form_header {  $form->{weight} {weight}> - -   - $form->{weightunit} - {weightunit}> - @@ -2561,6 +2541,7 @@ sub form_header { {rowcount}> + @@ -2747,13 +2728,6 @@ sub form_footer { } } - if (!$form->{previousform}) { - if ($form->{menubar}) { - require "$form->{path}/menu.pl"; - &menubar; - } - } - print qq| @@ -3189,6 +3163,10 @@ sub save_as_new { $lxdebug->enter_sub(); $form->{id} = 0; + if ($form->{"original_partnumber"} && + ($form->{"partnumber"} eq $form->{"original_partnumber"})) { + $form->{partnumber} = ""; + } &save; $lxdebug->leave_sub();