Revision 22749661
Von Cem Aydin vor etwa 1 Jahr hinzugefügt
templates/design40_webpages/ap/form_header.html | ||
---|---|---|
107 | 107 |
[% HTML.escape(currency) %] |
108 | 108 |
[% L.hidden_tag("currency", currency) %] |
109 | 109 |
[%- ELSE %] |
110 |
[% L.select_tag("currency", currencies, default=currency, value_key="name", title_key="name", class="wi-small") %]
|
|
110 |
[% L.select_tag("currency", currencies, default=currency, value_key="name", title_key="name", class="wi-lightwide") %]
|
|
111 | 111 |
[%- END %] |
112 | 112 |
</td> |
113 | 113 |
</tr> |
... | ... | |
119 | 119 |
[% LxERP.format_amount(exchangerate, 5) %] |
120 | 120 |
[% L.hidden_tag("exchangerate", LxERP.format_amount(exchangerate, 5)) %] |
121 | 121 |
[%- ELSE %] |
122 |
<input name="exchangerate" size="10" value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]">
|
|
122 |
[% L.input_tag("exchangerate", LxERP.format_amount(exchangerate), class="wi-lightwide") %]
|
|
123 | 123 |
[%- END %] |
124 | 124 |
[% IF record_forex %][% 'record exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %] |
125 | 125 |
[% L.hidden_tag("record_forex", record_forex) %] |
... | ... | |
137 | 137 |
<td>[% L.input_tag("transaction_description", transaction_description, class="wi-lightwide", "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %]</td> |
138 | 138 |
</tr> |
139 | 139 |
<tr> |
140 |
<th>[% 'Tax Included' | $T8 %]</th>
|
|
141 |
<th><input name="taxincluded" type="checkbox" value="1" [% IF ( taxincluded ) %]checked[% END %]></th>
|
|
140 |
<th></th> |
|
141 |
<td>[% L.checkbox_tag('taxincluded', checked=taxincluded, label=LxERP.t8('Tax Included')) %]</td>
|
|
142 | 142 |
</tr> |
143 | 143 |
<tr> |
144 |
<th>[% 'direct debit' | $T8 %]</th>
|
|
145 |
<th><input name="direct_debit" type="checkbox" value="1" [% IF (direct_debit) %]checked[% END %]> </th>
|
|
144 |
<th></th> |
|
145 |
<td>[% L.checkbox_tag('direct_debit', checked=direct_debit, label=LxERP.t8('direct debit')) %]</td>
|
|
146 | 146 |
</tr> |
147 | 147 |
</tbody> |
148 | 148 |
</table> |
149 | 149 |
|
150 | 150 |
<table class="tbl-horizontal"> |
151 | 151 |
<caption>[% 'Notes' | $T8 %]</caption> |
152 |
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
|
|
152 |
<colgroup><col class="wi-wide"></colgroup>
|
|
153 | 153 |
<tbody> |
154 | 154 |
<tr> |
155 | 155 |
<td> |
156 |
[% L.textarea_tag("notes", notes, wrap="soft", rows=textarea_rows, cols=50, readonly=readonly) %]
|
|
156 |
[% L.textarea_tag("notes", HTML.escape(notes), wrap="soft", rows=textarea_rows, readonly=readonly, class="wi-wide") %]
|
|
157 | 157 |
</td> |
158 | 158 |
</tr> |
159 | 159 |
<tr> |
160 | 160 |
<td> |
161 | 161 |
<span class="label above">[% 'Internal Notes' | $T8 %]</span> |
162 |
[% L.textarea_tag("intnotes", intnotes, wrap="soft", rows=textarea_rows, cols=50, readonly=readonly) %]
|
|
162 |
[% L.textarea_tag("intnotes", HTML.escape(intnotes), wrap="soft", rows=textarea_rows, readonly=readonly, class="wi-wide") %]
|
|
163 | 163 |
</td> |
164 | 164 |
</tr> |
165 | 165 |
<tr> |
... | ... | |
173 | 173 |
|
174 | 174 |
<table class="tbl-horizontal"> |
175 | 175 |
<caption>[% 'Numbers & Dates' | $T8 %]</caption> |
176 |
<colgroup><col class="wi-mediumsmall"><col class="wi-lightwide"></colgroup> |
|
176 | 177 |
<tbody> |
177 | 178 |
<tr> |
178 | 179 |
<th>[% 'Invoice Number' | $T8 %]</th> |
Auch abrufbar als: Unified diff
Design4.0: Kreditorenbuchung templates/Ansicht vereinheitlicht
- Breiten angepasst, size=.. entfernt
- Presenter für checkboxen verwendet, mit label
- textarea Inhalt escaped