Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 81ad313d

Von Werner Hahn vor etwa 4 Jahren hinzugefügt

  • ID 81ad313d2a68e777b257ac0b1cd173a903615dcd
  • Vorgänger f87e1d19
  • Nachfolger 1ee98314

Syntaxfehler in html-Templates behoben

Unterschiede anzeigen:

templates/webpages/dunning/set_email.html
30 30
    </tr>
31 31
    <tr>
32 32
      <th>[% 'Attach PDF:' | $T8 %]</th>
33
      <td><input id="email_attachment" type="checkbox" name="email_attachment" value="1" [% if email_attachment %checked[% end %]></td>
33
      <td><input id="email_attachment" type="checkbox" name="email_attachment" value="1" [% IF email_attachment %]checked[% END %]></td>
34 34
    </tr>
35 35
  </tbody>
36 36
</table>
templates/webpages/rp/print_options.html
30 30
       </select>
31 31
     </td>
32 32
     [% IF MYCONFIG.printer && LXCONFIG.print_templates.latex && !is_email %]
33
       <td>[% 'Copies' | $T8 %]<input type="text" name="copies" size="2" value="[%" copies %]></td>
33
       <td>[% 'Copies' | $T8 %]<input type="text" name="copies" size="2" value="[% copies %]"></td>
34 34
     [% END %]
35 35
   </tr>
36 36
  </tbody>
templates/webpages/sepa/bank_transfer_create.html
109 109
        <td>[% LxERP.format_amount(bank_transfer.invoice_amount, -2) %]</td>
110 110
        <td>[% LxERP.format_amount(bank_transfer.open_amount, -2) %]</td>
111 111
        <td><input type="text" name="bank_transfers[].reference" value="[% HTML.escape(bank_transfer.reference.substr(0, 140)) %]" size="40" maxlength="140"></td>
112
        <td><input type="text" id="[%" loop.count %] name="bank_transfers[].amount" value="[% LxERP.format_amount(bank_transfer.amount, -2) %]" style="text-align: right" size="12"></td>
112
        <td><input type="text" id="[% loop.count %]" name="bank_transfers[].amount" value="[% LxERP.format_amount(bank_transfer.amount, -2) %]" style="text-align: right" size="12"></td>
113 113
        <td>[% L.select_tag('bank_transfers[].payment_type', bank_transfer.payment_select_options, value_key => 'payment_type', title_key => 'display', id => 'payment_type_' _ loop.count, class => 'type_target' ) %]</td>
114
        <td[% if bank_transfer.within_skonto_period %] style="background-color:LightGreen"[% end %]>
114
        <td[% IF bank_transfer.within_skonto_period %] style="background-color:LightGreen"[% END %]>
115 115
          [% IF bank_transfer.skonto_amount %]
116 116
            [% LxERP.format_amount(bank_transfer.percent_skonto, 2) %] % = [% LxERP.format_amount(bank_transfer.skonto_amount, 2) %] € [% 'until' | $T8 %] [% bank_transfer.skonto_date %]
117 117
          [% END %]
templates/webpages/wh/transfer_parts_selection.html
116 116
        <td>
117 117
          <select name="dst_warehouse_id_[% loop.count %]" onchange="warehouse_selected([% loop.count %], this.selectedIndex)">
118 118
            [% FOREACH wh = WAREHOUSES %]
119
              <option value="[% HTML.escape(wh.id) %]" [% if wh.selected %] selected[% end %]>[% HTML.escape(wh.description) %]</option>
119
              <option value="[% HTML.escape(wh.id) %]" [% IF wh.selected %] selected[% END %]>[% HTML.escape(wh.description) %]</option>
120 120
            [% END %]
121 121
          </select>
122 122
        </td>

Auch abrufbar als: Unified diff