Remove invoice / sale format enable option

Add giftcards -> person_id foreign key constraint
Fix tax calculation for non taxable customers
Improve giftcard person autocompletion
This commit is contained in:
jekkos-t520
2014-12-16 08:49:49 +01:00
parent b546883d2a
commit 07a32a0deb
9 changed files with 65 additions and 52 deletions

View File

@@ -101,8 +101,7 @@ class Receiving_lib
function clear_invoice_number_enabled()
{
$enable = $this->CI->config->config['recv_invoice_enable'];
$this->set_invoice_number_enabled($enable);
$this->set_invoice_number_enabled(FALSE);
}
function set_stock_source($stock_source)