Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1e55c922

Von Moritz Bunkus vor fast 2 Jahren hinzugefügt

  • ID 1e55c922603706ab26bb61fc0691813dfb52c5f4
  • Vorgänger df7c8480
  • Nachfolger 8ebb329f

design40: Lieferbedingungen ungültig setzen können

Unterschiede anzeigen:

templates/design40_webpages/delivery_term/form.html
1 1
[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %][%- USE P -%]
2 2
<h1>[% FORM.title %]</h1>
3 3

  
4
 
4

  
5 5
<div class="wrapper">
6 6
  <form method="post" action="controller.pl" id="form">
7
    [%- INCLUDE 'common/flash.html' %] 
7
    [%- INCLUDE 'common/flash.html' %]
8 8
    <table class="tbl-horizontal">
9 9
      <tr>
10 10
        <th> [%- 'Description' | $T8 %] </th>
......
14 14
        <th> [%- 'Long Description' | $T8 %] </th>
15 15
        <td> [% P.input_tag("delivery_term.description_long", SELF.delivery_term.description_long, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description")) %] </td>
16 16
      </tr>
17
      [%- FOREACH language = SELF.languages %] 
17
      [%- FOREACH language = SELF.languages %]
18 18
      <tr>
19 19
        <th> [%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %]) </th>
20
        <td> 
20
        <td>
21 21
          <input type="text" name="translation_[% language.id %]" value="[%- HTML.escape(SELF.delivery_term.translated_attribute('description_long', language, 1)) %]" size="60"> </td>
22 22
      </tr>
23
      [%- END %] 
23
      [%- END %]
24

  
25
      <tr>
26
        <th>[% 'Obsolete' | $T8 %]</th>
27
        <td>[% L.checkbox_tag('delivery_term.obsolete', checked=SELF.delivery_term.obsolete, for_submit=1) %]</td>
28
      </tr>
29

  
30
      <tr>
31
        <th>[% "Delete for customers & vendors" | $T8 %]</th>
32
        <td>[% L.checkbox_tag("remove_customer_vendor_delivery_terms", checked=remove_customer_vendor_delivery_terms, for_submit=1, label=LxERP.t8("This will also remove these delivery terms for all customers & vendors.")) %]</td>
33
      </tr>
24 34
    </table>
25
    [% P.hidden_tag("id", SELF.delivery_term.id) %] 
35
    [% P.hidden_tag("id", SELF.delivery_term.id) %]
26 36
  </form>
27 37
</div>

Auch abrufbar als: Unified diff