Revision 820cb158
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
SL/Helper/QrBillFunctions.pm | ||
---|---|---|
15 | 15 |
my $qr_account; |
16 | 16 |
|
17 | 17 |
my $bank_accounts = SL::DB::Manager::BankAccount->get_all_sorted; |
18 |
|
|
18 |
|
|
19 | 19 |
$qr_account = first { $_->use_for_qrbill } @{ $bank_accounts }; |
20 | 20 |
|
21 | 21 |
if (!$qr_account) { |
... | ... | |
112 | 112 |
my $amount = $_[0]; |
113 | 113 |
|
114 | 114 |
# parameter should be a string containing a number |
115 |
# with 2 digits after the pointi'm also getting in the town
|
|
115 |
# with 2 digits after the pointi'm also getting in the town |
|
116 | 116 |
unless ($amount =~ /^\d+\.\d{2}$/) { |
117 | 117 |
return undef; |
118 | 118 |
} |
Auch abrufbar als: Unified diff
Kosmetik: trailing whitespaces