Revision 4bd1e2f8
Von Sven Schöling vor mehr als 9 Jahren hinzugefügt
SL/DN.pm | ||
---|---|---|
244 | 244 |
$dunning_id, # duedate |
245 | 245 |
$curr, # default currency |
246 | 246 |
sprintf($main::locale->text('Automatically created invoice for fee and interest for dunning %s'), $dunning_id), # notes |
247 |
$form->{login}); # employee_id
|
|
247 |
$::myconfig{login}); # employee_id
|
|
248 | 248 |
do_query($form, $dbh, $query, @values); |
249 | 249 |
|
250 | 250 |
$query = |
... | ... | |
926 | 926 |
map { $form->{$_} = $ref->{$_} } keys %{ $ref }; |
927 | 927 |
|
928 | 928 |
$query = qq|SELECT * FROM employee WHERE login = ?|; |
929 |
$ref = selectfirst_hashref_query($form, $dbh, $query, $form->{login});
|
|
929 |
$ref = selectfirst_hashref_query($form, $dbh, $query, $::myconfig{login});
|
|
930 | 930 |
map { $form->{"employee_${_}"} = $ref->{$_} } keys %{ $ref }; |
931 | 931 |
|
932 | 932 |
$query = qq|SELECT * FROM acc_trans WHERE trans_id = ? ORDER BY acc_trans_id ASC|; |
Auch abrufbar als: Unified diff
login nicht aus $::form nehmen. Teil 1