Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b637944f

Von Cem Aydin vor fast 4 Jahren hinzugefügt

  • ID b637944f8141609e6846dbbcb1df2f16750fd2f8
  • Vorgänger 7ddec32d
  • Nachfolger b85761e7

Neues Design Bugfix: #445 Kontodaten Bearbeiten Template radio-buttons/checkboxen gefixt

Unterschiede anzeigen:

templates/webpages/am/edit_accounts.html
76 76
      <th>[% 'Is this a summary account to record' | $T8 %]</th>
77 77
      <td>
78 78
        [% L.radio_button_tag('summary_account', value => 'AR', disabled => AccountIsPosted, checked  => AR) %]
79
        [% 'AR' | $T8 %]<br>
79
        <label for="summary_account_AR">[% 'AR' | $T8 %]</label><br>
80 80
        [% L.radio_button_tag('summary_account', value => 'AP', disabled => AccountIsPosted, checked  => AP) %]
81
        [% 'AP' | $T8 %]<br>
81
        <label for="summary_account_AP">[% 'AP' | $T8 %]</label><br>
82 82
        [% L.radio_button_tag('summary_account', value => 'IC', disabled => AccountIsPosted, checked  => IC) %]
83
        [% 'Inventory' | $T8 %]<br>
83
        <label for="summary_account_IC">[% 'Inventory' | $T8 %]</label><br>
84 84
        [% L.radio_button_tag('summary_account', value => '', disabled => AccountIsPosted) %]
85
        [% 'No summary account' | $T8 %]
85
        <label for="summary_account_">[% 'No summary account' | $T8 %]</label>
86 86

  
87 87
        [% IF AccountIsPosted %]
88 88
          [% IF AR %] [% L.hidden_tag('AR', 'AR') %] [% END %]
......
215 215
    <tr>
216 216
      <td><b>[% 'Receivables' | $T8 %]</b><br>
217 217
        [% L.radio_button_tag('AR_include_in_dropdown', value => 'AR_amount', disabled => AccountIsPosted, checked  => AR_amount) %]
218
        [% 'Revenue' | $T8 %] <br>
218
        <label for="AR_include_in_dropdown_AR_amount">[% 'Revenue' | $T8 %]</label><br>
219 219
        [% L.radio_button_tag('AR_include_in_dropdown', value => 'AR_paid', disabled => AccountIsPosted, checked  => AR_paid) %]
220
        [% 'Receipt' | $T8 %] <br>
220
        <label for="AR_include_in_dropdown_AR_paid">[% 'Receipt' | $T8 %]</label><br>
221 221
        [% L.radio_button_tag('AR_include_in_dropdown', value => 'AR_tax', disabled => AccountIsPosted, checked  => AR_tax) %]
222
        [% 'Tax' | $T8 %] <br>
222
        <label for="AR_include_in_dropdown_AR_tax">[% 'Tax' | $T8 %]</label><br>
223 223
        [% L.radio_button_tag('AR_include_in_dropdown', value => '', disabled => AccountIsPosted) %]
224
        [% 'do not include' | $T8 %]
224
        <label for="AR_include_in_dropdown_">[% 'do not include' | $T8 %]</label>
225 225
      </td>
226 226
      <td><b>[% 'Payables' | $T8 %]</b><br>
227 227
        [% L.radio_button_tag('AP_include_in_dropdown', value => 'AP_amount', disabled => AccountIsPosted, checked  => AP_amount) %]
228
        [% 'Expense/Asset' | $T8 %] <br>
228
        <label for="AP_include_in_dropdown_AP_amount">[% 'Expense/Asset' | $T8 %]</label><br>
229 229
        [% L.radio_button_tag('AP_include_in_dropdown', value => 'AP_paid', disabled => AccountIsPosted, checked  => AP_paid) %]
230
        [% 'Payment' | $T8 %] <br>
230
        <label for="AP_include_in_dropdown_AP_paid">[% 'Payment' | $T8 %]</label><br>
231 231
        [% L.radio_button_tag('AP_include_in_dropdown', value => 'AP_tax', disabled => AccountIsPosted, checked  => AP_tax) %]
232
        [% 'Tax' | $T8 %] <br>
232
        <label for="AP_include_in_dropdown_AP_tax">[% 'Tax' | $T8 %]</label><br>
233 233
        [% L.radio_button_tag('AP_include_in_dropdown', value => '', disabled => AccountIsPosted) %]
234
        [% 'do not include' | $T8 %]      </td>
234
        <label for="AP_include_in_dropdown_">[% 'do not include' | $T8 %]</label></td>
235 235
    </tr>
236 236
    <tr>
237 237
      <td><b>[% 'Parts Inventory' | $T8 %]</b><br>
238
        <input name="IC_sale" type="checkbox" value="IC_sale"[% HTML.escape(IC_sale) %]>
239
        [% 'Revenue' | $T8 %] <br>
240
        <input name="IC_cogs" type="checkbox" value="IC_cogs"[% HTML.escape(IC_cogs) %]>
241
        [% 'Expense' | $T8 %] <br>
242
        <input name="IC_taxpart" type="checkbox" value="IC_taxpart" [% HTML.escape(IC_taxpart) %]>
243
        [% 'Tax' | $T8 %]
238
        <input id="IC_sale" name="IC_sale" type="checkbox" value="IC_sale"[% HTML.escape(IC_sale) %]>
239
        <label for="IC_sale">[% 'Revenue' | $T8 %]</label><br>
240
        <input id="IC_cogs" name="IC_cogs" type="checkbox" value="IC_cogs"[% HTML.escape(IC_cogs) %]>
241
        <label for="IC_cogs">[% 'Expense' | $T8 %]</label><br>
242
        <input id="IC_taxpart" name="IC_taxpart" type="checkbox" value="IC_taxpart" [% HTML.escape(IC_taxpart) %]>
243
        <label for="IC_taxpart">[% 'Tax' | $T8 %]</label>
244 244
      </td>
245 245
      <td><b>[% 'Service Items' | $T8 %]</b><br>
246
        <input name=IC_income type=checkbox value="IC_income"[% HTML.escape(IC_income) %]>
247
        [% 'Revenue' | $T8 %] <br>
248
        <input name=IC_expense type=checkbox value="IC_expense"[% HTML.escape(IC_expense) %]>
249
        [% 'Expense' | $T8 %] <br>
250
        <input name=IC_taxservice type=checkbox value="IC_taxservice"[% HTML.escape(IC_taxservice) %]>
251
        [% 'Tax' | $T8 %]
246
        <input id="IC_income" name="IC_income" type="checkbox" value="IC_income"[% HTML.escape(IC_income) %]>
247
        <label for="IC_income">[% 'Revenue' | $T8 %]</label><br>
248
        <input id="IC_expense" name="IC_expense" type="checkbox" value="IC_expense"[% HTML.escape(IC_expense) %]>
249
        <label for="IC_expense">[% 'Expense' | $T8 %]</label><br>
250
        <input id="IC_taxservice" name="IC_taxservice" type="checkbox" value="IC_taxservice"[% HTML.escape(IC_taxservice) %]>
251
        <label for="IC_taxservice">[% 'Tax' | $T8 %]</label>
252 252
      </td>
253 253
    </tr>
254 254
  </tbody>

Auch abrufbar als: Unified diff