X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/d05861aff6d05095c5e1711c0a7db6887f489f2e..9e117fbd2bb27c58831580608cd63f85c82487ac:/bin/mozilla/is.pl
diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl
index 110beee65..857e60409 100644
--- a/bin/mozilla/is.pl
+++ b/bin/mozilla/is.pl
@@ -311,6 +311,9 @@ sub form_header {
}
}
+ $form->{radier} =
+ ($form->current_date(\%myconfig) eq $form->{gldate}) ? 1 : 0;
+
$payment = qq||;
foreach $item (@{ $form->{payment_terms} }) {
if ($form->{payment_id} eq $item->{id}) {
@@ -443,13 +446,11 @@ sub form_header {
$exchangerate .= qq|
{forex}>
|;
- print(STDERR "$form->{customer} Kunde\n");
$customer =
($form->{selectcustomer})
? qq|\n|
: qq||;
- print(STDERR "$form->{customer} Kunde\n");
#sk
$contact =
@@ -1096,6 +1097,12 @@ if ($form->{type} eq "credit_note") {
. $locale->text('Credit Note') . qq|">
|;
}
+ if ($form->{radier}) {
+ print qq|
+
+|;
+ }
if ($invdate > $closedto) {