- <input type="hidden" name="draft_id" value="[% draft_id | html %]">
- <input type="hidden" name="draft_description" value="[% draft_description | html %]">
-
- <br>
-
- <input class="submit" type="submit" name="action" id="update_button" value="[% 'Update' | $T8 %]">
-
- [% IF ( show_storno_button ) %]
- <input class="submit" type="submit" name="action" value="[% 'Storno' | $T8 %]">
- [% END %]
-
- [% IF ( id ) %]
- [% IF ( radier ) %]
- <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
- <input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
- [% END %]
-
- [% IF ( !is_closed ) %]
- <input class="submit" type="submit" name="action" value="[% 'Use As New' | $T8 %]">
- [% END %]
-
- <input class="submit" type="submit" name="action" value="[% 'Post Payment' | $T8 %]">
- <input type="button" class="submit" onclick="follow_up_window()" value="[% 'Follow-Up' | $T8 %]">
- <input type="button" class="submit" onclick="set_history_window([% id %], 'glid');" name="history" id="history" value="[% 'history' | $T8 %]">
- [% ELSE %]
- [% IF ( !is_closed ) %]
- <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
- [% L.button_tag('kivi.Draft.popup("ar", "invoice", "' _ draft_id _ '", "' _ draft_description _ '")', LxERP.t8('Drafts')) %]
- [% END %]
- [% END %]
-
- [% IF ( show_mark_as_paid_button ) %]
- [% L.submit_tag("action", LxERP.t8('mark as paid'), confirm=LxERP.t8('This will remove the invoice from showing as unpaid even if the unpaid amount does not match the amount. Proceed?')) %]
- [% END %]
-