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