Revision 53d4e486
Von Werner Hahn vor fast 2 Jahren hinzugefügt
templates/design40_webpages/customer_vendor_turnover/_list_open_items.html | ||
---|---|---|
4 | 4 |
[%- USE HTML %] |
5 | 5 |
|
6 | 6 |
<div id="sales_report" class="wrapper"> |
7 |
<table class="table-list wi-moderate">
|
|
7 |
<table class="tbl-list wi-moderate">
|
|
8 | 8 |
<caption>[%- HTML.escape(title) %]</caption> |
9 | 9 |
<thead> |
10 | 10 |
<tr> |
templates/design40_webpages/customer_vendor_turnover/_list_open_orders.html | ||
---|---|---|
4 | 4 |
[%- USE HTML %] |
5 | 5 |
|
6 | 6 |
<div id="orders_report" class="wrapper"> |
7 |
<table class="table-list wi-moderate">
|
|
7 |
<table class="tbl-list wi-moderate">
|
|
8 | 8 |
<caption>[%- HTML.escape(title) %]</caption> |
9 | 9 |
<thead> |
10 | 10 |
<tr> |
templates/design40_webpages/customer_vendor_turnover/_statistic_tabs.html | ||
---|---|---|
7 | 7 |
$ ( "#statistic_tabs" ).tabs(); |
8 | 8 |
}); |
9 | 9 |
</script> |
10 |
<div class="tabwidget" id="statistic_tabs"> |
|
10 |
<div class="tabwidget" id="statistic_tabs" class="wrapper">
|
|
11 | 11 |
<ul> |
12 | 12 |
[% IF FORM.db == "customer" %]<li><a href="#dun_stat">[% 'Dunningstatistic' | $T8 %]</a></li>[% END %] |
13 | 13 |
<li><a href="#quotations">[% IF FORM.db == "customer" %][% 'Sales Quotations' | $T8 %][% ELSE %][% 'Request Quotations' | $T8 %][% END %]</a></li> |
templates/design40_webpages/customer_vendor_turnover/count_open_items_by_year.html | ||
---|---|---|
3 | 3 |
[%- USE L %] |
4 | 4 |
[%- USE HTML %] |
5 | 5 |
<div id="dun_statistic"> |
6 |
<table width="100%">
|
|
7 |
<tbody>
|
|
6 |
<table class="tbl-list wi-moderate">
|
|
7 |
<thead>
|
|
8 | 8 |
<tr> |
9 |
<td class="listheading">[% 'Month/Year' | $T8 %]</td>
|
|
10 |
<td class="listheading">[% 'Dunnings' | $T8 %]</td>
|
|
11 |
<td class="listheading">[% 'Highest Dunninglevel' | $T8 %]</td>
|
|
9 |
<th>[% 'Month/Year' | $T8 %]</th>
|
|
10 |
<th>[% 'Dunnings' | $T8 %]</th>
|
|
11 |
<th>[% 'Highest Dunninglevel' | $T8 %]</th>
|
|
12 | 12 |
</tr> |
13 |
|
|
13 |
</thead> |
|
14 |
<tbody> |
|
14 | 15 |
[%- FOREACH row = SELF.dun_statistic %] |
15 | 16 |
<tr class="listrow[% loop.count % 2 %]"> |
16 | 17 |
<td>[% row.date_part | html %]</td> |
templates/design40_webpages/customer_vendor_turnover/dun_statistic.html | ||
---|---|---|
3 | 3 |
[%- USE L %] |
4 | 4 |
[%- USE HTML %] |
5 | 5 |
|
6 |
<p>
|
|
6 |
<div class="wrapper">
|
|
7 | 7 |
[% L.radio_button_tag('period', value='year', label= LxERP.t8('Year'), onclick='kivi.CustomerVendorTurnover.show_dun_stat("y");') %] |
8 |
|
|
8 |
<br> |
|
9 | 9 |
[% L.radio_button_tag('period', value='month', label= LxERP.t8('Month'), onclick='kivi.CustomerVendorTurnover.show_dun_stat("m");') %] |
10 |
</p> |
|
11 |
<div id="duns"></div> |
|
10 |
</div> |
|
11 |
<div id="duns" class="wrapper"></div> |
templates/design40_webpages/customer_vendor_turnover/email_statistic.html | ||
---|---|---|
4 | 4 |
[%- USE HTML %] |
5 | 5 |
[%- USE Dumper %] |
6 | 6 |
|
7 |
<div id="invoice_statistic"> |
|
8 |
<table width="100%">
|
|
9 |
<tbody>
|
|
7 |
<div id="invoice_statistic" class="wrapper">
|
|
8 |
<table class="tbl-list wi-moderate">
|
|
9 |
<thead>
|
|
10 | 10 |
<tr> |
11 |
<td class="listheading">[% 'Sent on' | $T8 %]</td>
|
|
12 |
<td class="listheading">[% 'Subject' | $T8 %]</td>
|
|
13 |
<td class="listheading">[% 'Record Type' | $T8 %]</td>
|
|
14 |
<td class="listheading">[% 'Record number' | $T8 %]</td>
|
|
15 |
<td class="listheading">[% 'From' | $T8 %]</td>
|
|
16 |
<td class="listheading">[% 'To' | $T8 %]</td>
|
|
17 |
<td class="listheading">[% 'Status' | $T8 %]</td>
|
|
11 |
<th>[% 'Sent on' | $T8 %]</th>
|
|
12 |
<th>[% 'Subject' | $T8 %]</th>
|
|
13 |
<th>[% 'Record Type' | $T8 %]</th>
|
|
14 |
<th>[% 'Record number' | $T8 %]</th>
|
|
15 |
<th>[% 'From' | $T8 %]</th>
|
|
16 |
<th>[% 'To' | $T8 %]</th>
|
|
17 |
<th>[% 'Status' | $T8 %]</th>
|
|
18 | 18 |
</tr> |
19 |
|
|
19 |
</thead> |
|
20 |
<tbody> |
|
20 | 21 |
[%- FOREACH row = emails %] |
21 |
<tr class="listrow[% loop.count % 2 %]">
|
|
22 |
<tr> |
|
22 | 23 |
<td>[% row.sent_on | html %]</td> |
23 | 24 |
<td> |
24 | 25 |
<a href="[% SELF.url_for(controller='controller.pl', action => 'EmailJournal/show', id => row.id, back_to => SELF.get_callback) %]"> |
25 |
[%- HTML.escape(row.subject) %] |
|
26 |
[%- HTML.escape(row.subject) %]
|
|
26 | 27 |
</a></td> |
27 |
<td>[% row.type | $T8 %]</td> |
|
28 |
<td>[% row.recordnumber | html %]</td> |
|
29 |
<td>[% row.from %]</td> |
|
30 |
<td>[% row.recipients %]</td> |
|
31 |
<td>[% row.status %]</td> |
|
28 |
<td>[% row.type | $T8 %]</td>
|
|
29 |
<td>[% row.recordnumber | html %]</td>
|
|
30 |
<td>[% row.from %]</td>
|
|
31 |
<td>[% row.recipients %]</td>
|
|
32 |
<td>[% row.status %]</td>
|
|
32 | 33 |
</tr> |
33 | 34 |
[% END %] |
34 | 35 |
</tbody> |
35 | 36 |
</table> |
36 |
|
|
37 |
|
|
38 |
</tbody> |
|
39 |
</table> |
|
40 | 37 |
</div> |
templates/design40_webpages/customer_vendor_turnover/invoices_statistic.html | ||
---|---|---|
2 | 2 |
[%- USE LxERP %] |
3 | 3 |
[%- USE L %] |
4 | 4 |
[%- USE HTML %] |
5 |
<div id="invoice_statistic"> |
|
6 |
<table width="100%">
|
|
7 |
<tbody>
|
|
5 |
<div id="invoice_statistic" class="wrapper">
|
|
6 |
<table class="tbl-list wi-moderate">
|
|
7 |
<thead>
|
|
8 | 8 |
<tr> |
9 |
<td class="listheading">[% 'Type' | $T8 %]</td>
|
|
10 |
<td class="listheading">[% 'Invoice Number' | $T8 %]</td>
|
|
11 |
<td class="listheading">[% 'Invoice Date' | $T8 %]</td>
|
|
12 |
<td class="listheading">[% 'Amount' | $T8 %]</td>
|
|
13 |
<td class="listheading">[% 'Inv. Duedate' | $T8 %]</td>
|
|
14 |
<td class="listheading">[% 'Paid' | $T8 %]</td>
|
|
15 |
<td class="listheading">[% 'Open Amount' | $T8 %]</td>
|
|
9 |
<th>[% 'Type' | $T8 %]</th>
|
|
10 |
<th>[% 'Invoice Number' | $T8 %]</th>
|
|
11 |
<th>[% 'Invoice Date' | $T8 %]</th>
|
|
12 |
<th>[% 'Amount' | $T8 %]</th>
|
|
13 |
<th>[% 'Inv. Duedate' | $T8 %]</th>
|
|
14 |
<th>[% 'Paid' | $T8 %]</th>
|
|
15 |
<th>[% 'Open Amount' | $T8 %]</th>
|
|
16 | 16 |
</tr> |
17 |
</thead> |
|
18 |
<tbody> |
|
17 | 19 |
|
18 | 20 |
[%- FOREACH row = invoices %] |
19 | 21 |
[% IF FORM.db == 'customer' %] |
... | ... | |
27 | 29 |
[% SET type = 'AR Transaction (abbreviation)' %] |
28 | 30 |
[% SET link = 'ar.pl' %] |
29 | 31 |
[% END %] |
30 |
[% ELSE %] |
|
31 |
[% IF row.invoice %] |
|
32 |
[% ELSE %]
|
|
33 |
[% IF row.invoice %]
|
|
32 | 34 |
[% SET type = 'Invoice (one letter abbreviation)' %] |
33 | 35 |
[% SET link = 'ir.pl' %] |
34 | 36 |
[% ELSE %] |
... | ... | |
36 | 38 |
[% SET link = 'ap.pl' %] |
37 | 39 |
[% END %] |
38 | 40 |
[% END %] |
39 |
<tr class="listrow[% loop.count % 2 %]">
|
|
40 |
<td>[% type | $T8 %]</td>
|
|
41 |
<td><a href="[% link %]?action=edit&id=[% row.id %]">[% row.invnumber | html %]</a></td>
|
|
42 |
<td>[% row.transdate.to_kivitendo | html %]</td>
|
|
43 |
<td class="numeric">[%- LxERP.format_amount(row.amount, 2) %]</td>
|
|
44 |
<td>[% row.duedate.to_kivitendo | html %]</td>
|
|
45 |
<td class="numeric">[%- LxERP.format_amount(row.paid, 2) %]</td>
|
|
46 |
<td class="numeric">[%- LxERP.format_amount(row.amount - row.paid, 2) %]
|
|
47 |
</tr>
|
|
41 |
<tr>
|
|
42 |
<td>[% type | $T8 %]</td> |
|
43 |
<td><a href="[% link %]?action=edit&id=[% row.id %]">[% row.invnumber | html %]</a></td> |
|
44 |
<td>[% row.transdate.to_kivitendo | html %]</td> |
|
45 |
<td class="numeric">[%- LxERP.format_amount(row.amount, 2) %]</td> |
|
46 |
<td>[% row.duedate.to_kivitendo | html %]</td> |
|
47 |
<td class="numeric">[%- LxERP.format_amount(row.paid, 2) %]</td> |
|
48 |
<td class="numeric">[%- LxERP.format_amount(row.amount - row.paid, 2) %] |
|
49 |
</tr> |
|
48 | 50 |
[% END %] |
49 | 51 |
</tbody> |
50 | 52 |
</table> |
51 |
|
|
52 |
|
|
53 |
</tbody> |
|
54 |
</table> |
|
55 | 53 |
</div> |
templates/design40_webpages/customer_vendor_turnover/letter_statistic.html | ||
---|---|---|
4 | 4 |
[%- USE HTML %] |
5 | 5 |
[%- USE Dumper %] |
6 | 6 |
|
7 |
<div id="invoice_statistic"> |
|
8 |
<table width="100%">
|
|
9 |
<tbody>
|
|
7 |
<div id="invoice_statistic" class="wrapper">
|
|
8 |
<table class="tbl-list wi-moderate">
|
|
9 |
<thead>
|
|
10 | 10 |
<tr> |
11 |
<td class="listheading">[% 'Date' | $T8 %]</td>
|
|
12 |
<td class="listheading">[% 'Subject' | $T8 %]</td>
|
|
13 |
<td class="listheading">[% 'Letternumber' | $T8 %]</td>
|
|
14 |
<td class="listheading">[% 'Contact' | $T8 %]</td>
|
|
15 |
<td class="listheading">[% 'Author' | $T8 %]</td>
|
|
11 |
<th>[% 'Date' | $T8 %]</th>
|
|
12 |
<th>[% 'Subject' | $T8 %]</th>
|
|
13 |
<th>[% 'Letternumber' | $T8 %]</th>
|
|
14 |
<th>[% 'Contact' | $T8 %]</th>
|
|
15 |
<th>[% 'Author' | $T8 %]</th>
|
|
16 | 16 |
</tr> |
17 |
|
|
17 |
</thead> |
|
18 |
<tbody> |
|
18 | 19 |
[%- FOREACH row = letters %] |
19 | 20 |
[% IF row.customer_id %] |
20 |
[% SET is_sales = 1 %]
|
|
21 |
[% SET is_sales = 1 %] |
|
21 | 22 |
[% ELSE %] |
22 |
[% SET is_sales = 0 %]
|
|
23 |
[% SET is_sales = 0 %] |
|
23 | 24 |
[% END %] |
24 |
<tr class="listrow[% loop.count % 2 %]">
|
|
25 |
<tr> |
|
25 | 26 |
<td>[% row.date.to_kivitendo | html %]</td> |
26 | 27 |
<td> |
27 | 28 |
<a href="[% SELF.url_for(controller='controller.pl', action => 'Letter/edit', 'letter.id' => row.id, is_sales=is_sales, back_to => SELF.get_callback) %]"> |
28 |
[%- HTML.escape(row.subject) %] |
|
29 |
[%- HTML.escape(row.subject) %]
|
|
29 | 30 |
</a> |
30 | 31 |
</td> |
31 | 32 |
<td> |
32 | 33 |
<a href="[% SELF.url_for(controller='controller.pl', action => 'Letter/edit', 'letter.id' => row.id, is_sales=is_sales, back_to => SELF.get_callback) %]"> |
33 |
[% row.letternumber | html %] |
|
34 |
[% row.letternumber | html %]
|
|
34 | 35 |
</a> |
35 | 36 |
</td> |
36 | 37 |
<td>[% row.contact.cp_givenname %] [% row.contact.cp_name %]</td> |
... | ... | |
39 | 40 |
[% END %] |
40 | 41 |
</tbody> |
41 | 42 |
</table> |
42 |
|
|
43 |
|
|
44 |
</tbody> |
|
45 |
</table> |
|
46 | 43 |
</div> |
templates/design40_webpages/customer_vendor_turnover/order_statistic.html | ||
---|---|---|
2 | 2 |
[%- USE LxERP %] |
3 | 3 |
[%- USE L %] |
4 | 4 |
[%- USE HTML %] |
5 |
<div id="invoice_statistic"> |
|
6 |
<table width="100%">
|
|
7 |
<tbody>
|
|
5 |
<div id="invoice_statistic" class="wrapper">
|
|
6 |
<table class="tbl-list wi-moderate">
|
|
7 |
<thead>
|
|
8 | 8 |
<tr> |
9 |
<td class="listheading">[% 'Order Number' | $T8 %]</td>
|
|
10 |
<td class="listheading">[% 'Order Date' | $T8 %]</td>
|
|
11 |
<td class="listheading">[% 'Amount' | $T8 %]</td>
|
|
12 |
<td class="listheading">[% 'Delivery Date' | $T8 %]</td>
|
|
13 |
<td class="listheading">[% 'Transaction description' | $T8 %]</td>
|
|
9 |
<th>[% 'Order Number' | $T8 %]</th>
|
|
10 |
<th>[% 'Order Date' | $T8 %]</th>
|
|
11 |
<th>[% 'Amount' | $T8 %]</th>
|
|
12 |
<th>[% 'Delivery Date' | $T8 %]</th>
|
|
13 |
<th>[% 'Transaction description' | $T8 %]</th>
|
|
14 | 14 |
</tr> |
15 |
|
|
15 |
</thead> |
|
16 |
<tbody> |
|
16 | 17 |
[%- FOREACH row = orders %] |
17 |
<tr class="listrow[% loop.count % 2 %]">
|
|
18 |
<tr> |
|
18 | 19 |
[%- IF INSTANCE_CONF.get_feature_experimental_order -%] |
19 | 20 |
<td>[% IF row.id %]<a href='controller.pl?action=Order/edit&type=[% IF FORM.db == "customer" %]sales_order[% ELSE %]purchase_order[% END %]&id=[% HTML.escape(row.id) %]'>[% END %][% HTML.escape(row.ordnumber) || ' ' %][% IF row.id %]</a>[% END %]</td> |
20 | 21 |
[%- ELSE -%] |
... | ... | |
28 | 29 |
[% END %] |
29 | 30 |
</tbody> |
30 | 31 |
</table> |
31 |
|
|
32 |
|
|
33 |
</tbody> |
|
34 |
</table> |
|
35 | 32 |
</div> |
templates/design40_webpages/customer_vendor_turnover/quotation_statistic.html | ||
---|---|---|
2 | 2 |
[%- USE LxERP %] |
3 | 3 |
[%- USE L %] |
4 | 4 |
[%- USE HTML %] |
5 |
<div id="invoice_statistic"> |
|
6 |
<table width="100%">
|
|
7 |
<tbody>
|
|
5 |
<div id="invoice_statistic" class="wrapper">
|
|
6 |
<table class="tbl-list wi-moderate">
|
|
7 |
<thead>
|
|
8 | 8 |
<tr> |
9 |
<td class="listheading">[% IF FORM.db == 'customer' %][% 'Quotation Number' | $T8 %][% ELSE %][% 'RFQ Number' | $T8 %][% END %]</td>
|
|
10 |
<td class="listheading">[% IF FORM.db == 'customer' %][% 'Quotation Date' | $T8 %][% ELSE %][% 'RFQ Date' | $T8 %][% END %]</td>
|
|
11 |
<td class="listheading">[% 'Amount' | $T8 %]</td>
|
|
12 |
<td class="listheading">[% 'Delivery Date' | $T8 %]</td>
|
|
13 |
<td class="listheading">[% 'Transaction description' | $T8 %]</td>
|
|
9 |
<th>[% IF FORM.db == 'customer' %][% 'Quotation Number' | $T8 %][% ELSE %][% 'RFQ Number' | $T8 %][% END %]</th>
|
|
10 |
<th>[% IF FORM.db == 'customer' %][% 'Quotation Date' | $T8 %][% ELSE %][% 'RFQ Date' | $T8 %][% END %]</th>
|
|
11 |
<th>[% 'Amount' | $T8 %]</th>
|
|
12 |
<th>[% 'Delivery Date' | $T8 %]</th>
|
|
13 |
<th>[% 'Transaction description' | $T8 %]</th>
|
|
14 | 14 |
</tr> |
15 |
|
|
15 |
</thead> |
|
16 |
<tbody> |
|
16 | 17 |
[%- FOREACH row = orders %] |
17 |
<tr class="listrow[% loop.count % 2 %]">
|
|
18 |
<tr> |
|
18 | 19 |
[%- IF INSTANCE_CONF.get_feature_experimental_order -%] |
19 |
<td>[% IF row.id %]<a href='controller.pl?action=Order/edit&type=[% IF FORM.db == "customer" %]sales_quotation[% ELSE %]request_quotation[% END %]&id=[% HTML.escape(row.id) %]'>
|
|
20 |
[% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %]</a>[% END %]</td>
|
|
20 |
<td>[% IF row.id %]<a href='controller.pl?action=Order/edit&type=[% IF FORM.db == "customer" %]sales_quotation[% ELSE %]request_quotation[% END %]&id=[% HTML.escape(row.id) %]'> |
|
21 |
[% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %]</a>[% END %]</td> |
|
21 | 22 |
[%- ELSE -%] |
22 |
<td>[% IF row.id %]<a href='oe.pl?action=edit&type=[% IF FORM.db == "customer" %]sales_quotation[% ELSE %]request_quotation[% END %]&vc=[% FORM.db %]&id=[% HTML.escape(row.id) %]'>
|
|
23 |
[% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %]</a>[% END %]</td>
|
|
23 |
<td>[% IF row.id %]<a href='oe.pl?action=edit&type=[% IF FORM.db == "customer" %]sales_quotation[% ELSE %]request_quotation[% END %]&vc=[% FORM.db %]&id=[% HTML.escape(row.id) %]'> |
|
24 |
[% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %]</a>[% END %]</td> |
|
24 | 25 |
[%- END -%] |
25 | 26 |
<td>[% row.transdate.to_kivitendo | html %]</td> |
26 | 27 |
<td class="numeric">[%- LxERP.format_amount(row.amount, 2) %]</td> |
... | ... | |
30 | 31 |
[% END %] |
31 | 32 |
</tbody> |
32 | 33 |
</table> |
33 |
|
|
34 |
|
|
35 |
</tbody> |
|
36 |
</table> |
|
37 | 34 |
</div> |
Auch abrufbar als: Unified diff
Design 4.0: Kunden Tab Belege customer_vendor_turnover angepasst