Revision e9fb6244
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/Invoice.pm | ||
---|---|---|
9 | 9 |
|
10 | 10 |
use SL::DB::MetaSetup::Invoice; |
11 | 11 |
use SL::DB::Manager::Invoice; |
12 |
use SL::DB::Helper::LinkedRecords; |
|
13 |
use SL::DB::Helper::PriceTaxCalculator; |
|
12 | 14 |
|
13 | 15 |
__PACKAGE__->meta->add_relationship( |
14 | 16 |
invoiceitems => { |
SL/DB/Order.pm | ||
---|---|---|
8 | 8 |
use SL::DB::MetaSetup::Order; |
9 | 9 |
use SL::DB::Manager::Order; |
10 | 10 |
use SL::DB::Invoice; |
11 |
use SL::DB::Helper::LinkedRecords; |
|
12 |
use SL::DB::Helper::PriceTaxCalculator; |
|
11 | 13 |
|
12 | 14 |
__PACKAGE__->meta->add_relationship( |
13 | 15 |
orderitems => { |
SL/DB/PurchaseInvoice.pm | ||
---|---|---|
4 | 4 |
|
5 | 5 |
use SL::DB::MetaSetup::PurchaseInvoice; |
6 | 6 |
use SL::DB::Manager::PurchaseInvoice; |
7 |
use SL::DB::Helper::LinkedRecords; |
|
8 |
use SL::DB::Helper::PriceTaxCalculator; |
|
7 | 9 |
|
8 | 10 |
__PACKAGE__->meta->add_relationship(invoiceitems => { type => 'one to many', |
9 | 11 |
class => 'SL::DB::InvoiceItem', |
Auch abrufbar als: Unified diff
Preis-/Betrags-/Steuerberechnung in Models einbinden
Conflicts: