ALTER TABLE `orderitems` ADD `archived` BOOLEAN NOT NULL DEFAULT FALSE AFTER `captureamount`;
ALTER TABLE `orderitems` ADD INDEX(`archived`);

ALTER TABLE `orders` ADD `cashpay` DECIMAL(10,2) NOT NULL DEFAULT '0' AFTER `closetime`, ADD `creditpay` DECIMAL(10,2) NOT NULL DEFAULT '0' AFTER `cashpay`, ADD `cashtip` DECIMAL(10,2) NOT NULL DEFAULT '0' AFTER `creditpay`, ADD `credittip` DECIMAL(10,2) NOT NULL DEFAULT '0' AFTER `cashtip`;


ALTER TABLE `orders` ADD `archived` BOOLEAN NOT NULL DEFAULT FALSE AFTER `credittip`;
ALTER TABLE `orders` ADD INDEX(`archived`);

ALTER TABLE `displayorders` ADD `sendfinished` BOOLEAN NOT NULL DEFAULT FALSE AFTER `ishidden`;


