Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f8b23396

Von Bernd Bleßmann vor mehr als 4 Jahren hinzugefügt

  • ID f8b23396dfa8e2c064c025f2b2786366ba3908af
  • Vorgänger bd3ddb3a
  • Nachfolger e70a89d2

Auftrags-Controller: Währung bei Kunden-/Lieferantenwechsel setzen

Unterschiede anzeigen:

SL/Controller/Order.pm
689 689
    ->replaceWith('#business_info_row',      $self->build_business_info_row)
690 690
    ->val(        '#order_taxzone_id',       $self->order->taxzone_id)
691 691
    ->val(        '#order_taxincluded',      $self->order->taxincluded)
692
    ->val(        '#order_currency_id',      $self->order->currency_id)
692 693
    ->val(        '#order_payment_id',       $self->order->payment_id)
693 694
    ->val(        '#order_delivery_term_id', $self->order->delivery_term_id)
694 695
    ->val(        '#order_intnotes',         $self->order->intnotes)
695 696
    ->val(        '#language_id',            $self->order->$cv_method->language_id)
696
    ->focus(      '#order_' . $self->cv . '_id');
697
    ->focus(      '#order_' . $self->cv . '_id')
698
    ->run('kivi.Order.update_exchangerate');
697 699

  
698 700
  $self->js_redisplay_amounts_and_taxes;
699 701
  $self->js_redisplay_cvpartnumbers;
......
1507 1509
sub setup_order_from_cv {
1508 1510
  my ($order) = @_;
1509 1511

  
1510
  $order->$_($order->customervendor->$_) for (qw(taxzone_id payment_id delivery_term_id));
1512
  $order->$_($order->customervendor->$_) for (qw(taxzone_id payment_id delivery_term_id currency_id));
1511 1513

  
1512 1514
  $order->intnotes($order->customervendor->notes);
1513 1515

  

Auch abrufbar als: Unified diff