<td>[% L.part_picker('add_item.parts_id', '', fat_set_item=1, style='width: 300px', class="add_item_input") %]</td>
<td>[% L.input_tag('add_item.description', '', class="add_item_input") %]</td>
<td>
- [% L.input_tag('add_item.qty_as_number', '', size = 5, style='text-align:right', class="add_item_input") %]
+ [% L.input_tag('add_item.qty_as_number', '', size = 5, class="add_item_input numeric") %]
[% L.hidden_tag('add_item.unit', '', class="add_item_input") %]
</td>
- <td>[% L.input_tag('add_item.sellprice_as_number', '', size = 10, style='text-align:right', class="add_item_input") %]</td>
- <td>[% L.input_tag('add_item.discount_as_percent', '', size = 5, style='text-align:right', class="add_item_input") %]</td>
+ <td>[% L.input_tag('add_item.sellprice_as_number', '', size = 10, class="add_item_input numeric") %]</td>
+ <td>[% L.input_tag('add_item.discount_as_percent', '', size = 5, class="add_item_input numeric") %]</td>
<td>[% L.button_tag('add_item()', LxERP.t8('Add part')) %]</td>
</tr>
</tbody>
<table width="100%">
<tr>
<td>[% 'for all' | $T8 %]
- <td>[% L.input_tag("multi_items.all_qty", '', size = 5, style='text-align:right') %]</td>
+ <td>[% L.input_tag("multi_items.all_qty", '', size = 5, class='numeric') %]</td>
</tr>
<tr>
<td colspan="5"><hr></td>
<td></td>
<td>
[% L.hidden_tag("add_multi_items[+].parts_id", item.id) %]
- [% L.input_tag("add_multi_items[].qty_as_number", '', size = 5, style='text-align:right',
- class = 'multi_items_qty', onclick = 'set_qty_to_one(this)') %]
+ [% L.input_tag("add_multi_items[].qty_as_number", '', size = 5,
+ class = 'multi_items_qty numeric', onclick = 'set_qty_to_one(this)') %]
</td>
<td>[% HTML.escape(item.unit) %]</td>
<td>[% HTML.escape(item.partnumber) %]</td>
[%- L.input_tag("order.orderitems[].qty_as_number",
ITEM.qty_as_number,
size = 5,
- style='text-align:right',
- class="recalc reformat_number") %]
+ class="recalc reformat_number numeric") %]
</td>
<td>
[%- L.input_tag("order.orderitems[].price_factor",
ITEM.price_factor,
size = 5,
- style='text-align:right',
- class="recalc") %]
+ class="recalc numeric") %]
</td>
<td nowrap>
[%- L.select_tag("order.orderitems[].unit",
<td>
[%- L.hidden_tag("order.orderitems[].active_price_source", ITEM.active_price_source.source) %]
[%- SET EDIT_PRICE = (AUTH.assert('edit_prices', 1) && ITEM.active_price_source.source == '') %]
- <div name="editable_price" [%- IF !EDIT_PRICE %]style="display:none"[%- END %]>
+ <div name="editable_price" [%- IF !EDIT_PRICE %]style="display:none"[%- END %] class="numeric">
[%- L.input_tag("order.orderitems[].sellprice_as_number",
ITEM.sellprice_as_number,
size = 10,
- style='text-align:right',
disabled=(EDIT_PRICE? '' : 1),
- class="recalc reformat_number") %]
+ class="recalc reformat_number numeric") %]
</div>
<div name="not_editable_price" [%- IF EDIT_PRICE %]style="display:none"[%- END %]>
- [%- L.div_tag(ITEM.sellprice_as_number, name="sellprice_text", style='text-align:right') %]
+ [%- L.div_tag(ITEM.sellprice_as_number, name="sellprice_text", class="numeric") %]
[%- L.hidden_tag("order.orderitems[].sellprice_as_number",
ITEM.sellprice_as_number,
disabled=(EDIT_PRICE? 1 : '')) %]
<td>
[%- L.hidden_tag("order.orderitems[].active_discount_source", ITEM.active_discount_source.source) %]
[%- SET EDIT_DISCOUNT = (AUTH.assert('edit_prices', 1) && ITEM.active_discount_source.source == '') %]
- <div name="editable_discount" [%- IF !EDIT_DISCOUNT %]style="display:none"[%- END %]>
+ <div name="editable_discount" [%- IF !EDIT_DISCOUNT %]style="display:none"[%- END %] class="numeric">
[%- L.input_tag("order.orderitems[].discount_as_percent",
ITEM.discount_as_percent,
size = 5,
- style='text-align:right',
disabled=(EDIT_DISCOUNT? '' : 1),
- class="recalc reformat_number") %]
+ class="recalc reformat_number numeric") %]
</div>
<div name="not_editable_discount" [%- IF EDIT_DISCOUNT %]style="display:none"[%- END %]>
- [%- L.div_tag(ITEM.discount_as_percent, name="discount_text", style='text-align:right') %]
+ [%- L.div_tag(ITEM.discount_as_percent, name="discount_text", class="numeric") %]
[%- L.hidden_tag("order.orderitems[].discount_as_percent",
ITEM.discount_as_percent,
disabled=(EDIT_DISCOUNT? 1 : '')) %]