Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 688bbe9b

Von Bernd Bleßmann vor 6 Monaten hinzugefügt

  • ID 688bbe9b331f9587c2b07e12f194596172feaee3
  • Vorgänger c3d8955c
  • Nachfolger a8593e40

Auslaufende Artikel: Keine Auswahl via Picker in Preisanfrage/Lieferantenauftrag

Unterschiede anzeigen:

SL/DB/Helper/TypeDataProxy.pm
47 47
  _via("get", [ "part_classification_query" ], @_);
48 48
}
49 49

  
50
sub no_order_locked_parts {
51
  _via("get", [ "no_order_locked_parts" ], @_);
52
}
53

  
50 54
sub _via {
51 55
  my $method = shift;
52 56
  my $additional_args = shift;
SL/DB/Order/TypeData.pm
70 70
      },
71 71
    },
72 72
    part_classification_query => [ "used_for_sale" => 1 ],
73
    no_order_locked_parts     => 0,
73 74
    rights => {
74 75
      edit => "sales_order_edit",
75 76
      view => "sales_order_edit | sales_order_view",
......
120 121
      reqdate => sub { return; },
121 122
    },
122 123
    part_classification_query => [ "used_for_purchase" => 1 ],
124
    no_order_locked_parts     => 1,
123 125
    rights => {
124 126
      edit => "purchase_order_edit",
125 127
      view => "purchase_order_edit | purchase_order_view",
......
177 179
      },
178 180
    },
179 181
    part_classification_query => [ "used_for_sale" => 1 ],
182
    no_order_locked_parts     => 0,
180 183
    rights => {
181 184
      edit => "sales_quotation_edit",
182 185
      view => "sales_quotation_edit | sales_quotation_view",
......
227 230
      reqdate => sub { return; },
228 231
    },
229 232
    part_classification_query => [ "used_for_purchase" => 1 ],
233
    no_order_locked_parts     => 1,
230 234
    rights => {
231 235
      edit => "request_quotation_edit",
232 236
      view => "request_quotation_edit | request_quotation_view",
......
277 281
      reqdate => sub { return; },
278 282
    },
279 283
    part_classification_query => [ "used_for_purchase" => 1 ],
284
    no_order_locked_parts     => 0,
280 285
    rights => {
281 286
      edit => "request_quotation_edit",
282 287
      view => "request_quotation_edit | request_quotation_view",
......
334 339
      },
335 340
    },
336 341
    part_classification_query => [ "used_for_sale" => 1 ],
342
    no_order_locked_parts     => 0,
337 343
    rights => {
338 344
      edit => "sales_order_edit",
339 345
      view => "sales_order_edit | sales_order_view",
......
384 390
      reqdate => sub { return; },
385 391
    },
386 392
    part_classification_query => [ "used_for_purchase" => 1 ],
393
    no_order_locked_parts     => 0,
387 394
    rights => {
388 395
      edit => "purchase_order_edit",
389 396
      view => "purchase_order_edit | sales_order_view",
templates/design40_webpages/order/tabs/_item_input.html
23 23
             multiple_pos_input=1,
24 24
             action={set_multi_items='kivi.Order.add_multi_items'},
25 25
             classification_id=SELF.part_picker_classification_ids.as_list.join(','),
26
             not_order_locked=SELF.type_data.no_order_locked_parts,
26 27
             $PARAM_KEY=PARAM_VAL) %]
27 28
        </td>
28 29
        <td>
templates/webpages/order/tabs/_item_input.html
1 1
[%- USE T8 %][%- USE HTML %][%- USE LxERP %][%- USE L %][%- USE P %]
2 2

  
3
 <div>
3
<div>
4 4
  <table id="input_row_table_id">
5 5
    <thead>
6 6
      <tr class="listheading">
......
32 32
                            multiple_pos_input=1,
33 33
                            action={set_multi_items='kivi.Order.add_multi_items'},
34 34
                            classification_id=SELF.part_picker_classification_ids.as_list.join(','),
35
                            not_order_locked=SELF.type_data.no_order_locked_parts,
35 36
                            $PARAM_KEY=PARAM_VAL) %]</td>
36 37
        <td>[% L.input_tag('add_item.description', SELF.created_part.description, class="add_item_input") %]</td>
37 38
        <td>

Auch abrufbar als: Unified diff