Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c45a00e0

Von Jan Büren vor mehr als 4 Jahren hinzugefügt

  • ID c45a00e0f354b3ecf9a970c8503e779ba005dce9
  • Vorgänger 393cef65
  • Nachfolger 1b18f0aa

Vorgangsbezeichnung erzwingen auch im Order-Controller

Unterschiede anzeigen:

SL/Controller/Order.pm
1729 1729
  $self->get_item_cvpartnumber($_) for @{$self->order->items_sorted};
1730 1730

  
1731 1731
  $::request->{layout}->use_javascript("${_}.js") for qw(kivi.SalesPurchase kivi.Order kivi.File ckeditor/ckeditor ckeditor/adapters/jquery
1732
                                                         edit_periodic_invoices_config calculate_qty);
1732
                                                         edit_periodic_invoices_config calculate_qty kivi.Validator);
1733 1733
  $self->setup_edit_action_bar;
1734 1734
}
1735 1735

  
......
1748 1748
          call      => [ 'kivi.Order.save', 'save', $::instance_conf->get_order_warn_duplicate_parts,
1749 1749
                                                    $::instance_conf->get_order_warn_no_deliverydate,
1750 1750
                                                                                                      ],
1751
          checks    => [ 'kivi.Order.check_save_active_periodic_invoices' ],
1751
          checks    => [ 'kivi.Order.check_save_active_periodic_invoices', ['kivi.validate_form','#order_form'] ],
1752 1752
        ],
1753 1753
        action => [
1754 1754
          t8('Save as new'),
templates/webpages/order/tabs/basic_data.html
85 85

  
86 86
          <tr>
87 87
            <th align="right">[% 'Transaction description' | $T8 %]</th>
88
            <td>[% L.input_tag('order.transaction_description', SELF.order.transaction_description, style='width: 300px') %]</td>
88
            <td>[% L.input_tag('order.transaction_description', SELF.order.transaction_description, 'data-validate'=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '', style='width: 300px') %]</td>
89 89
          </tr>
90 90

  
91 91
          <tr>

Auch abrufbar als: Unified diff