Revision bbb58258
Von G. Richardson vor mehr als 6 Jahren hinzugefügt
SL/DB/Helper/Payment.pm | ||
---|---|---|
107 | 107 |
|
108 | 108 |
# account where money is paid to/from: bank account or cash |
109 | 109 |
my $account_bank = SL::DB::Manager::Chart->find_by(id => $params{chart_id}); |
110 |
croak "can't find bank account" unless ref $account_bank;
|
|
110 |
croak "can't find bank account with id " . $params{chart_id} unless ref $account_bank;
|
|
111 | 111 |
|
112 | 112 |
my $reference_account = $self->reference_account; |
113 | 113 |
croak "can't find reference account (link = AR/AP) for invoice" unless ref $reference_account; |
Auch abrufbar als: Unified diff
Payment Helper - besser Fehlermeldung in pay_invoice