]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/order/tabs/_second_row.html
locales: en, de
[mfinanz.git] / templates / webpages / order / tabs / _second_row.html
index 18226ab074ede0dcad22aef94bd7f4cc787a0561..4be14f7f109434ef02584973e7f30abb86b6322a 100644 (file)
@@ -14,7 +14,7 @@
     [% P.project.picker("order.orderitems[].project_id", ITEM.project_id, size = 15) %] 
     [%- IF (TYPE == "sales_order" || TYPE == "purchase_order") %]
       <b>[%- 'Reqdate' | $T8 %]</b>&nbsp;
-      [% L.date_tag("order.orderitems[].reqdate", ITEM.reqdate) %]&nbsp;
+      [% L.date_tag("order.orderitems[].reqdate_as_date", ITEM.reqdate_as_date) %]&nbsp;
     [%- END %]
     <b>[%- 'Subtotal' | $T8 %]</b>&nbsp;
     [% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %]&nbsp;
@@ -35,8 +35,8 @@
                         class="recalc reformat_number numeric") %]&nbsp;
     [%- END %]
     <b>[%- 'On Hand' | $T8 %]</b>&nbsp;
-      <span[%- IF ITEM.part.onhand < ITEM.part.rop -%] class="plus0"[%- END -%]>
-        [%- LxERP.format_amount(ITEM.part.onhand_as_number, 2, 0) -%]&nbsp;[%- ITEM.part.unit -%]
+      <span[%- IF ITEM.part.onhand < ITEM.part.rop -%] class="numeric plus0"[%- END -%]>
+        [%- ITEM.part.onhand_as_number -%]&nbsp;[%- ITEM.part.unit -%]
       </span>&nbsp;
   </td></tr>