X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fis.pl;h=857e60409accc070033e4d355f27564cd453e1d7;hb=9e117fbd2bb27c58831580608cd63f85c82487ac;hp=110beee65a6a085478bcc22108c57b4bce7be978;hpb=d05861aff6d05095c5e1711c0a7db6887f489f2e;p=kivitendo-erp.git 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) {