Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1c54dd60

Von Tamino Steinert vor 7 Monaten hinzugefügt

  • ID 1c54dd608fbf9fdb00beaca858a13758d4a28bd4
  • Vorgänger bf42cb97
  • Nachfolger d85c9c95

Varianten: 'Mehrere Varianten hinzufügen' in neuen Belegen

Unterschiede anzeigen:

js/kivi.DeliveryOrder.js
570 570
    pp.open_dialog();
571 571
  };
572 572

  
573
  ns.open_multi_variants_dialog = function() {
574
    if (!ns.check_cv()) return;
575

  
576
    var pp = $("#add_item_parts_id").data("part_picker");
577
    pp.o.variants_list=1;
578
    pp.open_dialog();
579
  };
580

  
573 581
  ns.add_multi_items = function(data) {
574 582
    var insert_before_item_id = ns.get_insert_before_item_id($('#multi_items_position').val());
575 583
    data = data.concat($('#order_form').serializeArray());
js/kivi.Order.js
529 529
    pp.open_dialog();
530 530
  };
531 531

  
532
  ns.open_multi_variants_dialog = function() {
533
    if (!ns.check_cv()) return;
534

  
535
    var pp = $("#add_item_parts_id").data("part_picker");
536
    pp.o.variants_list=1;
537
    pp.open_dialog();
538
  };
539

  
532 540
  ns.add_multi_items = function(data) {
533 541
    var insert_before_item_id = ns.get_insert_before_item_id($('#multi_items_position').val());
534 542
    data = data.concat($('#order_form').serializeArray());
js/kivi.Reclamation.js
512 512
    pp.open_dialog();
513 513
  };
514 514

  
515
  ns.open_multi_variants_dialog = function() {
516
    if (!ns.check_cv()) return;
517

  
518
    var pp = $("#add_item_parts_id").data("part_picker");
519
    pp.o.variants_list=1;
520
    pp.open_dialog();
521
  };
522

  
515 523
  ns.add_multi_items = function(data) {
516 524
    var insert_before_item_id = ns.get_insert_before_item_id($('#multi_items_position').val());
517 525
    data = data.concat($('#reclamation_form').serializeArray());
templates/design40_webpages/delivery_order/tabs/_item_input.html
40 40
        </tr>
41 41
      </tbody>
42 42
    </table>
43
    <div style="clear:both">[% L.button_tag('kivi.DeliveryOrder.open_multi_items_dialog()', LxERP.t8('Add multiple items'), class='neutral') %]</div>
43
    <div style="clear:both">
44
      [% L.button_tag('kivi.DeliveryOrder.open_multi_items_dialog()', LxERP.t8('Add multiple items'), class='neutral') %]
45
      [% L.button_tag('kivi.DeliveryOrder.open_multi_variants_dialog()', LxERP.t8('Add multiple variants'), class='neutral') %]
46
    </div>
44 47
  </div><!-- /.entry-panel -->
45 48

  
46 49
  <div class="input-panel control-panel short">
templates/design40_webpages/order/tabs/_item_input.html
52 52
      </tr>
53 53
    </tbody>
54 54
  </table>
55
  <div style="clear:both">[% L.button_tag('kivi.Order.open_multi_items_dialog()', LxERP.t8('Add multiple items'), class='neutral') %]</div>
55
  <div style="clear:both">
56
    [% L.button_tag('kivi.Order.open_multi_items_dialog()', LxERP.t8('Add multiple items'), class='neutral') %]
57
    [% L.button_tag('kivi.Order.open_multi_variants_dialog()', LxERP.t8('Add multiple variants'), class='neutral') %]
58
  </div>
56 59
</div><!-- /.entry-panel -->
57 60

  
58 61
<div class="input-panel control-panel short">
templates/design40_webpages/reclamation/tabs/basic_data/_item_input.html
51 51
        </tr>
52 52
      </tbody>
53 53
    </table>
54
    <div style="clear:both">[% L.button_tag('kivi.Reclamation.open_multi_items_dialog()', LxERP.t8('Add multiple items'), class="neutral") %]</div>
54
    <div style="clear:both">
55
      [% L.button_tag('kivi.Reclamation.open_multi_items_dialog()', LxERP.t8('Add multiple items'), class='neutral') %]
56
      [% L.button_tag('kivi.Reclamation.open_multi_variants_dialog()', LxERP.t8('Add multiple variants'), class='neutral') %]
57
    </div>
55 58
  </div><!-- /.entry-panel -->
56 59

  
57 60
  <div class="input-panel control-panel short">

Auch abrufbar als: Unified diff