Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b518fde7

Von Werner Hahn vor etwa 2 Jahren hinzugefügt

  • ID b518fde72fa839584383c03a61d724d070d4b9fa
  • Vorgänger 1295a7ba
  • Nachfolger da6e73e5

js action angepasst für undo_transfer

Unterschiede anzeigen:

SL/Controller/DeliveryOrder.pm
1973 1973
        action => [
1974 1974
          t8('Undo Transfer'),
1975 1975
          id       => 'undo_transfer',
1976
          call     => [ 'kivi.DeliveryOrder.save', 'undo_transfers' ],
1976
          call     => [ 'kivi.DeliveryOrder.save', { action => 'undo_transfers' } ],
1977 1977
          disabled => !$may_edit_create       ? t8('You do not have the permissions to access this function.')
1978 1978
                    : !$self->order->id       ? t8('This object has not been saved yet.')
1979 1979
                    : undef,
1980
          only_if => $self->order->delivered,
1980
          disabled => !$self->order->delivered,
1981 1981
          confirm => t8('Do you really want undo transfers the stock and set this order to undelivered?'),
1982 1982
        ],
1983 1983
      ],

Auch abrufbar als: Unified diff