Revision 6cde4d1d
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/DB/OrderItem.pm | ||
---|---|---|
17 | 17 |
}, |
18 | 18 |
); |
19 | 19 |
|
20 |
__PACKAGE__->meta->add_relationship( |
|
21 |
unit_obj => { |
|
22 |
type => 'many to one', |
|
23 |
class => 'SL::DB::Unit', |
|
24 |
column_map => { unit => 'name' }, |
|
25 |
}, |
|
26 |
); |
|
27 |
|
|
28 | 20 |
__PACKAGE__->meta->initialize; |
29 | 21 |
|
30 | 22 |
sub is_price_update_available { |
Auch abrufbar als: Unified diff
Fremschlüssel für »unit« in Tabellen orderitems, delivery_order_items, invoice