054aa5a8530f1a1aca5ec9e9a37cf2646136c7c8
[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       [% L.submit_tag('action', LxERP.t8('Update'), id='update_button') %]
39       [% L.submit_tag('action', LxERP.t8('Post')) %]
40       [% L.button_tag('kivi.Draft.popup("gl", "unknown", "' _ draft_id _ '", "' _ draft_description _ '")', LxERP.t8('Drafts')) %]
41       [% L.hidden_tag('draft_id', draft_id) %]
42       [% L.hidden_tag('draft_description', draft_description) %]
43 [%- END %]
44
45   </form>
46