Teil 1 von: Usability und Lokalisierung de und de_DE (neu)
[kivitendo-erp.git] / templates / webpages / is / form_footer.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE LxERP %]
4   <tr>
5    <td>
6     <table width="100%">
7      <tr valign="bottom">
8       <td>
9        <table>
10         <tr>
11          <th align="left">[% 'Notes (will appear on hard copy)' | $T8 %]</th>
12          <th align="left">[% 'Internal Notes' | $T8 %]</th>
13          <th align="right">[% 'Payment Terms' | $T8 %]</th>
14         </tr>
15         <tr valign="top">
16          <td>
17           <textarea name="notes" rows="[% rows %]" cols="26" wrap="soft">[% notes %]</textarea>
18          </td>
19          <td>
20           <textarea name="intnotes" rows="[% rows %]" cols="35" wrap="soft">[% intnotes %]</textarea>
21          </td>
22          <td>
23             [%- INCLUDE 'generic/multibox.html'
24                  name          = 'payment_id',
25                  style         = 'width: 250px',
26                  DATA          = payment_terms,
27                  id_key        = 'id',
28                  label_key     = 'description',
29                  show_empty    = 1
30                  allow_textbox = 0 -%]
31           <script type='text/javascript'>$('#payment_id').change(function(){
32             if (this.value) set_duedate(['payment_id__' + this.value, 'invdate__' + invdate.value],['duedate'])})
33           </script>
34          </td>
35         </tr>
36 [%- IF id && follow_ups.size %]
37         <tr>
38           <td colspan="2">
39             [%- LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size, follow_ups_unfinished) | html %]
40           <td>
41         </tr>
42 [%- END %]
43        </table>
44       </td>
45       <td>
46        <table>
47         <tr>
48          <th  align=left>[% 'Ertrag' | $T8 %]</th>
49          <td>[% LxERP.format_amount(marge_total, 2, 0) %]</td>
50         </tr>
51         <tr>
52          <th  align=left>[% 'Ertrag prozentual' | $T8 %]</th>
53          <td>[% LxERP.format_amount(marge_percent, 2, 0) %] %</td>
54         </tr>
55         <input type=hidden name="marge_total" value="[% marge_total %]">
56         <input type=hidden name="marge_percent" value="[% marge_percent %]">
57        </table>
58       </td>
59       <td align="right">
60   [%- IF taxaccounts %]
61        <input name="taxincluded" class="checkbox" type="checkbox" [% IF taxincluded %]checked[% END %]>
62        <b>[% 'Tax Included' | $T8 %]</b>
63        <br>
64        <br>
65   [%- END %]
66        <table>
67
68 [%- UNLESS taxincluded %]
69         <tr>
70          <th align="right">[% 'Subtotal' | $T8 %]</th>
71          <td align="right">[% LxERP.format_amount(invsubtotal, 2) %]</td>
72        </tr>
73 [%- END %]
74
75 [%# tax %]
76 [% FOREACH item = taxaccounts_array %]
77 [% SET description_ref = item _ '_description' %]
78 [% SET rate_ref        = item _ '_rate' %]
79 [% SET total_ref       = item _ '_total' %]
80 [% SET netto_ref       = item _ '_netto' %]
81        <tr>
82         <th align="right">Enthaltene [% $description_ref | html %]&nbsp;[% $rate_ref * 100 %]%</th>
83         <td align="right">[% LxERP.format_amount($total_ref, 2) %]</td>
84        </tr>
85   [%- IF taxincluded %]
86        <tr>
87         <th align="right">Nettobetrag</th>
88         <td align="right">[% LxERP.format_amount($netto_ref, 2) %]</td>
89        </tr>
90   [%- END %]
91 [%- END %]
92
93         <tr>
94          <th align="right">[% 'Total' | $T8 %]</th>
95          <td align="right">[% LxERP.format_amount(invtotal, 2) %]</td>
96         </tr>
97        </table>
98       </td>
99      </tr>
100     </table>
101    </td>
102   </tr>
103
104 [% PROCESS 'webdav/_list.html' %]
105
106 [% PROCESS 'is/_payments.html' %]
107
108   <tr>
109     <td><hr size="3" noshade></td>
110   </tr>
111   <tr>
112     <td>
113 [% print_options %]
114     </td>
115   </tr>
116  </table>
117
118
119
120   [% IF id %]
121
122     <input class="submit" type="submit" accesskey="u" name="action" id="update_button" value="[% 'Update' | $T8 %]">
123     <input class="submit" type="submit" name="action" value="[% 'Ship to' | $T8 %]">
124     <input class="submit" type="submit" name="action" value="[% 'Print' | $T8 %]">
125     <input class="submit" type="submit" name="action" value="[% 'E-mail' | $T8 %]">
126 [% IF  show_storno %]
127     <input class="submit" type="submit" name="action" value="[% 'Storno' | $T8 %]">
128 [% END %]
129     <input class="submit" type="submit" name="action" value="[% 'Post Payment' | $T8 %]">
130     <input class="submit" type="submit" name="action" value="[% 'Use As Template' | $T8 %]">
131
132 [% IF id && !is_type_credit_note %]
133     <input class="submit" type="submit" name="action" value="[% 'Credit Note' | $T8 %]">
134 [% END %]
135 [% IF show_delete %]
136     <input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
137     <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
138 [% END %]
139
140   [%- UNLESS locked %]
141        <input class="submit" type="submit" name="action" value="[% 'Order' | $T8 %]">
142   [%- END %]
143
144     <input type="button" class="submit" onclick="follow_up_window()" value="[% 'Follow-Up' | $T8 %]">
145
146  [% ELSE # no id %]
147    [% UNLESS locked %]
148       <input class="submit" type="submit" name="action" id="update_button" value="[% 'Update' | $T8 %]">
149       <input class="submit" type="submit" name="action" value="[% 'Ship to' | $T8 %]">
150       <input class="submit" type="submit" name="action" value="[% 'Preview' | $T8 %]">
151       <input class="submit" type="submit" name="action" value="[% 'E-mail' | $T8 %]">
152       <input class="submit" type="submit" name="action" value="[% 'Print and Post' | $T8 %]">
153       <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
154       <input class="submit" type="submit" name="action" value="[% 'Save Draft' | $T8 %]">
155    [%- END %]
156  [% END # id %]
157
158   [% IF id %]
159       [%#- button for saving history %]
160       <input type="button" class="submit" onclick="set_history_window([% id | html %]);" name="history" id="history" value="[% 'history' | $T8 %]">
161
162       <input type="submit" class="submit" name="action" value="[% 'mark as paid' | $T8 %]">
163   [% END %]
164
165 <input type="hidden" name="rowcount" value="[% rowcount %]">
166 <input type="hidden" name="callback" value="[% callback %]">
167 <input type="hidden" name="draft_id" value="[% draft_id %]">
168 <input type="hidden" name="draft_description" value="[% draft_description %]">
169 <input type="hidden" name="customer_discount" value="[% customer_discount %]">
170 <input type="hidden" name="gldate" value="[% gldate %]">
171 </form>
172
173 </body>
174
175 </html>