X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fir.pl;h=3736fbe2cb09f792dc248143d96bd241819ac019;hb=11e6f144c6af375d7b061bde6484266884d6f636;hp=afae8a06b09eed05d5723b2a642ef353972f4596;hpb=1877165d12c6c20a245a473b52700cd66617d0a3;p=kivitendo-erp.git
diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl
index afae8a06b..3736fbe2c 100644
--- a/bin/mozilla/ir.pl
+++ b/bin/mozilla/ir.pl
@@ -354,7 +354,12 @@ sub form_header {
qq|
{duedate}> | |;
}
- $form->{"javascript"} .= qq||;
+
+ $jsscript .=
+ $form->write_trigger(\%myconfig, 2,
+ "orddate", "BL", "trigger_orddate",
+ "quodate", "BL", "trigger_quodate");
$form->header;
@@ -448,6 +453,16 @@ sub form_header {
|
+
+ | . $locale->text('Order Date') . qq| |
+ |
+ |
+
+
+ | . $locale->text('Quotation Date') . qq| |
+ |
+ |
+
@@ -711,7 +726,7 @@ sub form_footer {
$column_data{"AP_paid_$i"} =
qq| | |;
$column_data{"datepaid_$i"} =
- qq|{"datepaid_$i"}>
+ qq| | {"datepaid_$i"}>
| |;
$column_data{"source_$i"} =
qq|{"source_$i"}> | |;
@@ -759,13 +774,15 @@ sub form_footer {
print qq|
|;
- } else {
- if ($invdate > $closedto) {
- print qq|
- |;
- }
+
+ }
+
+ print qq||;
+
+ if (!$form->{id} && ($invdate > $closedto)) {
+ print qq| |;
}
print $form->write_trigger(\%myconfig, scalar(@triggers) / 3, @triggers) .