Revision 6968d257
Von Moritz Bunkus vor fast 18 Jahren hinzugefügt
SL/IS.pm | ||
---|---|---|
1705 | 1705 |
map { $form->{$_} = $ref->{$_} } keys %$ref; |
1706 | 1706 |
|
1707 | 1707 |
my $query = qq|SELECT dnn.dunning_description AS max_dunning_level FROM dunning_config dnn |
1708 |
WHERE id in (SELECT dunning_config_id from ar WHERE paid < amount AND customer_id = ? AND dunning_id IS NOT NULL) |
|
1708 |
WHERE id in (SELECT dunning_config_id from ar WHERE paid < amount AND customer_id = ? AND dunning_config_id IS NOT NULL)
|
|
1709 | 1709 |
ORDER BY dunning_level DESC LIMIT 1|; |
1710 | 1710 |
$ref = selectfirst_hashref_query($form, $dbh, $query, $form->{customer_id}); |
1711 | 1711 |
map { $form->{$_} = $ref->{$_} } keys %$ref; |
Auch abrufbar als: Unified diff
Vergessen, einen Spaltennamen mit umzubenennen.