Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 40f11b80

Von Bernd Bleßmann vor etwa 6 Jahren hinzugefügt

  • ID 40f11b80336beaa14392867889d2fec8ffe12859
  • Vorgänger ce560cb7
  • Nachfolger 287581db

Auftrags-Controller: "Speichern und Lieferschein/Rechnung" unter Workflow

Auch, wenn hier gespeichert wird, ist es doch ein Workflow.

Unterschiede anzeigen:

SL/Controller/Order.pm
1511 1511
          checks    => [ 'kivi.Order.check_save_active_periodic_invoices' ],
1512 1512
          disabled  => !$self->order->id ? t8('This object has not been saved yet.') : undef,
1513 1513
        ],
1514
        action => [
1515
          t8('Save and Delivery Order'),
1516
          call      => [ 'kivi.Order.save', 'save_and_delivery_order', $::instance_conf->get_order_warn_duplicate_parts,
1517
                                                                       $::instance_conf->get_order_warn_no_deliverydate,
1518
                                                                                                                        ],
1519
          checks    => [ 'kivi.Order.check_save_active_periodic_invoices' ],
1520
          only_if   => (any { $self->type eq $_ } (sales_order_type(), purchase_order_type()))
1521
        ],
1522
        action => [
1523
          t8('Save and Invoice'),
1524
          call      => [ 'kivi.Order.save', 'save_and_invoice', $::instance_conf->get_order_warn_duplicate_parts ],
1525
          checks    => [ 'kivi.Order.check_save_active_periodic_invoices' ],
1526
        ],
1527 1514
      ], # end of combobox "Save"
1528 1515

  
1529 1516
      combobox => [
......
1542 1529
          only_if  => (any { $self->type eq $_ } (sales_order_type(), request_quotation_type())),
1543 1530
          disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef,
1544 1531
        ],
1532
        action => [
1533
          t8('Save and Delivery Order'),
1534
          call      => [ 'kivi.Order.save', 'save_and_delivery_order', $::instance_conf->get_order_warn_duplicate_parts,
1535
                                                                       $::instance_conf->get_order_warn_no_deliverydate,
1536
                                                                                                                        ],
1537
          checks    => [ 'kivi.Order.check_save_active_periodic_invoices' ],
1538
          only_if   => (any { $self->type eq $_ } (sales_order_type(), purchase_order_type()))
1539
        ],
1540
        action => [
1541
          t8('Save and Invoice'),
1542
          call      => [ 'kivi.Order.save', 'save_and_invoice', $::instance_conf->get_order_warn_duplicate_parts ],
1543
          checks    => [ 'kivi.Order.check_save_active_periodic_invoices' ],
1544
        ],
1545 1545
      ], # end of combobox "Workflow"
1546 1546

  
1547 1547
      combobox => [
......
1868 1868

  
1869 1869
=item * credit limit
1870 1870

  
1871
=item * more workflows (save as new, quotation, purchase order)
1871
=item * more workflows (quotation, rfq)
1872 1872

  
1873 1873
=item * price sources: little symbols showing better price / better discount
1874 1874

  
......
1973 1973

  
1974 1974
A warning when leaving the page without saveing unchanged inputs.
1975 1975

  
1976
=item *
1977

  
1978
Workflows for delivery order and invoice are in the menu "Save", because the
1979
order is saved before opening the new document form. Nevertheless perhaps these
1980
workflow buttons should be put under "Workflows".
1981

  
1982 1976

  
1983 1977
=back
1984 1978

  

Auch abrufbar als: Unified diff