projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CsvImport: Bei Imports ohne cvars nicht die cvars klobbern.
[kivitendo-erp.git]
/
templates
/
webpages
/
customer_vendor
/
form.html
diff --git
a/templates/webpages/customer_vendor/form.html
b/templates/webpages/customer_vendor/form.html
index
c8ec6b0
..
e56b3e5
100644
(file)
--- a/
templates/webpages/customer_vendor/form.html
+++ b/
templates/webpages/customer_vendor/form.html
@@
-2,6
+2,8
@@
[%- USE LxERP %]
[%- USE L %]
[%- USE LxERP %]
[%- USE L %]
+[% L.hidden_tag('_cti_enabled', !!LXCONFIG.cti.dial_command) %]
+
[% cv_cvars = SELF.cv.cvars_by_config %]
<form method="post" action="controller.pl">
[% cv_cvars = SELF.cv.cvars_by_config %]
<form method="post" action="controller.pl">
@@
-16,9
+18,10
@@
<div class="tabwidget" id="customer_vendor_tabs">
<ul>
<li><a href="#billing">[% 'Billing Address' | $T8 %]</a></li>
<div class="tabwidget" id="customer_vendor_tabs">
<ul>
<li><a href="#billing">[% 'Billing Address' | $T8 %]</a></li>
+ <li><a href="#bank">[% 'Bank account' | $T8 %]</a></li>
<li><a href="#shipto">[% 'Shipping Address' | $T8 %]</a></li>
<li><a href="#contacts">[% 'Contacts' | $T8 %]</a></li>
<li><a href="#shipto">[% 'Shipping Address' | $T8 %]</a></li>
<li><a href="#contacts">[% 'Contacts' | $T8 %]</a></li>
- [% IF ( SELF.cv.id ) %]
+ [% IF ( SELF.cv.id
&& AUTH.assert('sales_all_edit', 1)
) %]
<li><a href="#deliveries">[% 'Supplies' | $T8 %]</a></li>
[% END %]
<li><a href="#vcnotes">[% 'Notes' | $T8 %]</a></li>
<li><a href="#deliveries">[% 'Supplies' | $T8 %]</a></li>
[% END %]
<li><a href="#vcnotes">[% 'Notes' | $T8 %]</a></li>
@@
-29,9
+32,10
@@
</ul>
[% PROCESS "customer_vendor/tabs/billing.html" %]
</ul>
[% PROCESS "customer_vendor/tabs/billing.html" %]
+ [% PROCESS "customer_vendor/tabs/bank.html" %]
[% PROCESS "customer_vendor/tabs/shipto.html" %]
[% PROCESS "customer_vendor/tabs/contacts.html" %]
[% PROCESS "customer_vendor/tabs/shipto.html" %]
[% PROCESS "customer_vendor/tabs/contacts.html" %]
- [% IF ( SELF.cv.id ) %]
+ [% IF ( SELF.cv.id
&& AUTH.assert('sales_all_edit', 1)
) %]
[% PROCESS "customer_vendor/tabs/deliveries.html" %]
[% END %]
[% PROCESS "customer_vendor/tabs/vcnotes.html" %]
[% PROCESS "customer_vendor/tabs/deliveries.html" %]
[% END %]
[% PROCESS "customer_vendor/tabs/vcnotes.html" %]
@@
-102,4
+106,3
@@
}
-->
</script>
}
-->
</script>
-