Revision 5b8ff438
Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt
templates/webpages/ca/list.html | ||
---|---|---|
6 | 6 |
|
7 | 7 |
<form method=post action="[% script %]"> |
8 | 8 |
|
9 |
<div class="wrapper"> |
|
9 | 10 |
[% L.hidden_tag('accno', accno) %] |
10 | 11 |
[% L.hidden_tag('description', description) %] |
11 | 12 |
[% L.hidden_tag('sort', 'transdate') %] |
12 | 13 |
[% L.hidden_tag('accounttype', accounttype) %] |
13 | 14 |
|
14 |
<table> |
|
15 |
<tr> |
|
16 |
<th align=left>[% L.radio_button_tag('reporttype', value='custom', label=LxERP.t8('Customized Report')) %]</th> |
|
17 |
</tr> |
|
18 |
<tr> |
|
19 |
<th colspan=1>[% 'Year' | $T8 %]</th> |
|
20 |
<td><input name=year size=11 title="[% 'YYYY' | $T8 %]" value="[% year %]"></td> |
|
21 |
</tr> |
|
15 |
<table class="tbl-horizontal"> |
|
16 |
<colgroup> <col style="width:1.4em;"><col class="wi-small"><col class="wi-lightwide"> </colgroup> |
|
17 |
<caption>[% 'Periods' | $T8 %]</caption> |
|
18 |
<tbody> |
|
19 |
<tr> |
|
20 |
<th colspan="3"> |
|
21 |
<h4> |
|
22 |
[% L.radio_button_tag('reporttype', value='custom', id='reporttype_custom') %] |
|
23 |
<label for="reporttype_custom">[% LxERP.t8('Customized Report') %]</label> |
|
24 |
</h4> |
|
25 |
</th> |
|
26 |
</tr> |
|
27 |
<tr> |
|
28 |
<th></th> |
|
29 |
<th>[% 'Year' | $T8 %]</th> |
|
30 |
<td><input type="text" name=year class="wi-smallest" title="[% 'YYYY' | $T8 %]" value="[% year %]"></td> |
|
31 |
</tr> |
|
32 |
<tr> |
|
33 |
<th></th> |
|
34 |
<th colspan="2"><h4>[% 'Periods' | $T8 %]</h4></th> |
|
35 |
</tr> |
|
36 |
<tr> |
|
37 |
<th></th> |
|
38 |
<th>[% 'Yearly' | $T8 %]</th> |
|
39 |
<td>[% L.radio_button_tag('duetyp', value=13, label=LxERP.t8('Yearly')) %]</td> |
|
40 |
</tr> |
|
41 |
<tr> |
|
42 |
<th></th> |
|
43 |
<th>[% 'Quarterly' | $T8 %]</th> |
|
44 |
<td> |
|
45 |
[% L.radio_button_tag('duetyp', value='A', label='1. ' _ LxERP.t8('Quarter')) %]<br> |
|
46 |
[% L.radio_button_tag('duetyp', value='B', label='2. ' _ LxERP.t8('Quarter')) %]<br> |
|
47 |
[% L.radio_button_tag('duetyp', value='C', label='3. ' _ LxERP.t8('Quarter')) %]<br> |
|
48 |
[% L.radio_button_tag('duetyp', value='D', label='4. ' _ LxERP.t8('Quarter')) %] |
|
49 |
</td> |
|
50 |
</tr> |
|
51 |
<tr> |
|
52 |
<th></th> |
|
53 |
<th>[% 'Monthly' | $T8 %]</th> |
|
54 |
<td> |
|
55 |
[% L.radio_button_tag('duetyp', value='1', label=LxERP.t8('January')) %]<br> |
|
56 |
[% L.radio_button_tag('duetyp', value='5', label=LxERP.t8('May')) %]<br> |
|
57 |
[% L.radio_button_tag('duetyp', value='9', label=LxERP.t8('September')) %]<br> |
|
58 |
[% L.radio_button_tag('duetyp', value='2', label=LxERP.t8('February')) %]<br> |
|
59 |
[% L.radio_button_tag('duetyp', value='6', label=LxERP.t8('June')) %]<br> |
|
60 |
[% L.radio_button_tag('duetyp', value='10', label=LxERP.t8('October')) %]<br> |
|
61 |
[% L.radio_button_tag('duetyp', value='3', label=LxERP.t8('March')) %]<br> |
|
62 |
[% L.radio_button_tag('duetyp', value='7', label=LxERP.t8('July')) %]<br> |
|
63 |
[% L.radio_button_tag('duetyp', value='11', label=LxERP.t8('November')) %]<br> |
|
64 |
[% L.radio_button_tag('duetyp', value='4', label=LxERP.t8('April')) %]<br> |
|
65 |
[% L.radio_button_tag('duetyp', value='8', label=LxERP.t8('August')) %]<br> |
|
66 |
[% L.radio_button_tag('duetyp', value='12', label=LxERP.t8('December')) %] |
|
67 |
</td> |
|
68 |
</tr> |
|
69 |
<tr> |
|
70 |
<th colspan="3"> |
|
71 |
<h4>[% L.radio_button_tag('reporttype', value='free',id='reporttype_free') %] |
|
72 |
<label for="reporttype_free">[% LxERP.t8('Free report period') %]</label></h4> |
|
73 |
</th> |
|
74 |
</tr> |
|
75 |
<tr> |
|
76 |
<th></th> |
|
77 |
<td colspan="2"> |
|
78 |
[% 'From' | $T8 %] [% L.date_tag('fromdate') %] |
|
79 |
[% 'Bis' | $T8 %] [% L.date_tag('todate') %] |
|
80 |
</td> |
|
81 |
</tr> |
|
82 |
<tr> |
|
83 |
<th colspan="3" class="caption">[% 'Miscellaneous' | $T8 %]</th> |
|
84 |
</tr> |
|
85 |
<tr> |
|
86 |
<th colspan="2">[% 'Decimalplaces' | $T8 %]</th> |
|
87 |
<td><input type="text" name=decimalplaces size=3 value="2"></td> |
|
88 |
</tr> |
|
89 |
<tr> |
|
90 |
<th colspan="2">[% LxERP.t8('Subtotal') %] </th> |
|
91 |
<td>[% L.checkbox_tag('subtotal', label=LxERP.t8('Yes')) %]</td> |
|
92 |
</tr> |
|
22 | 93 |
|
23 |
<tr> |
|
24 |
<td align=right><b>[% 'Yearly' | $T8 %]</b></td> |
|
25 |
<th align=left>[% 'Quarterly' | $T8 %]</th> |
|
26 |
<th align=left colspan=3>[% 'Monthly' | $T8 %]</th> |
|
27 |
</tr> |
|
28 |
<tr> |
|
29 |
<td align=right>[% L.radio_button_tag('duetyp', value=13) %]</td> |
|
30 |
<td>[% L.radio_button_tag('duetyp', value='A', label='1. ' _ LxERP.t8('Quarter')) %]</td> |
|
31 |
<td>[% L.radio_button_tag('duetyp', value='1', label=LxERP.t8('January')) %]</td> |
|
32 |
<td>[% L.radio_button_tag('duetyp', value='5', label=LxERP.t8('May')) %]</td> |
|
33 |
<td>[% L.radio_button_tag('duetyp', value='9', label=LxERP.t8('September')) %]</td> |
|
34 |
</tr> |
|
35 |
<tr> |
|
36 |
<td></td> |
|
37 |
<td>[% L.radio_button_tag('duetyp', value='B', label='2. ' _ LxERP.t8('Quarter')) %]</td> |
|
38 |
<td>[% L.radio_button_tag('duetyp', value='2', label=LxERP.t8('February')) %]</td> |
|
39 |
<td>[% L.radio_button_tag('duetyp', value='6', label=LxERP.t8('June')) %]</td> |
|
40 |
<td>[% L.radio_button_tag('duetyp', value='10', label=LxERP.t8('October')) %]</td> |
|
41 |
</tr> |
|
42 |
<tr> |
|
43 |
<td></td> |
|
44 |
<td>[% L.radio_button_tag('duetyp', value='C', label='3. ' _ LxERP.t8('Quarter')) %]</td> |
|
45 |
<td>[% L.radio_button_tag('duetyp', value='3', label=LxERP.t8('March')) %]</td> |
|
46 |
<td>[% L.radio_button_tag('duetyp', value='7', label=LxERP.t8('July')) %]</td> |
|
47 |
<td>[% L.radio_button_tag('duetyp', value='11', label=LxERP.t8('November')) %]</td> |
|
48 |
</tr> |
|
49 |
<tr> |
|
50 |
<td></td> |
|
51 |
<td>[% L.radio_button_tag('duetyp', value='D', label='4. ' _ LxERP.t8('Quarter')) %]</td> |
|
52 |
<td>[% L.radio_button_tag('duetyp', value='4', label=LxERP.t8('April')) %]</td> |
|
53 |
<td>[% L.radio_button_tag('duetyp', value='8', label=LxERP.t8('August')) %]</td> |
|
54 |
<td>[% L.radio_button_tag('duetyp', value='12', label=LxERP.t8('December')) %]</td> |
|
94 |
</tbody> |
|
95 |
</table> |
|
55 | 96 |
|
56 |
</tr> |
|
57 |
<tr> |
|
58 |
<td colspan=5><hr size=3 noshade></td> |
|
59 |
</tr> |
|
60 |
<tr> |
|
61 |
<th align=left>[% L.radio_button_tag('reporttype', value='free', label=LxERP.t8('Free report period')) %]</th> |
|
62 |
<td align=left colspan=4>[% 'From' | $T8 %] [% L.date_tag('fromdate') %] |
|
63 |
[% 'Bis' | $T8 %] [% L.date_tag('todate') %] |
|
64 |
</td> |
|
65 |
</tr> |
|
66 |
<tr> |
|
67 |
<td colspan=5><hr size=3 noshade></td> |
|
68 |
</tr> |
|
69 |
<tr> |
|
70 |
<th align=right colspan=4>[% 'Decimalplaces' | $T8 %]</th> |
|
71 |
<td><input name=decimalplaces size=3 value="2"></td> |
|
72 |
</tr> |
|
73 |
<tr> |
|
74 |
<td>[% L.checkbox_tag('subtotal', label=LxERP.t8('Subtotal')) %]</td> |
|
75 |
</tr> |
|
97 |
</div><!-- /.wrapper --> |
|
76 | 98 |
|
77 |
<tr><td colspan=5 ><hr size=3 noshade></td></tr> |
|
78 |
</table> |
|
99 |
<div class="buttons">[% L.submit_tag('action', LxERP.t8('List Transactions')) %]</div> |
|
79 | 100 |
|
80 |
<br>[% L.submit_tag('action', LxERP.t8('List Transactions')) %] |
|
81 | 101 |
</form> |
templates/webpages/chart/chart_picker_search.html | ||
---|---|---|
1 |
[%- USE HTML %]
|
|
2 |
[%- USE L %]
|
|
3 |
[%- USE LxERP %]
|
|
4 |
[%- USE T8 %]
|
|
1 |
[% USE HTML %] |
|
2 |
[% USE L %] |
|
3 |
[% USE LxERP %] |
|
4 |
[% USE T8 %] |
|
5 | 5 |
|
6 | 6 |
<div style='overflow:hidden'> |
7 | 7 |
|
templates/webpages/chart/report_configuration_overview.html | ||
---|---|---|
1 |
[%- USE HTML -%][%- USE LxERP -%][%- USE L -%]<h1>[% LxERP.t8("Chart configuration overview regarding reports") %]</h1> |
|
1 |
[% USE HTML %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE L %] |
|
4 |
|
|
5 |
<h1>[% LxERP.t8("Chart configuration overview regarding reports") %]</h1> |
|
6 |
|
|
7 |
<div class="wrapper"> |
|
2 | 8 |
|
3 | 9 |
[% FOREACH data = DATA %] |
4 |
[% UNLESS data.size == 1 %] |
|
5 |
<div id="[% HTML.escape(data.type) %]"> |
|
6 |
[% LxERP.t8("Jump to") %]: |
|
7 |
[% FOREACH jump = DATA %] |
|
8 |
[% IF jump.type != data.type %] |
|
9 |
[% L.link("#" _ jump.type, jump.heading) %] |
|
10 |
[% END %] |
|
11 |
[% END %] |
|
12 |
</div> |
|
13 |
[% END %] |
|
14 |
|
|
15 |
<h2>[% HTML.escape(data.heading) %]</h2> |
|
16 |
|
|
17 |
[% FOREACH pos = data.positions %] |
|
18 |
[%- SET name = data.names.item(pos) %] |
|
19 |
<h3>[% IF name %][% LxERP.t8("Position #1: #2", pos, name) %][% ELSE %][% LxERP.t8("Position #1", pos) %][% END %]</h3> |
|
20 |
|
|
21 |
[%- SET charts = data.charts.$pos %] |
|
22 |
<table> |
|
23 |
<thead> |
|
24 |
<tr class="listheading"> |
|
25 |
<th>[% LxERP.t8("Account") %]</th> |
|
26 |
<th>[% LxERP.t8("Description") %]</th> |
|
27 |
</tr> |
|
28 |
</thead> |
|
29 |
|
|
30 |
<tbody> |
|
10 |
|
|
11 |
[% UNLESS data.size == 1 %] |
|
12 |
<div id="[% HTML.escape(data.type) %]" style="clear:left;float:none;" class="select-item control-panel"> |
|
13 |
[% LxERP.t8("Jump to") %]: |
|
14 |
[% FOREACH jump = DATA %] |
|
15 |
[% IF jump.type != data.type %] [% L.link("#" _ jump.type, jump.heading) %][% END %] |
|
16 |
[% END %] |
|
17 |
</div> |
|
18 |
[% END %] |
|
19 |
|
|
20 |
<h2 style="clear:left;">[% HTML.escape(data.heading) %]</h2> |
|
21 |
|
|
22 |
[% FOREACH pos = data.positions %] |
|
23 |
[% SET name = data.names.item(pos) %] |
|
24 |
[% SET charts = data.charts.$pos %] |
|
25 |
<table class="tbl-plain" style="clear:left;float:none;"> |
|
26 |
<caption>[% IF name %][% LxERP.t8("Position #1: #2", pos, name) %][% ELSE %][% LxERP.t8("Position #1", pos) %][% END %]</caption> |
|
27 |
<colgroup><col class="wi-verysmall"><col class="wi-lightwide"></colgroup> |
|
28 |
<thead> |
|
29 |
<tr> |
|
30 |
<th>[% LxERP.t8("Account") %]</th> |
|
31 |
<th>[% LxERP.t8("Description") %]</th> |
|
32 |
</tr> |
|
33 |
</thead> |
|
34 |
<tbody> |
|
31 | 35 |
[% FOREACH chart = charts %] |
32 |
<tr> |
|
33 |
<td>[% L.link("am.pl?action=edit_account&id=" _ chart.id, chart.accno) %]</td> |
|
34 |
<td>[% HTML.escape(chart.description) %]</td> |
|
35 |
</tr> |
|
36 |
[% END %] |
|
37 |
</tbody> |
|
38 |
</table> |
|
39 |
[% END %] |
|
36 |
<tr> |
|
37 |
<td>[% L.link("am.pl?action=edit_account&id=" _ chart.id, chart.accno) %]</td> |
|
38 |
<td>[% HTML.escape(chart.description) %]</td> |
|
39 |
</tr> |
|
40 |
[% END %] |
|
41 |
</tbody> |
|
42 |
</table> |
|
43 |
[% END %] |
|
44 |
|
|
40 | 45 |
[% END %] |
46 |
|
|
47 |
</div><!-- /.wrapper --> |
templates/webpages/cp/form_footer.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE HTML %] |
|
3 |
<tr> |
|
4 |
<td><hr size=3 noshade></td> |
|
5 |
</tr> |
|
6 |
</table> |
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
|
|
7 | 4 |
<input type=hidden name=rowcount value="[% rowcount | html %]"> |
8 |
</form> |
|
5 |
</form> |
templates/webpages/cp/form_header.html | ||
---|---|---|
1 |
[%- USE L %] |
|
2 |
[%- USE HTML %] |
|
3 |
[%- USE T8 %] |
|
4 |
[%- USE LxERP %][%- USE P -%] |
|
1 |
[% USE L %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE T8 %] |
|
4 |
[% USE LxERP %] |
|
5 |
[% USE P %] |
|
6 |
|
|
7 |
<h1>[% is_receipt ? LxERP.t8('Receipt') : LxERP.t8('Payment') %]</h1> |
|
8 |
|
|
5 | 9 |
<form method="post" action="cp.pl" id="form"> |
6 | 10 |
|
7 | 11 |
[% SET vc_id = vc _ '_id' |
... | ... | |
16 | 20 |
[% L.hidden_tag('ARAP', ARAP) %] |
17 | 21 |
[% L.hidden_tag('openinvoices', openinvoices) %] |
18 | 22 |
|
19 |
<h1>[% is_receipt ? LxERP.t8('Receipt') : LxERP.t8('Payment') %]</h1> |
|
20 | 23 |
|
21 |
<table> |
|
22 |
<tr valign=top> |
|
23 |
<td> |
|
24 |
<table> |
|
25 |
<tr> |
|
26 |
<th align=right>[% is_customer ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]</th> |
|
27 |
<td> |
|
28 |
[% P.customer_vendor.picker(vc_id, $vc_id, type=vc, class="initial_focus", style=style) %] |
|
29 |
[% P.hidden_tag("previous_" _ vc_id, $vc_id) %] |
|
30 |
</td> |
|
31 |
</tr> |
|
32 |
<tr> |
|
33 |
<th align=right>[% 'Invoice Number' | $T8 %]</th> |
|
34 |
<td><input name="invnumber" size="35"></td> |
|
35 |
</tr> |
|
36 |
<tr valign=top> |
|
37 |
<th align=right nowrap>[% 'Address' | $T8 %]</th> |
|
38 |
<td colspan=2> |
|
39 |
<table> |
|
40 |
<tr> |
|
41 |
<td>[% street | html %][% L.hidden_tag('street', street) %]</td> |
|
42 |
</tr> |
|
43 |
<tr> |
|
44 |
<td>[% zipcode | html %][% L.hidden_tag('zipcode', zipcode) %]</td> |
|
45 |
</tr> |
|
46 |
<tr> |
|
47 |
<td>[% city | html %][% L.hidden_tag('city', city) %]</td> |
|
48 |
</tr> |
|
49 |
<tr> |
|
50 |
<td>[% country | html %][% L.hidden_tag('country', country) %]</td> |
|
51 |
</tr> |
|
52 |
</table> |
|
53 |
</td> |
|
54 |
</tr> |
|
55 |
<tr> |
|
56 |
<th align=right>[% 'Memo' | $T8 %]</th> |
|
57 |
<td colspan=2><input name="memo" size=30 value="[% memo | html %]"></td> |
|
58 |
</tr> |
|
59 |
</table> |
|
60 |
</td> |
|
61 |
<td align=right> |
|
62 |
<table> |
|
63 |
<tr> |
|
64 |
<th align=right nowrap>[% 'Account' | $T8 %]</th> |
|
65 |
<td colspan=3><select name=account>[% selectaccount %]</select> |
|
66 |
<input type=hidden name=selectaccount value="[% selectaccount | html %]"> |
|
67 |
</td> |
|
68 |
</tr> |
|
69 |
<tr> |
|
70 |
<th align=right nowrap>[% 'Date' | $T8 %]</th> |
|
71 |
<td>[% L.date_tag('datepaid', datepaid) %]</td> |
|
72 |
</tr> |
|
73 |
<tr> |
|
74 |
<th align=right nowrap>[% 'Currency' | $T8 %]</th> |
|
75 |
<td><select name=currency>[% selectcurrency %]</select></td> |
|
76 |
<input type=hidden name=selectcurrency value="[% selectcurrency | html %]"> |
|
77 |
<input type=hidden name=oldcurrency value="[% oldcurrency | html %]"> |
|
78 |
</tr> |
|
79 |
[% IF currency != defaultcurrency %] |
|
80 |
<tr> |
|
81 |
<th align=right nowrap>[% 'Exchangerate' | $T8 %]</th> |
|
82 |
[% IF forex %] |
|
83 |
<td colspan=3>[% LxERP.format_amount(exchangerate) %][% L.hidden_tag('exchangerate', LxERP.format_amount(exchangerate)) %]</td> |
|
84 |
[%- ELSE %] |
|
85 |
<td colspan=3>[% L.input_tag('exchangerate', LxERP.format_amount(exchangerate), size=10) %]</td> |
|
86 |
[%- END %] |
|
87 |
</tr> |
|
88 |
[% END %] |
|
89 |
<tr> |
|
90 |
<th align=right nowrap>[% 'Source' | $T8 %]</th> |
|
91 |
<td colspan=3><input name=source value="[% source | html %]" size=10></td> |
|
92 |
</tr> |
|
93 |
<tr> |
|
94 |
<th align="right" nowrap>[% 'Amount' | $T8 %]</th> |
|
95 |
<td colspan="3">[% LxERP.format_amount(amount, 2) %]</td> |
|
96 |
</tr> |
|
97 |
</table> |
|
98 |
</td> |
|
99 |
</tr> |
|
24 |
<div class="wrapper"> |
|
25 |
|
|
26 |
<table class="tbl-horizontal"> |
|
27 |
<colgroup><col class="wi-small"><col class="wi-verywide"></colgroup> |
|
28 |
<tbody> |
|
29 |
<tr> |
|
30 |
<th>[% is_customer ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]</th> |
|
31 |
<td> |
|
32 |
[% P.customer_vendor.picker(vc_id, $vc_id, type=vc, class="initial_focus wi-wide") %] |
|
33 |
[% P.hidden_tag("previous_" _ vc_id, $vc_id) %] |
|
34 |
</td> |
|
35 |
</tr> |
|
36 |
<tr> |
|
37 |
<th>[% 'Address' | $T8 %]</th> |
|
38 |
<td> |
|
39 |
[% IF street || zipcode || city || country %] |
|
40 |
[% IF street %]<span class="data wi-wide below">[% street | html %]</span>[% END %] |
|
41 |
[% L.hidden_tag('street', street) %] |
|
42 |
[% IF zipcode || city %]<span class="data wi-wide below">[% zipcode | html %] [% city | html %]</span>[% END %] |
|
43 |
[% L.hidden_tag('zipcode', zipcode) %][% L.hidden_tag('city', city) %] |
|
44 |
[% IF country %]<span class="data wi-wide below">[% country | html %]</span>[% END %] |
|
45 |
[% L.hidden_tag('country', country) %] |
|
46 |
[% ELSE %] |
|
47 |
<span class="data wi-wide"> </span> |
|
48 |
[% END %] |
|
49 |
</td> |
|
50 |
</tr> |
|
51 |
<tr> |
|
52 |
<th>[% 'Memo' | $T8 %]</th> |
|
53 |
<td><input type="text" name="memo" class="wi-wide" value="[% memo | html %]"></td> |
|
54 |
</tr> |
|
55 |
<tr> |
|
56 |
<th>[% 'Invoice Number' | $T8 %]</th> |
|
57 |
<td><input type="text" name="invnumber" class="wi-normal"></td> |
|
58 |
</tr> |
|
59 |
<tr> |
|
60 |
<th>[% 'Account' | $T8 %]</th> |
|
61 |
<td> |
|
62 |
<select name="account" class="wi-verywide">[% selectaccount %]</select> |
|
63 |
<input type=hidden name="selectaccount" value="[% selectaccount | html %]"> |
|
64 |
</td> |
|
65 |
</tr> |
|
66 |
<tr> |
|
67 |
<th>[% 'Date' | $T8 %]</th> |
|
68 |
<td><span class="wi-date">[% L.date_tag('datepaid', datepaid) %]</span></td> |
|
69 |
</tr> |
|
70 |
<tr> |
|
71 |
<th>[% 'Currency' | $T8 %]</th> |
|
72 |
<td> |
|
73 |
<select name="currency" class="wi-small">[% selectcurrency %]</select> |
|
74 |
<input type=hidden name="selectcurrency" value="[% selectcurrency | html %]"> |
|
75 |
<input type=hidden name="oldcurrency" value="[% oldcurrency | html %]"> |
|
76 |
</td> |
|
77 |
</tr> |
|
78 |
[% IF currency != defaultcurrency %] |
|
79 |
<tr> |
|
80 |
<th>[% 'Exchangerate' | $T8 %]</th> |
|
81 |
[% IF forex %] |
|
82 |
<td><span class="plain-data wi-small">[% LxERP.format_amount(exchangerate) %]</span>[% L.hidden_tag('exchangerate', LxERP.format_amount(exchangerate)) %]</td> |
|
83 |
[% ELSE %] |
|
84 |
<td>[% L.input_tag('exchangerate', LxERP.format_amount(exchangerate), class='wi-small') %]</td> |
|
85 |
[% END %] |
|
86 |
</tr> |
|
87 |
[% END %] |
|
88 |
<tr> |
|
89 |
<th>[% 'Source' | $T8 %]</th> |
|
90 |
<td><input type="text" name="source" value="[% source | html %]" class="wi-small"> |
|
91 |
</td> |
|
92 |
</tr> |
|
93 |
<tr> |
|
94 |
<th>[% 'Amount' | $T8 %]</th> |
|
95 |
<td><span class="data wi-small numeric">[% LxERP.format_amount(amount, 2) %]</span></td> |
|
96 |
</tr> |
|
97 |
</tbody> |
|
100 | 98 |
</table> |
101 | 99 |
|
102 | 100 |
[% IF openinvoices_other_currencies %] |
103 | 101 |
<input type="hidden" name="openinvoices_other_currencies" value="[% openinvoices_other_currencies | html %]"> |
104 |
<b>[% 'Note' | $T8 %]: |
|
105 |
[%- IF is_customer %] |
|
106 |
[% LxERP.t8('There are #1 more open invoices for this customer with other currencies.', openinvoices_other_currencies) %] |
|
107 |
[%- ELSE %] |
|
108 |
[% LxERP.t8('There are #1 more open invoices from this vendor with other currencies.', openinvoices_other_currencies) %] |
|
109 |
[%- END %]</b> |
|
102 |
<p class="message message_info"><b>[% 'Note' | $T8 %]:</b><br> |
|
103 |
[% IF is_customer %] |
|
104 |
[% LxERP.t8('There are #1 more open invoices for this customer with other currencies.', openinvoices_other_currencies) %] |
|
105 |
[% ELSE %] |
|
106 |
[% LxERP.t8('There are #1 more open invoices from this vendor with other currencies.', openinvoices_other_currencies) %] |
|
107 |
[% END %] |
|
108 |
</p> |
|
110 | 109 |
[% END %] |
110 |
</div> |
templates/webpages/cp/invoices.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE HTML %] |
|
3 |
[%- USE L %] |
|
4 |
[%- USE LxERP %] |
|
5 |
<table width=100%> |
|
6 |
<tr> |
|
7 |
<th class=listheading colspan="7">[% 'Invoices' | $T8 %]</th> |
|
8 |
</tr> |
|
9 |
<tr> |
|
10 |
<th nowrap class=listheading>[% 'Row number' | $T8 %]</th> |
|
11 |
<th nowrap class=listheading>[% 'Invoice' | $T8 %]</th> |
|
12 |
<th nowrap class=listheading width="15%">[% 'Date' | $T8 %]</th> |
|
13 |
<th nowrap class=listheading width="15%">[% 'Amount' | $T8 %]</th> |
|
14 |
<th nowrap class=listheading width="15%">[% 'Due' | $T8 %]</th> |
|
15 |
<th nowrap class=listheading width="10%">[% 'Select' | $T8 %]</th> |
|
16 |
<th nowrap class=listheading width="15%">[% 'Amount' | $T8 %]</th> |
|
17 |
</tr> |
|
18 |
[%- FOREACH row = invoices %] |
|
19 |
<tr class="listrow[% loop.count % 2 %]"> |
|
20 |
<td>[% loop.count %]</td> |
|
21 |
<td>[% row.invnumber | html %][% L.hidden_tag('invnumber_' _ loop.count, row.invnumber); L.hidden_tag('id_' _ loop.count, row.id) %]</td> |
|
22 |
<td>[% row.transdate | html %][% L.hidden_tag('transdate_' _ loop.count, row.transdate) %]</td> |
|
23 |
<td class="numeric">[% LxERP.format_amount(row.amount, 2) %][% L.hidden_tag('amount_' _ loop.count, LxERP.format_amount(row.amount, 2)) %]</td> |
|
24 |
<td class="numeric">[% LxERP.format_amount(row.due, 2) %][% L.hidden_tag('due_' _ loop.count, LxERP.format_amount(row.due, 2)) %]</td> |
|
25 |
<td align="center">[% L.checkbox_tag('checked_' _ loop.count, checked=row.checked) %]</td> |
|
26 |
<td class="numeric">[% L.input_tag('paid_' _ loop.count, LxERP.format_amount(row.paid, 2), size=10) %]</td> |
|
27 |
</tr> |
|
28 |
[%- END %] |
|
29 |
<tr class='tisttotal'> |
|
30 |
<td class="listtotal"> </td> |
|
31 |
<td class="listtotal"> </td> |
|
32 |
<td class="listtotal"> </td> |
|
33 |
<td class="listtotal" align="right">[% LxERP.format_amount(totals.amount, 2) %]</td> |
|
34 |
<td class="listtotal" align="right">[% LxERP.format_amount(totals.due, 2) %]</td> |
|
35 |
<td class="listtotal"> </td> |
|
36 |
<td class="listtotal" align="right">[% LxERP.format_amount(totals.paid, 2) %]</td> |
|
37 |
</tr> |
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE L %] |
|
4 |
[% USE LxERP %] |
|
5 |
|
|
6 |
<div class="wrapper"> |
|
7 |
<table class="tbl-list wi-moderate"> |
|
8 |
<caption>[% 'Invoices' | $T8 %]</caption> |
|
9 |
<thead> |
|
10 |
<tr> |
|
11 |
<th>[% 'Row number' | $T8 %]</th> |
|
12 |
<th>[% 'Invoice' | $T8 %]</th> |
|
13 |
<th>[% 'Date' | $T8 %]</th> |
|
14 |
<th>[% 'Amount' | $T8 %]</th> |
|
15 |
<th>[% 'Due' | $T8 %]</th> |
|
16 |
<th>[% 'Select' | $T8 %]</th> |
|
17 |
<th>[% 'Amount' | $T8 %]</th> |
|
18 |
</tr> |
|
19 |
</thead> |
|
20 |
<tbody> |
|
21 |
[% FOREACH row = invoices %] |
|
22 |
<tr> |
|
23 |
<td>[% loop.count %]</td> |
|
24 |
<td>[% row.invnumber | html %][% L.hidden_tag('invnumber_' _ loop.count, row.invnumber); L.hidden_tag('id_' _ loop.count, row.id) %]</td> |
|
25 |
<td>[% row.transdate | html %][% L.hidden_tag('transdate_' _ loop.count, row.transdate) %]</td> |
|
26 |
<td class="numeric">[% LxERP.format_amount(row.amount, 2) %][% L.hidden_tag('amount_' _ loop.count, LxERP.format_amount(row.amount, 2)) %]</td> |
|
27 |
<td class="numeric">[% LxERP.format_amount(row.due, 2) %][% L.hidden_tag('due_' _ loop.count, LxERP.format_amount(row.due, 2)) %]</td> |
|
28 |
<td>[% L.checkbox_tag('checked_' _ loop.count, checked=row.checked) %]</td> |
|
29 |
<td class="numeric">[% L.input_tag('paid_' _ loop.count, LxERP.format_amount(row.paid, 2), size=10) %]</td> |
|
30 |
</tr> |
|
31 |
[% END %] |
|
32 |
</tbody> |
|
33 |
<tfoot> |
|
34 |
<tr> |
|
35 |
<td></td> |
|
36 |
<td></td> |
|
37 |
<td></td> |
|
38 |
<td class="numeric">[% LxERP.format_amount(totals.amount, 2) %]</td> |
|
39 |
<td class="numeric">[% LxERP.format_amount(totals.due, 2) %]</td> |
|
40 |
<td></td> |
|
41 |
<td class="numeric">[% LxERP.format_amount(totals.paid, 2) %]</td> |
|
42 |
</tr> |
|
43 |
</tfoot> |
|
38 | 44 |
</table> |
45 |
</div> |
|
46 |
|
templates/webpages/ct/list_names_bottom.html | ||
---|---|---|
1 |
[% USE T8 %][% USE HTML %] |
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
2 | 3 |
|
3 | 4 |
<form method="post" action="controller.pl" id="new_form"> |
4 | 5 |
<input name="callback" type="hidden" value="[% HTML.escape(callback) %]"> |
templates/webpages/ct/search.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE L %] |
|
3 |
[%- USE HTML %] |
|
4 |
<h1>[% title %]</h1> |
|
5 |
|
|
6 |
<form method="post" action="ct.pl" name="Form" id="form"> |
|
7 |
|
|
8 |
<input type="hidden" name="db" value="[% HTML.escape(db) %]"> |
|
9 |
|
|
10 |
<table> |
|
11 |
<tr> |
|
12 |
<th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %]</th> |
|
13 |
<td><input name="[% IF IS_CUSTOMER %]customer[% ELSE %]vendor[% END %]number" size="35"></td> |
|
14 |
</tr> |
|
15 |
|
|
16 |
<tr> |
|
17 |
<th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %]</th> |
|
18 |
<td><input id="name" name="name" size="35" class="initial_focus"></td> |
|
19 |
</tr> |
|
20 |
|
|
21 |
<tr> |
|
22 |
<th align="right" nowrap>[% 'Contact' | $T8 %]</th> |
|
23 |
<td><input name="contact" size="35"></td> |
|
24 |
</tr> |
|
25 |
|
|
26 |
<tr> |
|
27 |
<th align="right" nowrap>[% 'E-mail' | $T8 %]</th> |
|
28 |
<td><input name="email" size="35"></td> |
|
29 |
</tr> |
|
30 |
<tr> |
|
31 |
<th align="right" nowrap>[% 'Contact person (surname)' | $T8 %]</th> |
|
32 |
<td><input name="cp_name" size="35"></td> |
|
33 |
</tr> |
|
34 |
<tr> |
|
35 |
<th align="right" nowrap>[% 'Billing/shipping address (street)' | $T8 %]</th> |
|
36 |
<td><input name="addr_street" size="35"></td> |
|
37 |
</tr> |
|
38 |
<tr> |
|
39 |
<th align="right" nowrap>[% 'Billing/shipping address (zipcode)' | $T8 %]</th> |
|
40 |
<td><input name="addr_zipcode" size="35"></td> |
|
41 |
</tr> |
|
42 |
<tr> |
|
43 |
<th align="right" nowrap>[% 'Billing/shipping address (city)' | $T8 %]</th> |
|
44 |
<td><input name="addr_city" size="35"></td> |
|
45 |
</tr> |
|
46 |
<tr> |
|
47 |
<th align="right" nowrap>[% 'Billing/shipping address (country)' | $T8 %]</th> |
|
48 |
<td><input name="addr_country" size="35"></td> |
|
49 |
</tr> |
|
50 |
<tr> |
|
51 |
<th align="right" nowrap>[% 'Billing/shipping address (GLN)' | $T8 %]</th> |
|
52 |
<td><input name="addr_gln" size="35"></td> |
|
53 |
</tr> |
|
54 |
|
|
55 |
[% IF SHOW_BUSINESS_TYPES %] |
|
56 |
<tr> |
|
57 |
<th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %]</th> |
|
58 |
<td> |
|
59 |
[% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1) %] |
|
60 |
</td> |
|
61 |
</tr> |
|
62 |
[% END %] |
|
63 |
|
|
64 |
[% IF IS_CUSTOMER && ALL_SALESMEN.size %] |
|
65 |
<tr> |
|
66 |
<th align="right" nowrap>[% 'Salesman' | $T8 %]</th> |
|
67 |
<td> |
|
68 |
[% L.select_tag('salesman_id', ALL_SALESMEN, title_key = 'name', with_empty = 1) %] |
|
69 |
</td> |
|
70 |
</tr> |
|
71 |
[% END %] |
|
72 |
|
|
73 |
<tr> |
|
74 |
<th align="right">[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th> |
|
75 |
<td> |
|
76 |
[% L.date_tag('insertdatefrom') %] |
|
77 |
</td> |
|
78 |
<th align="right">[% 'Bis' | $T8 %]</th> |
|
79 |
<td> |
|
80 |
[% L.date_tag('insertdateto') %] |
|
81 |
</td> |
|
82 |
</tr> |
|
83 |
|
|
84 |
[% CUSTOM_VARIABLES_FILTER_CODE %] |
|
85 |
|
|
86 |
<tr> |
|
87 |
<td></td> |
|
88 |
<td> |
|
89 |
<input name="status" class="radio" type="radio" value="all" checked> [% 'All' | $T8 %] |
|
90 |
<input name="status" class="radio" type="radio" value="orphaned"> [% 'Orphaned' | $T8 %] |
|
91 |
</td> |
|
92 |
</tr> |
|
93 |
|
|
94 |
<tr> |
|
95 |
<td></td> |
|
96 |
<td><input name="obsolete" class="radio" type="radio" value="all"> [% 'All' | $T8 %] |
|
97 |
<input name="obsolete" class="radio" type="radio" value="Y"> [% 'Obsolete' | $T8 %] |
|
98 |
<input name="obsolete" class="radio" type="radio" value="N" checked> [% 'Not obsolete' | $T8 %] |
|
99 |
</td> |
|
100 |
</tr> |
|
101 |
|
|
102 |
<tr> |
|
103 |
<th align="right" nowrap>[% 'Include in Report' | $T8 %]</th> |
|
104 |
<td colspan="5"> |
|
105 |
<table border="0"> |
|
106 |
<tr> |
|
107 |
<td> |
|
108 |
<input name="l_id" id="l_id" type="checkbox" class="checkbox" value="Y"> |
|
109 |
<label for="l_id">[% 'ID' | $T8 %]</label> |
|
110 |
</td> |
|
111 |
<td> |
|
112 |
<input name="l_[% db %]number" id="l_[% db %]number" type="checkbox" class="checkbox" value="Y" checked> |
|
113 |
<label for="l_[% db %]number">[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %]</label> |
|
114 |
</td> |
|
115 |
<td> |
|
116 |
<input name="l_name" id="l_name" type="checkbox" class="checkbox" value="Y" checked> |
|
117 |
<label for="l_name">[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %]</label> |
|
118 |
</td> |
|
119 |
<td> |
|
120 |
<input name="l_street" id="l_street" type="checkbox" class="checkbox" value="Y" checked> |
|
121 |
<label for="l_street">[% 'Street' | $T8 %]</label> |
|
122 |
</td> |
|
123 |
</tr> |
|
1 |
[% USE T8 %] |
|
2 |
[% USE L %] |
|
3 |
[% USE HTML %] |
|
124 | 4 |
|
125 |
<tr> |
|
126 |
<td> |
|
127 |
<input name="l_contact" id="l_contact" type="checkbox" class="checkbox" value="Y" checked> |
|
128 |
<label for="l_contact">[% 'Contact' | $T8 %]</label> |
|
129 |
</td> |
|
130 |
<td> |
|
131 |
<input name="l_phone" id="l_phone" type="checkbox" class="checkbox" value="Y" checked> |
|
132 |
<label for="l_phone">[% 'Phone' | $T8 %]</label> |
|
133 |
</td> |
|
134 |
<td> |
|
135 |
<input name="l_fax" id="l_fax" type="checkbox" class="checkbox" value="Y"> |
|
136 |
<label for="l_fax">[% 'Fax' | $T8 %]</label> |
|
137 |
</td> |
|
138 |
<td> |
|
139 |
<input name="l_zipcode" id="l_zipcode" type="checkbox" class="checkbox" value="Y" checked> |
|
140 |
<label for="l_zipcode">[% 'Zipcode' | $T8 %]</label> |
|
141 |
</td> |
|
142 |
</tr> |
|
143 |
|
|
144 |
<tr> |
|
145 |
<td> |
|
146 |
<input name="l_taxnumber" id="l_taxnumber" type="checkbox" class="checkbox" value="Y"> |
|
147 |
<label for="l_taxnumber">[% 'Tax Number' | $T8 %]</label> |
|
148 |
</td> |
|
149 |
<td> |
|
150 |
<input name="l_email" id="l_email" type="checkbox" class="checkbox" value="Y" checked> |
|
151 |
<label for="l_email">[% 'E-mail' | $T8 %]</label> |
|
152 |
</td> |
|
153 |
<td> |
|
154 |
<input name="l_business" id="l_business" type="checkbox" class="checkbox" value="Y"> |
|
155 |
<label for="l_business">[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %]</label> |
|
156 |
</td> |
|
157 |
<td> |
|
158 |
<input name="l_city" id="l_city" type="checkbox" class="checkbox" value="Y" checked> |
|
159 |
<label for="l_city">[% 'City' | $T8 %]</label> |
|
160 |
</td> |
|
161 |
</tr> |
|
5 |
<h1>[% title %]</h1> |
|
162 | 6 |
|
7 |
<form method="post" action="ct.pl" name="Form" id="form"> |
|
8 |
<input type="hidden" name="db" value="[% HTML.escape(db) %]"> |
|
9 |
|
|
10 |
<div class="wrapper"> |
|
11 |
|
|
12 |
<table class="tbl-horizontal"> |
|
13 |
<caption> [% 'Customer & Contact' | $T8 %] </caption> |
|
14 |
<tbody> |
|
15 |
<tr> |
|
16 |
<th>[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %] </th> |
|
17 |
<td><input type="text" name="[% IF IS_CUSTOMER %]customer[% ELSE %]vendor[% END %]number" class="wi-normal"></td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
20 |
<th>[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][% ELSE %][% 'Vendor Name' | $T8 %][% END %] </th> |
|
21 |
<td><input type="text" id="name" name="name" class="initial_focus wi-normal"></td> |
|
22 |
</tr> |
|
23 |
<tr> |
|
24 |
<th>[% 'Contact' | $T8 %] </th> |
|
25 |
<td><input type="text" name="contact" class="wi-normal"></td> |
|
26 |
</tr> |
|
27 |
<tr> |
|
28 |
<th>[% 'Contact person (surname)' | $T8 %] </th> |
|
29 |
<td><input type="text" name="cp_name" class="wi-normal"></td> |
|
30 |
</tr> |
|
31 |
<tr> |
|
32 |
<th>[% 'E-mail' | $T8 %] </th> |
|
33 |
<td><input type="text" name="email" class="wi-normal"></td> |
|
34 |
</tr> |
|
35 |
</tbody> |
|
36 |
</table> |
|
37 |
|
|
38 |
<table class="tbl-horizontal"> |
|
39 |
<caption> [% 'Billing/shipping address' | $T8 %] </caption> |
|
40 |
<tbody> |
|
41 |
<tr> |
|
42 |
<th>[% 'Street' | $T8 %] </th> |
|
43 |
<td><input type="text" name="addr_street" class="wi-normal"></td> |
|
44 |
</tr> |
|
45 |
<tr> |
|
46 |
<th>[% 'ZIPcode' | $T8 %] </th> |
|
47 |
<td><input type="text" name="addr_zipcode" class="wi-normal"></td> |
|
48 |
</tr> |
|
49 |
<tr> |
|
50 |
<th>[% 'City' | $T8 %] </th> |
|
51 |
<td><input type="text" name="addr_city" class="wi-normal"></td> |
|
52 |
</tr> |
|
53 |
<tr> |
|
54 |
<th>[% 'Country' | $T8 %] </th> |
|
55 |
<td><input type="text" name="addr_country" class="wi-normal"></td> |
|
56 |
</tr> |
|
57 |
<tr> |
|
58 |
<th>[% 'GLN' | $T8 %] </th> |
|
59 |
<td><input type="text" name="addr_gln" class="wi-number"></td> |
|
60 |
</tr> |
|
61 |
</tbody> |
|
62 |
</table> |
|
63 |
|
|
64 |
|
|
65 |
<table class="tbl-horizontal"> |
|
66 |
<caption> [% 'Handling & Scope' | $T8 %] </caption> |
|
67 |
<tbody> |
|
68 |
[% IF SHOW_BUSINESS_TYPES %] |
|
163 | 69 |
<tr> |
164 |
<td> |
|
165 |
<input name="l_invnumber" id="l_invnumber" type="checkbox" class="checkbox" value="Y"> |
|
166 |
<label for="l_invnumber">[% 'Invoices' | $T8 %]</label> |
|
167 |
</td> |
|
168 |
<td> |
|
169 |
<input name="l_ordnumber" id="l_ordnumber" type="checkbox" class="checkbox" value="Y"> |
|
170 |
<label for="l_ordnumber">[% IF IS_CUSTOMER %][% 'Sales Orders' | $T8 %][% ELSE %][% 'Purchase Orders' | $T8 %][% END %]</label> |
|
171 |
</td> |
|
172 |
<td> |
|
173 |
<input name="l_quonumber" id="l_quonumber" type="checkbox" class="checkbox" value="Y"> |
|
174 |
<label for="l_quonumber">[% IF IS_CUSTOMER %][% 'Quotations' | $T8 %][% ELSE %][% 'RFQs' | $T8 %][% END %]</label> |
|
175 |
</td> |
|
176 |
<td> |
|
177 |
<input name="l_country" id="l_country" type="checkbox" class="checkbox" value="Y" checked> |
|
178 |
<label for="l_country">[% 'Country' | $T8 %]</label> |
|
179 |
</td> |
|
70 |
<th>[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %] </th> |
|
71 |
<td>[% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, class='wi-lightwide') %] </td> |
|
180 | 72 |
</tr> |
73 |
[% END %] |
|
74 |
[% IF IS_CUSTOMER && ALL_SALESMEN.size %] |
|
75 |
<tr> |
|
76 |
<th>[% 'Salesman' | $T8 %] </th> |
|
77 |
<td>[% L.select_tag('salesman_id', ALL_SALESMEN, title_key = 'name', with_empty = 1, class='wi-lightwide') %] </td> |
|
78 |
</tr> |
|
79 |
[% END %] |
|
80 |
<tr> |
|
81 |
<th>[% 'Insert Date' | $T8 %] [% 'From' | $T8 %] </th> |
|
82 |
<td>[% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %] <!-- PENDENT: Klassen implementieren in Funktion --></td> |
|
83 |
</tr> |
|
84 |
[% CUSTOM_VARIABLES_FILTER_CODE %] |
|
181 | 85 |
<tr> |
182 |
<td> |
|
183 |
<input name="l_discount" id="l_discount" type="checkbox" class="checkbox" value="Y"> |
|
184 |
<label for="l_discount">[% 'Discount' | $T8 %]</label> |
|
185 |
</td> |
|
186 |
<td> |
|
187 |
<input name="l_payment" id="l_payment" type="checkbox" class="checkbox" value="Y"> |
|
188 |
<label for="l_payment">[% 'Payment Terms' | $T8 %]</label> |
|
189 |
</td> |
|
190 |
<td> |
|
191 |
<input name="l_insertdate" id="l_insertdate" class="checkbox" type="checkbox" value="Y"> |
|
192 |
<label for="l_insertdate">[% 'Insert Date' | $T8 %]</label> |
|
193 |
</td> |
|
194 |
<td> |
|
195 |
<input name="l_gln" id="l_gln" type="checkbox" class="checkbox" value="Y" checked> |
|
196 |
<label for="l_gln">[% 'GLN' | $T8 %]</label> |
|
197 |
</td> |
|
86 |
<th>[% 'Scope' | $T8 %] </th> |
|
87 |
<td> |
|
88 |
<input name="status" type="radio" value="all" checked id="chckb1"> <label for="chckb1">[% 'All' | $T8 %]</label> |
|
89 |
<input name="status" type="radio" value="orphaned" id="chckb2"> <label for="chckb2">[% 'Orphaned' | $T8 %]</label> |
|
90 |
</td> |
|
198 | 91 |
</tr> |
199 |
[% IF IS_CUSTOMER %] |
|
200 | 92 |
<tr> |
201 |
<td> |
|
202 |
<input name="l_salesman" id="l_salesman" type="checkbox" class="checkbox" value="Y"> |
|
203 |
<label for="l_salesman">[% 'Salesman' | $T8 %]</label> |
|
204 |
</td> |
|
205 |
<td> |
|
206 |
<input name="l_pricegroup" id="l_pricegroup" type="checkbox" class="checkbox" value="Y"> |
|
207 |
<label for="l_pricegroup">[% 'Pricegroup' | $T8 %]</label> |
|
208 |
</td> |
|
93 |
<th>[% 'Validity' | $T8 %] </th> |
|
94 |
<td> |
|
95 |
<input name="obsolete" type="radio" value="all" id="rd1"> <label for="rd1">[% 'All' | $T8 %]</label> |
|
96 |
<input name="obsolete" type="radio" value="Y" id="rd2"> <label for="rd2">[% 'Obsolete' | $T8 %]</label> |
|
97 |
<input name="obsolete" type="radio" value="N" checked id="rd3"> <label for="rd3">[% 'Not obsolete' | $T8 %]</label> |
|
98 |
</td> |
|
209 | 99 |
</tr> |
210 |
[% END %] |
|
211 |
|
|
212 |
[% CUSTOM_VARIABLES_INCLUSION_CODE %] |
|
213 |
|
|
214 |
</table> |
|
215 |
</td> |
|
216 |
</tr> |
|
100 |
</tbody> |
|
217 | 101 |
</table> |
218 |
</form> |
|
102 |
|
|
103 |
</div> |
|
104 |
|
|
105 |
|
|
106 |
<div class="form-addition control-panel"> |
|
107 |
<h3>[% 'Include in Report' | $T8 %]</h3> |
|
108 |
|
|
109 |
<div class="list col"> |
|
110 |
<h4> [% 'Numbers & IDs' | $T8 %] </h4> |
|
111 |
<div> |
|
112 |
<input name="l_id" id="l_id" type="checkbox" value="Y"> |
|
113 |
<label for="l_id"> [% 'ID' | $T8 %] </label> |
|
114 |
</div> |
|
115 |
<div> |
|
116 |
<input name="l_[% db %]number" id="l_[% db %]number" type="checkbox" value="Y" checked> |
|
117 |
<label for="l_[% db %]number"> [% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %] </label> |
|
118 |
</div> |
|
119 |
<div> |
|
120 |
<input name="l_taxnumber" id="l_taxnumber" type="checkbox" value="Y"> |
|
121 |
<label for="l_taxnumber"> [% 'Tax Number' | $T8 %] </label> |
|
122 |
</div> |
|
123 |
<div> |
|
124 |
<input name="l_invnumber" id="l_invnumber" type="checkbox" value="Y"> |
|
125 |
<label for="l_invnumber"> [% 'Invoices' | $T8 %] </label> |
|
126 |
</div> |
|
127 |
</div> |
|
128 |
|
|
129 |
<div class="list col"> |
|
130 |
<h4> [% 'Customer' | $T8 %] </h4> |
|
131 |
<div> |
|
132 |
<input name="l_name" id="l_name" type="checkbox" value="Y" checked> |
|
133 |
<label for="l_name"> [% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][% ELSE %][% 'Vendor Name' | $T8 %][% END %] </label> |
|
134 |
</div> |
|
135 |
<div> |
|
136 |
<input name="l_contact" id="l_contact" type="checkbox" value="Y" checked> |
|
137 |
<label for="l_contact"> [% 'Contact' | $T8 %] </label> |
|
138 |
</div> |
|
139 |
</div> |
|
140 |
|
|
141 |
<div class="list col"> |
|
142 |
<h4> [% 'Address' | $T8 %] </h4> |
|
143 |
<div> |
|
144 |
<input name="l_street" id="l_street" type="checkbox" value="Y" checked> |
|
145 |
<label for="l_street"> [% 'Street' | $T8 %] </label> |
|
146 |
</div> |
|
147 |
<div> |
|
148 |
<input name="l_zipcode" id="l_zipcode" type="checkbox" value="Y" checked> |
|
149 |
<label for="l_zipcode"> [% 'Zipcode' | $T8 %] </label> |
|
150 |
</div> |
|
151 |
<div> |
|
152 |
<input name="l_city" id="l_city" type="checkbox" value="Y" checked> |
|
153 |
<label for="l_city"> [% 'City' | $T8 %] </label> |
|
154 |
</div> |
|
155 |
<div> |
|
156 |
<input name="l_country" id="l_country" type="checkbox" value="Y" checked> |
|
157 |
<label for="l_country"> [% 'Country' | $T8 %] </label> |
|
158 |
</div> |
|
159 |
<div> |
|
160 |
<input name="l_gln" id="l_gln" type="checkbox" value="Y" checked> |
|
161 |
<label for="l_gln"> [% 'GLN' | $T8 %] </label> |
|
162 |
</div> |
|
163 |
</div> |
|
164 |
|
|
165 |
<div class="list col"> |
|
166 |
<h4> [% 'Contact' | $T8 %] </h4> |
|
167 |
<div> |
|
168 |
<input name="l_phone" id="l_phone" type="checkbox" value="Y" checked> |
|
169 |
<label for="l_phone"> [% 'Phone' | $T8 %] </label> |
|
170 |
</div> |
|
171 |
<div> |
|
172 |
<input name="l_fax" id="l_fax" type="checkbox" value="Y"> |
|
173 |
<label for="l_fax"> [% 'Fax' | $T8 %] </label> |
|
174 |
</div> |
|
175 |
<div> |
|
176 |
<input name="l_email" id="l_email" type="checkbox" value="Y" checked> |
|
177 |
<label for="l_email"> [% 'E-mail' | $T8 %] </label> |
|
178 |
</div> |
|
179 |
</div> |
|
180 |
|
|
181 |
<div class="list col"> |
|
182 |
<h4> [% 'Orders' | $T8 %] </h4> |
|
183 |
<div> |
|
184 |
<input name="l_ordnumber" id="l_ordnumber" type="checkbox" value="Y"> |
|
185 |
<label for="l_ordnumber"> [% IF IS_CUSTOMER %][% 'Sales Orders' | $T8 %][% ELSE %][% 'Purchase Orders' | $T8 %][% END %] </label> |
|
186 |
</div> |
|
187 |
<div> |
|
188 |
<input name="l_quonumber" id="l_quonumber" type="checkbox" value="Y"> |
|
189 |
<label for="l_quonumber"> [% IF IS_CUSTOMER %][% 'Quotations' | $T8 %][% ELSE %][% 'RFQs' | $T8 %][% END %] </label> |
|
190 |
</div> |
|
191 |
<div> |
|
192 |
<input name="l_discount" id="l_discount" type="checkbox" value="Y"> |
|
193 |
<label for="l_discount"> [% 'Discount' | $T8 %] </label> |
|
194 |
</div> |
|
195 |
<div> |
|
196 |
<input name="l_payment" id="l_payment" type="checkbox" value="Y"> |
|
197 |
<label for="l_payment"> [% 'Payment Terms' | $T8 %] </label> |
|
198 |
</div> |
|
199 |
</div> |
|
200 |
|
|
201 |
<div class="list col"> |
|
202 |
<h4> [% 'Handling & Scope' | $T8 %] </h4> |
|
203 |
<div> |
|
204 |
<input name="l_insertdate" id="l_insertdate" type="checkbox" value="Y"> |
|
205 |
<label for="l_insertdate"> [% 'Insert Date' | $T8 %] </label> |
|
206 |
</div> |
|
207 |
[% IF IS_CUSTOMER %] |
|
208 |
<div> |
|
209 |
<input name="l_salesman" id="l_salesman" type="checkbox" value="Y"> |
|
210 |
<label for="l_salesman"> [% 'Salesman' | $T8 %] </label> |
|
211 |
</div> |
|
212 |
<div> |
|
213 |
<input name="l_pricegroup" id="l_pricegroup" type="checkbox" value="Y"> |
|
214 |
<label for="l_pricegroup"> [% 'Pricegroup' | $T8 %] </label> |
|
215 |
</div> |
|
216 |
[% END %] |
|
217 |
</div> |
|
218 |
|
|
219 |
<div class="list col"> |
|
220 |
<h4> [% 'Custom Variables' | $T8 %] </h4> |
|
221 |
<!-- PENDENT: bessere Loesung suchen --> |
|
222 |
[% CUSTOM_VARIABLES_INCLUSION_CODE %] |
|
223 |
</div> |
|
224 |
|
|
225 |
|
|
226 |
</div> |
|
227 |
|
|
228 |
</form> |
templates/webpages/ct/search_contact.html | ||
---|---|---|
1 |
[%- USE HTML %] |
|
2 |
[%- USE T8 %] |
|
3 |
[%- USE L %] |
|
4 |
[%- USE LxERP %] |
|
5 |
<h1>[% 'Contacts' | $T8 %]</h1> |
|
1 |
[% USE HTML %] |
|
2 |
[% USE T8 %] |
|
3 |
[% USE L %] |
|
4 |
[% USE LxERP %] |
|
6 | 5 |
|
7 |
<form method="post" action="ct.pl" name="Form" id="form">
|
|
6 |
<h1>[% 'Contacts' | $T8 %]</h1>
|
|
8 | 7 |
|
9 |
<table> |
|
10 |
<tr> |
|
11 |
<th align="right" nowrap>[% 'Name' | $T8 %]</th> |
|
12 |
<td><input name="filter.cp_name" size="35" class="initial_focus"></td> |
|
13 |
</tr> |
|
14 |
<tr> |
|
15 |
<th align="right" nowrap>[% 'Greeting' | $T8 %]</th> |
|
16 |
<td><input name="filter.cp_greeting" size="35"></td> |
|
17 |
</tr> |
|
18 |
<tr> |
|
19 |
<th align="right" nowrap>[% 'Title' | $T8 %]</th> |
|
20 |
<td><input name="filter.cp_title" size="35"></td> |
|
21 |
</tr> |
|
22 |
<tr> |
|
23 |
<th align="right" nowrap>[% 'E-mail' | $T8 %]</th> |
|
24 |
<td><input name="filter.cp_email" size="35"></td> |
|
25 |
</tr> |
|
26 |
<tr> |
|
27 |
<th align="right" nowrap>[% 'Department' | $T8 %]</th> |
|
28 |
<td><input name="filter.cp_abteilung" size="35"></td> |
|
29 |
</tr> |
|
30 |
<tr> |
|
31 |
<th align="right" nowrap>[% 'Project' | $T8 %]</th> |
|
32 |
<td><input name="filter.cp_project" size="35"></td> |
|
33 |
</tr> |
|
8 |
<form method="post" action="ct.pl" name="Form" id="form"> |
|
34 | 9 |
|
35 |
[% CUSTOM_VARIABLES_FILTER_CODE %]
|
|
10 |
<div class="wrapper">
|
|
36 | 11 |
|
37 |
<tr> |
|
38 |
<td></td> |
|
39 |
<td> |
|
40 |
<input name="filter.status" class="radio" type="radio" value="active" checked> [% 'Active' | $T8 %] |
|
41 |
<input name="filter.status" class="radio" type="radio" value="all"> [% 'All' | $T8 %] |
|
42 |
<input name="filter.status" class="radio" type="radio" value="orphaned"> [% 'Orphaned' | $T8 %] |
|
43 |
</td> |
|
44 |
</tr> |
|
12 |
<table class="tbl-horizontal"> |
|
13 |
<tbody> |
|
14 |
<tr> |
|
15 |
<th>[% 'Name' | $T8 %] </th> |
|
16 |
<td><input type="text" name="filter.cp_name" class="wi-lightwide" class="initial_focus"></td> |
|
17 |
</tr> |
|
18 |
<tr> |
|
19 |
<th>[% 'Greeting' | $T8 %] </th> |
|
20 |
<td><input type="text" name="filter.cp_greeting" class="wi-lightwide"></td> |
|
21 |
</tr> |
|
22 |
<tr> |
|
23 |
<th>[% 'Title' | $T8 %] </th> |
|
24 |
<td><input type="text" name="filter.cp_title" class="wi-lightwide"></td> |
|
25 |
</tr> |
|
26 |
<tr> |
|
27 |
<th>[% 'E-mail' | $T8 %] </th> |
|
28 |
<td><input type="text" name="filter.cp_email" class="wi-lightwide"></td> |
|
29 |
</tr> |
|
30 |
<tr> |
|
31 |
<th>[% 'Department' | $T8 %] </th> |
|
32 |
<td><input type="text" name="filter.cp_abteilung" class="wi-lightwide"></td> |
|
33 |
</tr> |
|
34 |
<tr> |
|
35 |
<th>[% 'Project' | $T8 %] </th> |
|
36 |
<td><input type="text" name="filter.cp_project" class="wi-lightwide"></td> |
|
37 |
</tr> |
|
38 |
[% CUSTOM_VARIABLES_FILTER_CODE %] |
|
39 |
<tr> |
|
40 |
<th>[% 'Scope' | $T8 %] </th> |
|
41 |
<td> |
|
42 |
<input name="filter.status" type="radio" value="active" checked id="rd1"> <label for="rd1">[% 'Active' | $T8 %]</label> |
|
43 |
<input name="filter.status" type="radio" value="all" id="rd2"> <label for="rd2">[% 'All' | $T8 %]</label> |
|
44 |
<input name="filter.status" type="radio" value="orphaned" id="rd3"> <label for="rd3">[% 'Orphaned' | $T8 %]</label> |
|
45 |
</td> |
|
46 |
</tr> |
|
47 |
</tbody> |
|
48 |
</table> |
|
45 | 49 |
|
46 |
<tr> |
|
47 |
<th align="right" nowrap>[% 'Include in Report' | $T8 %]</th> |
|
48 |
<td> |
|
49 |
<table border="0"> |
|
50 |
<tr> |
|
51 |
<td> |
|
52 |
<input name="l.cp_id" id="l_cp_id" type="checkbox" class="checkbox" value="Y"> |
|
53 |
<label for="l_cp_id">[% 'ID' | $T8 %]</label> |
|
54 |
</td> |
|
55 |
<td> |
|
56 |
<input name="l.vcnumber" id="l_vcnumber" type="checkbox" class="checkbox" value="Y" checked> |
|
57 |
<label for="l_vcnumber">[% 'Customer/Vendor Number' | $T8 %]</label> |
|
58 |
</td> |
|
59 |
<td> |
|
60 |
<input name="l.vcname" id="l_vcname" type="checkbox" class="checkbox" value="Y" checked> |
|
61 |
<label for="l_vcname">[% 'Customer/Vendor Name' | $T8 %]</label> |
|
62 |
</td> |
|
63 |
</tr> |
|
64 | 50 |
|
65 |
<tr> |
|
66 |
<td> |
|
67 |
<input name="l.cp_name" id="l_cp_name" type="checkbox" class="checkbox" value="Y" checked> |
|
68 |
<label for="l_cp_name">[% 'Name' | $T8 %]</label> |
|
69 |
</td> |
|
70 |
<td> |
|
71 |
<input name="l.cp_givenname" id="l_cp_givenname" type="checkbox" class="checkbox" value="Y" checked> |
|
72 |
<label for="l_cp_givenname">[% 'Given Name' | $T8 %]</label> |
|
73 |
</td> |
|
74 |
</tr> |
|
75 |
<tr> |
|
76 |
<td> |
|
77 |
<input name="l.cp_street" id="l_cp_street" type="checkbox" class="checkbox" value="Y"> |
|
78 |
<label for="l_cp_street">[% 'Street' | $T8 %]</label> |
|
79 |
</td> |
|
80 |
<td> |
|
81 |
<input name="l.cp_zipcode" id="l_cp_zipcode" type="checkbox" class="checkbox" value="Y"> |
|
82 |
<label for="l_cp_zipcode">[% 'Zipcode' | $T8 %]</label> |
|
83 |
</td> |
|
84 |
<td> |
|
85 |
<input name="l.cp_city" id="l_cp_city" type="checkbox" class="checkbox" value="Y"> |
|
86 |
<label for="l_cp_city">[% 'City' | $T8 %]</label> |
|
87 |
</td> |
|
88 |
</tr> |
|
89 |
<tr> |
|
90 |
<td> |
|
91 |
<input name="l.cp_phone" id="l_cp_phone" type="checkbox" class="checkbox" value="Y" checked> |
|
92 |
<label for="l_cp_phone">[% 'Phone' | $T8 %]</label> |
|
93 |
</td> |
|
94 |
<td> |
|
95 |
<input name="l.cp_mobile" id="l_cp_mobile" type="checkbox" class="checkbox" value="Y" checked> |
|
96 |
<label for="l_cp_mobile">[% 'Mobile' | $T8 %]</label> |
|
97 |
</td> |
|
51 |
</div> |
|
98 | 52 |
|
99 |
<td>[%- L.checkbox_tag('l.cp_privatphone', value='Y', label=LxERP.t8('Private Phone'), class='checkbox', checked=1) %]</td> |
|
100 |
</tr> |
|
101 | 53 |
|
102 |
<tr> |
|
103 |
<td>[%- L.checkbox_tag('l.cp_fax', value='Y', label=LxERP.t8('Fax'), class='checkbox') %]</td> |
|
104 |
<td>[%- L.checkbox_tag('l.cp_email', value='Y', label=LxERP.t8('E-mail'), class='checkbox', checked=1) %]</td> |
|
105 |
<td>[%- L.checkbox_tag('l.cp_privatemail', value='Y', label=LxERP.t8('Private E-mail'), class='checkbox') %]</td> |
|
106 |
</tr> |
|
54 |
<div class="wrapper form-addition control-panel"> |
|
55 |
<h3 class="caption">[% 'Include in Report' | $T8 %] </h3> |
|
107 | 56 |
|
108 |
<tr> |
|
109 |
<td> |
|
110 |
<input name="l.cp_abteilung" id="l_cp_abteilung" type="checkbox" class="checkbox" value="Y"> |
|
111 |
<label for="l_cp_abteilung">[% 'Department' | $T8 %]</label> |
|
112 |
</td> |
|
113 | 57 |
|
114 |
<td>[% L.checkbox_tag('l.cp_position', value='Y', label=LxERP.t8('Function/position'), class='checkbox') %]</td> |
|
115 |
</tr> |
|
58 |
<div class="list col"> |
|
59 |
<h4>[% 'Numbers & IDs' | $T8 %]</h4> |
|
60 |
<div> |
|
61 |
<input name="l.cp_id" id="l_cp_id" type="checkbox" value="Y"> |
|
62 |
<label for="l_cp_id"> [% 'ID' | $T8 %] </label> |
|
63 |
</div> |
|
64 |
<div> |
|
65 |
<input name="l.vcnumber" id="l_vcnumber" type="checkbox" value="Y" checked> |
|
66 |
<label for="l_vcnumber"> [% 'Customer/Vendor Number' | $T8 %] </label> |
|
67 |
</div> |
|
68 |
</div> |
|
116 | 69 |
|
117 |
<tr> |
|
118 |
<td> |
|
119 |
<input name="l.cp_gender" id="l_cp_gender" type="checkbox" class="checkbox" value="Y"> |
|
120 |
<label for="l_cp_gender">[% 'Gender' | $T8 %]</label> |
|
121 |
</td> |
|
70 |
<div class="list col"> |
|
71 |
<h4> [% 'Customer' | $T8 %] </h4> |
|
72 |
<div> |
|
73 |
<input name="l.vcname" id="l_vcname" type="checkbox" value="Y" checked> |
|
74 |
<label for="l_vcname"> [% 'Customer/Vendor Name' | $T8 %] </label> |
|
75 |
</div> |
|
76 |
<div> |
|
77 |
<input name="l.cp_name" id="l_cp_name" type="checkbox" value="Y" checked> |
|
78 |
<label for="l_cp_name"> [% 'Name' | $T8 %] </label> |
|
79 |
</div> |
|
80 |
<div> |
|
81 |
<input name="l.cp_givenname" id="l_cp_givenname" type="checkbox" value="Y" checked> |
|
82 |
<label for="l_cp_givenname"> [% 'Given Name' | $T8 %] </label> |
|
83 |
</div> |
|
84 |
<div> |
|
85 |
<input name="l.cp_abteilung" id="l_cp_abteilung" type="checkbox" value="Y"> |
|
86 |
<label for="l_cp_abteilung"> [% 'Department' | $T8 %] </label> |
|
87 |
</div> |
|
88 |
<div> |
|
89 |
[% L.checkbox_tag('l.cp_position', value='Y', label=LxERP.t8('Function/position')) %] |
|
90 |
</div> |
|
91 |
<div> |
|
92 |
<input name="l.cp_gender" id="l_cp_gender" type="checkbox" value="Y"> |
|
93 |
<label for="l_cp_gender"> [% 'Gender' | $T8 %] </label> |
|
94 |
</div> |
|
95 |
<div> |
|
96 |
<input name="l.cp_birthday" id="l_cp_birthday" type="checkbox" value="Y"> |
|
97 |
<label for="l_cp_birthday"> [% 'Birthday' | $T8 %] </label> |
|
98 |
</div> |
|
99 |
</div> |
|
122 | 100 |
|
123 |
<td> |
|
124 |
<input name="l.cp_birthday" id="l_cp_birthday" type="checkbox" class="checkbox" value="Y"> |
|
125 |
<label for="l_cp_birthday">[% 'Birthday' | $T8 %]</label> |
|
126 |
</td> |
|
127 |
</tr> |
|
101 |
<div class="list col"> |
|
102 |
<h4> [% 'Address' | $T8 %] </h4> |
|
103 |
<div> |
|
104 |
<input name="l.cp_street" id="l_cp_street" type="checkbox" value="Y"> |
|
105 |
<label for="l_cp_street"> [% 'Street' | $T8 %] </label> |
|
106 |
</div> |
|
107 |
<div> |
|
108 |
<input name="l.cp_zipcode" id="l_cp_zipcode" type="checkbox" value="Y"> |
|
109 |
<label for="l_cp_zipcode"> [% 'Zipcode' | $T8 %] </label> |
|
110 |
</div> |
|
111 |
<div> |
|
112 |
<input name="l.cp_city" id="l_cp_city" type="checkbox" value="Y"> |
|
113 |
<label for="l_cp_city"> [% 'City' | $T8 %] </label> |
|
114 |
</div> |
|
115 |
</div> |
|
128 | 116 |
|
129 |
[% CUSTOM_VARIABLES_INCLUSION_CODE %] |
|
117 |
<div class="list col"> |
|
118 |
<h4> [% 'Contact' | $T8 %] </h4> |
|
119 |
<div> |
|
120 |
<input name="l.cp_phone" id="l_cp_phone" type="checkbox" value="Y" checked> |
|
121 |
<label for="l_cp_phone"> [% 'Phone' | $T8 %] </label> |
|
122 |
</div> |
|
123 |
<div> |
|
124 |
<input name="l.cp_mobile" id="l_cp_mobile" type="checkbox" value="Y" checked> |
|
125 |
<label for="l_cp_mobile"> [% 'Mobile' | $T8 %] </label> |
|
126 |
</div> |
|
127 |
<div> |
|
128 |
[% L.checkbox_tag('l.cp_privatphone', value='Y', label=LxERP.t8('Private Phone'), checked=1) %] |
|
129 |
</div> |
|
130 |
<div> |
|
131 |
[% L.checkbox_tag('l.cp_fax', value='Y', label=LxERP.t8('Fax')) %] |
|
132 |
</div> |
|
133 |
<div> |
|
134 |
[% L.checkbox_tag('l.cp_email', value='Y', label=LxERP.t8('E-mail'), checked=1) %] |
|
135 |
</div> |
|
136 |
<div> |
|
137 |
[% L.checkbox_tag('l.cp_privatemail', value='Y', label=LxERP.t8('Private E-mail')) %] |
|
138 |
</div> |
|
139 |
[% CUSTOM_VARIABLES_INCLUSION_CODE %] |
|
140 |
</div> |
|
130 | 141 |
|
131 |
</table> |
|
132 |
</td> |
|
133 |
</tr> |
|
134 |
</table> |
|
135 |
</form> |
|
142 |
</div> |
|
143 |
</form> |
templates/webpages/cti/list_internal_extensions.html | ||
---|---|---|
1 |
[%- USE HTML %][%- USE LxERP -%] |
|
1 |
[% USE HTML %] |
|
2 |
[% USE LxERP %] |
|
2 | 3 |
<body> |
3 | 4 |
|
4 | 5 |
<h1>[% HTML.escape(title) %]</h1> |
5 | 6 |
|
6 |
[% IF !SELF.internal_extensions.size %] |
|
7 |
<p>[% LxERP.t8("No internal phone extensions have been configured yet.") %]</p> |
|
7 |
<div class="wrapper"> |
|
8 |
[% IF !SELF.internal_extensions.size %] |
|
9 |
<p>[% LxERP.t8("No internal phone extensions have been configured yet.") %]</p> |
|
8 | 10 |
|
9 |
[% ELSE %] |
|
10 |
<table> |
|
11 |
<tr class="listheading"> |
|
12 |
<th>[% LxERP.t8("Name") %]</th> |
|
13 |
<th>[% LxERP.t8("Phone extension") %]</th> |
|
14 |
</tr> |
|
11 |
[% ELSE %] |
|
12 |
<table class="tbl-plain wi-moderate"> |
|
13 |
<thead> |
|
14 |
<tr> |
|
15 |
<th>[% LxERP.t8("Name") %]</th> |
|
16 |
<th>[% LxERP.t8("Phone extension") %]</th> |
|
17 |
</tr> |
|
18 |
</thead> |
|
19 |
<tbody> |
|
20 |
[% FOREACH extension = SELF.internal_extensions %] |
|
21 |
<tr class="listrow"> |
|
22 |
<td>[% HTML.escape(extension.name) %]</td> |
|
23 |
<td><a href="[% HTML.escape(extension.call_link) %]" class="cti_call_action">[% HTML.escape(extension.phone_extension) %]</a></td> |
|
24 |
</tr> |
|
25 |
[% END %] |
|
26 |
</tbody> |
|
27 |
</table> |
|
28 |
[% END %] |
|
29 |
</div> |
|
15 | 30 |
|
16 |
[%- FOREACH extension = SELF.internal_extensions %] |
|
17 |
<tr class="listrow"> |
|
18 |
<td>[% HTML.escape(extension.name) %]</td> |
|
19 |
<td><a href="[% HTML.escape(extension.call_link) %]" class="cti_call_action">[% HTML.escape(extension.phone_extension) %]</a></td> |
|
20 |
</tr> |
|
21 |
[%- END %] |
|
22 |
</table> |
|
23 |
[% END %] |
|
24 | 31 |
</body> |
25 | 32 |
</html> |
templates/webpages/custom_variable_config/form.html | ||
---|---|---|
1 |
[%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%]<h1>[% HTML.escape(title) %]</h1> |
|
1 |
[% USE HTML -%] |
|
2 |
[% USE LxERP -%] |
|
3 |
[% USE L -%] |
|
4 |
[% USE T8 -%] |
|
2 | 5 |
|
6 |
<h1>[% HTML.escape(title) %]</h1> |
|
7 |
|
|
8 |
<div class="wrapper"> |
|
3 | 9 |
<form action="controller.pl" method="post" id="form"> |
4 |
[%- L.hidden_tag("id", SELF.config.id) %] |
|
5 |
|
|
6 |
<p> |
|
7 |
<table> |
|
8 |
<tr> |
|
9 |
<td align="right">[% 'Module' | $T8 %]</td> |
|
10 |
<td>[%- L.select_tag('module', SELF.modules, value_key='module', title_key='description', default=SELF.module, onchange="update_ic_rows();") %]</td> |
|
11 |
</tr> |
|
12 |
|
|
13 |
<tr> |
|
14 |
<td align="right">[% 'Variable Name' | $T8 %]<sup><span class="small-text">(1)</span></sup></td> |
|
15 |
<td>[%- L.input_tag("config.name", SELF.config.name, class='initial_focus') %]</td> |
|
16 |
</tr> |
|
17 |
|
|
18 |
<tr> |
|
19 |
<td align="right">[% 'Variable Description' | $T8 %]<sup><span class="small-text">(2)</span></sup></td> |
|
20 |
<td>[%- L.input_tag("config.description", SELF.config.description) %]</td> |
|
21 |
</tr> |
|
22 |
|
|
23 |
<tr> |
|
24 |
<td align="right">[% 'Type' | $T8 %]<sup><span class="small-text">(3)</span></sup></td> |
|
25 |
<td>[% L.select_tag("config.type", SELF.translated_types, value_key='type', title_key='translation', default=SELF.config.type) %]</td> |
|
26 |
</tr> |
|
27 |
|
|
28 |
<tr> |
|
29 |
<td align="right">[% 'Default value' | $T8 %]<sup><span class="small-text">(4)</span></sup></td> |
|
30 |
<td>[%- L.input_tag("config.default_value", SELF.config.type == 'number' ? LxERP.format_amount(SELF.config.default_value, 2) : SELF.config.default_value) %]</td> |
|
31 |
</tr> |
|
32 |
|
|
33 |
<tr> |
|
34 |
<td align="right">[% 'Options' | $T8 %]<sup><span class="small-text">(5)</span></sup></td> |
|
35 |
<td>[%- L.input_tag("config.options", SELF.config.options) %]</td> |
|
36 |
</tr> |
|
37 |
|
|
38 |
<tr> |
|
39 |
<td align="right">[% 'Is Searchable' | $T8 %]</td> |
|
40 |
<td> |
|
41 |
[% L.radio_button_tag('config.searchable', value='1', id='config_searchable_1', label=LxERP.t8('Yes'), checked=(SELF.config.searchable ? 1 : '')) %] |
|
42 |
[% L.radio_button_tag('config.searchable', value='0', id='config_searchable_0', label=LxERP.t8('No'), checked=(SELF.config.searchable ? '' : 1)) %] |
|
43 |
</td> |
|
44 |
</tr> |
|
45 |
|
|
46 |
<tr> |
|
47 |
<td align="right">[% 'Includeable in reports' | $T8 %]</td> |
|
48 |
<td> |
|
49 |
[% L.radio_button_tag('config.includeable', value='1', id='config_includeable_1', label=LxERP.t8('Yes'), checked=(SELF.config.includeable ? 1 : ''), onclick='update_included_by_default()') %] |
|
50 |
[% L.radio_button_tag('config.includeable', value='0', id='config_includeable_0', label=LxERP.t8('No'), checked=(SELF.config.includeable ? '' : 1), onclick='update_included_by_default()') %] |
|
51 |
</td> |
|
52 |
</tr> |
|
53 |
|
|
54 |
<tr> |
|
55 |
<td align="right">[% 'Included in reports by default' | $T8 %]</td> |
|
56 |
<td> |
|
57 |
[% SET disabled = SELF.config.includeable ? '' : 'disabled' %] |
|
58 |
[% L.radio_button_tag('config.included_by_default', value='1', id='config_included_by_default_1', label=LxERP.t8('Yes'), checked=(SELF.config.included_by_default ? 1 : ''), disabled=disabled) %] |
|
59 |
[% L.radio_button_tag('config.included_by_default', value='0', id='config_included_by_default_0', label=LxERP.t8('No'), checked=(SELF.config.included_by_default ? '' : 1), disabled=disabled) %] |
|
60 |
</td> |
|
61 |
</tr> |
|
62 |
|
|
63 |
<tr data-show-for="IC"[% UNLESS SELF.module == 'IC' %] style="display: none;"[% END %]> |
|
64 |
<td align="right">[% 'Editable' | $T8 %]<sup><span class="small-text">(6)</span></sup></td> |
|
65 |
<td> |
|
66 |
[% L.radio_button_tag('config.flag_editable', value='1', id='config.flag_editable_1', label=LxERP.t8('Yes'), checked=(SELF.flags.editable ? 1 : '')) %] |
|
67 |
[% L.radio_button_tag('config.flag_editable', value='0', id='config.flag_editable_0', label=LxERP.t8('No'), checked=(SELF.flags.editable ? '' : 1)) %] |
|
68 |
</td> |
|
69 |
</tr> |
|
70 |
<tr data-show-for="IC"[% UNLESS SELF.module == 'IC' %] style="display: none;"[% END %]> |
|
71 |
<td align="right">[% 'Deactivate by default' | $T8 %]<sup><span class="small-text">(7)</span></sup></td> |
|
72 |
<td> |
|
73 |
[% L.radio_button_tag('config.flag_defaults_to_invalid', value='1', id='config.flag_defaults_to_invalid_1', label=LxERP.t8('Yes'), checked=(SELF.flags.defaults_to_invalid ? 1 : '')) %] |
|
74 |
[% L.radio_button_tag('config.flag_defaults_to_invalid', value='0', id='config.flag_defaults_to_invalid_0', label=LxERP.t8('No'), checked=(SELF.flags.defaults_to_invalid ? '' : 1)) %] |
|
75 |
</td> |
|
76 |
</tr> |
|
77 |
<tr data-show-for="IC"[% UNLESS SELF.module == 'IC' %] style="display: none;"[% END %]> |
|
78 |
<td align="right">[% 'Filter by Partsgroups' | $T8 %]</td> |
|
79 |
<td> |
|
80 |
[% L.radio_button_tag('config.flag_partsgroup_filter', value='1', id='config_flag_partsgroup_filter_1', label=LxERP.t8('Yes'), checked=(SELF.flags.partsgroup_filter ? 1 : ''), onclick='update_pg_filter_row()') %] |
|
81 |
[% L.radio_button_tag('config.flag_partsgroup_filter', value='0', id='config_flag_partsgroup_filter_0', label=LxERP.t8('No'), checked=(SELF.flags.partsgroup_filter ? '' : 1), onclick='update_pg_filter_row()') %] |
|
82 |
</td> |
|
83 |
</tr> |
|
84 |
<tr data-show-for="IC+PGFILTER"[% UNLESS (SELF.module == 'IC' && SELF.flags.partsgroup_filter) %] style="display: none;"[% END %]> |
|
85 |
<td></td> |
|
86 |
<td> |
|
87 |
[% L.select_tag('config.partsgroups[]', |
|
88 |
all_partsgroups, |
|
89 |
id => "partsgroups", |
|
90 |
value_key => "id", |
|
91 |
title_key => "partsgroup", |
|
92 |
default => SELF.config.partsgroups, |
|
93 |
default_value_key => "id", |
|
94 |
multiple => 1) %] |
|
95 |
[% L.multiselect2side("partsgroups", |
|
96 |
labelsx => LxERP.t8("All partsgroups"), |
|
97 |
labeldx => LxERP.t8("Partsgroups where variables are shown")) %] |
|
98 |
</td> |
|
99 |
</tr> |
|
100 |
</table> |
|
101 |
</p> |
|
102 |
|
|
103 |
<hr> |
|
104 |
|
|
105 |
<h3>[% 'Annotations' | $T8 %]</h3> |
|
106 |
|
|
107 |
<p> |
|
108 |
(1) [% 'The variable name must only consist of letters, numbers and underscores. It must begin with a letter. Example: send_christmas_present' | $T8 %] |
|
109 |
</p> |
|
110 |
|
|
111 |
<p> |
|
112 |
(2) [% 'The description is shown on the form. Chose something short and descriptive.' | $T8 %] |
|
113 |
</p> |
|
114 |
<p> |
|
115 |
(3) [% 'For type "customer" the perl module JSON is required. Please check this on system level: $ ./scripts/installation_check.pl' | $T8 %] |
|
116 |
</p> |
|
117 |
|
|
118 |
<p> |
|
119 |
(4) [% 'The default value depends on the variable type:' | $T8 %] |
|
120 |
<br> |
|
121 |
<ul> |
|
122 |
<li>[%- 'Text, text field and number variables: The default value will be used as-is.' | $T8 %]</li> |
|
123 |
<li>[%- 'Boolean variables: If the default value is non-empty then the checkbox will be checked by default and unchecked otherwise.' | $T8 %]</li> |
|
124 |
<li>[%- 'Date and timestamp variables: If the default value equals \'NOW\' then the current date/current timestamp will be used. Otherwise the default value is copied as-is.' | $T8 %]</li> |
|
125 |
</ul> |
|
126 |
</p> |
|
127 |
|
|
128 |
<p> |
|
129 |
(5) [% 'The available options depend on the varibale type:' | $T8 %] |
|
130 |
<br> |
|
131 |
<ul> |
|
132 |
<li>[%- 'Text variables: \'MAXLENGTH=n\' sets the maximum entry length to \'n\'.' | $T8 %]</li> |
|
133 |
<li>[%- 'Text field variables: \'WIDTH=w HEIGHT=h\' sets the width and height of the text field. They default to 30 and 5 respectively.' | $T8 %]</li> |
|
134 |
<li>[%- 'Number variables: \'PRECISION=n\' forces numbers to be shown with exactly n decimal places.' | $T8 %]</li> |
Auch abrufbar als: Unified diff
Neues kivitendo Design restliche Aenderungen in templates/webpages/c*
Dateien in ca/* chart/* cp/* ct/* cti/* custom_variable_config/*