X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b98935252284591d5a1d95dda05974b14f4b2b4d..4b04c42212bb045a98535fcc16eef4ad81b2dbb6:/templates/webpages/order/tabs/basic_data.html
diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html
index 0d7362f6e..64d73eae2 100644
--- a/templates/webpages/order/tabs/basic_data.html
+++ b/templates/webpages/order/tabs/basic_data.html
@@ -91,6 +91,11 @@
[% L.input_tag('order.ordnumber', SELF.order.ordnumber, size = 11) %] |
+
+ | [% 'Quotation Number' | $T8 %] |
+ [% L.input_tag('order.quonumber', SELF.order.quonumber, size = 11) %] |
+
+
| [% 'Customer Order Number' | $T8 %] |
[% L.input_tag('order.cusordnumber', SELF.order.cusordnumber, size = 11) %] |
@@ -101,6 +106,11 @@
[% L.date_tag('order.transdate', SELF.order.transdate) %] |
+
+ | [% 'Insert Date' | $T8 %] |
+ [% SELF.order.itime_as_date %] |
+
+
| [% 'Project Number' | $T8 %] |
[%- L.select_tag('order.globalproject_id', SELF.all_projects, default=SELF.order.globalproject_id, title_key='projectnumber', with_empty = 1) %] |
@@ -150,23 +160,70 @@
-
-
- [%- IF NOT taxincluded %]
+
+
- | [%- 'Subtotal' | $T8 %] |
-
- [%- L.div_tag(SELF.order.netamount_as_number, id='netamount_id') %]
+ |
+
+
+ | [% 'Notes' | $T8 %] |
+ [% 'Internal Notes' | $T8 %] |
+
+
+ |
+ [% L.textarea_tag('order.notes', SELF.order.notes, wrap="soft", style="width: 350px; height: 150px;", class="texteditor") %]
+ |
+
+ [% L.textarea_tag('order.intnotes', SELF.order.intnotes, wrap="soft", style="width: 350px; height: 150px;") %]
+ |
+
+
|
-
- [%- END %]
- [%- FOREACH tax = SELF.taxes %]
- [%- PROCESS order/tabs/_tax_row.html TAX=tax %]
- [%- END %]
-
- | [%- 'Total' | $T8 %] |
+
+
+
+
+ | [% 'Payment Terms' | $T8 %] |
+ [% L.select_tag('order.payment_id',
+ SELF.all_payment_terms,
+ default = SELF.order.payment_id,
+ with_empty = 1,
+ title_key = 'description',
+ style = 'width: 250px;') %] |
+
+
+ | [% 'Delivery Terms' | $T8 %] |
+ [% L.select_tag('order.delivery_term_id',
+ SELF.all_delivery_terms,
+ default = SELF.order.delivery_term_id,
+ with_empty = 1,
+ title_key = 'description',
+ style = 'width: 250px;') %] |
+
+
+ |
+
- [%- L.div_tag(SELF.order.amount_as_number, id='amount_id') %]
+
+ [%- IF NOT taxincluded %]
+
+ | [%- 'Subtotal' | $T8 %] |
+
+ [%- L.div_tag(SELF.order.netamount_as_number, id='netamount_id') %]
+ |
+
+ [%- END %]
+ [%- FOREACH tax = SELF.taxes %]
+ [%- PROCESS order/tabs/_tax_row.html TAX=tax %]
+ [%- END %]
+
+ | [%- 'Total' | $T8 %] |
+
+ [%- L.div_tag(SELF.order.amount_as_number, id='amount_id') %]
+ |
+
+ |
+
|
@@ -216,6 +273,12 @@ function recalc_amounts_and_taxes() {
$.post("controller.pl", data, kivi.eval_json_result);
}
+function redisplay_linetotals(data) {
+ $('.row_entry [name="linetotal"]').each(function(idx, elt) {
+ $(elt).html(data[idx]);
+ });
+}
+
function row_table_scroll_down() {
$('#row_table_scroll_id').scrollTop($('#row_table_scroll_id')[0].scrollHeight);
}
@@ -264,6 +327,7 @@ $(function(){
}
});
row_set_keyboard_events($('.row_entry'));
+ $('.recalc').change(recalc_amounts_and_taxes);
});
|