Change invoice_number in Receiving to be Reference, tidy up code (#635)

This commit is contained in:
FrancescoUK committed 2016-06-21 08:50:11 +01:00
1 parent 4cf1c31d4f
commit bb85a172a2
27 files changed
+456 -684

No files matched your search

+2 -2
View File
@@ -441,11 +441,11 @@ CREATE TABLE `ospos_receivings` (
`comment` text NOT NULL,
`receiving_id` int(10) NOT NULL AUTO_INCREMENT,
`payment_type` varchar(20) DEFAULT NULL,
`invoice_number` varchar(32) DEFAULT NULL,
`reference` varchar(32) DEFAULT NULL,
PRIMARY KEY (`receiving_id`),
KEY `supplier_id` (`supplier_id`),
KEY `employee_id` (`employee_id`),
UNIQUE KEY `invoice_number` (`invoice_number`)
KEY `reference` (`reference`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;
--