Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 54d4bfaa

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

  • ID 54d4bfaa31a48bb34c67a5ae4669a4282b9281e6
  • Vorgänger 11a74f78
  • Nachfolger 433fa72a

Neues Design 2019 Standard-Code templates/webpages/order/tabs/_item_input.html

Felder zusammengelegt, darum ein wenig verwirrend

Unterschiede anzeigen:

templates/webpages/order/tabs/_item_input.html
4 4
[% USE L %]
5 5
[% USE P %]
6 6

  
7
 <div>
8
  <table id="input_row_table_id">
9
    <thead>
10
      <tr class="listheading">
11
        <th class="listheading" nowrap >[%- 'Part'         | $T8 %] </th>
12
        <th class="listheading" nowrap >[%- 'Description'  | $T8 %] </th>
13
        <th class="listheading" nowrap width="5" >[%- 'Qty'          | $T8 %] </th>
14
        <th class="listheading" nowrap width="15">[%- 'Price'        | $T8 %] </th>
15
        <th class="listheading" nowrap width="5" >[%- 'Discount'     | $T8 %] </th>
16
        <th></th>
17
      </tr>
18
    </thead>
7
<div class="wrapper">
8
<div class="input-panel control-panel">
9
  <table id="input_row_table_id" class="tbl-plain condensed">
10
    <caption>[% 'Add Parts here!' | $T8 %]</caption>
19 11
    <tbody>
20
      <tr valign="top" class="listrow">
12
      <tr>
21 13
        <td>
14
          <span class="label above">[% 'Part' | $T8 %] </span>
22 15
          [%- SET PARAM_KEY = SELF.cv == "customer" ? 'with_customer_partnumber' : 'with_makemodel' -%]
23 16
          [%- SET PARAM_VAL = SELF.search_cvpartnumber -%]
24
          [% P.part.picker('add_item.parts_id', '', fat_set_item=1, style='width: 300px', class="add_item_input", $PARAM_KEY=PARAM_VAL) %]</td>
25
        <td>[% L.input_tag('add_item.description', '', class="add_item_input") %]</td>
17
          [% P.part.picker('add_item.parts_id', '', fat_set_item=1, class="add_item_input wi-normal", $PARAM_KEY=PARAM_VAL) %]
18
        </td>
26 19
        <td>
27
          [% L.input_tag('add_item.qty_as_number', '', size = 5, class="add_item_input numeric") %]
20
          <span class="label above">[% 'Description' | $T8 %] </span>
21
          [% L.input_tag('add_item.description', '', class="add_item_input wi-normal") %]
22
        </td>
23
        <td>
24
          <span class="label above">[% 'Qty' | $T8 %]</span>
25
          [% L.input_tag('add_item.qty_as_number', '', class="add_item_input numeric wi-verysmall") %]
28 26
          [% L.hidden_tag('add_item.unit', '', class="add_item_input") %]
29 27
        </td>
30
        <td>[% L.input_tag('add_item.sellprice_as_number', '', size = 10, class="add_item_input numeric") %]</td>
31
        <td>[% L.input_tag('add_item.discount_as_percent', '', size = 5, class="add_item_input numeric") %]</td>
32
        <td>[% L.button_tag('kivi.Order.add_item()', LxERP.t8('Add part')) %]</td>
28
        <td>
29
          <span class="label above">[% 'Price' | $T8 %]</span>
30
          [% L.input_tag('add_item.sellprice_as_number', '', class="add_item_input numeric wi-verysmall") %]
31
        </td>
32
        <td>
33
          <span class="label above">[% 'Discount' | $T8 %]</span>
34
          [% L.input_tag('add_item.discount_as_percent', '', class="add_item_input numeric wi-smallest") %]
35
        </td>
36
        <td style="vertical-align:bottom;">[% L.button_tag('kivi.Order.add_item()', LxERP.t8('Add part'), style='margin:0;') %]</td>
33 37
      </tr>
34 38
    </tbody>
35 39
  </table>
36
 </div>
40
  <div style="clear:both">[% L.button_tag('kivi.Order.show_multi_items_dialog()', LxERP.t8('Add multiple items'), class='neutral') %]</div>
41

  
42
</div><!-- /.entry-panel -->
43
</div><!-- /.wrapper -->

Auch abrufbar als: Unified diff