Revision 0e6197ea
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
144 | 144 |
} |
145 | 145 |
} |
146 | 146 |
|
147 |
my $editing = $form->{id}; |
|
148 |
|
|
147 | 149 |
$form->backup_vars(qw(payment_id language_id taxzone_id salesman_id taxincluded cp_id intnotes id shipto_id)); |
148 | 150 |
|
149 | 151 |
IS->get_customer(\%myconfig, \%$form); |
... | ... | |
166 | 168 |
IS->retrieve_invoice(\%myconfig, \%$form); |
167 | 169 |
$form->restore_vars(qw(payment_id language_id taxzone_id intnotes cp_id shipto_id)); |
168 | 170 |
$form->restore_vars(qw(taxincluded)) if $form->{id}; |
169 |
$form->restore_vars(qw(salesman_id)) if $main::editing;
|
|
171 |
$form->restore_vars(qw(salesman_id)) if $editing; |
|
170 | 172 |
|
171 | 173 |
|
172 | 174 |
# build vendor/customer drop down comatibility... don't ask |
Auch abrufbar als: Unified diff
global editing ist falsch.