Revision 0e5c9883
Von Cem Aydin vor fast 2 Jahren hinzugefügt
templates/design40_webpages/oe/edit_periodic_invoices_config.html | ||
---|---|---|
9 | 9 |
|
10 | 10 |
<form name="Form" action="oe.pl" method="post"> |
11 | 11 |
|
12 |
[% IF popup_dialog %] |
|
13 |
<div class="buttons"> |
|
14 |
[% L.button_tag(popup_js_assign_function, LxERP.t8('Assign')) %] |
|
15 |
[% L.button_tag(popup_js_close_function, LxERP.t8('Cancel'), class='neutral') %] |
|
16 |
</div> |
|
17 |
[% ELSE %] |
|
18 |
<div class="buttons"> |
|
19 |
[% L.hidden_tag('action', 'save_periodic_invoices_config') %] |
|
20 |
[% L.submit_tag('', LxERP.t8('Assign')) %] |
|
21 |
[% L.submit_tag('', LxERP.t8('Cancel'), onclick => "self.close(); return false;", class='neutral') %] |
|
22 |
</div> |
|
23 |
[% END %] |
|
24 |
|
|
12 | 25 |
<div class="wrapper"> |
13 | 26 |
|
14 | 27 |
<table class="tbl-horizontal"> |
... | ... | |
98 | 111 |
</tr> |
99 | 112 |
<tr class="rule-before"> |
100 | 113 |
<th>[% LxERP.t8("Send invoice via email") %]</th> |
101 |
<td>[% L.checkbox_tag("send_email", onclick => "toggle_send_email_ctrl()", checked=config.send_email) %]</td> |
|
114 |
<td>[% L.checkbox_tag("send_email", onclick => "toggle_send_email_ctrl()", checked=config.send_email, disabled = postal_invoice) %]</td>
|
|
102 | 115 |
</tr> |
103 | 116 |
<tr> |
104 | 117 |
<th>[%- LxERP.t8("Email of the invoice recipient") %]</th> |
... | ... | |
122 | 135 |
</tr> |
123 | 136 |
<tr> |
124 | 137 |
<th>[% LxERP.t8("Message") %]</th> |
125 |
<td>[% L.textarea_tag("email_body", config.email_body, disabled=!config.send_email, rows=8, style=style) %]</td> |
|
138 |
<td>[% L.textarea_tag("email_body", config.email_body, disabled=!config.send_email, rows=8, style=style, class="texteditor texteditor-space-for-toolbar") %]</td>
|
|
126 | 139 |
</tr> |
127 | 140 |
</tbody> |
128 | 141 |
</table> |
129 | 142 |
|
130 | 143 |
</div><!-- /.wrapper --> |
131 | 144 |
|
132 |
[% IF popup_dialog %] |
|
133 |
<div class="buttons"> |
|
134 |
[% L.button_tag(popup_js_assign_function, LxERP.t8('Assign')) %] |
|
135 |
[% L.button_tag(popup_js_close_function, LxERP.t8('Cancel')) %] |
|
136 |
</div> |
|
137 |
[% ELSE %] |
|
138 |
<div class="buttons"> |
|
139 |
[% L.hidden_tag('action', 'save_periodic_invoices_config') %] |
|
140 |
[% L.submit_tag('', LxERP.t8('Assign')) %] |
|
141 |
[% L.submit_tag('', LxERP.t8('Cancel'), onclick => "self.close(); return false;") %] |
|
142 |
</div> |
|
143 |
[% END %] |
|
144 |
|
|
145 | 145 |
</form> |
146 | 146 |
|
147 | 147 |
<div class="wrapper long-description"> |
... | ... | |
165 | 165 |
$('#email_sender').prop('disabled', disabled); |
166 | 166 |
$('#email_subject').prop('disabled', disabled); |
167 | 167 |
$('#email_body').prop('disabled', disabled); |
168 |
$('#email_body').data('ckeditorInstance').setReadOnly(disabled); |
|
168 | 169 |
} |
169 | 170 |
--></script> |
Auch abrufbar als: Unified diff
design40: oe/edit_periodic_invoices_config.html aktualisiert
- Buttons in Popup oben anzeigen
- Neues Kundenattribut Rechnungsversand per Post
> Deaktiviert E-Mail für Rechnung
CKEditor: Platz f. Toolbox bei Konfig. periodische RGs- CKEditor JavaScript disabled setzen