Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e579e706

Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID e579e706d3548765d948783da259829fa0c87b47
  • Vorgänger 9f0284d5
  • Nachfolger 3612373c

Neues Design 2019 Standard-Code templates/webpages/part/_customerprice_row.html

Unterschiede anzeigen:

templates/webpages/part/_customerprice_row.html
1
        <tr class="listrow customerprice_row">
2
         <td style='display:none'>
3
         [% L.hidden_tag("customerprices[+].customer_id", customerprice.customer_id) %]
4
         [% L.hidden_tag("customerprices[].id"   , customerprice.id) %]
5
         </td>
6
         <td align="center">
7
           [%- L.button_tag("kivi.Part.delete_customerprice_row(this)",
8
                            LxERP.t8("X")) %] [% # , confirm=LxERP.t8("Are you sure?")) %]
9
         </td>
10
         <td><span name="position" class="numeric">[% HTML.escape(customerprice.sortorder) %]</span></td>
11
         <td align="center">
12
           <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]" class="dragdrop">
13
         </td>
14
         <td>[% customerprice.customer.customernumber | html %]</td>
15
         <td>[% customerprice.customer.name         | html %] </td>
16
         <td>[% L.input_tag('customerprices[].customer_partnumber', customerprice.customer_partnumber, size=30 ) %]</td>
17
         <td>[% L.input_tag('customerprices[].price_as_number'    , customerprice.price_as_number    , size=15 , class="reformat_number numeric") %]</td>
18
         <td>[% L.hidden_tag('customerprices[].lastupdate'         , customerprice.lastupdate.to_kivitendo) %][% customerprice.lastupdate.to_kivitendo | html %]</td>
19
        </tr>
20 1
[% USE T8 %]
21 2
[% USE L %]
22 3
[% USE HTML %]
23 4
[% USE LxERP %]
24 5

  
6
<tr class="listrow customerprice_row">
7
  <td style='display:none'>
8
    [% L.hidden_tag("customerprices[+].customer_id", customerprice.customer_id) %]
9
    [% L.hidden_tag("customerprices[].id"   , customerprice.id) %]
10
  </td>
11
  <td>[% L.button_tag("kivi.Part.delete_customerprice_row(this)", "✕", class="wi-verytiny neutral") %] [% # , confirm=LxERP.t8("Are you sure?")) %]</td>
12
  <td class="center numeric"><span name="position">[% HTML.escape(customerprice.sortorder) %]</span></td>
13
  <td><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]" class="dragdrop"></td>
14
  <td>[% customerprice.customer.customernumber | html %]</td>
15
  <td>[% customerprice.customer.name         | html %]</td>
16
  <td>[% L.input_tag('customerprices[].customer_partnumber', customerprice.customer_partnumber, class='wi-mediumsmall', size=10 ) %]</td>
17
  <td>[% L.input_tag('customerprices[].price_as_number'    , customerprice.price_as_number    , class="wi-small reformat_number numeric", size=10) %]</td>
18
  <td>[% L.hidden_tag('customerprices[].lastupdate'         , customerprice.lastupdate.to_kivitendo) %][% customerprice.lastupdate.to_kivitendo | html %]</td>
19
</tr>

Auch abrufbar als: Unified diff