Revision a93f1e39
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/DB/Invoice.pm | ||
---|---|---|
37 | 37 |
sub items { goto &invoiceitems; } |
38 | 38 |
sub payment_term { goto &payment; } |
39 | 39 |
|
40 |
sub is_sales { |
|
41 |
# For compatibility with Order, DeliveryOrder |
|
42 |
croak 'not an accessor' if @_ > 1; |
|
43 |
return 1; |
|
44 |
} |
|
45 |
|
|
40 | 46 |
# it is assumed, that ordnumbers are unique here. |
41 | 47 |
sub first_order_by_ordnumber { |
42 | 48 |
my $self = shift; |
Auch abrufbar als: Unified diff
Funktion 'is_sales' in SL::DB::{Invoice,PurchaseInvoice}
Gleiche Funktionen für ähnliche Objekttypen