Revision a93f1e39
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/DB/PurchaseInvoice.pm | ||
---|---|---|
2 | 2 |
|
3 | 3 |
use strict; |
4 | 4 |
|
5 |
use Carp; |
|
6 |
|
|
5 | 7 |
use SL::DB::MetaSetup::PurchaseInvoice; |
6 | 8 |
use SL::DB::Manager::PurchaseInvoice; |
7 | 9 |
use SL::DB::Helper::LinkedRecords; |
... | ... | |
20 | 22 |
sub items { goto &invoiceitems; } |
21 | 23 |
sub payment_term { goto &payment; } |
22 | 24 |
|
25 |
sub is_sales { |
|
26 |
# For compatibility with Order, DeliveryOrder |
|
27 |
croak 'not an accessor' if @_ > 1; |
|
28 |
return 0; |
|
29 |
} |
|
30 |
|
|
23 | 31 |
1; |
Auch abrufbar als: Unified diff
Funktion 'is_sales' in SL::DB::{Invoice,PurchaseInvoice}
Gleiche Funktionen für ähnliche Objekttypen