Giftcard remaining balance is always shown in cash register

Giftcard person_id is optional now
Add some extra translations for giftcard warnings

Conflicts:

	database/2.3.1_to_2.3.2.sql
This commit is contained in:
jekkos
2015-04-08 12:20:14 +02:00
parent 81c24d7151
commit 08c0c2c63f
18 changed files with 28 additions and 32 deletions

View File

@@ -124,9 +124,10 @@ CREATE TABLE `ospos_giftcards` (
`giftcard_number` varchar(25) NOT NULL,
`value` decimal(15,2) NOT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',
`person_id` INT NOT NULL,
`person_id` INT(10) DEFAULT NULL,
PRIMARY KEY (`giftcard_id`),
UNIQUE KEY `giftcard_number` (`giftcard_number`)
UNIQUE KEY `giftcard_number` (`giftcard_number`),
KEY `person_id` (`person_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--