summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c65e8fc)
Hier wird nun die Zahlungsbedingung des Kunden oder Lieferanten genommen,
falls dieser eine hat
IS->get_customer(\%myconfig, \%$form);
$vc_discount = $form->{customer_discount};
}
IS->get_customer(\%myconfig, \%$form);
$vc_discount = $form->{customer_discount};
}
- restore_form($saved_form);
+ # use payment terms from customer or vendor
+ restore_form($saved_form,0,qw(payment_id));
$form->{rowcount} = 0;
foreach my $ref (@{ $form->{form_details} }) {
$form->{rowcount} = 0;
foreach my $ref (@{ $form->{form_details} }) {