Englische Locales auf den neusten Stand bringen.
[kivitendo-erp.git] / templates / webpages / ir / form_footer_master.html
1 [%- USE HTML %]
2 [%- USE LxERP %]
3   <tr>
4    <td>
5     <table width="100%">
6      <tr valign="bottom">
7       <td>
8        <table>
9         <tr>
10          <th align="left"><translate>Notes</translate></th>
11          <th align="left"><translate>Internal Notes</translate></th>
12         </tr>
13         <tr valign="top">
14          <td>
15           <textarea name="notes" rows="[% rows %]" cols="26" wrap="soft">[% notes %]</textarea>
16          </td>
17          <td>
18           <textarea name="intnotes" rows="[% rows %]" cols="35" wrap="soft">[% intnotes %]</textarea>
19          </td>
20         </tr>
21 [%- IF id && follow_ups.size %]
22         <tr>
23           <td colspan="2">
24             [%- LxERP.format_string('<translate>There are #1 unfinished follow-ups of which #2 are due.</translate>',
25                                      follow_ups.size, follow_ups_unfinished) | html
26             %]
27           <td>
28         </tr>
29 [%- END %]
30        </table>
31       </td>
32       <td align="right">
33   [%- IF taxaccounts %]
34        <input name="taxincluded" class="checkbox" type="checkbox" [% IF taxincluded %]checked[% END %]>
35        <b><translate>Tax Included</translate></b>
36        <br>
37        <br>
38   [%- END %]
39        <table>
40
41 [%- UNLESS taxincluded %]
42         <tr>
43          <th align="right"><translate>Subtotal</translate></th>
44          <td align="right">[% LxERP.format_amount(invsubtotal, 2) %]</td>
45        </tr>
46 [%- END %]
47
48 [%# tax %]
49 [% FOREACH item = taxaccounts_array %]
50 [% SET description_ref = item _ '_description' %]
51 [% SET rate_ref        = item _ '_rate' %]
52 [% SET total_ref       = item _ '_total' %]
53 [% SET netto_ref       = item _ '_netto' %]
54        <tr>
55         <th align="right">Enthaltene [% $description_ref | html %]&nbsp;[% $rate_ref * 100 %]%</th>
56         <td align="right">[% LxERP.format_amount($total_ref, 2) %]</td>
57        </tr>
58   [%- IF taxincluded %]
59        <tr>
60         <th align="right">Nettobetrag</th>
61         <td align="right">[% LxERP.format_amount($netto_ref, 2) %]</td>
62        </tr>
63   [%- END %]
64 [%- END %]
65
66         <tr>
67          <th align="right"><translate>Total</translate></th>
68          <td align="right">[% LxERP.format_amount(invtotal, 2) %]</td>
69         </tr>
70        </table>
71       </td>
72      </tr>
73     </table>
74    </td>
75   </tr>
76
77 [% PROCESS 'webdav/_list_<translate>master</translate>.html' %]
78
79 [% PROCESS 'ir/_payments_<translate>master</translate>.html' %]
80
81   <tr>
82     <td><hr size="3" noshade></td>
83   </tr>
84   <tr>
85     <td>
86 [% print_options %]
87     </td>
88   </tr>
89  </table>
90
91
92
93   [% IF id %]
94
95     <input class="submit" type="submit" accesskey="u" name="action" id="update_button" value="<translate>Update</translate>">
96 [% IF  show_storno %]
97     <input class="submit" type="submit" name="action" value="<translate>Storno</translate>">
98 [% END %]
99     <input class="submit" type="submit" name="action" value="<translate>Post Payment</translate>">
100     <input class="submit" type="submit" name="action" value="<translate>Use As Template</translate>">
101
102 [% IF show_delete %]
103     <input class="submit" type="submit" name="action" value="<translate>Delete</translate>">
104 [% END %]
105
106     <input type="button" class="submit" onclick="follow_up_window()" value="<translate>Follow-Up</translate>">
107
108  [% ELSE # no id %]
109    [% UNLESS locked %]
110       <input class="submit" type="submit" name="action" id="update_button" value="<translate>Update</translate>">
111       <input class="submit" type="submit" name="action" value="<translate>Post</translate>">
112       <input class="submit" type="submit" name="action" value="<translate>Save Draft</translate>">
113    [%- END %]
114  [% END # id %]
115
116   [% IF id %]
117       [%#- button for saving history %]
118       <input type="button" class="submit" onclick="set_history_window([% id | html %]);" name="history" id="history" value="<translate>history</translate>">
119
120       <input type="submit" class="submit" name="action" value="<translate>mark as paid</translate>">
121   [% END %]
122
123 <input type="hidden" name="rowcount" value="[% rowcount %]">
124 <input type="hidden" name="callback" value="[% callback %]">
125 <input type="hidden" name="draft_id" value="[% draft_id %]">
126 <input type="hidden" name="draft_description" value="[% draft_description %]">
127 <input type="hidden" name="vendor_discount" value="[% vendor_discount %]">
128
129 </form>
130
131 </body>
132
133 </html>