Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7ec3a4d3

Von Bernd Bleßmann vor 9 Monaten hinzugefügt

  • ID 7ec3a4d3d5272d337f668f11c5bebe044e2fe6c9
  • Vorgänger 33ebb412
  • Nachfolger 3380b8ed

Erzeugnis fertigen: Auswahlmaske: eigene Tabellen für eindeutige und nicht …

… eindeutige Bestandteile.

Unterschiede anzeigen:

locale/de/all
3720 3720
  'Sold order items'            => 'Verkaufte Auftragsartikel',
3721 3721
  'Soldtotal does not make sense without any bsooqr options' => 'Option "Menge in gewählten Belegen" ohne gewählte Belege wird ignoriert.',
3722 3722
  'Solution'                    => 'Lösung',
3723
  'Some of the following assembly items are ambigious. Please check the selection.' => 'Einige der folgenden Erzeugnisbestandteile sind nicht eindeutig. Bitte überprüfen Sie die Auswahl.',
3724 3723
  'Sorry, I am too stupid to figure out the default warehouse/bin and the sold qty. I drop the default warehouse/bin option.' => 'Entschuldigung, ich bin nicht in der Lage Standard-Lager und die Menge in gewählten Belegen gleichzeitig anzuzeigen. Ich lass die Standard-Lager weg.',
3725 3724
  'Sort'                        => 'Sortieren',
3726 3725
  'Sort By'                     => 'Sortiert nach',
......
4088 4087
  'The first reason is that kivitendo contained a bug which resulted in the wrong taxkeys being recorded for transactions in which two entries are posted for the same chart with different taxkeys.' => 'Der erste Grund war ein Fehler in kivitendo, der dazu führte, dass bei einer Transaktion, bei der zwei Buchungen mit unterschiedlichen Steuerschlüsseln auf dasselbe Konto durchgeführt wurden, die falschen Steuerschlüssel gespeichert wurden.',
4089 4088
  'The follow-up date is missing.' => 'Das Wiedervorlagedatum fehlt.',
4090 4089
  'The following Shop Orders: ' => 'Die folgenden Shop-Aufträge: ',
4090
  'The following assembly items are ambigious. Please check the selection.' => 'Die folgenden Erzeugnisbestandteile sind nicht eindeutig. Bitte überprüfen Sie die Auswahl.',
4091
  'The following assembly items are unambigious and will be used for production.' => 'Die folgenden Erzeugnisbestandteile sind eindeutig und werden für die Fertigung verwendet.',
4091 4092
  'The following currencies have been used, but they are not defined:' => 'Die folgenden Währungen wurden benutzt, sind aber nicht ordnungsgemäß in der Datenbank eingetragen:',
4092 4093
  'The following delivery orders could not be processed because they are already closed: #1' => 'Die folgenden Lieferscheine konnten nicht verarbeitet werden, da sie bereits geschlossen sind: #1',
4093 4094
  'The following drafts have been saved and can be loaded.' => 'Die folgenden Entwürfe wurden gespeichert und können geladen werden.',
locale/en/all
3719 3719
  'Sold order items'            => '',
3720 3720
  'Soldtotal does not make sense without any bsooqr options' => '',
3721 3721
  'Solution'                    => '',
3722
  'Some of the following assembly items are ambigious. Please check the selection.' => '',
3723 3722
  'Sorry, I am too stupid to figure out the default warehouse/bin and the sold qty. I drop the default warehouse/bin option.' => '',
3724 3723
  'Sort'                        => '',
3725 3724
  'Sort By'                     => '',
......
4086 4085
  'The first reason is that kivitendo contained a bug which resulted in the wrong taxkeys being recorded for transactions in which two entries are posted for the same chart with different taxkeys.' => '',
4087 4086
  'The follow-up date is missing.' => '',
4088 4087
  'The following Shop Orders: ' => '',
4088
  'The following assembly items are ambigious. Please check the selection.' => '',
4089
  'The following assembly items are unambigious and will be used for production.' => '',
4089 4090
  'The following currencies have been used, but they are not defined:' => '',
4090 4091
  'The following delivery orders could not be processed because they are already closed: #1' => '',
4091 4092
  'The following drafts have been saved and can be loaded.' => '',
templates/design40_webpages/wh/create_assembly_chargenumbers.html
7 7

  
8 8
[%- INCLUDE 'common/flash.html' %]
9 9

  
10
<p>
11
  [% 'Some of the following assembly items are ambigious. Please check the selection.' | $T8 %]
