Revision 77f7372c
Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt
templates/webpages/ir/form_header.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE HTML %] |
|
3 |
[%- USE LxERP %] |
|
4 |
[%- USE L %][%- USE P -%] |
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE LxERP %] |
|
4 |
[% USE L %] |
|
5 |
[% USE P %] |
|
6 |
|
|
5 | 7 |
<h1>[% title %]</h1> |
6 | 8 |
|
7 |
[%- SET follow_up_trans_info = invnumber _ ' (' _ vendor_obj.name _ ')' %]
|
|
9 |
[% SET follow_up_trans_info = invnumber _ ' (' _ vendor_obj.name _ ')' %] |
|
8 | 10 |
<script type="text/javascript" src="js/common.js"></script> |
9 | 11 |
<script type="text/javascript" src="js/calculate_qty.js"></script> |
10 | 12 |
<script type="text/javascript" src="js/follow_up.js"></script> |
... | ... | |
13 | 15 |
|
14 | 16 |
<p>[% saved_message %]</p> |
15 | 17 |
|
16 |
[%- FOREACH key = HIDDENS %]
|
|
18 |
[% FOREACH key = HIDDENS %] |
|
17 | 19 |
<input type="hidden" name="[% HTML.escape(key) %]" value="[% HTML.escape($key) %]"> |
18 |
[%- END %]
|
|
20 |
[% END %] |
|
19 | 21 |
<input type="hidden" name="follow_up_trans_id_1" value="[% id %]"> |
20 | 22 |
<input type="hidden" name="follow_up_trans_type_1" value="purchase_invoice"> |
21 | 23 |
<input type="hidden" name="follow_up_trans_info_1" value="[% HTML.escape(follow_up_trans_info) %]"> |
22 | 24 |
<input type="hidden" name="follow_up_rowcount" value="1"> |
23 | 25 |
<input type="hidden" name="lastmtime" value="[% HTML.escape(lastmtime) %]"> |
24 | 26 |
|
25 |
[%- INCLUDE 'common/flash.html' %]
|
|
26 |
[%- INCLUDE 'generic/set_longdescription.html' %]
|
|
27 |
[% INCLUDE 'common/flash.html' %] |
|
28 |
[% INCLUDE 'generic/set_longdescription.html' %] |
|
27 | 29 |
|
28 | 30 |
<div id="ir_tabs" class="tabwidget"> |
29 |
<ul> |
|
31 |
|
|
32 |
<ul> |
|
30 | 33 |
<li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li> |
31 |
[%- IF INSTANCE_CONF.get_webdav %] |
|
32 |
<li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li> |
|
33 |
[%- END %] |
|
34 |
[%- IF id %] |
|
35 |
[%- IF INSTANCE_CONF.get_doc_storage %] |
|
36 |
<li><a href="controller.pl?action=File/list&file_type=document&object_type=purchase_invoice&object_id=[% HTML.url(id) %]">[% 'Documents' | $T8 %]</a></li> |
|
37 |
<li><a href="controller.pl?action=File/list&file_type=attachment&object_type=purchase_invoice&object_id=[% HTML.url(id) %]">[% 'Attachments' | $T8 %]</a></li> |
|
38 |
[%- END %] |
|
39 |
[%- IF AUTH.assert('record_links', 1) %] |
|
40 |
<li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=PurchaseInvoice&object_id=[% HTML.url(id) %]">[% 'Linked Records' | $T8 %]</a></li> |
|
41 |
[%- END %] |
|
42 |
<li><a href="[% 'controller.pl?action=AccTrans/list_transactions&trans_id=' _ HTML.url(id) | html %]">[% LxERP.t8('Transactions') %]</a></li> |
|
43 |
[%- END %] |
|
44 |
</ul> |
|
45 |
|
|
46 |
<div id="ui-tabs-basic-data"> |
|
47 |
<table width="100%"> |
|
48 |
<tr> |
|
49 |
<td valign="top"> |
|
50 |
<table> |
|
51 |
<tr> |
|
52 |
<th align="right">[% 'Vendor' | $T8 %]</th> |
|
53 |
<td> |
|
54 |
[% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", style="width: 250px", class="initial_focus", onchange="\$('#update_button').click()") %] |
|
55 |
[% P.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %] |
|
56 |
[% P.hidden_tag("previous_vendor_id", vendor_id) %] |
|
57 |
</td> |
|
58 |
</tr> |
|
59 |
[%- IF ALL_CONTACTS.size %] |
|
60 |
<tr> |
|
61 |
<th align="right">[% 'Contact Person' | $T8 %]</th> |
|
62 |
<td> |
|
63 |
[% L.select_tag('cp_id', ALL_CONTACTS, default = cp_id, value_key = 'cp_id', title_key = 'full_name_dep', with_empty = 1, style = 'width: 250px') %] |
|
64 |
</td> |
|
65 |
</tr> |
|
66 |
[%- END %] |
|
67 |
<tr> |
|
68 |
<td align="right">[% 'Credit Limit' | $T8 %]</td> |
|
69 |
<td> |
|
70 |
[% LxERP.format_amount(creditlimit, 0, '0') %]; [% 'Remaining' | $T8 %] |
|
71 |
<span class="plus[% IF is_credit_remaining_negativ %]0[% ELSE %]1[% END %]">[% LxERP.format_amount(creditremaining,0 ,'0') %]</span> |
|
72 |
</td> |
|
73 |
</tr> |
|
74 |
[%- IF invoice_obj.sepa_exports.as_list.size %] |
|
75 |
<tr> |
|
76 |
<th align="right">[% LxERP.t8("SEPA exports") %]</th> |
|
77 |
<td> |
|
78 |
[% FOREACH export = invoice_obj.sepa_exports.as_list %] |
|
79 |
<a href="sepa.pl?action=bank_transfer_edit&vc=vendor&id=[% HTML.url(export.id) %]">[% HTML.escape(export.id) %]</a> |
|
80 |
[% UNLESS loop.last %], [% END %] |
|
81 |
[% END %] |
|
82 |
</td> |
|
83 |
</tr> |
|
84 |
[%- END %] |
|
85 |
[%- IF business %] |
|
86 |
<tr> |
|
87 |
<th align="right">[% 'Vendor type' | $T8 %]</th> |
|
88 |
<td>[% business %]; [% 'Trade Discount' | $T8 %] [% LxERP.format_amount(tradediscount * 100) %] %</td> |
|
89 |
</tr> |
|
90 |
[%- END %] |
|
91 |
<tr> |
|
92 |
<th align="right" nowrap>[% 'Record in' | $T8 %]</th> |
|
93 |
<td colspan="3"><select name="AP" style="width:250px;">[% selectAP %]</select></td> |
|
94 |
<input type="hidden" name="selectAP" value="[% selectAP %]"> |
|
95 |
</tr> |
|
96 |
<tr> |
|
97 |
<th align="right">[% 'Steuersatz' | $T8 %]</th> |
|
98 |
<td> |
|
99 |
[% L.select_tag('taxzone_id', ( id ? ALL_TAXZONES : ALL_ACTIVE_TAXZONES) , default = taxzone_id, title_key = 'description', disabled = (id ? 1 : 0), style='width: 250px', onchange = "document.getElementById('update_button').click();") %] |
|
100 |
[%- IF id %] |
|
101 |
<input type='hidden' name='taxzone_id' value='[% taxzone_id %]'> |
|
102 |
[%- END %] |
|
103 |
</td> |
|
104 |
[%- IF id %] |
|
34 |
[% IF INSTANCE_CONF.get_webdav %] |
|
35 |
<li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li> |
|
36 |
[% END %] |
|
37 |
[% IF id %] |
|
38 |
[% IF INSTANCE_CONF.get_doc_storage %] |
|
39 |
<li><a href="controller.pl?action=File/list&file_type=document&object_type=purchase_invoice&object_id=[% HTML.url(id) %]">[% 'Documents' | $T8 %]</a></li> |
|
40 |
<li><a href="controller.pl?action=File/list&file_type=attachment&object_type=purchase_invoice&object_id=[% HTML.url(id) %]">[% 'Attachments' | $T8 %]</a></li> |
|
41 |
[% END %] |
|
42 |
[% IF AUTH.assert('record_links', 1) %] |
|
43 |
<li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=PurchaseInvoice&object_id=[% HTML.url(id) %]">[% 'Linked Records' | $T8 %]</a></li> |
|
44 |
[% END %] |
|
45 |
<li><a href="[% 'controller.pl?action=AccTrans/list_transactions&trans_id=' _ HTML.url(id) | html %]">[% LxERP.t8('Transactions') %]</a></li> |
|
46 |
[% END %] |
|
47 |
</ul> |
|
48 |
|
|
49 |
<div id="ui-tabs-basic-data"> |
|
50 |
|
|
51 |
<div class="wrapper" id="wrapper-1"> |
|
52 |
[% INCLUDE 'generic/toggle_wrapper.html' %] |
|
53 |
|
|
54 |
<table class="tbl-horizontal col"> |
|
55 |
<caption>[% 'Vendor & Transaction' | $T8 %]</caption> |
|
56 |
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup> |
|
57 |
<tbody> |
|
58 |
<tr> |
|
59 |
<th>[% 'Vendor' | $T8 %]</th> |
|
60 |
<td class="wi-wide">[% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", class="wi-wide", class="initial_focus", onchange="\$('#update_button').click()") %][% P.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)'), class='wi-tiny neutral') %] [% P.hidden_tag("previous_vendor_id", vendor_id) %]</td> |
|
61 |
</tr> |
|
62 |
[% IF ALL_CONTACTS.size %] |
|
63 |
<tr> |
|
64 |
<th>[% 'Contact Person' | $T8 %]</th> |
|
65 |
<td>[% L.select_tag('cp_id', ALL_CONTACTS, default = cp_id, value_key = 'cp_id', title_key = 'full_name_dep', with_empty = 1, class='wi-wide') %]</td> |
|
66 |
</tr> |
|
67 |
[% END %] |
|
68 |
[% IF business %] |
|
69 |
<tr> |
|
70 |
<th>[% 'Vendor type' | $T8 %]</th> |
|
71 |
<td>[% business %]; [% 'Trade Discount' | $T8 %] [% LxERP.format_amount(tradediscount * 100) %] %</td> |
|
72 |
</tr> |
|
73 |
[% END %] |
|
74 |
[% IF ALL_DEPARTMENTS.as_list.size %] |
|
75 |
<tr> |
|
76 |
<th>[% 'Department' | $T8 %]</th> |
|
77 |
<td>[% P.select_tag("department_id", ALL_DEPARTMENTS, with_empty=1, default=department_id, title_key="description", class="wi-wide") %]</td> |
|
78 |
</tr> |
|
79 |
[% END %] |
|
80 |
<tr> |
|
81 |
<th>[% 'Credit Limit' | $T8 %]</th> |
|
82 |
<td> |
|
83 |
<span class="data wi-wide"> |
|
84 |
[% LxERP.format_amount(creditlimit, 0, '0') %]; [% 'Remaining' | $T8 %] |
|
85 |
<span class="plus[% IF is_credit_remaining_negativ %]0[% ELSE %]1[% END %]">[% LxERP.format_amount(creditremaining,0 ,'0') %]</span> |
|
86 |
</span> |
|
87 |
</td> |
|
88 |
</tr> |
|
89 |
[% IF invoice_obj.sepa_exports.as_list.size %] |
|
90 |
<tr> |
|
91 |
<th>[% LxERP.t8("SEPA exports") %]</th> |
|
92 |
<td> |
|
93 |
[% FOREACH export = invoice_obj.sepa_exports.as_list %] |
|
94 |
<a href="sepa.pl?action=bank_transfer_edit&vc=vendor&id=[% HTML.url(export.id) %]">[% HTML.escape(export.id) %]</a> |
|
95 |
[% UNLESS loop.last %], [% END %] [% END %] |
|
96 |
</td> |
|
97 |
</tr> |
|
98 |
[% END %] |
|
99 |
<tr> |
|
100 |
<th>[% 'Record in' | $T8 %]</th> |
|
101 |
<td> |
|
102 |
<select name="AP" class="wi-wide strict"> |
|
103 |
[% selectAP %] |
|
104 |
</select> |
|
105 |
<input type="hidden" name="selectAP" value="[% selectAP %]"> |
|
106 |
</td> |
|
107 |
</tr> |
|
108 |
<tr> |
|
109 |
<th>[% 'Steuersatz' | $T8 %]</th> |
|
110 |
<td> |
|
111 |
[% L.select_tag('taxzone_id', |
|
112 |
( id ? ALL_TAXZONES : ALL_ACTIVE_TAXZONES) , |
|
113 |
default = taxzone_id, |
|
114 |
title_key = 'description', |
|
115 |
disabled = (id ? 1 : 0), |
|
116 |
class='wi-wide', |
|
117 |
onchange = "document.getElementById('update_button').click();" |
|
118 |
) %] |
|
119 |
[% IF id %] |
|
105 | 120 |
<input type='hidden' name='taxzone_id' value='[% taxzone_id %]'> |
106 |
[%- END %] |
|
107 |
</tr> |
|
108 |
[%- IF ALL_DEPARTMENTS.as_list.size %] |
|
109 |
<tr> |
|
110 |
<th align="right" nowrap>[% 'Department' | $T8 %]</th> |
|
111 |
<td colspan="3">[% P.select_tag("department_id", ALL_DEPARTMENTS, with_empty=1, default=department_id, title_key="description", style="width: 250px") %]</td> |
|
112 |
</tr> |
|
113 |
[%- END %] |
|
114 |
[%- IF currencies %] |
|
115 |
<tr> |
|
116 |
<th align="right">[% 'Currency' | $T8 %]</th> |
|
117 |
<td>[% currencies %]</td> |
|
118 |
</tr> |
|
119 |
[%- END %] |
|
120 |
<input type="hidden" name="fxgain_accno" value="[% fxgain_accno %]"> |
|
121 |
<input type="hidden" name="fxloss_accno" value="[% fxloss_accno %]"> |
|
122 |
[%- IF show_exchangerate %] |
|
123 |
<tr> |
|
124 |
<th align="right">[% 'Exchangerate' | $T8 %]</th> |
|
125 |
<td> |
|
126 |
[%- IF forex %] |
|
127 |
[% LxERP.format_amount(exchangerate, 2) %] |
|
128 |
[%- ELSE %] |
|
129 |
<input name="exchangerate" size="10" value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]"> |
|
130 |
[%- END %] |
|
131 |
</td> |
|
132 |
</tr> |
|
133 |
[%- END %] |
|
134 |
</table> |
|
135 |
</td> |
|
136 |
<td align="right" valign="top"> |
|
137 |
<table> |
|
138 |
<tr> |
|
139 |
<th align="right">[% 'Employee' | $T8 %]</th> |
|
140 |
<td>[% L.select_tag('employee_id', ALL_EMPLOYEES, default = employee_id, title_key = 'safe_name') %]</td> |
|
141 |
</tr> |
|
142 |
<tr> |
|
143 |
<th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th> |
|
144 |
<td colspan="3">[% L.input_tag("invnumber", invnumber, size="11") %]</td> |
|
145 |
</tr> |
|
146 |
<tr> |
|
147 |
<th align="right">[% 'Invoice Date' | $T8 %]</th> |
|
148 |
<td>[% L.date_tag('invdate', invdate, onChange='kivi.SalesPurchase.set_duedate_on_reference_date_change("invdate")') %]</td> |
|
149 |
</tr> |
|
150 |
<tr> |
|
151 |
<th align="right">[% 'Due Date' | $T8 %]</th> |
|
152 |
<td> |
|
153 |
<span id="duedate_container"[% IF payment_terms_obj.auto_calculation %] style="display:none"[% END %]>[% L.date_tag('duedate', duedate) %]</span> |
|
154 |
<span id="duedate_fixed"[% IF !payment_terms_obj.auto_calculation %] style="display:none"[% END %]>[% HTML.escape(duedate) %]</span> |
|
155 |
</td> |
|
156 |
</tr> |
|
157 |
<tr> |
|
158 |
<th align="right" nowrap>[% 'Order Number' | $T8 %]</th> |
|
159 |
<td colspan="3"><input size='11' name="ordnumber" value="[% HTML.escape(ordnumber) %]"></td> |
|
160 |
</tr> |
|
161 |
<tr> |
|
162 |
<th align="right" nowrap>[% 'Order Date' | $T8 %]</th> |
|
163 |
<td>[% L.date_tag('orddate', orddate) %]</td> |
|
164 |
</tr> |
|
165 |
<tr> |
|
166 |
<th align="right" nowrap>[% 'Quotation Date' | $T8 %]</th> |
|
167 |
<td>[% L.date_tag('quodate', quodate) %]</td> |
|
168 |
</tr> |
|
169 |
<tr> |
|
170 |
<th align="right" nowrap>[% 'Project Number' | $T8 %]</th> |
|
171 |
<td>[% P.project.picker('globalproject_id', globalproject_id) %]</td> |
|
172 |
</tr> |
|
173 |
</table> |
|
174 |
</td> |
|
175 |
</tr> |
|
176 |
</table> |
|
177 |
</td> |
|
178 |
</tr> |
|
179 |
<tr> |
|
180 |
<td> |
|
181 |
</td> |
|
182 |
</tr> |
|
183 |
<script type="text/javascript" src="js/show_form_details.js"></script> |
|
184 |
<script type="text/javascript" src="js/show_vc_details.js"></script> |
|
185 |
<script type="text/javascript" src="js/show_history.js"></script> |
|
186 |
<script type="text/javascript"> |
|
187 |
<!-- |
|
188 |
$('document').ready(function(){ |
|
189 |
[% IF creditwarning != '' %] |
|
190 |
alert('[% 'Credit Limit exceeded!!!' | $T8 %]'); |
|
191 |
[% ELSE %] |
|
192 |
[% END %] |
|
121 |
[% END %] |
|
122 |
</td> |
|
123 |
</tr> |
|
124 |
[% IF currencies %] |
|
125 |
<tr> |
|
126 |
<th>[% 'Currency' | $T8 %]</th> |
|
127 |
<td class="wi-small">[% currencies %]</td> |
|
128 |
</tr> |
|
129 |
[% END %] |
|
130 |
<input type="hidden" name="fxgain_accno" value="[% fxgain_accno %]"> |
|
131 |
<input type="hidden" name="fxloss_accno" value="[% fxloss_accno %]"> |
|
132 |
[% IF show_exchangerate %] |
|
133 |
<tr> |
|
134 |
<th>[% 'Exchangerate' | $T8 %]</th> |
|
135 |
<td class="wi-small"> |
|
136 |
[% IF forex %] |
|
137 |
<span class="data wi-small">[% LxERP.format_amount(exchangerate, 2) %]</span> |
|
138 |
[% ELSE %] |
|
139 |
<input type="text" name="exchangerate" class="wi-small" value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]"> |
|
140 |
[% END %] |
|
141 |
</td> |
|
142 |
</tr> |
|
143 |
[% END %] |
|
144 |
</tbody> |
|
145 |
</table> |
|
146 |
|
|
147 |
<table class="tbl-horizontal col"> |
|
148 |
<caption>[% 'Payment / Delivery Options' | $T8 %]</caption> |
|
149 |
<colgroup><col class="wi-wider"> </colgroup> |
|
150 |
<tbody> |
|
151 |
<tr> |
|
152 |
<td> |
|
153 |
<span class="label-above">[% 'Delivery Terms' | $T8 %]</span> |
|
154 |
[% L.select_tag('delivery_term_id', ALL_DELIVERY_TERMS, default=delivery_term_id, with_empty=1, title_key='description', class='wi-wider') %] |
|
155 |
</td> |
|
156 |
</tr> |
|
157 |
<tr> |
|
158 |
<td>[% L.checkbox_tag('direct_debit', 'checked', direct_debit) %] <label for="direct_debit">[% 'direct debit' | $T8 %]</label></td> |
|
159 |
</tr> |
|
160 |
<tr> |
|
161 |
<th class="caption">[% 'Notes' | $T8 %]</th> |
|
162 |
</tr> |
|
163 |
<tr> |
|
164 |
<td class="wi-wider">[% L.textarea_tag("notes", notes, wrap="soft", style="height:150px", class="texteditor wi-wider") %]</td> |
|
165 |
</tr> |
|
166 |
<tr> |
|
167 |
<td> |
|
168 |
<span class="label-above">[% 'Internal Notes' | $T8 %]</span> |
|
169 |
<textarea name="intnotes" rows="3" class="wi-wider" wrap="soft">[% intnotes %]</textarea> |
|
170 |
</td> |
|
171 |
</tr> |
|
172 |
[% IF id && follow_ups.size %] |
|
173 |
<tr> |
|
174 |
<td>[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size, follow_ups_unfinished) | html %]</td> |
|
175 |
</tr> |
|
176 |
[% END %] |
|
177 |
</tbody> |
|
178 |
</table> |
|
179 |
|
|
180 |
<table class="tbl-horizontal col"> |
|
181 |
<caption>[% 'Handling, Numbers & Dates' | $T8 %]</caption> |
|
182 |
<colgroup> <col class="wi-mediumsmall"><col class="wi-wide"> </colgroup> |
|
183 |
<tbody> |
|
184 |
<tr> |
|
185 |
<th>[% 'Employee' | $T8 %]</th> |
|
186 |
<td>[% L.select_tag('employee_id', ALL_EMPLOYEES, default = employee_id, title_key = 'safe_name', class='wi-wide') %]</td> |
|
187 |
</tr> |
|
188 |
<tr> |
|
189 |
<th>[% 'Order Number' | $T8 %]</th> |
|
190 |
<td><input type="text" class="wi-mediumsmall" name="ordnumber" value="[% HTML.escape(ordnumber) %]"></td> |
|
191 |
</tr> |
|
192 |
[% IF is_type_credit_note %] |
|
193 |
<tr> |
|
194 |
<th>[% 'Credit Note Number' | $T8 %]</th> |
|
195 |
<td><input type="text" class="wi-mediumsmall" name="invnumber" value="[% HTML.escape(invnumber) %]"></td> |
|
196 |
</tr> |
|
197 |
[% ELSE %] |
|
198 |
<tr> |
|
199 |
<th>[% 'Invoice Number' | $T8 %]</th> |
|
200 |
<td>[% L.input_tag('invnumber', invnumber, class='wi-mediumsmall') %]</td> |
|
201 |
</tr> |
|
202 |
[% END %] |
|
203 |
<tr> |
|
204 |
<th>[% 'Project Number' | $T8 %]</th> |
|
205 |
<td>[% P.project.picker('globalproject_id', globalproject_id, class='wi-mediumsmall') %]</td> |
|
206 |
</tr> |
|
207 |
<tr> |
|
208 |
<th>[% 'Quotation Date' | $T8 %]</th> |
|
209 |
<td>[% L.date_tag('quodate', quodate, class='wi-small') %]</td> |
|
210 |
</tr> |
|
211 |
<tr> |
|
212 |
<th>[% 'Order Date' | $T8 %]</th> |
|
213 |
<td>[% L.date_tag('orddate', orddate, class='wi-small') %]</td> |
|
214 |
</tr> |
|
215 |
[% IF is_type_credit_note %] |
|
216 |
<tr> |
|
217 |
<th>[% 'Credit Note Date' | $T8 %]</th> |
|
218 |
<td>[% L.date_tag('invdate', invdate, class='wi-small') %]</td> |
|
219 |
</tr> |
|
220 |
[% ELSE %] |
|
221 |
<tr> |
|
222 |
<th>[% 'Invoice Date' | $T8 %]</th> |
|
223 |
<td>[% L.date_tag('invdate', invdate, onChange='kivi.SalesPurchase.set_duedate_on_reference_date_change("invdate")', class='wi-small') %]</td> |
|
224 |
</tr> |
|
225 |
<tr> |
|
226 |
<th>[% 'Due Date' | $T8 %]</th> |
|
227 |
<td><span id="duedate_container"[% IF payment_terms_obj.auto_calculation %] style="display:none"[% END %] class="condensed">[% L.date_tag('duedate', duedate, class='wi-small') %]</span> <span id="duedate_fixed" [% IF !payment_terms_obj.auto_calculation %] style="display:none" [% END %]>[% HTML.escape(duedate) %]</span> </td> |
|
228 |
</tr> |
|
229 |
[% END %] |
|
230 |
|
|
231 |
|
|
232 |
</tbody> |
|
233 |
</table> |
|
234 |
|
|
235 |
</div><!-- /.wrapper --> |
|
236 |
|
|
237 |
<script type="text/javascript" src="js/show_form_details.js"></script> |
|
238 |
<script type="text/javascript" src="js/show_vc_details.js"></script> |
|
239 |
<script type="text/javascript" src="js/show_history.js"></script> |
|
240 |
<script type="text/javascript"><!-- |
|
241 |
$('document').ready(function(){ |
|
242 |
[% IF creditwarning != '' %] |
|
243 |
alert('[% 'Credit Limit exceeded!!!' | $T8 %]'); |
|
244 |
[% ELSE %] |
|
245 |
[% END %] |
|
193 | 246 |
}); |
194 |
//--> |
|
195 |
</script> |
|
196 |
<input type="hidden" name="webdav" value="[% webdav | html %]"> |
|
247 |
//--></script> |
|
248 |
|
|
249 |
<input type="hidden" name="webdav" value="[% webdav | html %]"> |
|
250 |
|
|
251 |
<div class="list-table-with-separate-total-table"> |
Auch abrufbar als: Unified diff
Neues kivitendo Design restliche Aenderungen in templates/webpages/i*
Dateien ic/* io/* ir/* is/*