$lxdebug->leave_sub();
}
+sub mark_closed {
+ $lxdebug->enter_sub();
+
+ DO->close_orders('ids' => [ $form->{id} ]);
+
+ $form->{closed} = 1;
+
+ update();
+
+ $lxdebug->leave_sub();
+}
+
+
sub yes {
call_sub($form->{yes_nextsub});
}
'March' => 'März',
'Margins' => 'Seitenränder',
'Mark as paid?' => 'Als bezahlt markieren?',
+ 'Mark closed' => 'Schließen',
'Marked as paid' => 'Als bezahlt markiert',
'Marked entries printed!' => 'Markierte Einträge wurden gedruckt!',
'Master Data' => 'Stammdaten',
'invoicetotal' => 'invoicetotal',
'item_selected' => 'item_selected',
'mark_as_paid_common' => 'mark_as_paid_common',
+ 'mark_closed' => 'mark_closed',
'name_selected' => 'name_selected',
'new_item' => 'new_item',
'new_license' => 'new_license',
'löschen' => 'delete',
'email' => 'e_mail',
'rechnung' => 'invoice',
+ 'schließen' => 'mark_closed',
'neue_ware' => 'new_part',
'nein' => 'no',
'drucken' => 'print',
'login_screen' => 'login_screen',
'logout' => 'logout',
'mark_as_paid_common' => 'mark_as_paid_common',
+ 'mark_closed' => 'mark_closed',
'name_selected' => 'name_selected',
'new_item' => 'new_item',
'new_license' => 'new_license',
'abschließen' => 'finish',
'rechnung' => 'invoice',
'anmeldung' => 'login',
+ 'schließen' => 'mark_closed',
'neue_ware' => 'new_part',
'nein' => 'no',
'auftrag' => 'order',
'invoicetotal' => 'invoicetotal',
'item_selected' => 'item_selected',
'mark_as_paid_common' => 'mark_as_paid_common',
+ 'mark_closed' => 'mark_closed',
'name_selected' => 'name_selected',
'new_item' => 'new_item',
'new_license' => 'new_license',
'lieferschein' => 'delivery_order',
'email' => 'e_mail',
'rechnung' => 'invoice',
+ 'schließen' => 'mark_closed',
'neue_ware' => 'new_part',
'nein' => 'no',
'auftrag' => 'order',
'invoicetotal' => 'invoicetotal',
'item_selected' => 'item_selected',
'mark_as_paid_common' => 'mark_as_paid_common',
+ 'mark_closed' => 'mark_closed',
'name_selected' => 'name_selected',
'new_item' => 'new_item',
'new_license' => 'new_license',
'email' => 'e_mail',
'abschließen' => 'finish',
'rechnung' => 'invoice',
+ 'schließen' => 'mark_closed',
'neue_ware' => 'new_part',
'nein' => 'no',
'auftrag' => 'order',
[%- END %]
[%- END %]
[%- IF id %]
+ [%- UNLESS closed %]
+ <input class="submit" type="submit" name="action" value="Schließen">
+ [%- END %]
<input type="button" class="submit" onclick="set_history_window([% id %]);" name="history" id="history" value="Historie">
[%- END %]
</p>
[%- END %]
[%- END %]
[%- IF id %]
+ [%- UNLESS closed %]
+ <input class="submit" type="submit" name="action" value="<translate>Mark closed</translate>">
+ [%- END %]
<input type="button" class="submit" onclick="set_history_window([% id %]);" name="history" id="history" value="<translate>history</translate>">
[%- END %]
</p>