Add company_name field to customers for invoicing purposes

Total discount is now shown as one amount in receipt

Conflicts:

	application/controllers/sales.php

Conflicts:

	database/migrate_phppos.sql
This commit is contained in:
jekkos
2015-04-06 15:15:34 +02:00
parent ebd473ea11
commit b85b9d37a1
17 changed files with 64 additions and 22 deletions

View File

@@ -77,6 +77,7 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
CREATE TABLE `ospos_customers` (
`person_id` int(10) NOT NULL,
`company_name` varchar(255) NOT NULL,
`account_number` varchar(255) DEFAULT NULL,
`taxable` int(1) NOT NULL DEFAULT '1',
`deleted` int(1) NOT NULL DEFAULT '0',