Möglichkeit zum Setzen von "Steuer im Preis inbegriffen" als Default
[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">[% notes %]</textarea>
18          </td>
19          <td>
20           <textarea name="intnotes" rows="[% rows %]" cols="35">[% 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(){ if (this.value) set_duedate()})</script>
32          </td>
33         </tr>
34 [%- IF id && follow_ups.size %]
35         <tr>
36           <td colspan="2">
37             [%- LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size, follow_ups_unfinished) | html %]
38           <td>
39         </tr>
40 [%- END %]
41        </table>
42       </td>
43       <td>
44        <table>
45         <tr>
46          <th  align=left>[% 'Ertrag' | $T8 %]</th>
47          <td>
48           [% LxERP.format_amount(marge_total, 2, 0) %]
49           <input type=hidden name="marge_total" value="[% marge_total %]">
50          </td>
51         </tr>
52         <tr>
53          <th  align=left>[% 'Ertrag prozentual' | $T8 %]</th>
54          <td>
55           [% LxERP.format_amount(marge_percent, 2, 0) %] %
56           <input type=hidden name="marge_percent" value="[% marge_percent %]">
57          </td>
58         </tr>
59        </table>
60       </td>
61       <td align="right">
62   [%- IF taxaccounts %]
63        <input type="hidden" name="taxincluded_changed_by_user" id="taxincluded_changed_by_user" value="[% taxincluded_changed_by_user ? '1' : '0' %]">
64        <input name="taxincluded" onclick="document.getElementById('taxincluded_changed_by_user').value = '1';" class="checkbox" type="checkbox" [% IF taxincluded %]checked[% END %]>
65        <b>[% 'Tax Included' | $T8 %]</b>
66        <br>
67        <br>
68   [%- END %]
69        <table>
70
71 [%- UNLESS taxincluded %]
72         <tr>
73          <th align="right">[% 'Subtotal' | $T8 %]</th>
74          <td align="right">[% LxERP.format_amount(invsubtotal, 2) %]</td>
75        </tr>
76 [%- END %]
77
78 [%# tax %]
79 [% FOREACH item = taxaccounts_array %]
80 [% SET description_ref = item _ '_description' %]
81 [% SET rate_ref        = item _ '_rate' %]
82 [% SET total_ref       = item _ '_total' %]
83 [% SET netto_ref       = item _ '_netto' %]
84        <tr>
85         <th align="right">[% 'Including' | $T8 %] [% $description_ref | html %]&nbsp;[% $rate_ref * 100 %]%</th>
86         <td align="right">[% LxERP.format_amount($total_ref, 2) %]</td>
87        </tr>
88   [%- IF taxincluded %]
89        <tr>
90         <th align="right">[% 'Net amount' | $T8 %]</th>
91         <td align="right">[% LxERP.format_amount($netto_ref, 2) %]</td>
92        </tr>
93   [%- END %]
94 [%- END %]
95
96         <tr>
97          <th align="right">[% 'Total' | $T8 %]</th>
98          <td align="right">[% LxERP.format_amount(invtotal, 2) %]</td>
99         </tr>
100        </table>
101       </td>
102      </tr>
103     </table>
104    </td>
105   </tr>
106
107 [% PROCESS 'webdav/_list.html' %]
108
109 [% PROCESS 'is/_payments.html' %]
110
111   <tr>
112     <td><hr size="3" noshade></td>
113   </tr>
114   <tr>
115     <td>
116 [% print_options %]
117     </td>
118   </tr>
119  </table>
120
121
122
123   [% IF id %]
124
125     <input class="submit" type="submit" accesskey="u" name="action" id="update_button" value="[% 'Update' | $T8 %]">
126     <input class="submit" type="submit" name="action" value="[% 'Ship to' | $T8 %]">
127     <input class="submit" type="submit" name="action" value="[% 'Print' | $T8 %]">
128     <input class="submit" type="submit" name="action" value="[% 'E-mail' | $T8 %]">
129 [% IF  show_storno %]
130     <input class="submit" type="submit" name="action" value="[% 'Storno' | $T8 %]">
131 [% END %]
132     <input class="submit" type="submit" name="action" value="[% 'Post Payment' | $T8 %]">
133     <input class="submit" type="submit" name="action" value="[% 'Use As Template' | $T8 %]">
134
135 [% IF id && !is_type_credit_note %]
136     <input class="submit" type="submit" name="action" value="[% 'Credit Note' | $T8 %]">
137 [% END %]
138 [% IF show_delete %]
139     <input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
140     <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
141 [% END %]
142
143   [%- UNLESS locked %]
144        <input class="submit" type="submit" name="action" value="[% 'Order' | $T8 %]">
145   [%- END %]
146
147     <input type="button" class="submit" onclick="follow_up_window()" value="[% 'Follow-Up' | $T8 %]">
148
149  [% ELSE # no id %]
150    [% UNLESS locked %]
151       <input class="submit" type="submit" name="action" id="update_button" value="[% 'Update' | $T8 %]">
152       <input class="submit" type="submit" name="action" value="[% 'Ship to' | $T8 %]">
153       <input class="submit" type="submit" name="action" value="[% 'Preview' | $T8 %]">
154       <input class="submit" type="submit" name="action" value="[% 'E-mail' | $T8 %]">
155       <input class="submit" type="submit" name="action" value="[% 'Print and Post' | $T8 %]">
156       <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
157       <input class="submit" type="submit" name="action" value="[% 'Save Draft' | $T8 %]">
158    [%- END %]
159  [% END # id %]
160
161   [% IF id %]
162       [%#- button for saving history %]
163       <input type="button" class="submit" onclick="set_history_window([% id | html %]);" name="history" id="history" value="[% 'history' | $T8 %]">
164
165       <input type="submit" class="submit" name="action" value="[% 'mark as paid' | $T8 %]">
166   [% END %]
167
168 <input type="hidden" name="rowcount" value="[% rowcount %]">
169 <input type="hidden" name="callback" value="[% callback | html %]">
170 <input type="hidden" name="draft_id" value="[% draft_id %]">
171 <input type="hidden" name="draft_description" value="[% draft_description %]">
172 <input type="hidden" name="customer_discount" value="[% customer_discount %]">
173 <input type="hidden" name="gldate" value="[% gldate %]">
174 </form>
175
176 </body>
177
178 </html>