Added feature for adding standard product in cart

This commit is contained in:
Shreesh Arora
2025-02-26 11:07:31 +05:30
parent 950b37ed1c
commit ec23dbd4f3
98 changed files with 8153 additions and 3882 deletions

View File

@@ -1350,11 +1350,13 @@ CREATE TABLE `PREFIX_order_return_detail` (
`id_order_return_detail` int(10) unsigned NOT NULL auto_increment,
`id_order_return` int(10) unsigned NOT NULL,
`id_htl_booking` int(11) NOT NULL,
`id_room_type_service_product_order_detail` int(11) NOT NULL,
`refunded_amount` decimal(20,6) NOT NULL DEFAULT '0.000000',
`id_order_detail` int(10) unsigned NOT NULL DEFAULT '0',
`id_customization` int(10) unsigned NOT NULL DEFAULT '0',
`product_quantity` int(10) unsigned NOT NULL DEFAULT '0',
KEY `id_htl_booking` (`id_htl_booking`),
KEY `id_room_type_service_product_order_detail` (`id_room_type_service_product_order_detail`),
PRIMARY KEY (`id_order_return_detail`)
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8 COLLATION;
@@ -1407,6 +1409,7 @@ CREATE TABLE `PREFIX_order_slip_detail` (
`id_order_slip` int(10) unsigned NOT NULL,
`id_order_detail` int(10) unsigned NOT NULL,
`id_htl_booking` int(10) unsigned NOT NULL,
`id_room_type_service_product_order_detail` int(10) unsigned NOT NULL,
`product_quantity` int(10) unsigned NOT NULL DEFAULT '0',
`unit_price_tax_excl` DECIMAL(20, 6) NULL,
`unit_price_tax_incl` DECIMAL(20, 6) NULL,
@@ -1414,7 +1417,7 @@ CREATE TABLE `PREFIX_order_slip_detail` (
`total_price_tax_incl` DECIMAL(20, 6),
`amount_tax_excl` DECIMAL(20, 6) DEFAULT NULL,
`amount_tax_incl` DECIMAL(20, 6) DEFAULT NULL,
PRIMARY KEY (`id_order_slip`,`id_htl_booking`)
PRIMARY KEY (`id_order_slip`,`id_htl_booking`,`id_room_type_service_product_order_detail`)
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8 COLLATION;
CREATE TABLE `PREFIX_order_state` (