Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ba57ae4b

Von Sven Schöling vor etwa 3 Jahren hinzugefügt

  • ID ba57ae4b08fbee5ac1918b97cda7dbc773ea93e1
  • Vorgänger f1632521
  • Nachfolger a7cdadc9

oe: Lieferscheinumwandlungen für Retouren und Beistelllieferscheine

Unterschiede anzeigen:

SL/Controller/Order.pm
631 631
  $self->save_and_redirect_to(
632 632
    controller => 'oe.pl',
633 633
    action     => 'oe_delivery_order_from_order',
634
    new_type   => $::form->{new_type},
634 635
  );
635 636
}
636 637

  
......
1954 1955
          ],
1955 1956
          only_if   => (any { $self->type eq $_ } (sales_order_type(), purchase_order_type()))
1956 1957
        ],
1958
        action => [
1959
          t8('Save and Supplier Delivery Order'),
1960
          call      => [ 'kivi.Order.save', 'save_and_delivery_order', $::instance_conf->get_order_warn_duplicate_parts,
1961
                                                                       $::instance_conf->get_order_warn_no_deliverydate,
1962
                                                                       'supplier_delivery_order'                        ],
1963
          checks    => [ 'kivi.Order.check_save_active_periodic_invoices',
1964
                         @req_trans_cost_art, @req_cusordnumber,
1965
          ],
1966
          only_if   => (any { $self->type eq $_ } (sales_order_type(), purchase_order_type()))
1967
        ],
1968
        action => [
1969
          t8('Save and RMA Delivery Order'),
1970
          call      => [ 'kivi.Order.save', 'save_and_delivery_order', $::instance_conf->get_order_warn_duplicate_parts,
1971
                                                                       $::instance_conf->get_order_warn_no_deliverydate,
1972
                                                                       'rma_delivery_order'                             ],
1973
          checks    => [ 'kivi.Order.check_save_active_periodic_invoices',
1974
                         @req_trans_cost_art, @req_cusordnumber,
1975
          ],
1976
          only_if   => (any { $self->type eq $_ } (sales_order_type(), purchase_order_type()))
1977
        ],
1957 1978
        action => [
1958 1979
          t8('Save and Invoice'),
1959 1980
          call      => [ 'kivi.Order.save', 'save_and_invoice', $::instance_conf->get_order_warn_duplicate_parts ],

Auch abrufbar als: Unified diff