Revision 66631659
Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt
bin/mozilla/dn.pl | ||
---|---|---|
70 | 70 |
} |
71 | 71 |
} |
72 | 72 |
|
73 |
$form->{title} = $locale->text('Edit Dunning Process Config'); |
|
74 |
$form->{callback} ||= build_std_url("action=edit_config"); |
|
75 |
$form->{rowcount} = 1 + scalar @{ $form->{DUNNING} }; |
|
76 |
$form->{rowcount_odd} = $form->{rowcount} % 2; |
|
73 |
$form->{title} = $locale->text('Edit Dunning Process Config'); |
|
74 |
$form->{callback} ||= build_std_url("action=edit_config"); |
|
77 | 75 |
|
78 | 76 |
$form->header(); |
79 |
print $form->parse_html_template("dunning/edit_config"); |
|
77 |
print $form->parse_html_template2("dunning/edit_config");
|
|
80 | 78 |
|
81 | 79 |
$lxdebug->leave_sub(); |
82 | 80 |
} |
templates/webpages/dunning/edit_config_de.html | ||
---|---|---|
1 |
<body> |
|
1 |
[% USE HTML %]<body>
|
|
2 | 2 |
<script type="text/javascript" src="js/common.js"></script> |
3 | 3 |
<script type="text/javascript" src="js/dunning.js"></script> |
4 | 4 |
|
... | ... | |
12 | 12 |
--> |
13 | 13 |
</script> |
14 | 14 |
|
15 |
<div class="listtop" width="100%"><TMPL_VAR title></div>
|
|
15 |
<div class="listtop" width="100%">[% title %]</div>
|
|
16 | 16 |
|
17 | 17 |
<form method="post" action="dn.pl" name="Form"> |
18 | 18 |
<table> |
... | ... | |
31 | 31 |
<th class="listheading">Druckvorlage</th> |
32 | 32 |
</tr> |
33 | 33 |
|
34 |
<TMPL_LOOP DUNNING>
|
|
35 |
<tr valign="top" class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
|
|
34 |
[% SET odd = '1' %][% USE DUNNING_it = Iterator(DUNNING) %][% FOREACH row = DUNNING_it %]
|
|
35 |
<tr valign="top" class="listrow[% IF odd %]1[% SET odd = '0' %][% ELSE %]0[% SET odd = '1' %][% END %]">
|
|
36 | 36 |
<td> |
37 |
<input type="hidden" name="dunning_level_<TMPL_VAR __counter__>" value="<TMPL_VAR __counter__>">
|
|
38 |
<input type="hidden" name="id_<TMPL_VAR __counter__>" value="<TMPL_VAR id ESCAPE=HTML>">
|
|
39 |
<TMPL_VAR __counter__>
|
|
37 |
<input type="hidden" name="dunning_level_[% DUNNING_it.count %]" value="[% DUNNING_it.count %]">
|
|
38 |
<input type="hidden" name="id_[% DUNNING_it.count %]" value="[% HTML.escape(row.id) %]">
|
|
39 |
[% DUNNING_it.count %]
|
|
40 | 40 |
</td> |
41 | 41 |
|
42 |
<td><input name="dunning_description_<TMPL_VAR __counter__>" value="<TMPL_VAR dunning_description ESCAPE=HTML>"></td>
|
|
43 |
<td><input type="checkbox" name="active_<TMPL_VAR __counter__>" value="1" <TMPL_IF active>checked</TMPL_IF>></td>
|
|
42 |
<td><input name="dunning_description_[% DUNNING_it.count %]" value="[% HTML.escape(row.dunning_description) %]"></td>
|
|
43 |
<td><input type="checkbox" name="active_[% DUNNING_it.count %]" value="1" [% IF row.active %]checked[% END %]></td>
|
|
44 | 44 |
|
45 | 45 |
<td> |
46 |
<input type="checkbox" name="email_<TMPL_VAR __counter__>" value="1" <TMPL_IF email>checked</TMPL_IF>>
|
|
47 |
<button type="button" onclick="set_email_window('email_subject_<TMPL_VAR __counter__>', 'email_body_<TMPL_VAR __counter__>', 'email_attachment_<TMPL_VAR __counter__>')">
|
|
46 |
<input type="checkbox" name="email_[% DUNNING_it.count %]" value="1" [% IF row.email %]checked[% END %]>
|
|
47 |
<button type="button" onclick="set_email_window('email_subject_[% DUNNING_it.count %]', 'email_body_[% DUNNING_it.count %]', 'email_attachment_[% DUNNING_it.count %]')">
|
|
48 | 48 |
L</button> |
49 |
<input type="hidden" name="email_body_<TMPL_VAR __counter__>" value="<TMPL_VAR email_body ESCAPE=HTML>">
|
|
50 |
<input type="hidden" name="email_subject_<TMPL_VAR __counter__>" value="<TMPL_VAR email_subject ESCAPE=HTML>">
|
|
51 |
<input type="hidden" name="email_attachment_<TMPL_VAR __counter__>" value="<TMPL_VAR email_attachment ESCAPE=HTML>">
|
|
49 |
<input type="hidden" name="email_body_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_body) %]">
|
|
50 |
<input type="hidden" name="email_subject_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_subject) %]">
|
|
51 |
<input type="hidden" name="email_attachment_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_attachment) %]">
|
|
52 | 52 |
</td> |
53 | 53 |
|
54 |
<td><input type="checkbox" name="auto_<TMPL_VAR __counter__>" value="1" <TMPL_IF auto>checked</TMPL_IF>></td>
|
|
55 |
<td><input name="payment_terms_<TMPL_VAR __counter__>" size="3" value="<TMPL_VAR payment_terms ESCAPE=HTML>"></td>
|
|
56 |
<td><input name="terms_<TMPL_VAR __counter__>" size="3" value="<TMPL_VAR terms ESCAPE=HTML>"></td>
|
|
57 |
<td><input name="fee_<TMPL_VAR __counter__>" size="5" value="<TMPL_VAR fee ESCAPE=HTML>"></td>
|
|
58 |
<td><input name="interest_rate_<TMPL_VAR __counter__>" size="4" value="<TMPL_VAR interest_rate ESCAPE=HTML>">%</td>
|
|
59 |
<td><input name="template_<TMPL_VAR __counter__>" value="<TMPL_VAR template ESCAPE=HTML>"></td>
|
|
54 |
<td><input type="checkbox" name="auto_[% DUNNING_it.count %]" value="1" [% IF row.auto %]checked[% END %]></td>
|
|
55 |
<td><input name="payment_terms_[% DUNNING_it.count %]" size="3" value="[% HTML.escape(row.payment_terms) %]"></td>
|
|
56 |
<td><input name="terms_[% DUNNING_it.count %]" size="3" value="[% HTML.escape(row.terms) %]"></td>
|
|
57 |
<td><input name="fee_[% DUNNING_it.count %]" size="5" value="[% HTML.escape(row.fee) %]"></td>
|
|
58 |
<td><input name="interest_rate_[% DUNNING_it.count %]" size="4" value="[% HTML.escape(row.interest_rate) %]">%</td>
|
|
59 |
<td><input name="template_[% DUNNING_it.count %]" value="[% HTML.escape(row.template) %]"></td>
|
|
60 | 60 |
</tr> |
61 |
</TMPL_LOOP> |
|
61 |
[% IF DUNNING_it.last %][% SET rowcount = DUNNING_it.size + 1 %][% END %] |
|
62 |
[% END %] |
|
62 | 63 |
|
63 |
<tr valign="top" class="listrow<TMPL_IF rowcount_odd>1<TMPL_ELSE>0</TMPL_IF>">
|
|
64 |
<tr valign="top" class="listrow[% IF odd %]1[% ELSE %]0[% END %]">
|
|
64 | 65 |
<td> |
65 |
<input type="hidden" name="dunning_level_<TMPL_VAR rowcount>" value="<TMPL_VAR rowcount>">
|
|
66 |
<input type="hidden" name="id_<TMPL_VAR rowcount>">
|
|
67 |
<TMPL_VAR rowcount>
|
|
66 |
<input type="hidden" name="dunning_level_[% rowcount %]" value="[% rowcount %]">
|
|
67 |
<input type="hidden" name="id_[% rowcount %]">
|
|
68 |
[% rowcount %]
|
|
68 | 69 |
</td> |
69 | 70 |
|
70 |
<td><input name="dunning_description_<TMPL_VAR rowcount>"></td>
|
|
71 |
<td><input type="checkbox" name="active_<TMPL_VAR rowcount>" value="1" checked></td>
|
|
71 |
<td><input name="dunning_description_[% rowcount %]"></td>
|
|
72 |
<td><input type="checkbox" name="active_[% rowcount %]" value="1" checked></td>
|
|
72 | 73 |
|
73 | 74 |
<td> |
74 |
<input type="checkbox" name="email_<TMPL_VAR rowcount>" value="1" checked>
|
|
75 |
<button type="button" onclick="set_email_window('email_subject_<TMPL_VAR rowcount>', 'email_body_<TMPL_VAR rowcount>', 'email_attachment_<TMPL_VAR rowcount>')">
|
|
75 |
<input type="checkbox" name="email_[% rowcount %]" value="1" checked>
|
|
76 |
<button type="button" onclick="set_email_window('email_subject_[% rowcount %]', 'email_body_[% rowcount %]', 'email_attachment_[% rowcount %]')">
|
|
76 | 77 |
L</button> |
77 |
<input type="hidden" name="email_body_<TMPL_VAR rowcount>">
|
|
78 |
<input type="hidden" name="email_subject_<TMPL_VAR rowcount>">
|
|
79 |
<input type="hidden" name="email_attachment_<TMPL_VAR rowcount>">
|
|
78 |
<input type="hidden" name="email_body_[% rowcount %]">
|
|
79 |
<input type="hidden" name="email_subject_[% rowcount %]">
|
|
80 |
<input type="hidden" name="email_attachment_[% rowcount %]">
|
|
80 | 81 |
</td> |
81 | 82 |
|
82 |
<td><input type="checkbox" name="auto_<TMPL_VAR rowcount>" value="1" checked></td>
|
|
83 |
<td><input name="payment_terms_<TMPL_VAR rowcount>" size="3"></td>
|
|
84 |
<td><input name="terms_<TMPL_VAR rowcount>" size="3"></td>
|
|
85 |
<td><input name="fee_<TMPL_VAR rowcount>" size="5"></td>
|
|
86 |
<td><input name="interest_rate_<TMPL_VAR rowcount>" size="4">%</td>
|
|
87 |
<td><input name="template_<TMPL_VAR rowcount>"></td>
|
|
83 |
<td><input type="checkbox" name="auto_[% rowcount %]" value="1" checked></td>
|
|
84 |
<td><input name="payment_terms_[% rowcount %]" size="3"></td>
|
|
85 |
<td><input name="terms_[% rowcount %]" size="3"></td>
|
|
86 |
<td><input name="fee_[% rowcount %]" size="5"></td>
|
|
87 |
<td><input name="interest_rate_[% rowcount %]" size="4">%</td>
|
|
88 |
<td><input name="template_[% rowcount %]"></td>
|
|
88 | 89 |
</tr> |
89 | 90 |
</table> |
90 | 91 |
|
91 |
<input type="hidden" name="rowcount" value="<TMPL_VAR rowcount ESCAPE=HTML>">
|
|
92 |
<input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
|
|
92 | 93 |
|
93 | 94 |
<hr size="3" noshade> |
94 | 95 |
|
95 | 96 |
<p> |
96 | 97 |
<input type="checkbox" name="create_invoices_for_fees" id="create_invoices_for_fees" |
97 |
<TMPL_IF create_invoices_for_fees>checked</TMPL_IF>
|
|
98 |
[% IF create_invoices_for_fees %]checked[% END %]
|
|
98 | 99 |
value="1" onclick="enable_invoice_controls(this.checked);"> |
99 | 100 |
<label for="create_invoices_for_fees">Automatisches Erstellen von Debitorenrechnungen über Mahngebühren und Zinsen</label> |
100 | 101 |
</p> |
... | ... | |
103 | 104 |
<tr> |
104 | 105 |
<th align="right">Konto für Gebühren</th> |
105 | 106 |
<td> |
106 |
<select name="AR_amount_fee" <TMPL_UNLESS create_invoices_for_fees>disabled</TMPL_UNLESS>>
|
|
107 |
<TMPL_LOOP SELECT_AR_AMOUNT><option value="<TMPL_VAR id ESCAPE=HTML>" <TMPL_IF AR_amount_fee_selected>selected</TMPL_IF>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option>
|
|
108 |
</TMPL_LOOP>
|
|
107 |
<select name="AR_amount_fee" [% UNLESS create_invoices_for_fees %]disabled[% END %]>
|
|
108 |
[% FOREACH row = SELECT_AR_AMOUNT %]<option value="[% HTML.escape(row.id) %]" [% IF row.AR_amount_fee_selected %]selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
|
|
109 |
[% END %]
|
|
109 | 110 |
</select> |
110 | 111 |
</td> |
111 | 112 |
</tr> |
... | ... | |
113 | 114 |
<tr> |
114 | 115 |
<th align="right">Konto für Zinsen</th> |
115 | 116 |
<td> |
116 |
<select name="AR_amount_interest" <TMPL_UNLESS create_invoices_for_fees>disabled</TMPL_UNLESS>>
|
|
117 |
<TMPL_LOOP SELECT_AR_AMOUNT><option value="<TMPL_VAR id ESCAPE=HTML>" <TMPL_IF AR_amount_interest_selected>selected</TMPL_IF>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option>
|
|
118 |
</TMPL_LOOP>
|
|
117 |
<select name="AR_amount_interest" [% UNLESS create_invoices_for_fees %]disabled[% END %]>
|
|
118 |
[% FOREACH row = SELECT_AR_AMOUNT %]<option value="[% HTML.escape(row.id) %]" [% IF row.AR_amount_interest_selected %]selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
|
|
119 |
[% END %]
|
|
119 | 120 |
</select> |
120 | 121 |
</td> |
121 | 122 |
</tr> |
... | ... | |
123 | 124 |
<tr> |
124 | 125 |
<th align="right">Buchen auf</th> |
125 | 126 |
<td> |
126 |
<select name="AR" <TMPL_UNLESS create_invoices_for_fees>disabled</TMPL_UNLESS>>
|
|
127 |
<TMPL_LOOP SELECT_AR><option value="<TMPL_VAR id ESCAPE=HTML>" <TMPL_IF AR_selected>selected</TMPL_IF>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option>
|
|
128 |
</TMPL_LOOP>
|
|
127 |
<select name="AR" [% UNLESS create_invoices_for_fees %]disabled[% END %]>
|
|
128 |
[% FOREACH row = SELECT_AR %]<option value="[% HTML.escape(row.id) %]" [% IF row.AR_selected %]selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
|
|
129 |
[% END %]
|
|
129 | 130 |
</select> |
130 | 131 |
</td> |
131 | 132 |
</tr> |
... | ... | |
133 | 134 |
|
134 | 135 |
<hr size="3" noshade> |
135 | 136 |
|
136 |
<input type="hidden" name="callback" value="<TMPL_VAR callback ESCAPE=HTML>">
|
|
137 |
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
|
|
137 | 138 |
|
138 |
<input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
|
|
139 |
<input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
|
|
139 |
<input type="hidden" name="login" value="[% HTML.escape(login) %]">
|
|
140 |
<input type="hidden" name="password" value="[% HTML.escape(password) %]">
|
|
140 | 141 |
|
141 | 142 |
<input class="submit" type="submit" name="action" value="Speichern"> |
142 | 143 |
|
templates/webpages/dunning/edit_config_master.html | ||
---|---|---|
1 |
<body> |
|
1 |
[% USE HTML %]<body>
|
|
2 | 2 |
<script type="text/javascript" src="js/common.js"></script> |
3 | 3 |
<script type="text/javascript" src="js/dunning.js"></script> |
4 | 4 |
|
... | ... | |
12 | 12 |
--> |
13 | 13 |
</script> |
14 | 14 |
|
15 |
<div class="listtop" width="100%"><TMPL_VAR title></div>
|
|
15 |
<div class="listtop" width="100%">[% title %]</div>
|
|
16 | 16 |
|
17 | 17 |
<form method="post" action="dn.pl" name="Form"> |
18 | 18 |
<table> |
... | ... | |
31 | 31 |
<th class="listheading"><translate>Template</translate></th> |
32 | 32 |
</tr> |
33 | 33 |
|
34 |
<TMPL_LOOP DUNNING>
|
|
35 |
<tr valign="top" class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
|
|
34 |
[% SET odd = '1' %][% USE DUNNING_it = Iterator(DUNNING) %][% FOREACH row = DUNNING_it %]
|
|
35 |
<tr valign="top" class="listrow[% IF odd %]1[% SET odd = '0' %][% ELSE %]0[% SET odd = '1' %][% END %]">
|
|
36 | 36 |
<td> |
37 |
<input type="hidden" name="dunning_level_<TMPL_VAR __counter__>" value="<TMPL_VAR __counter__>">
|
|
38 |
<input type="hidden" name="id_<TMPL_VAR __counter__>" value="<TMPL_VAR id ESCAPE=HTML>">
|
|
39 |
<TMPL_VAR __counter__>
|
|
37 |
<input type="hidden" name="dunning_level_[% DUNNING_it.count %]" value="[% DUNNING_it.count %]">
|
|
38 |
<input type="hidden" name="id_[% DUNNING_it.count %]" value="[% HTML.escape(row.id) %]">
|
|
39 |
[% DUNNING_it.count %]
|
|
40 | 40 |
</td> |
41 | 41 |
|
42 |
<td><input name="dunning_description_<TMPL_VAR __counter__>" value="<TMPL_VAR dunning_description ESCAPE=HTML>"></td>
|
|
43 |
<td><input type="checkbox" name="active_<TMPL_VAR __counter__>" value="1" <TMPL_IF active>checked</TMPL_IF>></td>
|
|
42 |
<td><input name="dunning_description_[% DUNNING_it.count %]" value="[% HTML.escape(row.dunning_description) %]"></td>
|
|
43 |
<td><input type="checkbox" name="active_[% DUNNING_it.count %]" value="1" [% IF row.active %]checked[% END %]></td>
|
|
44 | 44 |
|
45 | 45 |
<td> |
46 |
<input type="checkbox" name="email_<TMPL_VAR __counter__>" value="1" <TMPL_IF email>checked</TMPL_IF>>
|
|
47 |
<button type="button" onclick="set_email_window('email_subject_<TMPL_VAR __counter__>', 'email_body_<TMPL_VAR __counter__>', 'email_attachment_<TMPL_VAR __counter__>')">
|
|
46 |
<input type="checkbox" name="email_[% DUNNING_it.count %]" value="1" [% IF row.email %]checked[% END %]>
|
|
47 |
<button type="button" onclick="set_email_window('email_subject_[% DUNNING_it.count %]', 'email_body_[% DUNNING_it.count %]', 'email_attachment_[% DUNNING_it.count %]')">
|
|
48 | 48 |
<translate>L</translate></button> |
49 |
<input type="hidden" name="email_body_<TMPL_VAR __counter__>" value="<TMPL_VAR email_body ESCAPE=HTML>">
|
|
50 |
<input type="hidden" name="email_subject_<TMPL_VAR __counter__>" value="<TMPL_VAR email_subject ESCAPE=HTML>">
|
|
51 |
<input type="hidden" name="email_attachment_<TMPL_VAR __counter__>" value="<TMPL_VAR email_attachment ESCAPE=HTML>">
|
|
49 |
<input type="hidden" name="email_body_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_body) %]">
|
|
50 |
<input type="hidden" name="email_subject_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_subject) %]">
|
|
51 |
<input type="hidden" name="email_attachment_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_attachment) %]">
|
|
52 | 52 |
</td> |
53 | 53 |
|
54 |
<td><input type="checkbox" name="auto_<TMPL_VAR __counter__>" value="1" <TMPL_IF auto>checked</TMPL_IF>></td>
|
|
55 |
<td><input name="payment_terms_<TMPL_VAR __counter__>" size="3" value="<TMPL_VAR payment_terms ESCAPE=HTML>"></td>
|
|
56 |
<td><input name="terms_<TMPL_VAR __counter__>" size="3" value="<TMPL_VAR terms ESCAPE=HTML>"></td>
|
|
57 |
<td><input name="fee_<TMPL_VAR __counter__>" size="5" value="<TMPL_VAR fee ESCAPE=HTML>"></td>
|
|
58 |
<td><input name="interest_rate_<TMPL_VAR __counter__>" size="4" value="<TMPL_VAR interest_rate ESCAPE=HTML>">%</td>
|
|
59 |
<td><input name="template_<TMPL_VAR __counter__>" value="<TMPL_VAR template ESCAPE=HTML>"></td>
|
|
54 |
<td><input type="checkbox" name="auto_[% DUNNING_it.count %]" value="1" [% IF row.auto %]checked[% END %]></td>
|
|
55 |
<td><input name="payment_terms_[% DUNNING_it.count %]" size="3" value="[% HTML.escape(row.payment_terms) %]"></td>
|
|
56 |
<td><input name="terms_[% DUNNING_it.count %]" size="3" value="[% HTML.escape(row.terms) %]"></td>
|
|
57 |
<td><input name="fee_[% DUNNING_it.count %]" size="5" value="[% HTML.escape(row.fee) %]"></td>
|
|
58 |
<td><input name="interest_rate_[% DUNNING_it.count %]" size="4" value="[% HTML.escape(row.interest_rate) %]">%</td>
|
|
59 |
<td><input name="template_[% DUNNING_it.count %]" value="[% HTML.escape(row.template) %]"></td>
|
|
60 | 60 |
</tr> |
61 |
</TMPL_LOOP> |
|
61 |
[% IF DUNNING_it.last %][% SET rowcount = DUNNING_it.size + 1 %][% END %] |
|
62 |
[% END %] |
|
62 | 63 |
|
63 |
<tr valign="top" class="listrow<TMPL_IF rowcount_odd>1<TMPL_ELSE>0</TMPL_IF>">
|
|
64 |
<tr valign="top" class="listrow[% IF odd %]1[% ELSE %]0[% END %]">
|
|
64 | 65 |
<td> |
65 |
<input type="hidden" name="dunning_level_<TMPL_VAR rowcount>" value="<TMPL_VAR rowcount>">
|
|
66 |
<input type="hidden" name="id_<TMPL_VAR rowcount>">
|
|
67 |
<TMPL_VAR rowcount>
|
|
66 |
<input type="hidden" name="dunning_level_[% rowcount %]" value="[% rowcount %]">
|
|
67 |
<input type="hidden" name="id_[% rowcount %]">
|
|
68 |
[% rowcount %]
|
|
68 | 69 |
</td> |
69 | 70 |
|
70 |
<td><input name="dunning_description_<TMPL_VAR rowcount>"></td>
|
|
71 |
<td><input type="checkbox" name="active_<TMPL_VAR rowcount>" value="1" checked></td>
|
|
71 |
<td><input name="dunning_description_[% rowcount %]"></td>
|
|
72 |
<td><input type="checkbox" name="active_[% rowcount %]" value="1" checked></td>
|
|
72 | 73 |
|
73 | 74 |
<td> |
74 |
<input type="checkbox" name="email_<TMPL_VAR rowcount>" value="1" checked>
|
|
75 |
<button type="button" onclick="set_email_window('email_subject_<TMPL_VAR rowcount>', 'email_body_<TMPL_VAR rowcount>', 'email_attachment_<TMPL_VAR rowcount>')">
|
|
75 |
<input type="checkbox" name="email_[% rowcount %]" value="1" checked>
|
|
76 |
<button type="button" onclick="set_email_window('email_subject_[% rowcount %]', 'email_body_[% rowcount %]', 'email_attachment_[% rowcount %]')">
|
|
76 | 77 |
<translate>L</translate></button> |
77 |
<input type="hidden" name="email_body_<TMPL_VAR rowcount>">
|
|
78 |
<input type="hidden" name="email_subject_<TMPL_VAR rowcount>">
|
|
79 |
<input type="hidden" name="email_attachment_<TMPL_VAR rowcount>">
|
|
78 |
<input type="hidden" name="email_body_[% rowcount %]">
|
|
79 |
<input type="hidden" name="email_subject_[% rowcount %]">
|
|
80 |
<input type="hidden" name="email_attachment_[% rowcount %]">
|
|
80 | 81 |
</td> |
81 | 82 |
|
82 |
<td><input type="checkbox" name="auto_<TMPL_VAR rowcount>" value="1" checked></td>
|
|
83 |
<td><input name="payment_terms_<TMPL_VAR rowcount>" size="3"></td>
|
|
84 |
<td><input name="terms_<TMPL_VAR rowcount>" size="3"></td>
|
|
85 |
<td><input name="fee_<TMPL_VAR rowcount>" size="5"></td>
|
|
86 |
<td><input name="interest_rate_<TMPL_VAR rowcount>" size="4">%</td>
|
|
87 |
<td><input name="template_<TMPL_VAR rowcount>"></td>
|
|
83 |
<td><input type="checkbox" name="auto_[% rowcount %]" value="1" checked></td>
|
|
84 |
<td><input name="payment_terms_[% rowcount %]" size="3"></td>
|
|
85 |
<td><input name="terms_[% rowcount %]" size="3"></td>
|
|
86 |
<td><input name="fee_[% rowcount %]" size="5"></td>
|
|
87 |
<td><input name="interest_rate_[% rowcount %]" size="4">%</td>
|
|
88 |
<td><input name="template_[% rowcount %]"></td>
|
|
88 | 89 |
</tr> |
89 | 90 |
</table> |
90 | 91 |
|
91 |
<input type="hidden" name="rowcount" value="<TMPL_VAR rowcount ESCAPE=HTML>">
|
|
92 |
<input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
|
|
92 | 93 |
|
93 | 94 |
<hr size="3" noshade> |
94 | 95 |
|
95 | 96 |
<p> |
96 | 97 |
<input type="checkbox" name="create_invoices_for_fees" id="create_invoices_for_fees" |
97 |
<TMPL_IF create_invoices_for_fees>checked</TMPL_IF>
|
|
98 |
[% IF create_invoices_for_fees %]checked[% END %]
|
|
98 | 99 |
value="1" onclick="enable_invoice_controls(this.checked);"> |
99 | 100 |
<label for="create_invoices_for_fees"><translate>Automatically create customer invoices for fees and interests</translate></label> |
100 | 101 |
</p> |
... | ... | |
103 | 104 |
<tr> |
104 | 105 |
<th align="right"><translate>Account for fees</translate></th> |
105 | 106 |
<td> |
106 |
<select name="AR_amount_fee" <TMPL_UNLESS create_invoices_for_fees>disabled</TMPL_UNLESS>>
|
|
107 |
<TMPL_LOOP SELECT_AR_AMOUNT><option value="<TMPL_VAR id ESCAPE=HTML>" <TMPL_IF AR_amount_fee_selected>selected</TMPL_IF>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option>
|
|
108 |
</TMPL_LOOP>
|
|
107 |
<select name="AR_amount_fee" [% UNLESS create_invoices_for_fees %]disabled[% END %]>
|
|
108 |
[% FOREACH row = SELECT_AR_AMOUNT %]<option value="[% HTML.escape(row.id) %]" [% IF row.AR_amount_fee_selected %]selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
|
|
109 |
[% END %]
|
|
109 | 110 |
</select> |
110 | 111 |
</td> |
111 | 112 |
</tr> |
... | ... | |
113 | 114 |
<tr> |
114 | 115 |
<th align="right"><translate>Account for interest</translate></th> |
115 | 116 |
<td> |
116 |
<select name="AR_amount_interest" <TMPL_UNLESS create_invoices_for_fees>disabled</TMPL_UNLESS>>
|
|
117 |
<TMPL_LOOP SELECT_AR_AMOUNT><option value="<TMPL_VAR id ESCAPE=HTML>" <TMPL_IF AR_amount_interest_selected>selected</TMPL_IF>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option>
|
|
118 |
</TMPL_LOOP>
|
|
117 |
<select name="AR_amount_interest" [% UNLESS create_invoices_for_fees %]disabled[% END %]>
|
|
118 |
[% FOREACH row = SELECT_AR_AMOUNT %]<option value="[% HTML.escape(row.id) %]" [% IF row.AR_amount_interest_selected %]selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
|
|
119 |
[% END %]
|
|
119 | 120 |
</select> |
120 | 121 |
</td> |
121 | 122 |
</tr> |
... | ... | |
123 | 124 |
<tr> |
124 | 125 |
<th align="right"><translate>Record in</translate></th> |
125 | 126 |
<td> |
126 |
<select name="AR" <TMPL_UNLESS create_invoices_for_fees>disabled</TMPL_UNLESS>>
|
|
127 |
<TMPL_LOOP SELECT_AR><option value="<TMPL_VAR id ESCAPE=HTML>" <TMPL_IF AR_selected>selected</TMPL_IF>><TMPL_VAR accno ESCAPE=HTML>--<TMPL_VAR description ESCAPE=HTML></option>
|
|
128 |
</TMPL_LOOP>
|
|
127 |
<select name="AR" [% UNLESS create_invoices_for_fees %]disabled[% END %]>
|
|
128 |
[% FOREACH row = SELECT_AR %]<option value="[% HTML.escape(row.id) %]" [% IF row.AR_selected %]selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
|
|
129 |
[% END %]
|
|
129 | 130 |
</select> |
130 | 131 |
</td> |
131 | 132 |
</tr> |
... | ... | |
133 | 134 |
|
134 | 135 |
<hr size="3" noshade> |
135 | 136 |
|
136 |
<input type="hidden" name="callback" value="<TMPL_VAR callback ESCAPE=HTML>">
|
|
137 |
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
|
|
137 | 138 |
|
138 |
<input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
|
|
139 |
<input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
|
|
139 |
<input type="hidden" name="login" value="[% HTML.escape(login) %]">
|
|
140 |
<input type="hidden" name="password" value="[% HTML.escape(password) %]">
|
|
140 | 141 |
|
141 | 142 |
<input class="submit" type="submit" name="action" value="<translate>Save</translate>"> |
142 | 143 |
|
Auch abrufbar als: Unified diff
Vorlagen zum Bearbeiten der Mahnungskonfiguration auf Template umgestellt.