Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0a792f85

Von Andreas Rudin vor mehr als 6 Jahren hinzugefügt

  • ID 0a792f850a6b9b7ed133991eda7f5521be007243
  • Vorgänger a462dc9c

production batch management: Korrektur Fehler durch rebase bei picker-Aufruf

L.part_picker ersetzt durch P.part.picker
L.customer_vendor_picker ersetzt durch P.customer_vendor.picker
Eingefügt: [% USE P %]

Unterschiede anzeigen:

templates/webpages/batch/_basic_data.html
2 2
[% USE HTML %]
3 3
[% USE LxERP %]
4 4
[% USE L %]
5
[% USE P %]
5 6

  
6 7
<table id="basic_data_table" width="50%">
7 8
  <tr valign="top">
......
9 10
      <table id="batch1">
10 11
        <tr>
11 12
          <th align="left">* [% 'Producer' | $T8 %]</th>
12
          <td>[% L.customer_vendor_picker('batch.producer_id', SELF.batch.producer_id, type='vendor', fat_set_item=1, style='width: 300px', class="initial_focus") %]</td>
13
          <td>[% P.customer_vendor.picker('batch.producer_id', SELF.batch.producer_id, type='vendor', fat_set_item=1, style='width: 300px', class="initial_focus") %]</td>
13 14
        </tr>
14 15
        <tr>
15 16
          <th align="left">* [% 'Part' | $T8 %]</th>
16
          <td>[% L.part_picker('batch.part_id', SELF.batch.part_id, part_type='part,assembly', fat_set_item=1, style='width: 300px') %]</td>
17
          <td>[% P.part.picker('batch.part_id', SELF.batch.part_id, part_type='part,assembly', fat_set_item=1, style='width: 300px') %]</td>
17 18
        </tr>
18 19
        <tr>
19 20
          <th align="left">* [% 'Batch Number' | $T8 %]</th>
templates/webpages/batch/search.html
2 2
[% USE HTML %]
3 3
[% USE LxERP %]
4 4
[% USE L %]
5
[% USE P %]
5 6

  
6 7
[% SET style='width: 300px' %]
7 8

  
......
13 14
  <tr valign="top">
14 15
    <td align="right"><input id="filter_columns.producer" name="filter_columns.producer" class="checkbox" type="checkbox" value="1" checked></td>
15 16
    <th align="left">[% 'Producer' | $T8 %]</th>
16
    <td align="left">[% L.customer_vendor_picker('filter_rows.producer_id', SELF.filter_rows.producer_id, type='vendor', fat_set_item=1, style=style, class='initiacheck.focus') %]</td>
17
    <td align="left">[% P.customer_vendor.picker('filter_rows.producer_id', SELF.filter_rows.producer_id, type='vendor', fat_set_item=1, style=style, class='initiacheck.focus') %]</td>
17 18
  </tr>
18 19
  <tr>
19 20
    <td align="right"><input id="filter_columns.part" name="filter_columns.part" class="checkbox" type="checkbox" value="1" checked></td>
20 21
    <th align="left">[% 'Part' | $T8 %]</th>
21
    <td>[% L.part_picker('filter_rows.part_id', SELF.filter_rows.part_id, part_type='part,assembly', fat_set_item=1, style=style) %]</td>
22
    <td>[% P.part.picker('filter_rows.part_id', SELF.filter_rows.part_id, part_type='part,assembly', fat_set_item=1, style=style) %]</td>
22 23
  </tr>
23 24
  <tr>
24 25
    <td align="right"><input id="filter_columns.batchnumber" name="filter_columns.batchnumber" class="checkbox" type="checkbox" value="1" checked></td>
templates/webpages/piece/_basic_data.html
2 2
[% USE HTML %]
3 3
[% USE LxERP %]
4 4
[% USE L %]
5
[% USE P %]
5 6

  
6 7
<table id="basic_data_table" width="50%">
7 8
  <tr valign="top">
......
9 10
      <table id="piece1">
10 11
        <tr>
11 12
          <th align="left">* [% 'Producer' | $T8 %]</th>
12
          <td>[% L.customer_vendor_picker('piece.producer_id', SELF.piece.producer_id, type='vendor', fat_set_item=1, style='width: 300px', class="initial_focus") %]</td>
13
          <td>[% P.customer_vendor.picker('piece.producer_id', SELF.piece.producer_id, type='vendor', fat_set_item=1, style='width: 300px', class="initial_focus") %]</td>
13 14
        </tr>
14 15
        <tr>
15 16
          <th align="left">* [% 'Part' | $T8 %]</th>
16
          <td>[% L.part_picker('piece.part_id', SELF.piece.part_id, part_type='part,assembly', fat_set_item=1, style='width: 300px') %]</td>
17
          <td>[% P.part.picker('piece.part_id', SELF.piece.part_id, part_type='part,assembly', fat_set_item=1, style='width: 300px') %]</td>
17 18
        </tr>
18 19
        <tr>
19 20
          <th align="left">[% 'Batch' | $T8 %]</th>
templates/webpages/piece/search.html
2 2
[% USE HTML %]
3 3
[% USE LxERP %]
4 4
[% USE L %]
5
[% USE P %]
5 6

  
6 7
[% SET style='width: 300px' %]
7 8

  
......
13 14
  <tr valign="top">
14 15
    <td align="right"><input id="filter_columns.producer" name="filter_columns.producer" class="checkbox" type="checkbox" value="1" checked></td>
15 16
    <th align="left">[% 'Producer' | $T8 %]</th>
16
    <td align="left">[% L.customer_vendor_picker('filter_rows.producer_id', SELF.filter_rows.producer_id, type='vendor', fat_set_item=1, style=style, class='initiacheck.focus') %]</td>
17
    <td align="left">[% P.customer_vendor.picker('filter_rows.producer_id', SELF.filter_rows.producer_id, type='vendor', fat_set_item=1, style=style, class='initiacheck.focus') %]</td>
17 18
  </tr>
18 19
  <tr>
19 20
    <td align="right"><input id="filter_columns.part" name="filter_columns.part" class="checkbox" type="checkbox" value="1" checked></td>
20 21
    <th align="left">[% 'Part' | $T8 %]</th>
21
    <td>[% L.part_picker('filter_rows.part_id', SELF.filter_rows.part_id, part_type='part,assembly', fat_set_item=1, style=style) %]</td>
22
    <td>[% P.part.picker('filter_rows.part_id', SELF.filter_rows.part_id, part_type='part,assembly', fat_set_item=1, style=style) %]</td>
22 23
  </tr>
23 24
  <tr>
24 25
    <td align="right"><input id="filter_columns.batch" name="filter_columns.batch" class="checkbox" type="checkbox" value="1" checked></td>

Auch abrufbar als: Unified diff