Revision 644ce013
Von Bernd Bleßmann vor etwa 2 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
2121 | 2121 |
$self->{all_payment_terms} = SL::DB::Manager::PaymentTerm->get_all_sorted(where => [ or => [ id => $self->order->payment_id, |
2122 | 2122 |
obsolete => 0 ] ]); |
2123 | 2123 |
$self->{all_delivery_terms} = SL::DB::Manager::DeliveryTerm->get_all_sorted(); |
2124 |
$self->{all_statuses} = SL::DB::Manager::OrderStatus->get_all_sorted(where => [ or => [ id => $self->order->order_status_id, |
|
2125 |
obsolete => 0, ] ] ); |
|
2124 | 2126 |
$self->{current_employee_id} = SL::DB::Manager::Employee->current->id; |
2125 | 2127 |
$self->{periodic_invoices_status} = $self->get_periodic_invoices_status($self->order->periodic_invoices_config); |
2126 | 2128 |
$self->{order_probabilities} = [ map { { title => ($_ * 10) . '%', id => $_ * 10 } } (0..10) ]; |
templates/webpages/order/tabs/basic_data.html | ||
---|---|---|
144 | 144 |
</td> |
145 | 145 |
</tr> |
146 | 146 |
|
147 |
[%- IF SELF.all_statuses.size %] |
|
148 |
<tr> |
|
149 |
<th align="right">[% 'Status' | $T8 %]</th> |
|
150 |
<td>[% L.select_tag('order.order_status_id', |
|
151 |
SELF.all_statuses, |
|
152 |
default=SELF.order.order_status_id, |
|
153 |
with_empty=1, |
|
154 |
title_key='name') %]</td> |
|
155 |
</tr> |
|
156 |
[%- END -%] |
|
157 |
|
|
147 | 158 |
<tr> |
148 | 159 |
<th align="right">[% 'Employee' | $T8 %]</th> |
149 | 160 |
<td>[% L.select_tag('order.employee_id', |
Auch abrufbar als: Unified diff
Angebot/Auftrag Status: Status setzen können