Revision f3b21077
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
1137 | 1137 |
$main::lxdebug->leave_sub(); |
1138 | 1138 |
} |
1139 | 1139 |
|
1140 |
sub invoice_from_delivery_order_controller { |
|
1141 |
$main::lxdebug->enter_sub(); |
|
1142 |
my $form = $main::form; |
|
1143 |
|
|
1144 |
my $from_id = delete $form->{from_id}; |
|
1145 |
my $delivery_order = SL::DB::DeliveryOrder->new(id => $from_id)->load; |
|
1146 |
|
|
1147 |
$delivery_order->flatten_to_form($form, format_amounts => 1); |
|
1148 |
|
|
1149 |
&invoice; |
|
1150 |
$main::lxdebug->leave_sub(); |
|
1151 |
} |
|
1152 |
|
|
1140 | 1153 |
sub invoice { |
1141 | 1154 |
$main::lxdebug->enter_sub(); |
1142 | 1155 |
|
Auch abrufbar als: Unified diff
S:C:DeliveryOrder: Workflow zu Rechnung und Reklamation hinzugefügt