X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/50c5869b3bd2938aa7ddf395e1a82ac252a8be83..29e31d6bf64b3944c4f33ad6343b14af95a7219d:/bin/mozilla/ar.pl
diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl
index 8c7ab131f..523cdee41 100644
--- a/bin/mozilla/ar.pl
+++ b/bin/mozilla/ar.pl
@@ -846,6 +846,15 @@ sub form_footer {
|;
+ if (!$form->{id} && $form->{draft_id}) {
+ print(NTI($cgi->checkbox('-name' => 'remove_draft', '-id' => 'remove_draft',
+ '-value' => 1, '-checked' => $form->{remove_draft},
+ '-label' => '')) .
+ qq|
|);
+ }
+
$transdate = $form->datetonum($form->{transdate}, \%myconfig);
$closedto = $form->datetonum($form->{closedto}, \%myconfig);