Revision a8253337
Von Hans Peter Schlaepfer vor fast 6 Jahren hinzugefügt
templates/webpages/gobd/filter.html | ||
---|---|---|
1 |
[%- USE HTML %]
|
|
2 |
[%- USE T8 %]
|
|
3 |
[%- USE L %]
|
|
4 |
[%- USE LxERP %]
|
|
1 |
[% USE HTML %] |
|
2 |
[% USE T8 %] |
|
3 |
[% USE L %] |
|
4 |
[% USE LxERP %] |
|
5 | 5 |
|
6 | 6 |
<h1>[% title | html %]</h1> |
7 | 7 |
|
8 |
[%- INCLUDE 'common/flash.html' %] |
|
8 |
|
|
9 |
<form id='filter_form'> |
|
10 |
|
|
11 |
<div class="wrapper"> |
|
12 |
|
|
13 |
[% INCLUDE 'common/flash.html' %] |
|
9 | 14 |
|
10 | 15 |
<p>[% 'This export will include all records in the given time range and all supplicant information from checked entities. You will receive a single zip file. Please extract this file onto the data medium requested by your auditor.' | $T8 %]</p> |
11 | 16 |
|
12 |
<form id='filter_form'> |
|
13 | 17 |
|
14 |
<table> |
|
15 |
<tr> |
|
16 |
<td>[% L.radio_button_tag('method', value='year', checked=1) %] |
|
17 |
<td>[% 'Year' | $T8 %]</td> |
|
18 |
<td>[% L.select_tag('year', SELF.available_years, default=current_year) %]</td> |
|
19 |
</tr> |
|
20 |
<tr> |
|
21 |
<td>[% L.radio_button_tag('method') %] |
|
22 |
<td>[% 'From Date' | $T8 %]</td> |
|
23 |
<td>[% L.date_tag('from', SELF.from) %]</td> |
|
24 |
<td>[% 'To Date' | $T8 %]</td> |
|
25 |
<td>[% L.date_tag('to', SELF.to) %]</td> |
|
26 |
</tr> |
|
18 |
<table class="tbl-horizontal"> |
|
19 |
<tbody> |
|
20 |
<tr> |
|
21 |
<th>[% 'Year' | $T8 %]</th> |
|
22 |
<td>[% L.radio_button_tag('method', value='year', checked=1) %] |
|
23 |
<td>[% L.select_tag('year', SELF.available_years, default=current_year) %]</td> |
|
24 |
</tr> |
|
25 |
<tr> |
|
26 |
<th>[% 'Period' | $T8 %]</th> |
|
27 |
<td>[% L.radio_button_tag('method') %] |
|
28 |
<!-- <td>[% 'From Date' | $T8 %]</td> --> |
|
29 |
<td>[% L.date_tag('from', SELF.from) %] [% 'To Date' | $T8 %] [% L.date_tag('to', SELF.to) %]</td> |
|
30 |
</tr> |
|
31 |
</tbody> |
|
27 | 32 |
</table> |
33 |
|
|
34 |
</div> |
|
35 |
|
|
28 | 36 |
</form> |
templates/webpages/order_items_search/_order_item_list.html | ||
---|---|---|
1 |
[%- USE LxERP %]
|
|
2 |
[%- USE T8 %]
|
|
3 |
[%- USE L %]
|
|
4 |
[%- USE HTML %]
|
|
5 |
[%- USE P %]
|
|
1 |
[% USE LxERP %] |
|
2 |
[% USE T8 %] |
|
3 |
[% USE L %] |
|
4 |
[% USE HTML %] |
|
5 |
[% USE P %] |
|
6 | 6 |
[% SET qty_round = 2 %] |
7 |
<table cellpadding="3px"> |
|
8 |
<tr class="listheading"> |
|
9 |
<th>[%- LxERP.t8("Part") %]</th> |
|
10 |
<th>[%- LxERP.t8("Customer") %]</th> |
|
11 |
<th>[%- LxERP.t8("Order") %]</th> |
|
12 |
<th>[%- LxERP.t8("Order Date") %]</th> |
|
13 |
<th>[%- LxERP.t8("Qty") %]</th> |
|
14 |
<th>[%- LxERP.t8("Delivered") %]</th> |
|
15 |
<th>[%- LxERP.t8("Price") %]</th> |
|
16 |
<th>[%- LxERP.t8("Discount") %] %</th> |
|
17 |
<th>[%- LxERP.t8("Delivery Order") %]</th> |
|
18 |
[% IF FORM.show_images %] |
|
19 |
<th>[%- LxERP.t8("Image") %]</th> |
|
20 |
[% END %] |
|
21 |
</tr> |
|
22 |
[% FOREACH order_item = SELF.orderitems %] |
|
23 |
<tr id="tr_[% loop.count %]" class="listrow[% loop.count % 2 %]"> |
|
24 |
<td> [% order_item.part.presenter.part(no_link => 0) %]</td> |
|
25 |
<td> [% order_item.order.customer.presenter.customer(no_link => 0) %]</td> |
|
26 |
<td class="numeric"> [% order_item.order.presenter.sales_order(no_link => 0) %]</td> |
|
27 |
<td> [% order_item.order.transdate.to_kivitendo %]</td> |
|
28 |
<td class="numeric [% IF order_item.delivered_qty == order_item.qty %]shipped[% ELSE %]not_shipped[% END %]"> |
|
29 |
[% LxERP.format_amount(order_item.qty, qty_round) %] [% order_item.unit | html %] |
|
30 |
</td> |
|
31 |
<td class="numeric"> [% LxERP.format_amount(order_item.delivered_qty, qty_round) %] [% order_item.unit | html %] </td> |
|
32 |
<td class="numeric"> [% order_item.sellprice_as_number %]</td> |
|
33 |
<td class="numeric"> [% order_item.discount_as_percent %]</td> |
|
34 |
<td> [% order_item.deliveryorders %]</td> |
|
35 |
[% IF FORM.show_images %] |
|
36 |
<td> [% IF order_item.part.image %]<a href="[% order_item.part.image | html %]" target="_blank"><img height="32" border="0" src="[% order_item.part.image | html %]"/></a>[% END %]</td> |
|
37 |
[% END %] |
|
38 |
</tr> |
|
39 |
[% END %] |
|
7 |
|
|
8 |
<table class="tbl-list wi-moderate"> |
|
9 |
<thead> |
|
10 |
<tr> |
|
11 |
<th>[% LxERP.t8("Part") %]</th> |
|
12 |
<th>[% LxERP.t8("Customer") %]</th> |
|
13 |
<th class="right">[% LxERP.t8("Order") %]</th> |
|
14 |
<th>[% LxERP.t8("Order Date") %]</th> |
|
15 |
<th class="right" colspan="2">[% LxERP.t8("Qty") ; "/" ;LxERP.t8("Unit") %]</th> |
|
16 |
<th class="right" colspan="2">[% LxERP.t8("Delivered") ; "/" ;LxERP.t8("Unit") %]</th> |
|
17 |
<th class="right">[% LxERP.t8("Price") %]</th> |
|
18 |
<th class="right">[% LxERP.t8("Discount") %]%</th> |
|
19 |
<th>[% LxERP.t8("Delivery Order") %]</th> |
|
20 |
[% IF FORM.show_images %] |
|
21 |
<th>[% LxERP.t8("Image") %]</th> |
|
22 |
[% END %] |
|
23 |
</tr> |
|
24 |
</thead> |
|
25 |
<tbody> |
|
26 |
[% FOREACH order_item = SELF.orderitems %] |
|
27 |
<tr id="tr_[% loop.count %]"> |
|
28 |
<td>[% order_item.part.presenter.part(no_link => 0) %]</td> |
|
29 |
<td>[% order_item.order.customer.presenter.customer(no_link => 0) %]</td> |
|
30 |
<td class="numeric">[% order_item.order.presenter.sales_order(no_link => 0) %]</td> |
|
31 |
<td>[% order_item.order.transdate.to_kivitendo %]</td> |
|
32 |
<td class="numeric[% IF order_item.delivered_qty == order_item.qty %] plus[% ELSE %] minus[% END %]"> |
|
33 |
[% LxERP.format_amount(order_item.qty, qty_round) %] |
|
34 |
</td> |
|
35 |
<td>[% order_item.unit | html %]</td> |
|
36 |
<td class="numeric">[% LxERP.format_amount(order_item.delivered_qty, qty_round) %]</td> |
|
37 |
<td>[% order_item.unit | html %]</td> |
|
38 |
<td class="numeric">[% order_item.sellprice_as_number %]</td> |
|
39 |
<td class="numeric">[% order_item.discount_as_percent %]</td> |
|
40 |
<td>[% order_item.deliveryorders %]</td> |
|
41 |
[% IF FORM.show_images %] |
|
42 |
<td>[% IF order_item.part.image %]<a href="[% order_item.part.image | html %]" target="_blank"><img height="32" src="[% order_item.part.image | html %]"/></a>[% END %]</td> |
|
43 |
[% END %] |
|
44 |
</tr> |
|
45 |
[% END %] |
|
46 |
</tbody> |
|
40 | 47 |
</table> |
templates/webpages/order_items_search/order_items.html | ||
---|---|---|
1 | 1 |
[% USE HTML %] |
2 |
[%- USE LxERP %] |
|
3 |
[%- USE T8 %] |
|
4 |
[%- USE L %] |
|
5 |
[%- USE P %] |
|
6 |
|
|
7 |
[% SET size=50 %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE T8 %] |
|
4 |
[% USE L %] |
|
5 |
[% USE P %] |
|
8 | 6 |
[% SET show_images=0 %] |
9 | 7 |
|
10 | 8 |
<h1>[% title %]</h1> |
11 |
<div style="padding-bottom: 15px"> |
|
12 |
[% 'Filter' | $T8 %]: |
|
9 |
<div class="wrapper"> |
|
10 |
|
|
11 |
|
|
13 | 12 |
<form id="filter" name="filter" method="post" action="controller.pl"> |
14 |
<table> |
|
15 |
</tr> |
|
16 |
<td>[% 'Customer' | $T8 %]</td> |
|
17 |
<td>[% P.customer_vendor.picker('filter.order.customer.id', FORM.customer_id, type='customer', class="filter", size=size) %]</td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
20 |
<td>[% 'Part' | $T8 %]</td> |
|
21 |
<td>[% L.input_tag('filter.part.all:substr:multi::ilike', FORM.part, size = size, class="filter") %]</td> |
|
22 |
</tr> |
|
23 |
<tr> |
|
24 |
<td>[% 'Order Number' | $T8 %]</td> |
|
25 |
<td>[% L.input_tag('filter.order.ordnumber:substr::ilike', FORM.ordnumber, size = 10, class="filter") %]</td> |
|
26 |
<tr> |
|
27 |
<tr> |
|
28 |
<td>[% 'Order Date' | $T8 %]</td> |
|
29 |
<td>[% 'From' | $T8 %] [% L.date_tag("filter.order.transdate:date::ge", filter.order.transdate_date___ge, class="filter") %] [% 'Until' | $T8 %] [% L.date_tag('filter.order.transdate:date::le', filter.order.transdate_date__le, class="filter") %]</td> |
|
30 |
<tr> |
|
31 |
<tr> |
|
32 |
<td>[% 'Description' | $T8 %]</td> |
|
33 |
<td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size = size, class="filter") %]</td> |
|
34 |
</tr> |
|
35 |
<tr> |
|
36 |
<td>[% 'Long Description' | $T8 %]</td> |
|
37 |
<td>[% L.input_tag('filter.longdescription:substr::ilike', filter.longdescription_substr__ilike, size = size, class="filter") %] </tr> |
|
38 |
<tr> |
|
39 |
<td>[% 'Show images' | $T8 %]</td> |
|
40 |
<td>[% L.checkbox_tag('show_images', checked=show_images) %] </tr> |
|
41 |
</tr> |
|
42 |
</table> |
|
43 |
[% L.button_tag("this.form.reset(); refresh_plot();", LxERP.t8("Reset")) %] |
|
13 |
|
|
14 |
[% BLOCK filter_toggle_panel %] |
|
15 |
<table class="tbl-horizontal text"> |
|
16 |
<tbody> |
|
17 |
<tr> |
|
18 |
<th>[% 'Customer' | $T8 %]</th> |
|
19 |
<td class="wi-lightwide">[% P.customer_vendor.picker('filter.order.customer.id', FORM.customer_id, type='customer', class='filter wi-lightwide') %]</td> |
|
20 |
</tr> |
|
21 |
<tr> |
|
22 |
<th>[% 'Part' | $T8 %]</th> |
|
23 |
<td>[% L.input_tag('filter.part.all:substr:multi::ilike', FORM.part, class="filter wi-lightwide") %]</td> |
|
24 |
</tr> |
|
25 |
<tr> |
|
26 |
<th>[% 'Order Number' | $T8 %]</th> |
|
27 |
<td>[% L.input_tag('filter.order.ordnumber:substr::ilike', FORM.ordnumber, class="filter wi-lightwide") %]</td> |
|
28 |
</tr> |
|
29 |
<tr> |
|
30 |
<th>[% 'Order Date' | $T8 %]</th> |
|
31 |
<td> |
|
32 |
[% #'From' | $T8 %] |
|
33 |
[% L.date_tag("filter.order.transdate:date::ge", filter.order.transdate_date___ge, class="filter wi-date") %] |
|
34 |
[% 'Until' | $T8 %] [% L.date_tag('filter.order.transdate:date::le', filter.order.transdate_date__le, class="filter wi-date") %] |
|
35 |
</td> |
|
36 |
</tr> |
|
37 |
<tr> |
|
38 |
<th>[% 'Description' | $T8 %]</th> |
|
39 |
<td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, class="filter wi-lightwide") %]</td> |
|
40 |
</tr> |
|
41 |
<tr> |
|
42 |
<th>[% 'Long Description' | $T8 %]</th> |
|
43 |
<td>[% L.input_tag('filter.longdescription:substr::ilike', filter.longdescription_substr__ilike, class="filter wi-lightwide") %] </td> |
|
44 |
</tr> |
|
45 |
<tr> |
|
46 |
<th>[% 'Show images' | $T8 %]</th> |
|
47 |
<td>[% L.checkbox_tag('show_images', checked=show_images) %] </td> |
|
48 |
</tr> |
|
49 |
</tbody> |
|
50 |
</table> |
|
51 |
<div class="buttons"> |
|
52 |
[% L.button_tag("this.form.reset(); refresh_plot();", LxERP.t8("Reset")) %] |
|
53 |
</div> |
|
54 |
[% END #filter_toggle_panel %] |
|
55 |
|
|
56 |
|
|
57 |
<div class="wrapper"> |
|
58 |
[% #SET display_status = 'open' %] |
|
59 |
[% INCLUDE 'common/toggle_panel.html' %] |
|
60 |
</div><!-- /.wrapper --> |
|
61 |
|
|
44 | 62 |
</form> |
45 | 63 |
|
46 |
<div id="orderitems" style="padding-top: 20px"> |
|
47 |
[% PROCESS 'order_items_search/_order_item_list.html' %] |
|
64 |
|
|
65 |
<div id="orderitems"> |
|
66 |
[% PROCESS 'order_items_search/_order_item_list.html' %] |
|
48 | 67 |
</div> |
49 | 68 |
|
69 |
</div><!-- /.wrapper --> |
|
50 | 70 |
|
51 | 71 |
<script type="text/javascript"> |
52 | 72 |
$(function() { |
templates/webpages/parts_price_history/report_bottom.html | ||
---|---|---|
1 |
<p align=right>[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url=SELF.self_url %]</p> |
|
1 |
[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url=SELF.self_url %] |
templates/webpages/payment_term/form.html | ||
---|---|---|
1 | 1 |
[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %][%- USE P -%] |
2 | 2 |
<h1>[% FORM.title %]</h1> |
3 | 3 |
|
4 |
<form method="post" action="controller.pl" id="form"> |
|
5 |
|
|
6 |
[%- INCLUDE 'common/flash.html' %] |
|
7 |
|
|
8 |
<table> |
|
9 |
<tr class="listheading"> |
|
10 |
<th></th> |
|
11 |
<th>[% LxERP.t8("General settings") %]</th> |
|
12 |
</tr> |
|
13 |
|
|
14 |
<tr> |
|
15 |
<td>[%- 'Description' | $T8 %]</td> |
|
16 |
<td> |
|
17 |
[% P.input_tag("payment_term.description", SELF.payment_term.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] |
|
18 |
</td> |
|
19 |
</tr> |
|
20 |
|
|
21 |
<tr> |
|
22 |
<td>[% LxERP.t8("Calculate due date automatically") %]</td> |
|
23 |
<td>[% L.yes_no_tag("payment_term.auto_calculation", SELF.payment_term.auto_calculation, "data-auto-calculation-toggle"="1") %]</td> |
|
24 |
</tr> |
|
25 |
|
|
26 |
<tr> |
|
27 |
<td>[%- 'Netto Terms' | $T8 %]</td> |
|
28 |
<td> |
|
29 |
[% L.input_tag("payment_term.terms_netto_as_number", SELF.payment_term.terms_netto_as_number, size="6", disabled=(SELF.payment_term.auto_calculation ? '' : 1)) %] |
|
30 |
</td> |
|
31 |
</tr> |
|
32 |
|
|
33 |
<tr> |
|
34 |
<td>[%- 'Skonto Terms' | $T8 %]</td> |
|
35 |
<td> |
|
36 |
<input name="payment_term.terms_skonto_as_number" value="[%- HTML.escape(SELF.payment_term.terms_skonto_as_number) %]" size="6"> |
|
37 |
</td> |
|
38 |
</tr> |
|
39 |
|
|
40 |
<tr> |
|
41 |
<td>[%- 'Skonto' | $T8 %]</td> |
|
42 |
<td> |
|
43 |
<input name="payment_term.percent_skonto_as_percent" value="[%- HTML.escape(SELF.payment_term.percent_skonto_as_percent) %]" size="6">% |
|
44 |
</td> |
|
45 |
</tr> |
|
4 |
|
|
5 |
<form method="post" action="controller.pl" id="form"> |
|
6 |
[%- INCLUDE 'common/flash.html' %] |
|
7 |
<div class="wrapper"> |
|
8 |
|
|
9 |
<table class="tbl-horizontal"> |
|
10 |
<caption> [% LxERP.t8("General settings") %] </caption> |
|
11 |
<colgroup><col class="wi-mediumsmall"><col></colgroup> |
|
12 |
<tbody> |
|
13 |
<tr> |
|
14 |
<th> </th> |
|
15 |
<th> </th> |
|
16 |
</tr> |
|
17 |
<tr> |
|
18 |
<td> [%- 'Description' | $T8 %] </td> |
|
19 |
<td> [% P.input_tag("payment_term.description", SELF.payment_term.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td> |
|
20 |
</tr> |
|
21 |
<tr> |
|
22 |
<td> [% LxERP.t8("Calculate due date automatically") %] </td> |
|
23 |
<td> [% L.yes_no_tag("payment_term.auto_calculation", SELF.payment_term.auto_calculation, "data-auto-calculation-toggle"="1") %] </td> |
|
24 |
</tr> |
|
25 |
<tr> |
|
26 |
<td> [%- 'Netto Terms' | $T8 %] </td> |
|
27 |
<td> [% L.input_tag("payment_term.terms_netto_as_number", SELF.payment_term.terms_netto_as_number, size="6", disabled=(SELF.payment_term.auto_calculation ? '' : 1)) %] </td> |
|
28 |
</tr> |
|
29 |
<tr> |
|
30 |
<td> [%- 'Skonto Terms' | $T8 %] </td> |
|
31 |
<td> |
|
32 |
<input type="text" name="payment_term.terms_skonto_as_number" value="[%- HTML.escape(SELF.payment_term.terms_skonto_as_number) %]" size="6"> |
|
33 |
</td> |
|
34 |
</tr> |
|
35 |
<tr> |
|
36 |
<td> [%- 'Skonto' | $T8 %] </td> |
|
37 |
<td> |
|
38 |
<input type="text" name="payment_term.percent_skonto_as_percent" value="[%- HTML.escape(SELF.payment_term.percent_skonto_as_percent) %]" size="6"> |
|
39 |
% </td> |
|
40 |
</tr> |
|
41 |
[% IF SELF.payment_term.id %] |
|
42 |
<tr> |
|
43 |
<td> [% 'Obsolete' | $T8 %] </td> |
|
44 |
<td> [% L.checkbox_tag('payment_term.obsolete', checked = SELF.payment_term.obsolete, for_submit=1) %] </td> |
|
45 |
</tr> |
|
46 |
[% END %] |
|
47 |
</tbody> |
|
48 |
</table> |
|
49 |
|
|
50 |
|
|
51 |
<table class="tbl-horizontal"> |
|
52 |
<caption> [%- 'Long Description' | $T8 %] </caption> |
|
53 |
<tbody> |
|
54 |
<tr> |
|
55 |
<th> [% LxERP.t8("Texts for quotations & orders") %] </th> |
|
56 |
<td> [% P.input_tag("payment_term.description_long", SELF.payment_term.description_long, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description for quotations & orders")) %] </td> |
|
57 |
</tr> |
|
58 |
<tr> |
|
59 |
<th> [% LxERP.t8("Texts for invoices") %] </th> |
|
60 |
<td> [% P.input_tag("payment_term.description_long_invoice", SELF.payment_term.description_long_invoice, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description for invoices")) %] </td> |
|
61 |
</tr> |
|
62 |
[%- FOREACH language = SELF.languages %] |
|
63 |
<tr><th class="caption" colspan="2">[%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %])</th></tr> |
|
64 |
<tr> |
|
65 |
<th> [% LxERP.t8("Texts for quotations & orders") %] </th> |
|
66 |
<td> |
|
67 |
<input type="text" name="translation_[% language.id %]" value="[%- HTML.escape(SELF.payment_term.translated_attribute('description_long', language, 1)) %]" size="60"> |
|
68 |
</td> |
|
69 |
</tr> |
|
70 |
<tr> |
|
71 |
<th> [% LxERP.t8("Texts for invoices") %] </th> |
|
72 |
<td> |
|
73 |
<input type="text" name="translation_invoice_[% language.id %]" value="[%- HTML.escape(SELF.payment_term.translated_attribute('description_long_invoice', language, 1)) %]" size="60"> |
|
74 |
</td> |
|
75 |
</tr> |
|
76 |
[%- END %] |
|
77 |
</tbody> |
|
78 |
</table> |
|
79 |
[% P.hidden_tag("id", SELF.payment_term.id) %] |
|
80 |
|
|
81 |
</div> |
|
46 | 82 |
|
47 |
[% IF SELF.payment_term.id %] |
|
48 |
<tr> |
|
49 |
<td>[% 'Obsolete' | $T8 %]</td> |
|
50 |
<td>[% L.checkbox_tag('payment_term.obsolete', checked = SELF.payment_term.obsolete, for_submit=1) %]</td> |
|
51 |
</tr> |
|
52 |
</tr> |
|
53 |
[% END %] |
|
54 | 83 |
|
55 |
<tr class="listheading"> |
|
56 |
<th></th> |
|
57 |
<th>[% LxERP.t8("Texts for quotations & orders") %]</th> |
|
58 |
<th>[% LxERP.t8("Texts for invoices") %]</th> |
|
59 |
</tr> |
|
60 | 84 |
|
61 |
<tr> |
|
62 |
<td>[%- 'Long Description' | $T8 %]</td> |
|
63 |
<td> |
|
64 |
[% P.input_tag("payment_term.description_long", SELF.payment_term.description_long, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description for quotations & orders")) %] |
|
65 |
</td> |
|
66 | 85 |
|
67 |
<td> |
|
68 |
[% P.input_tag("payment_term.description_long_invoice", SELF.payment_term.description_long_invoice, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description for invoices")) %] |
|
69 |
</td> |
|
70 |
</tr> |
|
86 |
<div class="instructions"> |
|
87 |
<p>[% LxERP.t8("You can use the following strings in the long description and all translations. They will be replaced by their actual values by kivitendo before they're output.") %]</p> |
|
88 |
|
|
71 | 89 |
|
72 |
[%- FOREACH language = SELF.languages %] |
|
90 |
<table class="tbl-list-plain"> |
|
91 |
<thead> |
|
73 | 92 |
<tr> |
74 |
<td>[%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %])</td> |
|
75 |
<td> |
|
76 |
<input name="translation_[% language.id %]" value="[%- HTML.escape(SELF.payment_term.translated_attribute('description_long', language, 1)) %]" size="60"> |
|
77 |
</td> |
|
78 |
|
|
79 |
<td> |
|
80 |
<input name="translation_invoice_[% language.id %]" value="[%- HTML.escape(SELF.payment_term.translated_attribute('description_long_invoice', language, 1)) %]" size="60"> |
|
81 |
</td> |
|
93 |
<th> [%- LxERP.t8('Field') %] </th> |
|
94 |
<th> [%- LxERP.t8('Description') %] </th> |
|
82 | 95 |
</tr> |
83 |
[%- END %] |
|
84 |
</table> |
|
85 |
|
|
86 |
[% P.hidden_tag("id", SELF.payment_term.id) %] |
|
87 |
|
|
88 |
<hr size="3" noshade> |
|
96 |
</thead> |
|
97 |
<tbody> |
|
98 |
<tr> |
|
99 |
<td> <%netto_date%> </td> |
|
100 |
<td> [% LxERP.t8("Date the payment is due in full") %] </td> |
|
101 |
</tr> |
|
102 |
<tr> |
|
103 |
<td> <%skonto_date%> </td> |
|
104 |
<td> [% LxERP.t8("Date the payment is due with discount") %] </td> |
|
105 |
</tr> |
|
106 |
<tr> |
|
107 |
<td> <%skonto_amount%> </td> |
|
108 |
<td> [% LxERP.t8("The deductible amount") %] </td> |
|
109 |
</tr> |
|
110 |
<tr> |
|
111 |
<td> <%skonto_in_percent%> </td> |
|
112 |
<td> [% LxERP.t8("The discount in percent") %] </td> |
|
113 |
</tr> |
|
114 |
<tr> |
|
115 |
<td> <%total%> </td> |
|
116 |
<td> [% LxERP.t8("Amount payable") %] </td> |
|
117 |
</tr> |
|
118 |
<tr> |
|
119 |
<td> <%total_wo_skonto%> </td> |
|
120 |
<td> [% LxERP.t8("Amount payable less discount") %] </td> |
|
121 |
</tr> |
|
122 |
<tr> |
|
123 |
<td> <%invtotal%> </td> |
|
124 |
<td> [% LxERP.t8("Invoice total") %] </td> |
|
125 |
</tr> |
|
126 |
<tr> |
|
127 |
<td> <%invtotal_wo_skonto%> </td> |
|
128 |
<td> [% LxERP.t8("Invoice total less discount") %] </td> |
|
129 |
</tr> |
|
130 |
<tr> |
|
131 |
<td> <%currency%> </td> |
|
132 |
<td> [% LxERP.t8("The selected currency") %] </td> |
|
133 |
</tr> |
|
134 |
<tr> |
|
135 |
<td> <%terms_netto%> </td> |
|
136 |
<td> [% LxERP.t8("The number of days for full payment") %] </td> |
|
137 |
</tr> |
|
138 |
<tr> |
|
139 |
<td> <%bank%> </td> |
|
140 |
<td> [% LxERP.t8("Customer's/vendor's bank") %] </td> |
|
141 |
</tr> |
|
142 |
<tr> |
|
143 |
<td> <%bic%> </td> |
|
144 |
<td> [% LxERP.t8("Customer's/vendor's BIC") %] </td> |
|
145 |
</tr> |
|
146 |
<tr> |
|
147 |
<td> <%iban%> </td> |
|
148 |
<td> [% LxERP.t8("Customer's/vendor's IBAN") %] </td> |
|
149 |
</tr> |
|
150 |
<tr> |
|
151 |
<td> <%mandator_id%> </td> |
|
152 |
<td> [% LxERP.t8("Customer's SEPA mandator ID") %] </td> |
|
153 |
</tr> |
|
154 |
<tr> |
|
155 |
<td> <%mandate_date_of_signature%> </td> |
|
156 |
<td> [% LxERP.t8("Customer's Mandate Date of Signature") %] </td> |
|
157 |
</tr> |
|
158 |
<tr> |
|
159 |
<td> <%account_number%> </td> |
|
160 |
<td> [% LxERP.t8("Customer's/vendor's account number") %] </td> |
|
161 |
</tr> |
|
162 |
<tr> |
|
163 |
<td> <%bank_code%> </td> |
|
164 |
<td> [% LxERP.t8("Customer's/vendor's bank code") %] </td> |
|
165 |
</tr> |
|
166 |
</tbody> |
|
167 |
</table> |
|
89 | 168 |
|
90 |
<p>[% LxERP.t8("You can use the following strings in the long description and all translations. They will be replaced by their actual values by kivitendo before they're output.") %]</p> |
|
169 |
|
|
170 |
</div> |
|
91 | 171 |
|
92 |
<table> |
|
93 |
<tr class="listheading"><th>[%- LxERP.t8('Field') %]</th><th>[%- LxERP.t8('Description') %]</th></tr> |
|
94 |
<tr><td><%netto_date%></td><td>[% LxERP.t8("Date the payment is due in full") %]</td></tr> |
|
95 |
<tr><td><%skonto_date%></td><td>[% LxERP.t8("Date the payment is due with discount") %]</td></tr> |
|
96 |
<tr><td><%skonto_amount%></td><td>[% LxERP.t8("The deductible amount") %]</td></tr> |
|
97 |
<tr><td><%skonto_in_percent%></td><td>[% LxERP.t8("The discount in percent") %]</td></tr> |
|
98 |
<tr><td><%total%></td><td>[% LxERP.t8("Amount payable") %]</td></tr> |
|
99 |
<tr><td><%total_wo_skonto%></td><td>[% LxERP.t8("Amount payable less discount") %]</td></tr> |
|
100 |
<tr><td><%invtotal%></td><td>[% LxERP.t8("Invoice total") %]</td></tr> |
|
101 |
<tr><td><%invtotal_wo_skonto%></td><td>[% LxERP.t8("Invoice total less discount") %]</td></tr> |
|
102 |
<tr><td><%currency%></td><td>[% LxERP.t8("The selected currency") %]</td></tr> |
|
103 |
<tr><td><%terms_netto%></td><td>[% LxERP.t8("The number of days for full payment") %]</td></tr> |
|
104 |
<tr><td><%bank%></td><td>[% LxERP.t8("Customer's/vendor's bank") %]</td></tr> |
|
105 |
<tr><td><%bic%></td><td>[% LxERP.t8("Customer's/vendor's BIC") %]</td></tr> |
|
106 |
<tr><td><%iban%></td><td>[% LxERP.t8("Customer's/vendor's IBAN") %]</td></tr> |
|
107 |
<tr><td><%mandator_id%></td><td>[% LxERP.t8("Customer's SEPA mandator ID") %]</td></tr> |
|
108 |
<tr><td><%mandate_date_of_signature%></td><td>[% LxERP.t8("Customer's Mandate Date of Signature") %]</td></tr> |
|
109 |
<tr><td><%account_number%></td><td>[% LxERP.t8("Customer's/vendor's account number") %]</td></tr> |
|
110 |
<tr><td><%bank_code%></td><td>[% LxERP.t8("Customer's/vendor's bank code") %]</td></tr> |
|
111 |
</table> |
|
112 |
</form> |
|
172 |
</form> |
templates/webpages/payment_term/list.html | ||
---|---|---|
1 | 1 |
[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %] |
2 |
<h1>[% FORM.title %]</h1>
|
|
2 |
<h1>[% FORM.title %]</h1> |
|
3 | 3 |
|
4 | 4 |
[%- INCLUDE 'common/flash.html' %] |
5 | 5 |
|
6 |
<form method="post" action="controller.pl">
|
|
7 |
[% IF !PAYMENT_TERMS.size %]
|
|
8 |
<p>
|
|
6 |
<form method="post" action="controller.pl"> |
|
7 |
[% IF !PAYMENT_TERMS.size %] |
|
8 |
<p> |
|
9 | 9 |
[%- 'No payment term has been created yet.' | $T8 %] |
10 |
</p>
|
|
10 |
</p> |
|
11 | 11 |
|
12 |
[%- ELSE %] |
|
13 |
<table id="payment_term_list"> |
|
14 |
<thead> |
|
15 |
<tr class="listheading"> |
|
16 |
<th align="center"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th> |
|
17 |
<th>[%- 'Description' | $T8 %]</th> |
|
18 |
<th>[%- 'Long Description (quotations & orders)' | $T8 %]</th> |
|
19 |
<th>[%- 'Long Description (invoices)' | $T8 %]</th> |
|
20 |
<th>[% 'Automatic date calculation' | $T8 %]</th> |
|
21 |
<th align="right">[%- 'Netto Terms' | $T8 %]</th> |
|
22 |
<th align="right">[%- 'Skonto Terms' | $T8 %]</th> |
|
23 |
<th align="right">[%- 'Skonto' | $T8 %]</th> |
|
24 |
<th align="right">[%- 'Obsolete' | $T8 %]</th> |
|
12 |
[%- ELSE %] |
|
13 |
|
|
14 |
<div class="wrapper"> |
|
15 |
<table id="payment_term_list" class="tbl-list wi-moderate"> |
|
16 |
<colgroup> |
|
17 |
<col class="wi-smallest"> |
|
18 |
<col class="wi-wide"> |
|
19 |
<col class="wi-wide"> |
|
20 |
<col class="wi-wide"> |
|
21 |
<col class="wi-small"> |
|
22 |
<col class="wi-small"> |
|
23 |
<col class="wi-small"> |
|
24 |
<col class="wi-verysmall"> |
|
25 |
<col class="wi-verysmall"> |
|
26 |
</colgroup> |
|
27 |
<thead> |
|
28 |
<tr> |
|
29 |
<th> <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"> </th> |
|
30 |
<th> [%- 'Description' | $T8 %] </th> |
|
31 |
<th> [%- 'Long Description (quotations & orders)' | $T8 %] </th> |
|
32 |
<th> [%- 'Long Description (invoices)' | $T8 %] </th> |
|
33 |
<th class="center"> [% 'Automatic date calculation' | $T8 %] </th> |
|
34 |
<th class="center"> [%- 'Netto Terms' | $T8 %] </th> |
|
35 |
<th class="center"> [%- 'Skonto Terms' | $T8 %] </th> |
|
36 |
<th class="center"> [%- 'Skonto' | $T8 %] </th> |
|
37 |
<th class="center"> [%- 'Obsolete' | $T8 %] </th> |
|
25 | 38 |
</tr> |
26 |
</thead> |
|
27 |
|
|
28 |
<tbody> |
|
29 |
[%- FOREACH payment_term = PAYMENT_TERMS %] |
|
30 |
<tr class="listrow[% loop.count % 2 %]" id="payment_term_id_[% payment_term.id %]"> |
|
31 |
<td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td> |
|
32 |
<td> |
|
33 |
<a href="[% SELF.url_for(action => 'edit', id => payment_term.id) %]"> |
|
34 |
[%- HTML.escape(payment_term.description) %] |
|
35 |
</a> |
|
36 |
</td> |
|
37 |
<td>[%- HTML.escape(payment_term.description_long) %]</td> |
|
38 |
<td>[%- HTML.escape(payment_term.description_long_invoice) %]</td> |
|
39 |
<td>[% IF payment_term.auto_calculation %][% LxERP.t8("yes") %][% ELSE %][% LxERP.t8("no") %][% END %]</td> |
|
40 |
<td align="right">[%- HTML.escape(payment_term.terms_netto_as_number) %]</td> |
|
41 |
<td align="right">[%- HTML.escape(payment_term.terms_skonto_as_number) %]</td> |
|
42 |
<td align="right">[%- HTML.escape(payment_term.percent_skonto_as_percent) %] %</td> |
|
43 |
<td align="right">[%- HTML.escape(payment_term.obsolete) %]</td> |
|
39 |
</thead> |
|
40 |
<tbody> |
|
41 |
[%- FOREACH payment_term = PAYMENT_TERMS %] |
|
42 |
<tr id="payment_term_id_[% payment_term.id %]"> |
|
43 |
<td class="dragdrop"> <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"> </td> |
|
44 |
<td> <a href="[% SELF.url_for(action => 'edit', id => payment_term.id) %]"> [%- HTML.escape(payment_term.description) %] </a> </td> |
|
45 |
<td> [%- HTML.escape(payment_term.description_long) %] </td> |
|
46 |
<td> [%- HTML.escape(payment_term.description_long_invoice) %] </td> |
|
47 |
<td class="center"> [% IF payment_term.auto_calculation %][% LxERP.t8("yes") %][% ELSE %][% LxERP.t8("no") %][% END %] </td> |
|
48 |
<td class="center"> [%- HTML.escape(payment_term.terms_netto_as_number) %] </td> |
|
49 |
<td class="center"> [%- HTML.escape(payment_term.terms_skonto_as_number) %] </td> |
|
50 |
<td class="center"> [%- HTML.escape(payment_term.percent_skonto_as_percent) %] % </td> |
|
51 |
<td class="center"> [%- HTML.escape(payment_term.obsolete) %] </td> |
|
44 | 52 |
</tr> |
45 |
[%- END %] |
|
46 |
</tbody> |
|
47 |
</table> |
|
48 |
[%- END %] |
|
49 |
</form> |
|
53 |
[%- END %] |
|
54 |
</tbody> |
|
55 |
</table> |
|
56 |
</div> |
|
57 |
[%- END %] |
|
58 |
</form> |
|
50 | 59 |
|
51 | 60 |
[% L.sortable_element('#payment_term_list tbody', url => 'controller.pl?action=PaymentTerm/reorder', with => 'payment_term_id') %] |
templates/webpages/presenter/record/grouped_record_list.html | ||
---|---|---|
1 |
[%- USE LxERP -%][%- USE L -%][%- USE HTML -%][%- USE JavaScript -%] |
|
2 |
|
|
3 |
<div id="record_links_list"> |
|
4 |
[%- IF output %] |
|
5 |
[% output %] |
|
6 |
[%- ELSE %] |
|
7 |
<p class="message_hint">[% LxERP.t8('No data was found.') %]</p> |
|
8 |
[%- END %] |
|
9 |
|
|
10 |
[%- IF edit_record_links %] |
|
11 |
<div> |
|
12 |
[% L.button_tag('record_links_add()', LxERP.t8('Add links')) %] |
|
13 |
[% IF output %] |
|
14 |
[% L.button_tag('record_links_delete()', LxERP.t8('Delete links')) %] |
|
15 |
[%- END %] |
|
16 |
</div> |
|
17 |
|
|
18 |
<script type="text/javascript"> |
|
19 |
<!-- |
|
20 |
function record_links_add() { |
|
21 |
kivi.popup_dialog({ url: 'controller.pl', |
|
22 |
data: { action: 'RecordLinks/ajax_add_filter', |
|
23 |
object_model: '[% JavaScript.escape(object_model) %]', |
|
24 |
object_id: '[% JavaScript.escape(object_id) %]' |
|
25 |
}, |
|
26 |
id: 'record_links_add', |
|
27 |
dialog: { title: kivi.t8("Add linked record") } }); |
|
28 |
return true; |
|
29 |
} |
|
30 |
|
|
31 |
function record_links_delete() { |
|
32 |
var checkboxes = $('.record_links_delete').filter(function () { return $(this).prop('checked'); }); |
|
33 |
|
|
34 |
if ((checkboxes.size() == 0) || !confirm('[% LxERP.t8('Do you really want to delete the selected links?') %]')) |
|
1 |
[% USE LxERP %] |
|
2 |
[% USE L %] |
|
3 |
[% USE HTML %] |
|
4 |
[% USE JavaScript %] |
|
5 |
|
|
6 |
<div id="record_links_list" class="wrapper"> |
|
7 |
[% IF output %] |
|
8 |
[% output %] |
|
9 |
[% ELSE %] |
|
10 |
<p class="message message_hint">[% LxERP.t8('No data was found.') %]</p> |
|
11 |
[% END %] |
|
12 |
|
|
13 |
[% IF edit_record_links %] |
|
14 |
<div class="buttons"> |
|
15 |
[% L.button_tag('record_links_add()', LxERP.t8('Add links')) %] |
|
16 |
[% IF output %] |
|
17 |
[% L.button_tag('record_links_delete()', LxERP.t8('Delete links')) %] |
|
18 |
[% END %] |
|
19 |
</div> |
|
20 |
|
|
21 |
<script type="text/javascript"><!-- |
|
22 |
function record_links_add() { |
|
23 |
kivi.popup_dialog({ url: 'controller.pl', |
|
24 |
data: { action: 'RecordLinks/ajax_add_filter', |
|
25 |
object_model: '[% JavaScript.escape(object_model) %]', |
|
26 |
object_id: '[% JavaScript.escape(object_id) %]' |
|
27 |
}, |
|
28 |
id: 'record_links_add', |
|
29 |
dialog: { title: kivi.t8("Add linked record") } }); |
|
30 |
return true; |
|
31 |
} |
|
32 |
|
|
33 |
function record_links_delete() { |
|
34 |
var checkboxes = $('.record_links_delete').filter(function () { return $(this).prop('checked'); }); |
|
35 |
|
|
36 |
if ((checkboxes.size() == 0) || !confirm('[% LxERP.t8('Do you really want to delete the selected links?') %]')) |
|
37 |
return false; |
|
38 |
|
|
39 |
var data = { |
|
40 |
action: 'RecordLinks/ajax_delete', |
|
41 |
object_model: '[% JavaScript.escape(object_model) %]', |
|
42 |
object_id: '[% JavaScript.escape(object_id) %]' |
|
43 |
}; |
|
44 |
|
|
45 |
$.ajax({ |
|
46 |
url: "controller.pl?" + checkboxes.serialize(), |
|
47 |
data: data, |
|
48 |
success: function(new_data) { $('#record_links_list').replaceWith(new_data); } |
|
49 |
}); |
|
50 |
|
|
35 | 51 |
return false; |
52 |
} |
|
36 | 53 |
|
37 |
var data = { |
|
38 |
action: 'RecordLinks/ajax_delete', |
|
39 |
object_model: '[% JavaScript.escape(object_model) %]', |
|
40 |
object_id: '[% JavaScript.escape(object_id) %]' |
|
41 |
}; |
|
42 |
|
|
43 |
$.ajax({ |
|
44 |
url: "controller.pl?" + checkboxes.serialize(), |
|
45 |
data: data, |
|
46 |
success: function(new_data) { $('#record_links_list').replaceWith(new_data); } |
|
47 |
}); |
|
48 |
|
|
49 |
return false; |
|
50 |
} |
|
51 |
|
|
52 |
--> |
|
53 |
</script> |
|
54 |
[%- END %] |
|
55 |
</div> |
|
54 |
--></script> |
|
55 |
[% END %] |
|
56 |
</div><!-- /#record_links_list /.wrapper --> |
templates/webpages/presenter/record/record_list.html | ||
---|---|---|
1 |
[% USE L %][% USE LxERP %][%- USE P -%] |
|
2 |
<h1>[%- P.escape(title) %]</h1> |
|
1 |
[% USE L %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE P %] |
|
3 | 4 |
|
4 |
<div style="padding-bottom: 15px"> |
|
5 |
<table style="width: 100%" id="record_list_[% type %]"> |
|
6 |
<thead> |
|
7 |
<tr> |
|
8 |
[%- IF edit_record_links %] |
|
9 |
<th class="listheading">[% L.checkbox_tag('record_links_delete_checkall_' _ type) %]</th> |
|
10 |
[%- END %] |
|
11 |
[%- FOREACH column = TABLE_HEADER %] |
|
12 |
<th class="listheading"[% IF column.alignment %] align="[% column.alignment %]"[% END %]>[%- P.escape(column.value) %]</th> |
|
13 |
[%- END %] |
|
14 |
</tr> |
|
15 |
</thead> |
|
16 | 5 |
|
17 |
<tbody> |
|
18 |
[%- FOREACH row = TABLE_ROWS %] |
|
19 |
<tr class="listrow[% loop.count % 2 %]"> |
|
20 |
[%- IF edit_record_links %] |
|
21 |
<td>[%- L.checkbox_tag('record_links_delete[]', 'value'=row.record_link.from_table _ '__' _ row.record_link.from_id _ '__' _ row.record_link.to_table _ '__' _ row.record_link.to_id, 'class'='record_links_delete') %]</td> |
|
22 |
[%- END %] |
|
23 |
[%- FOREACH column = row.columns %] |
|
24 |
<td[% IF column.alignment %] align="[% column.alignment %]"[% END %]> |
|
25 |
[%- IF column.link %]<a href="[% column.link %]">[%- END %] |
|
26 |
[%- P.escape(column.value) %] |
|
27 |
[%- IF column.link %]</a>[%- END %] |
|
28 |
</td> |
|
29 |
[%- END %] |
|
30 |
</tr> |
|
31 |
[%- END %] |
|
32 |
</tbody> |
|
33 |
</table> |
|
6 |
<div class="wrapper"> |
|
7 |
<table class="tbl-list wi-moderate" id="record_list_[% type %]"> |
|
8 |
<caption>[% P.escape(title) %]</caption> |
|
9 |
<thead> |
|
10 |
<tr> |
|
11 |
[% IF edit_record_links %] |
|
12 |
<th>[% L.checkbox_tag('record_links_delete_checkall_' _ type) %]</th> |
|
13 |
[% END %] |
|
14 |
[% FOREACH column = TABLE_HEADER %] |
|
15 |
<th[% IF column.alignment %] class="[% column.alignment %]"[% END %]>[% P.escape(column.value) %]</th> |
|
16 |
[% END %] |
|
17 |
</tr> |
|
18 |
</thead> |
|
19 |
<tbody> |
|
20 |
[% FOREACH row = TABLE_ROWS %] |
|
21 |
<tr class="listrow[% loop.count % 2 %]"> |
|
22 |
[% IF edit_record_links %] |
|
23 |
<td>[% L.checkbox_tag('record_links_delete[]', 'value'=row.record_link.from_table _ '__' _ row.record_link.from_id _ '__' _ row.record_link.to_table _ '__' _ row.record_link.to_id, 'class'='record_links_delete') %]</td> |
|
24 |
[% END %] |
|
25 |
[% FOREACH column = row.columns %] |
|
26 |
<td[% IF column.alignment %] class="[% column.alignment %]"[% END %]> |
|
27 |
[% IF column.link %]<a href="[% column.link %]">[% END %] |
|
28 |
[% P.escape(column.value) %] |
|
29 |
[% IF column.link %]</a>[% END %] |
|
30 |
</td> |
|
31 |
[% END %] |
|
32 |
</tr> |
|
33 |
[% END %] |
|
34 |
</tbody> |
|
35 |
</table> |
|
34 | 36 |
</div> |
35 | 37 |
|
36 | 38 |
[% IF edit_record_links %] |
37 |
<script type="text/javascript"> |
|
38 |
$('#record_links_delete_checkall_[% type %]').checkall("#record_list_[% type %] tbody :checkbox"); |
|
39 |
</script> |
|
40 |
[%- END %] |
|
39 |
<script type="text/javascript"> |
|
40 |
$('#record_links_delete_checkall_[% type %]').checkall("#record_list_[% type %] tbody :checkbox"); |
|
41 |
</script> |
|
42 |
[% END %] |
templates/webpages/price_information/report_bottom.html | ||
---|---|---|
1 |
<p align=right>[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url=SELF.self_url %]</p> |
|
1 |
[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url=SELF.self_url %] |
templates/webpages/taxzones/form.html | ||
---|---|---|
1 |
[%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%][%- USE T8 -%]<h1>[% HTML.escape(title) %]</h1> |
|
2 |
[% SET style="width: 400px" %] |
|
1 |
[% USE HTML %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE L %] |
|
4 |
[% USE P %] |
|
5 |
[% USE T8 %] |
|
6 |
|
|
7 |
<h1>[% HTML.escape(title) %]</h1> |
|
3 | 8 |
|
4 | 9 |
<form action="controller.pl" method="post" id="form"> |
5 |
[%- L.hidden_tag("id", SELF.config.id) %] |
|
10 |
[% L.hidden_tag("id", SELF.config.id) %] |
|
11 |
|
|
12 |
<div class="wrapper"> |
|
6 | 13 |
|
7 |
<table> |
|
8 |
<tr> |
|
9 |
<th align="right">[% 'Description' | $T8 %]</th> |
|
10 |
<td>[%- L.input_tag("config.description", SELF.config.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td> |
|
11 |
</tr> |
|
12 |
[%- FOREACH bg = BUCHUNGSGRUPPEN %] |
|
13 |
<tr> |
|
14 |
<th align="right">[% 'Revenue' | $T8 %] [% HTML.escape(bg.description) %]</th> |
|
15 |
[%- IF NOT SELF.config.id %] |
|
16 |
<td>[% P.chart.picker('income_accno_id_' _ bg.id, SELF.defaults.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %]</td> |
|
17 |
[%- ELSIF SELF.config.id AND SELF.config.orphaned %] |
|
18 |
<td>[% P.chart.picker('income_accno_id_' _ bg.id, CHARTLIST.${bg.id}.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %]</td> |
|
19 |
[%- ELSE %] |
|
20 |
<td>[% CHARTLIST.${bg.id}.income_accno_description %]</td> |
|
21 |
[%- END %] |
|
22 |
</tr> |
|
23 |
<tr> |
|
24 |
<th align="right">[% 'Expense' | $T8 %] [% HTML.escape(bg.description) %]</th> |
|
25 |
[%- IF NOT SELF.config.id %] |
|
26 |
<td>[% P.chart.picker('expense_accno_id_' _ bg.id, SELF.defaults.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %]</td> |
|
27 |
[%- ELSIF SELF.config.id AND SELF.config.orphaned %] |
|
28 |
<td>[% P.chart.picker('expense_accno_id_' _ bg.id, CHARTLIST.${bg.id}.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %]</td> |
|
29 |
[%- ELSE %] |
|
30 |
<td>[% CHARTLIST.${bg.id}.expense_accno_description %]</td> |
|
31 |
[%- END %] |
|
32 |
</tr> |
|
33 |
[%- END %] |
|
14 |
<table class="tbl-horizontal"> |
|
15 |
<tbody> |
|
16 |
<tr> |
|
17 |
<th>[% 'Description' | $T8 %]</th> |
|
18 |
<td>[% L.input_tag("config.description", SELF.config.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td> |
|
19 |
</tr> |
|
20 |
[% FOREACH bg = BUCHUNGSGRUPPEN %] |
|
21 |
<tr> |
|
22 |
<th>[% 'Revenue' | $T8 %] [% HTML.escape(bg.description) %]</th> |
|
23 |
[% IF NOT SELF.config.id %] |
|
24 |
<td>[% P.chart.picker('income_accno_id_' _ bg.id, SELF.defaults.income_accno_id, choose=1, type='IC_income,IC_sale', class='wi-wide') %]</td> |
|
25 |
[% ELSIF SELF.config.id AND SELF.config.orphaned %] |
|
26 |
<td>[% P.chart.picker('income_accno_id_' _ bg.id, CHARTLIST.${bg.id}.income_accno_id, choose=1, type='IC_income,IC_sale', class='wi-wide') %]</td> |
|
27 |
[% ELSE %] |
|
28 |
<td>[% CHARTLIST.${bg.id}.income_accno_description %]</td> |
|
29 |
[% END %] |
|
30 |
</tr> |
|
31 |
<tr> |
|
32 |
<th>[% 'Expense' | $T8 %] [% HTML.escape(bg.description) %]</th> |
|
33 |
[% IF NOT SELF.config.id %] |
|
34 |
<td>[% P.chart.picker('expense_accno_id_' _ bg.id, SELF.defaults.expense_accno_id, choose=1, type='IC_expense,IC_cogs', class='wi-wide') %]</td> |
|
35 |
[% ELSIF SELF.config.id AND SELF.config.orphaned %] |
|
36 |
<td>[% P.chart.picker('expense_accno_id_' _ bg.id, CHARTLIST.${bg.id}.expense_accno_id, choose=1, type='IC_expense,IC_cogs', class='wi-wide') %]</td> |
|
37 |
[% ELSE %] |
|
38 |
<td>[% CHARTLIST.${bg.id}.expense_accno_description %]</td> |
|
39 |
[% END %] |
|
40 |
</tr> |
|
41 |
[% END %] |
|
42 |
<tr> |
|
43 |
<th><i>[% LxERP.t8('Obsolete') %]</i></th> |
|
44 |
<td>[% L.checkbox_tag('config.obsolete', checked = SELF.config.obsolete, for_submit=1) %]</td> |
|
45 |
</tr> |
|
46 |
</tbody> |
|
34 | 47 |
</table> |
35 | 48 |
|
36 |
[% LxERP.t8('Obsolete') %]: [% L.checkbox_tag('config.obsolete', checked = SELF.config.obsolete, for_submit=1) %]
|
|
49 |
</div><!-- /.wrapper -->
|
|
37 | 50 |
</form> |
templates/webpages/taxzones/list.html | ||
---|---|---|
2 | 2 |
|
3 | 3 |
<h1>[% title %]</h1> |
4 | 4 |
|
5 |
<p>
|
|
6 |
<table width="100%" id="taxzone_list">
|
|
5 |
<div class="wrapper">
|
|
6 |
<table class="tbl-list" id="taxzone_list">
|
|
7 | 7 |
<thead> |
8 |
<tr class="listheading">
|
|
9 |
<th align="center" width="1%"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
|
|
10 |
<th>[% 'Description' | $T8 %]</th> |
|
11 |
</tr> |
|
8 |
<tr>
|
|
9 |
<th class="center"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
|
|
10 |
<th>[% 'Description' | $T8 %]</th>
|
|
11 |
</tr>
|
|
12 | 12 |
</thead> |
13 |
|
|
14 | 13 |
<tbody> |
15 |
[%- FOREACH tz = TAXZONES %] |
|
16 |
<tr class="listrow" id="tzone_id_[% tz.id %]">
|
|
17 |
<td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
|
|
18 |
<td><a href="[% SELF.url_for(action='edit', id=tz.id) %]">[% HTML.escape(tz.description) %]</a></td> |
|
14 |
[%- FOREACH tz = TAXZONES %]
|
|
15 |
<tr id="tzone_id_[% tz.id %]"> |
|
16 |
<td class="center dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
|
|
17 |
<td><a href="[% SELF.url_for(action='edit', id=tz.id) %]">[% HTML.escape(tz.description) %]</a></td>
|
|
19 | 18 |
</tr> |
20 |
[%- END %] |
|
19 |
[%- END %]
|
|
21 | 20 |
</tbody> |
22 |
</table>
|
|
23 |
</p> |
|
21 |
</table> |
|
22 |
|
|
24 | 23 |
|
25 | 24 |
[% L.sortable_element('#taxzone_list tbody', url=SELF.url_for(action='reorder'), with='tzone_id') %] |
25 |
|
|
26 |
</div> |
templates/webpages/todo/show_todo_list.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE HTML %] |
|
3 |
<h1>[% 'Your TODO list' | $T8 %]</h1> |
|
4 |
|
|
5 |
[%- IF !todo_list %] |
|
6 |
<p> |
|
7 |
[% 'There are no items on your TODO list at the moment.' | $T8 %] |
|
8 |
</p> |
|
9 |
|
|
10 |
[%- ELSE %] |
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
11 | 3 |
|
12 |
[%- todo_list %] |
|
13 |
|
|
14 |
[%- END %] |
|
4 |
<h1>[% 'Your TODO list' | $T8 %]</h1> |
|
15 | 5 |
|
6 |
[% IF !todo_list %] |
|
7 |
<p>[% 'There are no items on your TODO list at the moment.' | $T8 %]</p> |
|
8 |
[% ELSE %] |
|
9 |
[% todo_list %] |
|
10 |
[% END %] |
templates/webpages/vk/search_invoice.html | ||
---|---|---|
1 |
[%- USE T8 %][%- USE L %][%- USE P -%] |
|
2 |
[%- SET style="width: 250px" %] |
|
1 |
[% USE T8 %] |
|
2 |
[% USE L %] |
|
3 |
[% USE P %] |
|
4 |
[% SET style="width: 250px" %] |
|
5 |
|
|
3 | 6 |
<h1>[% title %]</h1> |
4 | 7 |
|
5 | 8 |
<form method=post name="search_invoice" action=[% script %]> |
6 |
<input type="hidden" name="sort" value="transdate"> |
|
7 |
<input type=hidden name=nextsub value=[% nextsub %]> |
|
9 |
<div class="wrapper"> |
|
10 |
|
|
11 |
<input type="hidden" name="sort" value="transdate"> |
|
12 |
<input type=hidden name=nextsub value=[% nextsub %]> |
|
8 | 13 |
|
9 |
<table>
|
|
14 |
<div class="col">
|
|
10 | 15 |
|
16 |
<table class="tbl-horizontal"> |
|
17 |
<caption>[% 'Sorting' | $T8 %]</caption> |
|
18 |
<colgroup> <col class="wi-small"><col class="wi-small"><col class="wi-mediumsmall"> </colgroup> |
|
19 |
<tbody> |
|
11 | 20 |
<tr> |
12 |
<td align="right">[% 'Main sorting' | $T8 %]</td>
|
|
21 |
<th>[% 'Main sorting' | $T8 %]</th>
|
|
13 | 22 |
<td> |
14 | 23 |
<select name="mainsort" id="mainsort"> |
15 | 24 |
<option value="description">[% 'Part' | $T8 %]</option> |
... | ... | |
21 | 30 |
<option value="month">[% 'Month' | $T8 %]</option> |
22 | 31 |
</select> |
23 | 32 |
</td> |
24 |
<td align=left><input name="l_headers_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td> |
|
25 |
<td align=left><input name="l_subtotal_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td> |
|
33 |
<td> |
|
34 |
<input name="l_headers_mainsort" id="l_headers_mainsort" type=checkbox value=Y checked><label for="l_headers_mainsort">[% 'Heading' | $T8 %]</label><br> |
|
35 |
<input name="l_subtotal_mainsort" id="l_subtotal_mainsort" type=checkbox value=Y checked><label for="l_subtotal_mainsort">[% 'Subtotal' | $T8 %]</label> |
|
36 |
</td> |
|
26 | 37 |
</tr> |
27 |
|
|
28 | 38 |
<tr> |
29 |
<td align="right">[% 'Secondary sorting' | $T8 %]</td>
|
|
39 |
<th>[% 'Secondary sorting' | $T8 %]</th>
|
|
30 | 40 |
<td> |
31 | 41 |
<select name="subsort" id="subsort"> |
32 | 42 |
<option value="description">[% 'Part' | $T8 %]</option> |
... | ... | |
38 | 48 |
<option value="month" selected="selected">[% 'Month' | $T8 %]</option> |
39 | 49 |
</select> |
40 | 50 |
</td> |
41 |
<td align=left><input name="l_headers_subsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td> |
|
42 |
<td align=left><input name="l_subtotal_subsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td> |
|
51 |
<td> |
|
52 |
<input name="l_headers_subsort" id="l_headers_subsort" type=checkbox value=Y checked><label for="l_headers_subsort">[% 'Heading' | $T8 %]</label><br> |
|
53 |
<input name="l_subtotal_subsort" id="l_subtotal_subsort" type=checkbox value=Y checked><label for="l_subtotal_subsort">[% 'Subtotal' | $T8 %]</label> |
|
54 |
</td> |
|
43 | 55 |
</tr> |
56 |
</tbody> |
|
57 |
</table> |
|
44 | 58 |
|
59 |
<table class="tbl-horizontal"> |
|
60 |
<caption>[% 'Item & Sums' | $T8 %]</caption> |
|
61 |
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup> |
|
62 |
<tbody> |
|
45 | 63 |
<tr> |
46 |
<th align="right">[% 'Item mode' | $T8 %]</th>
|
|
47 |
<td colspan="3" align=left><input name="l_parts" class=checkbox type=checkbox value=Y> ([%'Show items from invoices individually' | $T8 %]) </td>
|
|
64 |
<th>[% 'Item mode' | $T8 %]</th> |
|
65 |
<td><input name="l_parts" type=checkbox value=Y> ([%'Show items from invoices individually' | $T8 %])</td>
|
|
48 | 66 |
</tr> |
49 |
|
|
50 | 67 |
<tr> |
51 |
<th align="right">[% 'Total sum' | $T8 %]</th> |
|
52 |
<td colspan="1" align=left><input name="l_total" class=checkbox type=checkbox value=Y checked></td> |
|
53 |
<td align="right" nowrap>[% 'Decimalplaces' | $T8 %]: </td> |
|
54 |
<td colspan="2"><input name="decimalplaces" size="2" value="2"></td> |
|
68 |
<th>[% 'Total sum' | $T8 %]</th> |
|
69 |
<td><input name="l_total" type=checkbox value=Y checked> [% 'Decimalplaces' | $T8 %]: <input type="text" name="decimalplaces" size="2" value="2"></td> |
|
55 | 70 |
</tr> |
71 |
</tbody> |
|
72 |
</table> |
|
56 | 73 |
|
74 |
<table class="tbl-horizontal"> |
|
75 |
<caption>[% 'Parts' | $T8 %]</caption> |
|
76 |
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup> |
|
77 |
<tbody> |
|
57 | 78 |
<tr> |
58 |
<td></td> |
|
59 |
<td colspan="7"> |
|
60 |
<hr size="1" noshade=""> |
|
61 |
</td> |
|
79 |
<th>[% 'Part Number' | $T8 %]</th> |
|
80 |
<td>[% P.input_tag("partnumber", "", class='wi-small') %]</td> |
|
81 |
</tr> |
|
62 | 82 |
<tr> |
63 |
|
|
83 |
<th>[% 'Part Description' | $T8 %]</th> |
|
84 |
<td>[% P.input_tag("description", "", class='wi-wide') %]</td> |
|
85 |
</tr> |
|
64 | 86 |
<tr> |
65 |
<th align=right>[% 'Customer' | $T8 %]</th> |
|
66 |
<td>[% P.input_tag("customer", "", class="initial_focus", style=style) %]</td> |
|
67 |
|
|
68 |
<th align="right" nowrap>[% 'Customer Number' | $T8 %]</th> |
|
69 |
<td>[% P.input_tag("customernumber", "", style=style) %]</td> |
|
87 |
<th>[% 'Partsgroup' | $T8 %]</th> |
|
88 |
<td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, title_key="partsgroup", with_empty=1, class='wi-wide') %]</td> |
|
70 | 89 |
</tr> |
90 |
</tbody> |
|
91 |
</table> |
|
71 | 92 |
|
93 |
<table class="tbl-horizontal"> |
|
94 |
<caption>[% 'Invoices' | $T8 %]</caption> |
|
95 |
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup> |
|
96 |
<tbody> |
|
72 | 97 |
<tr> |
73 |
<th align=right nowrap>[% 'Department' | $T8 %]</th> |
|
74 |
<td> |
|
75 |
[%- L.select_tag('department_id', |
|
76 |
ALL_DEPARTMENTS, |
|
77 |
title_key = 'description', |
|
78 |
with_empty = 1, |
|
79 |
style = style) |
|
80 |
-%] |
|
81 |
</td> |
|
82 |
|
|
83 |
<th align="right">[% 'Project Number' | $T8 %]</th> |
|
84 |
<td>[% P.project.picker("project_id", "", style=style) %]</td> |
|
98 |
<th>[% 'Invoice Date' | $T8 %]</th> |
|
99 |
<td><span class="wi-date"> |
|
100 |
[% #'From' | $T8 %] |
|
101 |
[% L.date_tag('transdatefrom') %] |
|
102 |
[% 'Bis' | $T8 %] |
|
103 |
[% L.date_tag('transdateto') %] |
|
104 |
</span></td> |
|
85 | 105 |
</tr> |
106 |
</tbody> |
|
107 |
</table> |
|
108 |
|
|
109 |
</div><!-- /.col --> |
|
110 |
|
|
111 |
<div class="col"> |
|
86 | 112 |
|
113 |
<table class="tbl-horizontal"> |
|
114 |
<caption>[% 'Customers' | $T8 %]</caption> |
|
115 |
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup> |
|
116 |
<tbody> |
|
87 | 117 |
<tr> |
88 |
<th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
|
|
89 |
<td>[% P.input_tag("partnumber", "", style=style) %]</td>
|
|
118 |
<th>[% 'Customer' | $T8 %]</th>
|
|
119 |
<td>[% P.input_tag( "customer", "", class="initial_focus", class='wi-wide' ) %]</td>
|
|
90 | 120 |
</tr> |
91 |
|
|
92 | 121 |
<tr> |
93 |
<th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
|
|
94 |
<td>[% P.input_tag("description", "", style=style) %]</td>
|
|
122 |
<th>[% 'Customer Number' | $T8 %]</th>
|
|
123 |
<td>[% P.input_tag( "customernumber", "", class='wi-small' ) %]</td>
|
|
95 | 124 |
</tr> |
96 |
|
|
97 | 125 |
<tr> |
98 |
<th align="right">[% 'Partsgroup' | $T8 %]</th> |
|
99 |
<td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, title_key="partsgroup", with_empty=1, style=style) %]</td> |
|
100 |
<td align="right" nowrap>[% 'Country' | $T8 %]</td> |
|
101 |
<td>[% P.input_tag("country", "", style=style) %]</td> |
|
126 |
<th>[% 'Customer type' | $T8 %]</th> |
|
127 |
<td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, title_key="description", with_empty=1, class='wi-wide') %]</td> |
|
102 | 128 |
</tr> |
129 |
</tbody> |
|
130 |
</table> |
|
103 | 131 |
|
132 |
<table class="tbl-horizontal"> |
|
133 |
<caption>[% 'Handling' | $T8 %]</caption> |
|
134 |
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup> |
|
135 |
<tbody> |
|
104 | 136 |
<tr> |
105 |
<th align="right">[% 'Employee' | $T8 %]</th> |
|
106 |
<td>[% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]</td> |
|
107 |
|
|
108 |
<th align="right">[% 'Salesman' | $T8 %]</th> |
|
109 |
<td>[% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]</td> |
|
137 |
<th>[% 'Employee' | $T8 %]</th> |
|
138 |
<td>[% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, class='wi-wide') %]</td> |
|
110 | 139 |
</tr> |
111 |
|
|
112 | 140 |
<tr> |
113 |
<th align="right">[% 'Customer type' | $T8 %]</th>
|
|
114 |
<td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, title_key="description", with_empty=1, style=style) %]</td>
|
|
141 |
<th>[% 'Salesman' | $T8 %]</th>
|
|
142 |
<td>[% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, class='wi-wide') %]</td>
|
|
115 | 143 |
</tr> |
116 |
|
|
117 | 144 |
<tr> |
118 |
<th align=right nowrap>[% 'Invoice Date' | $T8 %] [% 'From' | $T8 %]</th> |
|
119 |
<td> |
|
120 |
[% L.date_tag('transdatefrom') %] |
|
121 |
[% 'Bis' | $T8 %] |
|
122 |
[% L.date_tag('transdateto') %] |
|
123 |
</td> |
|
145 |
<th>[% 'Department' | $T8 %]</th> |
|
146 |
<td>[% L.select_tag( 'department_id', ALL_DEPARTMENTS, title_key='description', with_empty = 1, class='wi-wide' ) %]</td> |
|
124 | 147 |
</tr> |
125 |
|
|
126 |
|
|
127 | 148 |
<tr> |
128 |
<td></td> |
|
129 |
<th colspan="4" align="left"> |
|
130 |
[% 'Filter for customer variables' | $T8 %] |
|
131 |
</th> |
|
149 |
<th>[% 'Project Number' | $T8 %]</th> |
|
150 |
<td>[% P.project.picker("project_id", "", class='wi-small') %]</td> |
|
132 | 151 |
</tr> |
133 |
[% CUSTOM_VARIABLES_FILTER_CODE_CT %] |
|
152 |
<tr> |
|
153 |
<th>[% 'Country' | $T8 %]</th> |
|
154 |
<td>[% P.input_tag("country", "", class='wi-wide') %]</td> |
|
155 |
</tr> |
|
156 |
</tbody> |
|
157 |
</table> |
|
134 | 158 |
|
159 |
</div><!-- /.col --> |
|
135 | 160 |
|
161 |
<div class="col"> |
|
162 |
|
|
163 |
<table class="tbl-horizontal"> |
|
164 |
<caption>[% 'Filter for customer variables' | $T8 %]</caption> |
|
165 |
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup> |
|
166 |
<tbody> |
|
167 |
[% CUSTOM_VARIABLES_FILTER_CODE_CT %] |
|
136 | 168 |
<tr> |
137 |
<td></td> |
|
138 |
<th colspan="4" align="left"> |
|
139 |
[% 'Filter for item variables' | $T8 %] |
|
140 |
</th> |
|
169 |
<th class="caption" colspan="2">[% 'Filter for item variables' | $T8 %]</th> |
|
141 | 170 |
</tr> |
142 | 171 |
[% CUSTOM_VARIABLES_FILTER_CODE_IC %] |
172 |
</tbody> |
|
173 |
</table> |
|
174 |
|
|
175 |
</div> |
|
176 |
|
|
177 |
</div><!-- /.wrapper --> |
|
143 | 178 |
|
179 |
<div class="buttons"> |
|
180 |
<input type=submit name=action value="[% 'Continue' | $T8 %]"> |
|
181 |
</div> |
|
144 | 182 |
|
183 |
<div class="wrapper form-addition control-panel"> |
|
184 |
<h3>[% 'Include in Report' | $T8 %]</h3> |
|
145 | 185 |
|
186 |
<table class="tbl-plain clear"> |
|
187 |
<colgroup><col class="wi-mediumsmall"><col class="wi-mediumsmall"><col class="wi-mediumsmall"><col class="wi-verywide"></colgroup> |
|
188 |
<tbody> |
|
146 | 189 |
<tr> |
190 |
<th colspan="4"><h4>[% 'Cumulated or averaged values' | $T8 %] ([% 'invoice mode or item mode' | $T8 %]):</h4></th> |
|
191 |
</tr> |
|
192 |
<tr> |
|
193 |
<td><input name="l_sellprice_total" id="l_sellprice_total" type=checkbox value=Y checked><label for="l_sellprice_total">[% 'Sales price total' | $T8 %]</label></td> |
|
194 |
<td><input name="l_lastcost_total" id="l_lastcost_total" type=checkbox value=Y checked><label for="l_lastcost_total">[% 'Purchase price total' | $T8 %]</label></td> |
|
195 |
<td><input name="l_marge_total" id="l_marge_total" type=checkbox value=Y checked><label for="l_marge_total">[% 'Margetotal' | $T8 %]</label></td> |
|
196 |
<td class="long-desc">([% 'Single values in item mode, cumulated values in invoice mode' | $T8 %])</td> |
|
197 |
</tr> |
|
198 |
<tr> |
|
199 |
<td><input name="l_sellprice" id="l_sellprice" type=checkbox value=Y checked><label for="l_sellprice">[% 'Sales price' | $T8 %]</label></td> |
|
200 |
<td><input name="l_lastcost" id="l_lastcost" type=checkbox value=Y checked><label for="l_lastcost">[% 'Purchase price' | $T8 %]</label></td> |
|
201 |
<td><input name="l_marge_percent" id="l_marge_percent" type=checkbox value=Y checked><label for="l_marge_percent">[% 'Margepercent' | $T8 %]</label></td> |
|
202 |
<td class="long-desc">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td> |
|
203 |
</tr> |
|
204 |
<tr> |
|
205 |
<td><input name="l_qty" id="l_qty" type=checkbox value=Y checked><label for="l_qty">[% 'Quantity' | $T8 %]</label></td> |
|
206 |
<td><input name="l_discount" id="l_discount" type=checkbox value=Y><label for="l_discount">[% 'Discount' | $T8 %]</label></td> |
|
147 | 207 |
<td></td> |
148 |
<td colspan="7"> |
|
149 |
<hr size="1" noshade=""> |
|
150 |
</td> |
|
208 |
<td class="long-desc">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td> |
|
209 |
</tr> |
|
151 | 210 |
<tr> |
152 |
|
|
153 |
|
|
154 |
|
|
211 |
<td><input name="l_weight" id="l_weight" type=checkbox value=Y><label for="l_weight">[% 'Weight' | $T8 %]</label></td> |
|
212 |
<td></td> |
|
213 |
<td></td> |
|
214 |
<td></td> |
|
215 |
</tr> |
|
155 | 216 |
<tr> |
156 |
<th align=right nowrap>[% 'Include in Report' | $T8 %]</th> |
|
157 |
|
|
158 |
<td colspan="3"> |
|
159 |
<table> |
|
160 |
<tr> |
|
161 |
<td colspan="4"> |
|
162 |
[% 'Cumulated or averaged values' | $T8 %] ([% 'invoice mode or item mode' | $T8 %]): |
|
163 |
</td> |
|
164 |
</tr> |
|
165 |
|
|
166 |
<tr> |
|
167 |
<td align=left><input name="l_sellprice_total" class=checkbox type=checkbox value=Y checked>[% 'Sales price total' | $T8 %]</td> |
|
168 |
<td align=left><input name="l_lastcost_total" class=checkbox type=checkbox value=Y checked>[% 'Purchase price total' | $T8 %]</td> |
|
169 |
<td align=left><input name="l_marge_total" class=checkbox type=checkbox value=Y checked>[% 'Margetotal' | $T8 %]</td> |
|
170 |
<td colspan="4"> ([% 'Single values in item mode, cumulated values in invoice mode' | $T8 %]) |
|
171 |
</tr> |
|
172 |
|
|
173 |
<tr> |
|
174 |
<td align=left><input name="l_sellprice" class=checkbox type=checkbox value=Y checked>[% 'Sales price' | $T8 %]</td> |
|
175 |
<td align=left><input name="l_lastcost" class=checkbox type=checkbox value=Y checked>[% 'Purchase price' | $T8 %]</td> |
|
176 |
<td align=left><input name="l_marge_percent" class=checkbox type=checkbox value=Y checked>[% 'Margepercent' | $T8 %]</td> |
|
177 |
<td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td> |
|
178 |
</tr> |
|
179 |
|
|
180 |
<tr> |
|
181 |
<td align=left><input name="l_qty" class=checkbox type=checkbox value=Y checked>[% 'Quantity' | $T8 %]</td> |
|
182 |
<td align=left><input name="l_discount" class=checkbox type=checkbox value=Y>[% 'Discount' | $T8 %]</td> |
|
183 |
<td></td> |
|
184 |
<td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td> |
|
185 |
</tr> |
|
186 |
|
|
187 |
<tr> |
|
188 |
<td align=left><input name="l_weight" class=checkbox type=checkbox value=Y>[% 'Weight' | $T8 %]</td> |
|
189 |
</tr> |
|
190 |
|
|
191 |
<tr> |
|
192 |
<td colspan="7"> </td> |
|
193 |
</tr> |
|
194 |
|
|
195 |
<tr> |
|
196 |
<td colspan="4" align="left"> |
|
197 |
[% 'Item values' | $T8 %] ([% 'Only shown in item mode' | $T8 %]) |
|
198 |
</td> |
|
199 |
</tr> |
|
200 |
|
|
201 |
<tr> |
|
202 |
<td align=left><input name="l_description" class=checkbox type=checkbox value=Y checked>[% 'Description' | $T8 %]</td> |
|
203 |
<td align=left><input name="l_partnumber" class=checkbox type=checkbox value=Y>[% 'Part Number' | $T8 %]</td> |
|
204 |
<td align=left><input name="l_invnumber" class=checkbox type=checkbox value=Y>[% 'Invnumber' | $T8 %]</td> |
|
205 |
<td align=left><input name="l_transdate" class=checkbox type=checkbox value=Y>[% 'Invdate' | $T8 %]</td> |
|
206 |
</tr> |
|
207 |
|
|
208 |
<tr> |
|
209 |
<td align=left><input name="l_parts_unit" class=checkbox type=checkbox value=Y>[% 'Base unit' | $T8 %]</td> |
|
210 |
<td align=left><input name="l_partsgroup" class=checkbox type=checkbox value=Y>[% 'Partsgroup' | $T8 %]</td> |
|
211 |
<td align=left><input name="l_salesman" class=checkbox type=checkbox value=Y>[% 'Salesperson' | $T8 %]</td> |
|
212 |
<td align=left><input name="l_employee" class=checkbox type=checkbox value=Y>[% 'Employee' | $T8 %]</td> |
|
213 |
</tr> |
|
214 |
|
|
215 |
<tr> |
|
216 |
<td align=left><input name="l_customernumber" class=checkbox type=checkbox value=Y>[% 'Customer Number' | $T8 %]</td> |
|
217 |
<td align=left><input name="l_customername" class=checkbox type=checkbox value=Y>[% 'Customer Name' | $T8 %]</td> |
|
218 |
<td align=left><input name="l_country" class=checkbox type=checkbox value=Y>[% 'Country' | $T8 %]</td> |
|
219 |
<td align=left><input name="l_business" class=checkbox type=checkbox value=Y>[% 'Customer type' | $T8 %]</td> |
|
220 |
</tr> |
|
221 |
|
|
222 |
<tr> |
|
223 |
<th colspan="4" align="left"> |
|
224 |
[% 'Customer variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %]) |
|
225 |
</th> |
|
226 |
</tr> |
|
227 |
[% CUSTOM_VARIABLES_INCLUSION_CODE_CT %] |
|
228 |
|
|
229 |
<tr> |
|
230 |
<th colspan="4" align="left"> |
|
231 |
[% 'Item variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %]) |
|
232 |
</th> |
|
233 |
</tr> |
|
234 |
[% CUSTOM_VARIABLES_INCLUSION_CODE_IC %] |
|
235 |
|
|
236 |
</table> |
|
237 |
</td> |
|
217 |
<th colspan="4"><h4>[% 'Item values' | $T8 %] ([% 'Only shown in item mode' | $T8 %])</h4></th> |
|
238 | 218 |
</tr> |
239 |
|
|
219 |
<tr> |
|
220 |
<td><input name="l_description" id="l_description" type=checkbox value=Y checked><label for="l_description">[% 'Description' | $T8 %]</label></td> |
|
221 |
<td><input name="l_partnumber" id="l_partnumber" type=checkbox value=Y><label for="l_partnumber">[% 'Part Number' | $T8 %]</label></td> |
|
222 |
<td><input name="l_invnumber" id="l_invnumber" type=checkbox value=Y><label for="l_invnumber">[% 'Invnumber' | $T8 %]</label></td> |
|
223 |
<td><input name="l_transdate" id="l_transdate" type=checkbox value=Y><label for="l_transdate">[% 'Invdate' | $T8 %]</label></td> |
|
224 |
</tr> |
|
225 |
<tr> |
|
226 |
<td><input name="l_parts_unit" id="l_parts_unit" type=checkbox value=Y><label for="l_parts_unit">[% 'Base unit' | $T8 %]</label></td> |
|
227 |
<td><input name="l_partsgroup" id="l_partsgroup" type=checkbox value=Y><label for="l_partsgroup">[% 'Partsgroup' | $T8 %]</label></td> |
|
228 |
<td><input name="l_salesman" id="l_salesman" type=checkbox value=Y><label for="l_salesman">[% 'Salesperson' | $T8 %]</label></td> |
|
229 |
<td><input name="l_employee" id="l_employee" type=checkbox value=Y><label for="l_employee">[% 'Employee' | $T8 %]</label></td> |
|
230 |
</tr> |
|
231 |
<tr> |
|
232 |
<td><input name="l_customernumber" id="l_customernumber" type=checkbox value=Y><label for="l_customernumber">[% 'Customer Number' | $T8 %]</label></td> |
|
233 |
<td><input name="l_customername" id="l_customername" type=checkbox value=Y><label for="l_customername">[% 'Customer Name' | $T8 %]</label></td> |
|
234 |
<td><input name="l_country" id="l_country" type=checkbox value=Y><label for="l_country">[% 'Country' | $T8 %]</label></td> |
|
235 |
<td><input name="l_business" id="l_business" type=checkbox value=Y><label for="l_business">[% 'Customer type' | $T8 %]</label></td> |
|
236 |
</tr> |
|
237 |
</tbody> |
|
240 | 238 |
</table> |
241 | 239 |
|
242 |
<hr size="3" noshade=""> |
|
243 |
|
|
244 |
<input class=submit type=submit name=action value="[% 'Continue' | $T8 %]"> |
|
240 |
<table class="tbl-plain clear"> |
|
241 |
<tbody> |
|
242 |
<tr> |
|
243 |
<th colspan="4"><h4>[% 'Customer variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])</h4></th> |
|
244 |
</tr> |
|
245 |
[% CUSTOM_VARIABLES_INCLUSION_CODE_CT %] |
|
246 |
</tbody> |
|
247 |
</table> |
|
245 | 248 |
|
246 |
<br><br> |
|
249 |
<table class="tbl-plain clear"> |
|
250 |
<tbody> |
|
251 |
<tr> |
|
252 |
<th colspan="4"><h4>[% 'Item variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])</h4></th> |
|
253 |
</tr> |
|
254 |
[% CUSTOM_VARIABLES_INCLUSION_CODE_IC %] |
|
255 |
</tbody> |
|
256 |
</table> |
|
257 |
</div> |
|
247 | 258 |
|
248 | 259 |
</form> |
249 | 260 |
|
250 |
<script type="text/javascript"> |
|
251 |
<!-- |
|
252 |
$(document).ready(function(){ |
|
253 |
$('customer').focus(); |
|
254 |
}) |
|
255 |
//--> |
|
256 |
</script> |
|
261 |
<script type="text/javascript"><!-- |
|
262 |
$(document).ready(function(){ |
|
263 |
$('customer').focus(); |
|
264 |
}) |
|
265 |
//--></script> |
templates/webpages/webdav/_list.html | ||
---|---|---|
1 |
[% USE HTML %][% USE T8 %][%- USE LxERP -%] |
|
1 |
[% USE HTML %] |
|
2 |
[% USE T8 %] |
|
3 |
[% USE LxERP %] |
|
2 | 4 |
|
3 |
[%- IF INSTANCE_CONF.get_webdav %] |
|
4 |
<div id="ui-tabs-webdav"> |
|
5 |
<div class="listtop">[%- 'Documents in the WebDAV repository' | $T8 %]</div> |
|
5 |
[% IF INSTANCE_CONF.get_webdav %] |
|
6 |
<div id="ui-tabs-webdav" class="ui-tabs-panel" style="display:none;"> |
|
6 | 7 |
|
7 |
[% IF WEBDAV && WEBDAV.size %] |
|
8 |
<table> |
|
9 |
<thead> |
|
10 |
<tr class="listheading"> |
|
11 |
<th>[% 'File name' | $T8 %]</th> |
|
12 |
<th>[% 'WebDAV link' | $T8 %]</th> |
|
13 |
</tr> |
|
14 |
</thead> |
|
8 |
<div class="wrapper"> |
|
15 | 9 |
|
16 |
<tbody> |
|
17 |
[%- FOREACH file = WEBDAV %] |
|
18 |
<tr class="listrow"> |
|
19 |
<td>[% HTML.escape(file.name) %]</td> |
|
20 |
<td><a href="[% HTML.escape(file.link) %]">[% HTML.escape(file.type) %]</a></td> |
|
21 |
</tr> |
|
22 |
[%- END %] |
|
23 |
</tbody> |
|
24 |
</table> |
Auch abrufbar als: Unified diff
Neues kivitendo Design restliche Aenderungen in templates/webpages/*
Dateien gobd/* order_items_search/* parts_price_history/* payment_term/*
presenter/* price_information/* taxzones/* todo/* vk/* webdav/*