X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fic.pl;h=29970c4ee81e197e9836a9f8d67b26a5f37f4ed4;hb=566608b739ced48d1ca22dfa85a4ab4590e67c75;hp=1f45b3a34acc6cd3a75b2e50cdc74b0cb1102b89;hpb=92daa1a66a9ff737c92df86da3c28d663c421032;p=kivitendo-erp.git
diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl
index 1f45b3a34..29970c4ee 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 {
- |
+ | |
. $locale->text('Part Number') . qq| |
|
. $locale->text('Part Description') . 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);
}
@@ -2071,6 +2071,8 @@ sub edit {
IC->get_part(\%myconfig, \%$form);
+ $form->{"original_partnumber"} = $form->{"partnumber"};
+
$form->{title} = $locale->text('Edit ' . ucfirst $form->{item});
&link_part;
@@ -2561,6 +2563,7 @@ sub form_header {
{rowcount}>
+
@@ -3189,6 +3192,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();
|