12
</p>
13

  
14 10
<form name="Form" method="post" action="wh.pl" id="form">
15 11
  [%
16 12
    FOREACH key = hidden_vars.keys;
......
20 16

  
21 17
 <div class="wrapper">
22 18
  <table class="tbl-list">
19
    <caption>
20
      [% 'The following assembly items are ambigious. Please check the selection.' | $T8 %]
21
    </caption>
23 22
    <thead>
24 23
      <tr class="listheading">
25 24
        <th>[% 'Partnumber'   | $T8%]</th>
......
34 33
    </thead>
35 34
    <tbody>
36 35
      [% FOREACH part_id = stocked_by_parts_id.keys.sort -%]
36
        [% NEXT UNLESS stocked_by_parts_id.$part_id.size > 1 %]
37 37
        <tr class="listheading">
38 38
          <td colspan="6">[% 'needed qty' | $T8 %]</td>
39 39
          <td class="numeric">[% LxERP.format_amount(needed_by_parts_id.$part_id, -2) %]</td>
......
60 60
            <td>[% part.warehouse.description | html                 %]</td>
61 61
            <td>[% part.bin.description       | html                 %]</td>
62 62
            <td class="numeric">[% LxERP.format_amount(part.qty, -2) %]</td>
63
            <td>[% P.input_number_tag('allocations[].qty', alloc_qty, precision => -2, class="wi-verysmall") %]</td>
64
            <td>[% part.part.unit             | html                 %]</td>
65
          </tr>
66
        [% END %]
67
        <tr><td colspan="8"></td></tr>
68
      [% END %]
69
    </tbody>
70
  </table>
71
 </div>
72

  
73
 <div class="wrapper">
74
  <table class="tbl-list">
75
    <caption>
76
      [% 'The following assembly items are unambigious and will be used for production.' | $T8 %]
77
    </caption>
78
    <thead>
79
      <tr class="listheading">
80
        <th>[% 'Partnumber'   | $T8%]</th>
81
        <th>[% 'Description'  | $T8%]</th>
82
        <th>[% 'Chargenumber' | $T8%]</th>
83
        <th>[% 'Warehouse'    | $T8%]</th>
84
        <th>[% 'Bin'          | $T8%]</th>
85
        <th>[% 'Onhand'       | $T8%]</th>
86
        <th>[% 'Qty'          | $T8%]</th>
87
        <th>[% 'Unit'         | $T8%]</th>
88
      </tr>
89
    </thead>
90
    <tbody>
91
      [% FOREACH part_id = stocked_by_parts_id.keys.sort -%]
92
        [% NEXT UNLESS stocked_by_parts_id.$part_id.size <= 1 %]
93
        [% FOREACH part = stocked_by_parts_id.$part_id -%]
94
          <tr class="listrow">
95
            [% SET alloc_qty = '';
96
               FOREACH alloc = allocated_by_parts_id.$part_id;
97
                 IF (alloc.warehouse_id == part.warehouse.id && alloc.bin_id == part.bin_id && HTML.escape(alloc.chargenumber) == HTML.escape(part.chargenumber));
98
                   SET alloc_qty = alloc.qty;
99
                 END;
100
               END
101
            -%]
63 102
            <td>
64
              [% SET readonly = 0 -%]
65
              [% IF stocked_by_parts_id.$part_id.size == 1 -%]
66
                [% SET readonly = 1 -%]
67
                [% P.hidden_tag('allocations[].qty', LxERP.format_amount(alloc_qty, -2)) %]
68
                <span class="wi-verysmall numeric data">[% LxERP.format_amount(alloc_qty, -2) %]</span>
69
              [% ELSE -%]
70
                [% P.input_number_tag('allocations[].qty', alloc_qty, precision => -2, class="wi-verysmall") %]
71
              [% END -%]
103
              [% P.hidden_tag('allocations[+].parts_id', part_id )%]
104
              [% P.hidden_tag('allocations[].chargenumber', part.chargenumber )%]
105
              [% P.hidden_tag('allocations[].warehouse_id', part.warehouse_id )%]
106
              [% P.hidden_tag('allocations[].bin_id', part.bin_id )%]
107
              [% part.part.partnumber | html %]
108
            </td>
109
            <td>[% part.part.description      | html                 %]</td>
110
            <td>[% part.chargenumber          | html                 %]</td>
111
            <td>[% part.warehouse.description | html                 %]</td>
112
            <td>[% part.bin.description       | html                 %]</td>
113
            <td class="numeric">[% LxERP.format_amount(part.qty, -2) %]</td>
114
            <td class="numeric">
115
              [% P.hidden_tag('allocations[].qty', LxERP.format_amount(alloc_qty, -2)) %]
116
              [% LxERP.format_amount(alloc_qty, -2) %]
72 117
            </td>
73 118
            <td>[% part.part.unit             | html                 %]</td>
74 119
          </tr>
......
78 123
    </tbody>
79 124
  </table>
80 125
 </div>
126

  
81 127
</form>
templates/webpages/wh/create_assembly_chargenumbers.html
7 7

  
8 8
[%- INCLUDE 'common/flash.html' %]
9 9

  
10
<p>
11
  [% 'Some of the following assembly items are ambigious. Please check the selection.' | $T8 %]
12
</p>
13

  
14 10
<form name="Form" method="post" action="wh.pl" id="form">
15 11
  [%
16 12
    FOREACH key = hidden_vars.keys;
......
18 14
    END
19 15
  %]
20 16

  
17
  <p>
18
    [% 'The following assembly items are ambigious. Please check the selection.' | $T8 %]
19
  </p>
20

  
21 21
  <table>
22 22
    <thead>
23 23
      <tr class="listheading">
......
33 33
    </thead>
34 34
    <tbody>
35 35
      [% FOREACH part_id = stocked_by_parts_id.keys.sort -%]
36
        [% NEXT UNLESS stocked_by_parts_id.$part_id.size > 1 %]
36 37
        <tr class="listheading">
37 38
          <td colspan="6">[% 'needed qty' | $T8 %]</td>
38 39
          <td class="numeric">[% LxERP.format_amount(needed_by_parts_id.$part_id, -2) %]</td>
......
59 60
            <td>[% part.warehouse.description | html                 %]</td>
60 61
            <td>[% part.bin.description       | html                 %]</td>
61 62
            <td class="numeric">[% LxERP.format_amount(part.qty, -2) %]</td>
62
            <td>
63
              [% SET readonly = 0 -%]
64
              [% IF stocked_by_parts_id.$part_id.size == 1 -%]
65
                [% SET readonly = 1 -%]
66
                [% P.hidden_tag('allocations[].qty', LxERP.format_amount(alloc_qty, -2)) %]
67
              [% END -%]
68
              [% P.input_number_tag('allocations[].qty', alloc_qty, precision => -2, size => 8, disabled => readonly) %]
69
            </td>
63
            <td>[% P.input_number_tag('allocations[].qty', alloc_qty, precision => -2, size => 8) %]</td>
70 64
            <td>[% part.part.unit             | html                 %]</td>
71 65
          </tr>
72 66
        [% END %]
......
76 70
    </tbody>
77 71
  </table>
78 72

  
73
  <p>
74
    [% 'The following assembly items are unambigious and will be used for production.' | $T8 %]
75
  </p>
76

  
77
  <table>
78
    <thead>
79
      <tr class="listheading">
80
        <th>[% 'Partnumber'   | $T8%]</th>
81
        <th>[% 'Description'  | $T8%]</th>
82
        <th>[% 'Chargenumber' | $T8%]</th>
83
        <th>[% 'Warehouse'    | $T8%]</th>
84
        <th>[% 'Bin'          | $T8%]</th>
85
        <th>[% 'Onhand'       | $T8%]</th>
86
        <th>[% 'Qty'          | $T8%]</th>
87
        <th>[% 'Unit'         | $T8%]</th>
88
      </tr>
89
    </thead>
90
    <tbody>
91
      [% FOREACH part_id = stocked_by_parts_id.keys.sort -%]
92
        [% NEXT UNLESS stocked_by_parts_id.$part_id.size <= 1 %]
93
        [% FOREACH part = stocked_by_parts_id.$part_id -%]
94
          <tr class="listrow">
95
            [% SET alloc_qty = '';
96
               FOREACH alloc = allocated_by_parts_id.$part_id;
97
                 IF (alloc.warehouse_id == part.warehouse.id && alloc.bin_id == part.bin_id && HTML.escape(alloc.chargenumber) == HTML.escape(part.chargenumber));
98
                   SET alloc_qty = alloc.qty;
99
                 END;
100
               END
101
              -%]
102
            <td>
103
              [% P.hidden_tag('allocations[+].parts_id', part_id )%]
104
              [% P.hidden_tag('allocations[].chargenumber', part.chargenumber )%]
105
              [% P.hidden_tag('allocations[].warehouse_id', part.warehouse_id )%]
106
              [% P.hidden_tag('allocations[].bin_id', part.bin_id )%]
107
              [% part.part.partnumber | html %]
108
            </td>
109
            <td>[% part.part.description      | html                 %]</td>
110
            <td>[% part.chargenumber          | html                 %]</td>
111
            <td>[% part.warehouse.description | html                 %]</td>
112
            <td>[% part.bin.description       | html                 %]</td>
113
            <td class="numeric">[% LxERP.format_amount(part.qty, -2) %]</td>
114
            <td class="numeric">
115
              [% P.hidden_tag('allocations[].qty', LxERP.format_amount(alloc_qty, -2)) %]
116
              [% LxERP.format_amount(alloc_qty, -2) %]
117
            </td>
118
            <td>[% part.part.unit             | html                 %]</td>
119
          </tr>
120
        [% END %]
121
      [% END %]
122
    </tbody>
123
  </table>
124

  
79 125
</form>

Auch abrufbar als: Unified diff