X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fap%2Fform_header.html;h=05b7a7a670bf211d427fdd7b4fe90317e6de0cb6;hb=3591b710cbe757a131ff768ed7d6066d8412bc0e;hp=bd52a5189940a8c96f12283e3d22a71aaf3e82bf;hpb=6e083cb8df993623e4810599ba9d50b035ccb250;p=kivitendo-erp.git
diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html
index bd52a5189..05b7a7a67 100644
--- a/templates/webpages/ap/form_header.html
+++ b/templates/webpages/ap/form_header.html
@@ -18,7 +18,7 @@
-
+
@@ -63,7 +63,7 @@
@@ -157,16 +161,24 @@
[% 'Invoice Date' | $T8 %] |
- [% L.date_tag('transdate', transdate) %] |
+ [% L.date_tag('transdate', transdate, onchange='kivi.SalesPurchase.set_duedate_on_reference_date_change("transdate")') %] |
[% 'Due Date' | $T8 %] |
[% L.date_tag('duedate', duedate) %] |
+
+ [% LxERP.t8('Tax point') %] |
+ [% L.date_tag('tax_point', tax_point, id='tax_point') %] |
+
+
+ [% 'Delivery Date' | $T8 %] |
+ [% L.date_tag('deliverydate', deliverydate) %] |
+
[% 'Project Number' | $T8 %] |
- [% L.select_tag('globalproject_id', ALL_PROJECTS, with_empty = 1, default = globalproject_id, value_key = 'id', title_key = 'projectnumber', onChange = "document.getElementById('update_button').click();") %]
+ [% P.project.picker('globalproject_id', globalproject_id, onchange="document.getElementById('update_button').click();") %]
|
@@ -208,7 +220,7 @@
[% temp = "project_id_"_ i %]
- [% L.select_tag(temp, ALL_PROJECTS, with_empty = 1, default = loop.last ? globalproject_id : $temp, value_key = 'id', title_key = 'projectnumber') %]
+ [% P.project.picker(temp, loop.last ? globalproject_id : $temp) %]
|
[% END %]
@@ -230,19 +242,24 @@
-
-
- [% 'Notes' | $T8 %] |
-
-
- |
-
- [% 'Notes for vendor' | $T8 %] |
-
-
- |
-
-
+
+
+ [% 'Notes' | $T8 %] |
+ [% 'Internal Notes' | $T8 %] |
+ [% 'Payment Terms' | $T8 %] |
+
+
+
+ [% L.textarea_tag("notes", notes, wrap="soft", rows=textarea_rows, cols=50, readonly=readonly) %]
+ |
+
+ [% L.textarea_tag("intnotes", intnotes, wrap="soft", rows=textarea_rows, cols=50, readonly=readonly) %]
+ |
+
+ [% L.select_tag('payment_id', payment_terms, default=payment_id, title_key='description', with_empty=1, style="width: 250px", onchange="kivi.SalesPurchase.set_duedate_on_reference_date_change('transdate')") %]
+ |
+
+
|
@@ -304,7 +321,7 @@
[% temp = "paid_"_ i %]
[% IF( changeable ) %]
-
+
[% ELSE %]
[% $temp | html %]
@@ -347,7 +364,7 @@
|
[% temp = "paid_project_id_"_ i %]
[% IF( changeable ) %]
- [% L.select_tag(temp, ALL_PROJECTS, with_empty = 1, default = $temp, value_key = 'id', title_key = 'projectnumber') %]
+ [% P.project.picker(temp, $temp) %]
[% ELSE %]
[% temp = "label"_ temp %]
@@ -384,5 +401,5 @@
|