48bbbea62c05ed464b68f5e87169dea9fc560cf1
[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   </td>
15   </tr>
16 </table>
17 </div>
18 [% PROCESS 'webdav/_list.html' %]
19 </div>
20
21 <hr size="3" noshade>
22 <input name=callback type=hidden value="[% callback %]">
23
24 [%- IF id && follow_ups.size %]
25   <p>[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size , follow_ups_due) %]</p>
26 [%- END %]
27
28 <br>
29
30 [%- IF id %]
31   [% L.submit_tag('action', LxERP.t8('Update'), id='update_button') %]
32
33   [% IF !locked && radieren %]
34     [% L.submit_tag('action', LxERP.t8('Post'), accesskey='b') %]
35     [% L.submit_tag('action', LxERP.t8('Delete')) %]
36   [%- END %]
37
38   [%- IF !storno %]
39     [% L.submit_tag('action', LxERP.t8('Storno')) %]
40   [%- END %]
41
42   [% L.submit_tag('action', LxERP.t8('Follow-Up'), onclick='follow_up_window()') %]
43 [%- ELSE %]
44
45       [% L.submit_tag('action', LxERP.t8('Update'), id='update_button') %]
46       [% L.submit_tag('action', LxERP.t8('Post')) %]
47       [% L.button_tag('kivi.Draft.popup("gl", "unknown", "' _ draft_id _ '", "' _ draft_description _ '")', LxERP.t8('Drafts')) %]
48       [% L.hidden_tag('draft_id', draft_id) %]
49       [% L.hidden_tag('draft_description', draft_description) %]
50 [%- END %]
51
52   </form>
53