Revision 4d5dcceb
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/Presenter/DeliveryOrder.pm | ||
---|---|---|
114 | 114 |
=head1 SYNOPSIS |
115 | 115 |
|
116 | 116 |
# Sales delivery orders: |
117 |
my $object = SL::DB::Manager::DeliveryOrder->get_first(where => [ order_type => SALES_DELIVERY_ORDER_TYPE ]);
|
|
117 |
my $object = SL::DB::Manager::DeliveryOrder->get_first(where => [ record_type => SALES_DELIVERY_ORDER_TYPE ]);
|
|
118 | 118 |
my $html = SL::Presenter::DeliveryOrder::sales_delivery_order($object, display => 'inline'); |
119 | 119 |
|
120 | 120 |
# Purchase delivery orders: |
121 |
my $object = SL::DB::Manager::DeliveryOrder->get_first(where => [ order_type => PURCHASE_DELIVERY_ORDER_TYPE ]);
|
|
121 |
my $object = SL::DB::Manager::DeliveryOrder->get_first(where => [ record_type => PURCHASE_DELIVERY_ORDER_TYPE ]);
|
|
122 | 122 |
my $html = SL::Presenter::DeliveryOrder::purchase_delivery_order($object, display => 'inline'); |
123 | 123 |
|
124 | 124 |
=head1 FUNCTIONS |
Auch abrufbar als: Unified diff
DB::DeliveryOrder: FIX: record_type