Tabs in templates eliminiert.
[kivitendo-erp.git] / templates / webpages / ic / form_footer_master.html
index 6229202..ed08335 100644 (file)
@@ -7,7 +7,7 @@
       <table border="0" width="100%">
         <tr>
           <th colspan="2" align=right><translate>Total</translate>&nbsp;</th>
-         <th align=right><translate>Purchase Price</translate>:[% LxERP.format_amount(assembly_purchase_price_total, 2) %]  <translate>Sell Price</translate>: [% LxERP.format_amount(assemblytotal, 2) %]</th>
+          <th align=right><translate>Purchase Price</translate>:[% LxERP.format_amount(assembly_purchase_price_total, 2) %]  <translate>Sell Price</translate>: [% LxERP.format_amount(assemblytotal, 2) %]</th>
         </tr>
       </table>
     </td>
 
  <br style="clear: left" />
 </div>
+
+[%- IF CUSTOM_VARIABLES.size %]
+<div id="custom_variables" class="tabcontent">
+
+ <p><translate>Unchecked custom variables will not appear in orders and invoices.</translate></p>
+
+ <p>
+  <table>
+   [%- FOREACH var = CUSTOM_VARIABLES %]
+   <tr>
+    <td align="right" valign="top">[% var.VALID_BOX %]</td>
+    <td align="right" valign="top">[% HTML.escape(var.description) %]</td>
+    <td valign="top">[% var.HTML_CODE %]</td>
+   </tr>
+   [%- END %]
+  </table>
+ </p>
+
+ <br style="clear: left" />
+</div>
+[%- END %]
+
 </div>
 
 <input class="submit" type="submit" name="action" value="<translate>Update</translate>">