Templates werden nicht mehr übersetzt gespeichert.
[kivitendo-erp.git] / templates / webpages / ic / form_footer_master.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE LxERP %]
4   [%- IF item == 'assembly' %]
5   <!-- Wieder zurueck in die ic.pl, entweder alle Einzelteile auslagern oder gar keine -->
6   <!-- tr>
7     <td>
8       <table border="0" width="100%">
9         <tr>
10           <th colspan="2" align=right>[% 'Total' | $T8 %]&nbsp;</th>
11           <th align=right>[% 'Purchase Price' | $T8 %]:[% LxERP.format_amount(assembly_purchase_price_total, 2) %]  [% 'Sell Price' | $T8 %]: [% LxERP.format_amount(assemblytotal, 2) %]</th>
12         </tr>
13       </table>
14     </td>
15   </tr>
16   <input type="hidden" name="assembly_rows" value="[% HTML.escape(assembly_rows) %]" -->
17   [%- END %]
18
19   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
20   <input type="hidden" name="previousform" value="[% HTML.escape(previousform) %]">
21   <input type="hidden" name="taxaccount2" value="[% HTML.escape(taxaccount2) %]">
22   <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
23   <tr>
24     <td><hr size="3" noshade></td>
25   </tr>
26  </table>
27
28  <br style="clear: left" />
29 </div>
30
31 [%- IF CUSTOM_VARIABLES.size %]
32 <div id="custom_variables" class="tabcontent">
33
34  <p>[% 'Unchecked custom variables will not appear in orders and invoices.' | $T8 %]</p>
35
36  <p>
37   <table>
38    [%- FOREACH var = CUSTOM_VARIABLES %]
39    <tr>
40     <td align="right" valign="top">[% var.VALID_BOX %]</td>
41     <td align="right" valign="top">[% HTML.escape(var.description) %]</td>
42     <td valign="top">[% var.HTML_CODE %]</td>
43    </tr>
44    [%- END %]
45   </table>
46  </p>
47
48  <br style="clear: left" />
49 </div>
50 [%- END %]
51
52 </div>
53
54 <input class="submit" type="submit" name="action" value="[% 'Update' | $T8 %]">
55 <input type="hidden" name="price_rows" value="[% HTML.escape(price_rows) %]">
56 <input class="submit" type="submit" name="action" value="[% 'Save' | $T8 %]">
57
58   [%- IF id %]
59     [%- UNLESS previousform %]
60 <input class="submit" type="submit" name="action" value="[% 'Save as new' | $T8 %]">
61     [%- END %]
62
63     [%- IF orphaned %]
64       [%- UNLESS previousform %]
65         [%- IF item == 'assembly' %]
66           [%- UNLESS onhand %]
67 <input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
68           [%- END %]
69         [%- ELSE %]
70 <input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
71         [%- END %]
72       [%- END %]
73     [%- END %]
74   [%- END %]
75
76   [%- IF id != "" %]
77 <input type="button" class="submit" onclick="set_history_window([% id %]);" name="history" id="history" value="[% 'history' | $T8 %]">
78   [%- END %]
79
80 </form>
81
82 <script type="text/javascript" src="js/wz_tooltip.js"></script>
83 <script type="text/javascript">
84 <!--
85     var maintab = new ddtabcontent("maintab");
86     maintab.setpersist(true);
87     maintab.setselectedClassTarget("link"); //"link" or "linkparent"
88     maintab.init();
89   -->
90 </script>
91
92 </body>
93 </html>