</body> entfernt
[kivitendo-erp.git] / templates / webpages / ic / form_footer.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 id %]
32 <div id="sales_price_information" class="tabcontent">
33   [% PROCESS ic/sales_price_information.html id=id %]
34 </div>
35 [%- END %]
36
37 [%- IF CUSTOM_VARIABLES.size %]
38 <div id="custom_variables" class="tabcontent">
39
40  <p>[% 'Unchecked custom variables will not appear in orders and invoices.' | $T8 %]</p>
41
42  <p>
43   <table>
44    [%- FOREACH var = CUSTOM_VARIABLES %]
45    <tr>
46     <td align="right" valign="top">[% var.VALID_BOX %]</td>
47     <td align="right" valign="top">[% HTML.escape(var.description) %]</td>
48     <td valign="top">[% var.HTML_CODE %]</td>
49    </tr>
50    [%- END %]
51   </table>
52  </p>
53
54  <br style="clear: left" />
55 </div>
56 [%- END %]
57
58 </div>
59
60 <input class="submit" type="submit" name="action" value="[% 'Update' | $T8 %]">
61 <input type="hidden" name="price_rows" value="[% HTML.escape(price_rows) %]">
62 <input class="submit" type="submit" name="action" value="[% 'Save' | $T8 %]">
63
64   [%- IF id %]
65     [%- UNLESS previousform %]
66 <input class="submit" type="submit" name="action" value="[% 'Save as new' | $T8 %]">
67     [%- END %]
68
69     [%- IF orphaned %]
70       [%- UNLESS previousform %]
71         [%- IF item == 'assembly' %]
72           [%- UNLESS onhand %]
73 <input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
74           [%- END %]
75         [%- ELSE %]
76 <input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
77         [%- END %]
78       [%- END %]
79     [%- END %]
80   [%- END %]
81
82   [%- IF id != "" %]
83 <input type="button" class="submit" onclick="set_history_window([% id %]);" name="history" id="history" value="[% 'history' | $T8 %]">
84   [%- END %]
85
86 </form>
87
88 <script type="text/javascript" src="js/wz_tooltip.js"></script>
89 <script type="text/javascript">
90 <!--
91     var maintab = new ddtabcontent("maintab");
92     maintab.setpersist(true);
93     maintab.setselectedClassTarget("link"); //"link" or "linkparent"
94     maintab.init();
95   -->
96 </script>
97