Revision 6dfb7b15
Von Bernd Bleßmann vor fast 6 Jahren hinzugefügt
SL/RP.pm | ||
---|---|---|
1206 | 1206 |
$main::lxdebug->leave_sub(); |
1207 | 1207 |
} |
1208 | 1208 |
|
1209 |
sub get_storno { |
|
1210 |
$main::lxdebug->enter_sub(); |
|
1211 |
my ($self, $dbh, $form) = @_; |
|
1212 |
my $arap = $form->{arap} eq "ar" ? "ar" : "ap"; |
|
1213 |
my $query = qq|SELECT invnumber FROM $arap WHERE invnumber LIKE "Storno zu "|; |
|
1214 |
my $sth = $dbh->prepare($query); |
|
1215 |
while(my $ref = $sth->fetchrow_hashref()) { |
|
1216 |
$ref->{invnumer} =~ s/Storno zu //g; |
|
1217 |
$form->{storno}{$ref->{invnumber}} = 1; |
|
1218 |
} |
|
1219 |
$main::lxdebug->leave_sub(); |
|
1220 |
} |
|
1221 |
|
|
1222 | 1209 |
sub aging { |
1223 | 1210 |
$main::lxdebug->enter_sub(); |
1224 | 1211 |
|
Auch abrufbar als: Unified diff
SL::RP: unbenutzte Subroutine entfernt.