From: Sven Schöling Date: Fri, 6 Oct 2017 11:45:56 +0000 (+0200) Subject: is: kivi.CustomerVendor.js korrekt einbinden X-Git-Tag: release-3.5.4~730 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0c121016fc8965c191b41319ed634bc6fd4cce0d;p=kivitendo-erp.git is: kivi.CustomerVendor.js korrekt einbinden --- diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 6f16f28b8..4f83a4e5b 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -482,7 +482,7 @@ sub form_header { ), @custom_hiddens, map { $_.'_rate', $_.'_description', $_.'_taxnumber' } split / /, $form->{taxaccounts}]; - $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.Draft kivi.File kivi.SalesPurchase kivi.Part kivi.CustomerVendor.js ckeditor/ckeditor ckeditor/adapters/jquery kivi.io client_js)); + $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.Draft kivi.File kivi.SalesPurchase kivi.Part kivi.CustomerVendor ckeditor/ckeditor ckeditor/adapters/jquery kivi.io client_js)); $TMPL_VAR{payment_terms_obj} = get_payment_terms_for_invoice(); $form->{duedate} = $TMPL_VAR{payment_terms_obj}->calc_date(reference_date => $form->{invdate}, due_date => $form->{duedate})->to_kivitendo if $TMPL_VAR{payment_terms_obj};