ede815bc79612f420d3ee736ac906a453e93fc8e
[kivitendo-erp.git] / templates / webpages / gl / form_footer.html
1 [%- USE HTML %]
2 [%- USE LxERP %]
3 [%- USE T8 %]
4 [%- USE L %]
5     <tr class=listtotal>
6     <th colspan="3" align=right class=listtotal> [% LxERP.format_amount(totaldebit, 2) | html %]</th>
7     <th align=right class=listtotal> [% LxERP.format_amount(totalcredit, 2) | html %]</th>
8     <td colspan=6></td>
9     </tr>
10   </table>
11   </td>
12   </tr>
13 </table>
14
15 <input name=callback type=hidden value="[% callback %]">
16
17 [%- IF id && follow_ups.size %]
18   <p>[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size , follow_ups_due) %]</p>
19 [%- END %]
20
21 <br>
22
23 [%- IF id %]
24   [% L.submit_tag('action', LxERP.t8('Update'), id='update_button') %]
25
26   [% IF !locked && radieren %]
27     [% L.submit_tag('action', LxERP.t8('Post'), accesskey='b') %]
28     [% L.submit_tag('action', LxERP.t8('Delete')) %]
29   [%- END %]
30
31   [%- IF !storno %]
32     [% L.submit_tag('action', LxERP.t8('Storno')) %]
33   [%- END %]
34
35   [% L.submit_tag('action', LxERP.t8('Follow-Up'), onclick='follow_up_window()') %]
36 [%- ELSE %]
37
38  [%- IF draft_id %]
39       <p>[% L.checkbox_tag('remove_draft', checked=remove_draft, label=LxERP.t8('Remove Draft')) %]</p>
40  [%- END %]
41
42       [% L.submit_tag('action', LxERP.t8('Update'), id='update_button') %]
43       [% L.submit_tag('action', LxERP.t8('Post')) %]
44       [% L.submit_tag('action', LxERP.t8('Save Draft')) %]
45       [% L.hidden_tag('draft_id', draft_id) %]
46       [% L.hidden_tag('draft_description', draft_description) %]
47 [%- END %]
48
49   </form>
50