Revision 82ff5451
Von Moritz Bunkus vor etwa 9 Jahren hinzugefügt
templates/webpages/oe/edit_periodic_invoices_config.html | ||
---|---|---|
1 | 1 |
[% USE HTML %] |
2 | 2 |
[% USE LxERP %] |
3 | 3 |
[% USE L %] |
4 |
[% SET style="width: 400px" %] |
|
4 | 5 |
<h1>[% title %]</h1> |
5 | 6 |
|
6 | 7 |
<form name="Form" action="oe.pl" method="post"> |
... | ... | |
20 | 21 |
</tr> |
21 | 22 |
|
22 | 23 |
<tr> |
23 |
<th align="right" valign="top">[%- LxERP.t8('Periodicity') %]</th> |
|
24 |
<th align="right" valign="top">[%- LxERP.t8('Billing Periodicity') %]</th>
|
|
24 | 25 |
<td valign="top"> |
25 |
[% L.radio_button_tag("periodicity", value => "m", label => LxERP.t8("monthly"), checked => periodicity == 'm') %] |
|
26 |
<br> |
|
27 |
[% L.radio_button_tag("periodicity", value => "q", label => LxERP.t8("every third month"), checked => periodicity == 'q') %] |
|
28 |
<br> |
|
29 |
[% L.radio_button_tag("periodicity", value => "b", label => LxERP.t8("semiannually"), checked => periodicity == 'b') %] |
|
30 |
<br> |
|
31 |
[% L.radio_button_tag("periodicity", value => "y", label => LxERP.t8("yearly"), checked => periodicity == 'y') %] |
|
26 |
[% L.select_tag("periodicity", [ [ "m", LxERP.t8("monthly") ], [ "q", LxERP.t8("every third month") ], [ "b", LxERP.t8("semiannually") ], [ "y", LxERP.t8("yearly") ] ], default=periodicity, style=style) %] |
|
27 |
</td> |
|
28 |
</tr> |
|
29 |
|
|
30 |
<tr> |
|
31 |
<th align="right" valign="top">[%- LxERP.t8('Order value periodicity') %]</th> |
|
32 |
<td valign="top"> |
|
33 |
[% L.select_tag("order_value_periodicity", |
|
34 |
[ [ "p", LxERP.t8("same as periodicity") ], [ "m", LxERP.t8("monthly") ], [ "q", LxERP.t8("every third month") ], [ "b", LxERP.t8("semiannually") ], [ "y", LxERP.t8("yearly") ], |
|
35 |
[ "2", LxERP.t8("2 years") ], [ "3", LxERP.t8("3 years") ], [ "4", LxERP.t8("4 years") ], [ "5", LxERP.t8("5 years") ], ], |
|
36 |
default=order_value_periodicity, style=style) %] |
|
32 | 37 |
</td> |
33 | 38 |
</tr> |
34 | 39 |
|
... | ... | |
63 | 68 |
<tr> |
64 | 69 |
<th align="right">[%- LxERP.t8('Record in') %]</th> |
65 | 70 |
<td valign="top"> |
66 |
[% L.select_tag("ar_chart_id", AR, title_key => 'description', default => ar_chart_id) %] |
|
71 |
[% L.select_tag("ar_chart_id", AR, title_key => 'description', default => ar_chart_id, style=style) %]
|
|
67 | 72 |
</td> |
68 | 73 |
</tr> |
69 | 74 |
|
... | ... | |
77 | 82 |
<tr> |
78 | 83 |
<th align="right">[%- LxERP.t8('Printer') %]</th> |
79 | 84 |
<td valign="top"> |
80 |
[% L.select_tag("printer_id", ALL_PRINTERS, title_key = 'printer_description', default = printer_id, disabled = !print) %] |
|
85 |
[% L.select_tag("printer_id", ALL_PRINTERS, title_key = 'printer_description', default = printer_id, disabled = !print, style=style) %]
|
|
81 | 86 |
</td> |
82 | 87 |
</tr> |
83 | 88 |
|
Auch abrufbar als: Unified diff
Wiederkehrende Rechnungen: Auftragswerts-Periodizität setzen können
Noch keine Anpassung der eigentlichen Berechnung. Wohl aber
Dokumentation von SL::DB::PeriodicInvoicesConfig.