Revision ce004da6
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/PurchaseInvoice.pm | ||
---|---|---|
10 | 10 |
# The calculator hasn't been adjusted for purchase invoices yet. |
11 | 11 |
# use SL::DB::Helper::PriceTaxCalculator; |
12 | 12 |
|
13 |
__PACKAGE__->meta->add_relationship(invoiceitems => { type => 'one to many', |
|
14 |
class => 'SL::DB::InvoiceItem', |
|
15 |
column_map => { id => 'trans_id' }, |
|
16 |
manager_args => { with_objects => [ 'part' ] } |
|
17 |
}, |
|
18 |
); |
|
13 |
__PACKAGE__->meta->add_relationship( |
|
14 |
invoiceitems => { |
|
15 |
type => 'one to many', |
|
16 |
class => 'SL::DB::InvoiceItem', |
|
17 |
column_map => { id => 'trans_id' }, |
|
18 |
manager_args => { with_objects => [ 'part' ] } |
|
19 |
}, |
|
20 |
); |
|
19 | 21 |
|
20 | 22 |
__PACKAGE__->meta->initialize; |
21 | 23 |
|
Auch abrufbar als: Unified diff
Kosmetik