Revision 9435636f
Von Werner Hahn vor mehr als 7 Jahren hinzugefügt
- ID 9435636f57fc98d5ed177700341cc8b7802cb8ee
- Vorgänger eb5e6913
SL/Controller/ShopPart.pm | ||
---|---|---|
115 | 115 |
|
116 | 116 |
my ( $price, $price_src_str ) = $self->get_price_n_pricesource($::form->{pricesource}); |
117 | 117 |
|
118 |
if( $price_src_str eq 'sellprice'){ |
|
119 |
$price_src_str = t8('Sellprice'); |
|
120 |
}elsif( $price_src_str eq 'listprice'){ |
|
121 |
$price_src_str = t8('Listprice'); |
|
122 |
}elsif( $price_src_str eq 'lastcost'){ |
|
123 |
$price_src_str = t8('Lastcost'); |
|
124 |
} |
|
118 | 125 |
$self->js->html('#price_' . $self->shop_part->id, $::form->format_amount(\%::myconfig,$price,2)) |
119 | 126 |
->html('#active_price_source_' . $self->shop_part->id, $price_src_str) |
120 | 127 |
->render; |
templates/webpages/shop_order/list.html | ||
---|---|---|
151 | 151 |
[% IF shop_order.kivi_customer.id && shop_order.kivi_customer.order_lock == 0 && shop_order.open_invoices == 0 %] [% SET transferable = 1 %] [% SET transferable_class = 'class="shop_transferable"' %] [% ELSE %] [% SET transferable = 0 %] [% SET transferable_class = '' %][% END %] |
152 | 152 |
<tr class="listrow"> |
153 | 153 |
<td>[% HTML.escape(shop_order.shop.description) %]</td> |
154 |
<td>[% shop_order.order_date.dmy('.') _ ' ' _ shop_order.order_date.hms(':') %]<br>[% shop_order.order_date.dmy('.') _ ' ' _ shop_order.itime.hms(':') %]</td>
|
|
154 |
<td>[% shop_order.order_date.to_kivitendo('precision' => 'minute') %]<br>[% shop_order.itime.to_kivitendo('precision' => 'minute') %]</td>
|
|
155 | 155 |
<td>[% HTML.escape(shop_order.shop_ordernumber) %]</td> |
156 | 156 |
<td>[% HTML.escape(shop_order.shop_customer_number) %]</td> |
157 | 157 |
<td>[% IF shop_order.customer_company %]<b>[% HTML.escape(shop_order.customer_company) %]</b><br>[% END %] |
Auch abrufbar als: Unified diff
Shopmodul: Preisquelle übersetzt, Zeitformatierung beim ShopOrderListing