projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DMS-Dateianhänge beim E-Mail-Versand Vorauswahl konfigurierbar
[kivitendo-erp.git]
/
templates
/
webpages
/
customer_vendor
/
tabs
/
billing.html
diff --git
a/templates/webpages/customer_vendor/tabs/billing.html
b/templates/webpages/customer_vendor/tabs/billing.html
index
5ac49dd
..
de3ef89
100644
(file)
--- a/
templates/webpages/customer_vendor/tabs/billing.html
+++ b/
templates/webpages/customer_vendor/tabs/billing.html
@@
-2,6
+2,7
@@
[%- USE HTML %]
[%- USE LxERP %]
[%- USE L %]
[%- USE HTML %]
[%- USE LxERP %]
[%- USE L %]
+[%- USE JavaScript -%]
<div id="billing">
<table width="100%">
<div id="billing">
<table width="100%">
@@
-88,7
+89,7
@@
[% L.input_tag('cv.street', SELF.cv.street, size = 35) %]
<span id="billing_map"></span>
<script type="text/javascript">
[% L.input_tag('cv.street', SELF.cv.street, size = 35) %]
<span id="billing_map"></span>
<script type="text/javascript">
- billingMapWidget = new kivi.CustomerVendor.MapWidget('cv_');
+ billingMapWidget = new kivi.CustomerVendor.MapWidget('cv_'
, '[% JavaScript.escape(SELF.home_address_for_google_maps) %]'
);
$(function() {
billingMapWidget.render($('#billing_map'));
});
$(function() {
billingMapWidget.render($('#billing_map'));
});
@@
-113,6
+114,14
@@
</td>
</tr>
</td>
</tr>
+ <tr>
+ <th align="right" nowrap>[% 'GLN' | $T8 %]</th>
+
+ <td>
+ [% L.input_tag('cv.gln', SELF.cv.gln, size = 30) %]
+ </td>
+ </tr>
+
<tr>
<th align="right" nowrap>[% 'Contact' | $T8 %]</th>
<tr>
<th align="right" nowrap>[% 'Contact' | $T8 %]</th>
@@
-160,10
+169,15
@@
[% L.input_tag('cv.bcc', SELF.cv.bcc, size = 45) %]
</td>
</tr>
[% L.input_tag('cv.bcc', SELF.cv.bcc, size = 45) %]
</td>
</tr>
-
+ [% IF ( SELF.is_customer() ) %]
+ <tr>
+ <th align="right">[% 'Email of the invoice recipient' | $T8 %]</th>
+ <td>[% L.input_tag('cv.invoice_mail', SELF.cv.invoice_mail, size = 45) %]</td>
+ </tr>
+ [% END %]
<tr>
<th align="right" nowrap>
<tr>
<th align="right" nowrap>
- [% IF homepage %]
+ [% IF
SELF.cv.
homepage %]
<a href="[% HTML.escape(SELF.cv.homepage) %]" title="[% 'Open this Website' | $T8 %]" target="_blank">[% 'Homepage' | $T8 %]</a>
[% ELSE %]
[% 'Homepage' | $T8 %]
<a href="[% HTML.escape(SELF.cv.homepage) %]" title="[% 'Open this Website' | $T8 %]" target="_blank">[% 'Homepage' | $T8 %]</a>
[% ELSE %]
[% 'Homepage' | $T8 %]
@@
-246,16
+260,20
@@
[%- END %]
</tr>
[%- END %]
</tr>
- [% IF ( SELF.all_currencies.size ) %]
<tr>
<tr>
+ [% IF ( SELF.is_customer() ) %]
+ <th align="right">[% 'Commercial court' | $T8 %]</th>
+ <td>
+ [% L.input_tag('cv.commercial_court', SELF.cv.commercial_court, size = 20) %]
+ </td>
+ [% END %]
+ [% IF ( SELF.all_currencies.size ) %]
<th align="right">[% 'Currency' | $T8 %]</th>
<th align="right">[% 'Currency' | $T8 %]</th>
-
<td>
[% L.select_tag('cv.currency_id', SELF.all_currencies, title_key = 'name', value_key = 'id', default = SELF.cv.currency_id) %]
</td>
<td>
[% L.select_tag('cv.currency_id', SELF.all_currencies, title_key = 'name', value_key = 'id', default = SELF.cv.currency_id) %]
</td>
+ [% END %]
</tr>
</tr>
- [% END %]
-
<tr>
[% IF ( !INSTANCE_CONF.get_vertreter ) %]
<th align="right">
<tr>
[% IF ( !INSTANCE_CONF.get_vertreter ) %]
<th align="right">
@@
-305,17
+323,17
@@
</td>
[% IF ( SELF.is_customer() ) %]
</td>
[% IF ( SELF.is_customer() ) %]
- <th align="right">[% 'Pr
eisklasse
' | $T8 %]</th>
+ <th align="right">[% 'Pr
ice group
' | $T8 %]</th>
<td>
<td>
- [% L.select_tag('cv.
klass', SELF.all_pricegroups, default = SELF.cv.klass
, value_key = 'id', title_key = 'pricegroup', with_empty = 1) %]
+ [% L.select_tag('cv.
pricegroup_id', SELF.all_pricegroups, default = SELF.cv.pricegroup_id
, value_key = 'id', title_key = 'pricegroup', with_empty = 1) %]
</td>
[% END %]
</tr>
<tr>
</td>
[% END %]
</tr>
<tr>
- <th align="right">[% '
Steuersatz
' | $T8 %]</th>
+ <th align="right">[% '
Tax rate
' | $T8 %]</th>
<td>
[% L.select_tag('cv.taxzone_id', SELF.all_taxzones, default = SELF.cv.taxzone_id, value_key = 'id', title_key = 'description') %]
<td>
[% L.select_tag('cv.taxzone_id', SELF.all_taxzones, default = SELF.cv.taxzone_id, value_key = 'id', title_key = 'description') %]
@@
-344,6
+362,10
@@
<tr>
<th align="right">[%- LxERP.t8("Hourly rate") %]</th>
<td>[% L.input_tag("cv.hourly_rate_as_number", SELF.cv.hourly_rate_as_number) %]</td>
<tr>
<th align="right">[%- LxERP.t8("Hourly rate") %]</th>
<td>[% L.input_tag("cv.hourly_rate_as_number", SELF.cv.hourly_rate_as_number) %]</td>
+ <th align="right" valign="top" nowrap>[% 'Shoporderlock' | $T8 %]</th>
+ <td>
+ [% L.checkbox_tag('cv.order_lock', checked = SELF.cv.order_lock, for_submit=1) %]
+ </td>
</tr>
[% END %]
</table>
</tr>
[% END %]
</table>
@@
-351,12
+373,19
@@
<table>
<tr>
<th align="left" nowrap>[% 'Internal Notes' | $T8 %]</th>
<table>
<tr>
<th align="left" nowrap>[% 'Internal Notes' | $T8 %]</th>
+ [% IF ( SELF.is_customer() ) %]
+ <th align="left">[% 'Origin of personal data' | $T8 %]</th>
+ [% END %]
</tr>
</tr>
-
<tr>
<td>
[% L.textarea_tag('cv.notes', SELF.cv.notes, rows = 3 cols = 60 wrap = soft) %]
</td>
<tr>
<td>
[% L.textarea_tag('cv.notes', SELF.cv.notes, rows = 3 cols = 60 wrap = soft) %]
</td>
+ [% IF ( SELF.is_customer() ) %]
+ <td>
+ [% L.textarea_tag('cv.contact_origin', SELF.cv.contact_origin, rows = 3 cols = 60 wrap = soft) %]
+ </td>
+ [% END %]
</tr>
</table>
</div>
</tr>
</table>
</div>