Disable invoice creation after sale / receiving completion (#619)

This commit is contained in:
jekkos committed 2016-06-09 22:29:41 +02:00
1 parent e6c173dcdc
commit aae02dc060
2 files changed
+2

No files matched your search

+1
View File
@@ -353,6 +353,7 @@ class Receiving_lib
function clear_all()
{
$this->set_invoice_number_enabled(FALSE);
$this->clear_mode();
$this->empty_cart();
$this->delete_supplier();
+1
View File
@@ -535,6 +535,7 @@ class Sale_lib
function clear_all()
{
$this->set_invoice_number_enabled(FALSE);
$this->clear_mode();
$this->empty_cart();
$this->clear_comment();