projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rechnungsmaske: "Drucken und Buchen" und Browser-Zurück entschärfen
[kivitendo-erp.git]
/
SL
/
Controller
/
SalesPurchase.pm
diff --git
a/SL/Controller/SalesPurchase.pm
b/SL/Controller/SalesPurchase.pm
index
2c045d2
..
ab31b8c
100644
(file)
--- a/
SL/Controller/SalesPurchase.pm
+++ b/
SL/Controller/SalesPurchase.pm
@@
-17,6
+17,11
@@
sub action_check_duplicate_invnumber {
invnumber => $::form->{invnumber},
vendor_id => $::form->{vendor_id},
);
invnumber => $::form->{invnumber},
vendor_id => $::form->{vendor_id},
);
+ # we are modifying a existing daily booking - allow this if
+ # booking conditions are not super strict
+ undef $exists_ap if ($::instance_conf->get_ap_changeable != 0
+ && $exists_ap->gldate == DateTime->today_local);
+
$_[0]->render(\ !!$exists_ap, { type => 'text' });
}
$_[0]->render(\ !!$exists_ap, { type => 'text' });
}