-- Table structure for table `rentbill`
--

CREATE TABLE `rentbill` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `clientid` int(11) DEFAULT NULL,
  `createdatetime` date DEFAULT NULL,
  `billtotal` decimal(10,2) DEFAULT NULL,
  `firmbilltotal` decimal(10,2) DEFAULT NULL,
  `billpayed` decimal(10,2) DEFAULT NULL,
  `billreset` decimal(10,2) DEFAULT NULL,
  `dailyentryid` int(11) NOT NULL DEFAULT 0,
  `payistype` char(1) NOT NULL DEFAULT '0',
  `bankid` int(11) DEFAULT NULL,
  `accountid` int(11) DEFAULT NULL,
  `paperno` int(11) DEFAULT NULL,
  `paperval` decimal(10,2) DEFAULT NULL,
  `paperdate` date DEFAULT NULL,
  `discount` decimal(10,2) DEFAULT NULL,
  `distotal` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `rentbill`
--


--
-- Table structure for table `rentbillprop`
--

CREATE TABLE `rentbillprop` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `billid` int(11) DEFAULT NULL,
  `productid` int(11) DEFAULT NULL,
  `type` char(1) DEFAULT NULL,
  `supplierid` int(11) DEFAULT NULL,
  `amount` int(11) DEFAULT NULL,
  `rentprice` decimal(10,2) DEFAULT NULL,
  `supplierprice` decimal(10,2) DEFAULT NULL,
  `totalprice` decimal(10,2) DEFAULT NULL,
  `suppliertotalpice` decimal(10,2) DEFAULT NULL,
  `startdate` date DEFAULT NULL,
  `enddate` date DEFAULT NULL,
  `rentdays` int(11) DEFAULT NULL,
  `status` char(1) DEFAULT NULL,
  `delayvalue` decimal(10,2) DEFAULT NULL,
  `delaytype` char(1) DEFAULT NULL,
  `delypay` decimal(10,2) DEFAULT NULL,
  `delayreset` decimal(10,2) DEFAULT NULL,
  `dailyentryid` int(11) NOT NULL DEFAULT 0,
  `diffdate` varchar(2000) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `rentbillprop`
--


--
-- Table structure for table `rentproduct`
--

CREATE TABLE `rentproduct` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(2000) DEFAULT NULL,
  `quantity` int(11) DEFAULT NULL,
  `buyprice` decimal(10,2) DEFAULT NULL,
  `totalprice` decimal(10,2) DEFAULT NULL,
  `rentprice` decimal(10,2) DEFAULT NULL,
  `paytype` char(1) DEFAULT NULL,
  `supplierid` int(11) DEFAULT 0,
  `createdate` date DEFAULT NULL,
  `info` text DEFAULT NULL,
  `isdel` char(1) DEFAULT '0',
  `dailyentryid` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `rentproduct`
--


--
-- Table structure for table `rentstore`
--

CREATE TABLE `rentstore` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rentproductid` int(11) DEFAULT NULL,
  `amount` int(11) DEFAULT NULL,
  `rented` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `rentstore`
--


--
-- Table structure for table `representativecompany`
--

CREATE TABLE `representativecompany` (
  `representativecompanyId` int(11) NOT NULL AUTO_INCREMENT,
  `representativeName` varchar(255) NOT NULL,
  `representativePhone` varchar(255) NOT NULL,
  `companyId` int(11) NOT NULL,
  `otherInfo` longtext NOT NULL,
  PRIMARY KEY (`representativecompanyId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `representativecompany`
--


--
-- Table structure for table `restauranthall`
--

CREATE TABLE `restauranthall` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `hallPrice` tinyint(4) NOT NULL,
  `hallUsers` varchar(300) NOT NULL,
  `userId` int(11) NOT NULL,
  `sysdate` date NOT NULL,
  `del` tinyint(4) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `restauranthall`
--


--
-- Table structure for table `restaurantkitchenprint`
--

CREATE TABLE `restaurantkitchenprint` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `orderId` int(11) NOT NULL,
  `productId` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `notesPrinted` text NOT NULL,
  `togetherNo` int(11) NOT NULL,
  `isPrinted` tinyint(4) NOT NULL COMMENT '0 not printed - 1 printed',
  `sysDateTime` datetime NOT NULL,
  `fromBillDirectWithId` int(11) NOT NULL DEFAULT -1,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `restaurantkitchenprint`
--


--
-- Table structure for table `restaurantorder`
--

CREATE TABLE `restaurantorder` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `hallUserId` int(11) NOT NULL,
  `tableId` int(11) NOT NULL,
  `totalBill` decimal(10,2) NOT NULL,
  `discount` decimal(10,2) NOT NULL,
  `tax` decimal(10,2) NOT NULL DEFAULT 0.00,
  `netBill` decimal(10,2) NOT NULL,
  `finished` tinyint(4) NOT NULL COMMENT '0 not finished - 1 finished',
  `sellBillId` int(11) NOT NULL,
  `userId` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `del` tinyint(4) NOT NULL,
  `daySreial` int(11) NOT NULL,
  `billComment` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `payed` decimal(10,2) NOT NULL DEFAULT 0.00,
  `restaurantplaystationplayid` int(11) NOT NULL DEFAULT 0,
  `rest` decimal(8,2) NOT NULL DEFAULT 0.00,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `restaurantorder`
--


--
-- Table structure for table `restaurantorderdeliverydetails`
--

CREATE TABLE `restaurantorderdeliverydetails` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `orderId` int(11) NOT NULL,
  `clientId` int(11) NOT NULL,
  `clientmobile` tinyint(4) NOT NULL COMMENT '0 hide- 1 show',
  `clientphone` tinyint(4) NOT NULL COMMENT '0 hide- 1 show',
  `clientaddress` tinyint(4) NOT NULL COMMENT '0 hide- 1 show',
  `clientdetails` tinyint(4) NOT NULL COMMENT '0 hide- 1 show',
  `driverId` int(11) NOT NULL,
  `driverReciveDate` datetime NOT NULL,
  `deliveryStatus` tinyint(4) NOT NULL COMMENT '0 new -1 assigned to driver - 2 finish',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `restaurantorderdeliverydetails`
--


--
-- Table structure for table `restaurantorderdetails`
--

CREATE TABLE `restaurantorderdetails` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `orderId` int(11) NOT NULL,
  `productId` int(11) NOT NULL,
  `quantity` decimal(10,2) NOT NULL,
  `price` decimal(10,2) NOT NULL,
  `total` decimal(10,2) NOT NULL,
  `notes` text NOT NULL,
  `notesPrinted` text NOT NULL,
  `isPrinted` tinyint(4) NOT NULL,
  `printedQuantity` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `restaurantorderdetails`
--


--
-- Table structure for table `restaurantplaystation`
--

CREATE TABLE `restaurantplaystation` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `hourPrice` float NOT NULL,
  `beingUsed` tinyint(4) NOT NULL COMMENT '0 empty-1 is used now',
  `tableId` int(11) NOT NULL,
  `serviceId` int(11) NOT NULL,
  `userId` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `del` tinyint(4) NOT NULL,
  `theType` tinyint(4) NOT NULL COMMENT 'it is to be deleted below it doesnot exist',
  `deviceIdentification` varchar(255) NOT NULL,
  `subDeviceIdentification` varchar(255) NOT NULL,
  `useSubIdentification` tinyint(4) NOT NULL,
  `hourPriceMulti` float NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurantplaystation`
--


--
-- Table structure for table `restaurantplaystationplay`
--

CREATE TABLE `restaurantplaystationplay` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `playstationid` int(11) NOT NULL,
  `hourPrice` float NOT NULL,
  `startsysDate` datetime NOT NULL,
  `endsysDate` datetime NOT NULL,
  `duration` time NOT NULL,
  `note` text NOT NULL,
  `totalPrice` float NOT NULL,
  `discount` float NOT NULL,
  `tax` float NOT NULL,
  `netPrice` float NOT NULL,
  `payed` float NOT NULL,
  `finished` tinyint(4) NOT NULL,
  `sellBillId` int(11) NOT NULL,
  `userId` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `del` tinyint(4) NOT NULL,
  `reservationType` tinyint(4) NOT NULL COMMENT '0 open - 1 with timer',
  `reservationHours` int(11) NOT NULL,
  `reservationMinutes` int(11) NOT NULL,
  `reservationEndDateTime` datetime NOT NULL,
  `moveStartSysDate` datetime NOT NULL COMMENT 'used in move psplay',
  `moveDuration` time NOT NULL COMMENT 'used in move psplay',
  `oldPsPlayid` int(11) NOT NULL DEFAULT 0 COMMENT 'used in move psplay',
  `startPrice` float NOT NULL DEFAULT 0 COMMENT 'used in move psplay  it is sum of price of all previous plastation play',
  `cardPayed` float NOT NULL,
  `cashPayed` float NOT NULL,
  `psClientCardId` int(11) NOT NULL,
  `priceIs` tinyint(4) NOT NULL COMMENT '0 hourPrice - 1 hourPriceMulti',
  `hourPriceMulti` float NOT NULL,
  `allMovesUnitedSellBillId` int(11) NOT NULL DEFAULT 0 COMMENT 'it is sellbill id made to all movenent from playstation to another and from single to multi as we need it to identify them and use it in print',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurantplaystationplay`
--


--
-- Table structure for table `restaurantprinter`
--

CREATE TABLE `restaurantprinter` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `cats` varchar(400) NOT NULL,
  `userid` int(11) NOT NULL,
  `sysdate` date NOT NULL,
  `del` tinyint(4) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `restaurantprinter`
--


--
-- Table structure for table `restaurantrawdestruction`
--

CREATE TABLE `restaurantrawdestruction` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `storeid` int(11) NOT NULL,
  `productid` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `productBuyPrice` decimal(10,2) NOT NULL,
  `lastbuyprice` decimal(10,2) NOT NULL,
  `meanbuyprice` decimal(10,2) NOT NULL,
  `lastbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `meanbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `conditions` tinyint(4) NOT NULL,
  `sysdate` date NOT NULL,
  `userid` int(11) NOT NULL,
  `operationNum` int(11) NOT NULL,
  `sizeid` int(11) NOT NULL DEFAULT 0,
  `colorid` int(11) NOT NULL DEFAULT 0,
  `realestateid` int(11) NOT NULL DEFAULT 0,
  `realestateunitid` int(11) NOT NULL DEFAULT 0,
  `lastbuyprice_withTax` decimal(10,2) DEFAULT NULL,
  `meanbuyprice_withTax` decimal(10,2) DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `restaurantrawdestruction`
--


--
-- Table structure for table `restauranttable`
--

CREATE TABLE `restauranttable` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `hallid` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `beingUsed` tinyint(4) NOT NULL COMMENT '0 empty-1 is used now',
  `userId` int(11) NOT NULL,
  `sysdate` date NOT NULL,
  `del` tinyint(4) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `restauranttable`
--


--
-- Table structure for table `resturantcategory`
--

CREATE TABLE `resturantcategory` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `category_id` varchar(160) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `product_id` int(11) DEFAULT NULL,
  `date` date NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `resturantcategory`
--

INSERT INTO `resturantcategory` VALUES
(1,'',0,'0000-00-00'),
(2,'',0,'0000-00-00'),
(3,'',0,'0000-00-00');

--
-- Table structure for table `returnbuybill`
--

CREATE TABLE `returnbuybill` (
  `returnbuybillid` int(11) NOT NULL AUTO_INCREMENT,
  `returnbuybillSerial` varchar(255) DEFAULT NULL,
  `returnbuybilldate` datetime DEFAULT NULL,
  `returnbuybillsupplierid` int(11) NOT NULL,
  `returnbuybilltotaldeptbefor` decimal(10,2) NOT NULL,
  `returnbuybilltotaldeptafter` decimal(10,2) NOT NULL,
  `returnbuybilldiscount` varchar(255) NOT NULL DEFAULT '',
  `returnbuybilldiscountrype` int(11) NOT NULL DEFAULT 0,
  `returnbuybilltotalbill` decimal(10,2) NOT NULL,
  `returnbuybillaftertotalbill` decimal(10,2) NOT NULL,
  `returnbuybilltotalpayed` decimal(10,2) NOT NULL,
  `returnbuybillfinalbill` decimal(10,2) NOT NULL,
  `returnbuybillstoreid` int(11) NOT NULL,
  `returnbuybillsysdate` datetime NOT NULL,
  `comment` text NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `returnbuybillclientname` varchar(255) NOT NULL DEFAULT '',
  `returnbuybillsaveid` int(11) NOT NULL,
  `billnameid` int(11) NOT NULL,
  `returnbuybilldirectpayment` int(11) NOT NULL DEFAULT 0,
  `deletedbuyid` int(11) DEFAULT NULL,
  `controlname` varchar(255) NOT NULL,
  `payedtax` decimal(10,2) NOT NULL DEFAULT 0.00,
  `costcenterid` int(11) DEFAULT 0,
  `dailyentryid` varchar(100) NOT NULL DEFAULT '',
  `delbyuserid` int(11) NOT NULL DEFAULT 0,
  `currencyId` int(11) NOT NULL DEFAULT 1,
  `taxOfDiscountPer` float NOT NULL DEFAULT 0,
  `taxOfDiscountVal` float NOT NULL DEFAULT 0,
  `client` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`returnbuybillid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `returnbuybill`
--


--
-- Table structure for table `returnbuybillcurr`
--

CREATE TABLE `returnbuybillcurr` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `buybillid` int(11) NOT NULL,
  `conversionFactor` float NOT NULL DEFAULT 1,
  `returnbuybilldiscountC` varchar(255) NOT NULL DEFAULT '',
  `returnbuybilltotalbillC` decimal(10,2) NOT NULL,
  `returnbuybillaftertotalbillC` decimal(10,2) NOT NULL,
  `returnbuybilltotalpayedC` decimal(10,2) NOT NULL,
  `returnbuybillfinalbillC` decimal(10,2) NOT NULL,
  `returnbuybilldirectpaymentC` int(11) NOT NULL DEFAULT 0,
  `payedtaxC` decimal(10,2) NOT NULL DEFAULT 0.00,
  `saveConversionFactor` float NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `returnbuybillcurr`
--


--
-- Table structure for table `returnbuybilldetail`
--

CREATE TABLE `returnbuybilldetail` (
  `returnbuybilldetailid` int(11) NOT NULL AUTO_INCREMENT,
  `Parcode` varchar(255) NOT NULL DEFAULT '',
  `returnbuybillid` int(11) NOT NULL,
  `returnbuybilldetailcatid` int(11) NOT NULL,
  `returnbuybilldetailproductid` int(11) NOT NULL,
  `returnbuybilldetailquantity` decimal(10,2) NOT NULL,
  `returnbuybilldetailprice` decimal(10,2) NOT NULL,
  `returnbuybilldetailtotalprice` decimal(10,2) NOT NULL,
  `discountvalue` decimal(10,2) NOT NULL,
  `note` varchar(256) DEFAULT NULL,
  `productunitid` int(11) NOT NULL,
  `lastbuyprice` decimal(10,2) DEFAULT NULL,
  `meanbuyprice` decimal(10,2) DEFAULT NULL,
  `lastbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `meanbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `otherdetailquantity` int(11) NOT NULL DEFAULT 0,
  `sizeid` int(11) NOT NULL DEFAULT 0,
  `colorid` int(11) NOT NULL DEFAULT 0,
  `returnbuybilldetailpriceC` decimal(10,2) NOT NULL,
  `returnbuybilldetailtotalpriceC` decimal(10,2) NOT NULL,
  `discountvalueC` decimal(10,2) NOT NULL,
  `discounttype` decimal(10,2) NOT NULL DEFAULT 0.00 COMMENT 'discount percentage like 5%',
  `rowtaxval` decimal(10,2) NOT NULL,
  `rowtaxper` decimal(10,2) NOT NULL DEFAULT 0.00 COMMENT 'like 5%',
  `lastbuyprice_withTax` decimal(10,2) DEFAULT NULL,
  `meanbuyprice_withTax` decimal(10,2) DEFAULT NULL,
  `lastbuyprice_withDiscountAndTax` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`returnbuybilldetailid`)
) ENGINE=InnoDB AUTO_INCREMENT=246 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `returnbuybilldetail`
--

INSERT INTO `returnbuybilldetail` VALUES
(1,'00142',1,9,142,40.00,235.00,9400.00,0.00,'',142,235.00,235.00,235.00,235.00,0,0,0,235.00,9400.00,0.00,0.00,0.00,0.00,235.00,235.00,235.00),
(2,'00173',2,14,173,24.00,90.00,2160.00,0.00,'',173,90.00,90.00,90.00,90.00,0,0,0,90.00,2160.00,0.00,0.00,0.00,0.00,90.00,0.00,90.00),
(3,'00079',3,9,79,28.00,215.00,6020.00,0.00,'',79,215.00,215.00,215.00,215.00,0,0,0,215.00,6020.00,0.00,0.00,0.00,0.00,215.00,215.00,215.00),
(4,'00081',3,9,81,44.00,210.00,9240.00,0.00,'',81,210.00,210.00,210.00,210.00,0,0,0,210.00,9240.00,0.00,0.00,0.00,0.00,210.00,0.00,210.00),
(5,'00080',4,9,80,2.00,190.00,380.00,0.00,'',80,190.00,190.00,190.00,190.00,0,0,0,190.00,380.00,0.00,0.00,0.00,0.00,190.00,190.00,190.00),
(6,'00079',4,9,79,2.00,215.00,430.00,0.00,'',79,215.00,215.00,215.00,215.00,0,0,0,215.00,430.00,0.00,0.00,0.00,0.00,215.00,215.00,215.00),
(7,'00083',4,9,83,1.00,235.00,235.00,0.00,'',83,235.00,235.09,235.00,235.09,0,0,0,235.00,235.00,0.00,0.00,0.00,0.00,235.00,235.19,235.00),
(8,'00082',4,9,82,7.00,225.00,1575.00,0.00,'',82,225.00,225.00,225.00,225.00,0,0,0,225.00,1575.00,0.00,0.00,0.00,0.00,225.00,225.00,225.00),
(9,'00084',4,9,84,5.00,155.00,775.00,0.00,'',84,155.00,155.41,155.00,155.80,0,0,0,155.00,775.00,0.00,0.00,0.00,0.00,155.00,155.00,155.00),
(10,'00144',4,9,144,4.00,180.00,720.00,0.00,'',144,180.00,180.00,180.00,180.00,0,0,0,180.00,720.00,0.00,0.00,0.00,0.00,180.00,180.00,180.00),
(11,'00145',4,9,145,1.00,195.00,195.00,0.00,'',145,195.00,195.00,195.00,195.00,0,0,0,195.00,195.00,0.00,0.00,0.00,0.00,195.00,195.00,195.00),
(12,'00209',4,9,209,2.00,230.00,460.00,0.00,'',209,230.00,230.00,230.00,230.00,0,0,0,230.00,460.00,0.00,0.00,0.00,0.00,230.00,230.00,230.00),
(13,'00090',5,14,90,86.00,245.00,21070.00,0.00,'',90,245.00,245.00,245.00,245.00,0,0,0,245.00,21070.00,0.00,0.00,0.00,0.00,245.00,0.00,245.00),
(14,'00204',5,14,204,52.00,255.00,13260.00,0.00,'',204,255.00,245.00,255.00,245.00,0,0,0,255.00,13260.00,0.00,0.00,0.00,0.00,255.00,0.00,255.00),
(15,'00203',5,14,203,40.00,265.00,10600.00,0.00,'',203,265.00,255.00,265.00,255.00,0,0,0,265.00,10600.00,0.00,0.00,0.00,0.00,265.00,0.00,265.00),
(16,'00008',6,4,8,65.00,245.00,15925.00,0.00,'',8,245.00,245.00,245.00,245.00,0,0,0,245.00,15925.00,0.00,0.00,0.00,0.00,245.00,245.00,245.00),
(17,'00122',7,4,122,96.00,240.00,23040.00,0.00,'',122,240.00,240.00,240.00,240.00,0,0,0,240.00,23040.00,0.00,0.00,0.00,0.00,240.00,240.00,240.00),
(18,'00122',8,4,122,96.00,240.00,23040.00,0.00,'',122,240.00,240.00,240.00,240.00,0,0,0,240.00,23040.00,0.00,0.00,0.00,0.00,240.00,240.00,240.00),
(19,'00144',9,9,144,28.00,180.00,5040.00,0.00,'',144,180.00,180.00,180.00,180.00,0,0,0,180.00,5040.00,0.00,0.00,0.00,0.00,180.00,180.00,180.00),
(20,'00228',9,9,228,36.00,145.00,5220.00,0.00,'',228,145.00,145.00,145.00,145.00,0,0,0,145.00,5220.00,0.00,0.00,0.00,0.00,145.00,145.00,145.00),
(21,'00143',9,9,143,1.00,205.00,205.00,0.00,'',143,205.00,205.00,205.00,205.00,0,0,0,205.00,205.00,0.00,0.00,0.00,0.00,205.00,205.00,205.00),
(22,'00084',9,9,84,1.00,155.00,155.00,0.00,'',84,155.00,155.10,155.00,155.18,0,0,0,155.00,155.00,0.00,0.00,0.00,0.00,155.00,155.00,155.00),
(23,'00186',10,17,186,170.00,81.00,13770.00,0.00,'',186,81.00,81.00,81.00,81.00,0,0,0,81.00,13770.00,0.00,0.00,0.00,0.00,81.00,81.00,81.00),
(24,'00186',11,17,186,18.00,81.00,1458.00,0.00,'',186,81.00,81.00,81.00,81.00,0,0,0,81.00,1458.00,0.00,0.00,0.00,0.00,81.00,81.00,81.00),
(25,'00147',12,17,147,207.00,85.50,17698.50,0.00,'',147,85.50,85.50,85.50,85.50,0,0,0,85.50,17698.50,0.00,0.00,0.00,0.00,85.50,0.00,85.50),
(26,'00099',12,17,99,9.00,90.00,810.00,0.00,'',99,90.00,90.00,90.00,90.00,0,0,0,90.00,810.00,0.00,0.00,0.00,0.00,90.00,0.00,90.00),
(27,'00185',13,9,185,24.00,320.00,7680.00,0.00,'',185,320.00,320.00,320.00,320.00,0,0,0,320.00,7680.00,0.00,0.00,0.00,0.00,320.00,0.00,320.00),
(28,'00223',14,14,223,80.00,165.00,13200.00,0.00,'',223,165.00,165.00,165.00,165.00,0,0,0,165.00,13200.00,0.00,0.00,0.00,0.00,165.00,0.00,165.00),
(29,'00203',14,14,203,20.00,255.00,5100.00,0.00,'',203,255.00,255.00,255.00,255.00,0,0,0,255.00,5100.00,0.00,0.00,0.00,0.00,255.00,255.00,255.00),
(30,'00222',14,14,222,20.00,190.00,3800.00,0.00,'',222,190.00,190.00,190.00,190.00,0,0,0,190.00,3800.00,0.00,0.00,0.00,0.00,190.00,0.00,190.00),
(31,'00083',15,9,83,7.00,235.00,1645.00,0.00,'',83,235.00,235.00,235.00,235.00,0,0,0,235.00,1645.00,0.00,0.00,0.00,0.00,235.00,235.00,235.00),
(32,'00143',15,9,143,4.00,205.00,820.00,0.00,'',143,205.00,205.00,205.00,205.00,0,0,0,205.00,820.00,0.00,0.00,0.00,0.00,205.00,205.00,205.00),
(33,'00174',15,9,174,2.00,145.00,290.00,0.00,'',174,145.00,145.00,145.00,145.00,0,0,0,145.00,290.00,0.00,0.00,0.00,0.00,145.00,145.00,145.00),
(34,'00153',15,9,153,2.00,100.00,200.00,0.00,'',153,100.00,100.00,100.00,100.00,0,0,0,100.00,200.00,0.00,0.00,0.00,0.00,100.00,100.00,100.00),
(35,'00201',15,9,201,11.00,180.00,1980.00,0.00,'',201,180.00,180.00,180.00,180.00,0,0,0,180.00,1980.00,0.00,0.00,0.00,0.00,180.00,180.00,180.00),
(36,'00082',15,9,82,1.00,225.00,225.00,0.00,'',82,225.00,225.00,225.00,225.00,0,0,0,225.00,225.00,0.00,0.00,0.00,0.00,225.00,225.00,225.00),
(37,'00145',15,9,145,1.00,195.00,195.00,0.00,'',145,195.00,195.00,195.00,195.00,0,0,0,195.00,195.00,0.00,0.00,0.00,0.00,195.00,195.00,195.00),
(38,'00131',16,23,131,18.00,170.00,3060.00,0.00,'',131,170.00,270.00,170.00,370.00,0,0,0,170.00,3060.00,0.00,0.00,0.00,0.00,170.00,370.00,170.00),
(39,'00254',16,23,254,96.00,80.00,7680.00,0.00,'',254,80.00,80.00,80.00,80.00,0,0,0,80.00,7680.00,0.00,0.00,0.00,0.00,80.00,80.00,80.00),
(40,'00253',16,23,253,39.00,240.00,9360.00,0.00,'',253,240.00,240.00,240.00,240.00,0,0,0,240.00,9360.00,0.00,0.00,0.00,0.00,240.00,0.00,240.00),
(41,'00224',16,23,224,33.00,230.00,7590.00,0.00,'',224,230.00,230.00,230.00,230.00,0,0,0,230.00,7590.00,0.00,0.00,0.00,0.00,230.00,0.00,230.00),
(42,'00164',16,23,164,24.00,170.00,4080.00,0.00,'',164,170.00,170.00,170.00,170.00,0,0,0,170.00,4080.00,0.00,0.00,0.00,0.00,170.00,0.00,170.00),
(43,'00128',16,23,128,16.00,190.00,3040.00,0.00,'',128,190.00,190.00,190.00,190.00,0,0,0,190.00,3040.00,0.00,0.00,0.00,0.00,190.00,190.00,190.00),
(44,'00252',17,36,252,33.00,100.00,3300.00,0.00,'',252,100.00,105.00,100.00,105.00,0,0,0,100.00,3300.00,0.00,0.00,0.00,0.00,100.00,110.00,100.00),
(45,'00280',18,30,280,264.00,190.00,50160.00,0.00,'',280,190.00,190.00,190.00,190.00,0,0,0,190.00,50160.00,0.00,0.00,0.00,0.00,190.00,190.00,190.00),
(46,'00285',19,38,285,48.00,120.00,5760.00,0.00,'',285,120.00,120.00,120.00,120.00,0,0,0,120.00,5760.00,0.00,0.00,0.00,0.00,120.00,120.00,120.00),
(47,'00087',20,13,87,48.00,110.00,5280.00,0.00,'',87,110.00,110.00,110.00,110.00,0,0,0,110.00,5280.00,0.00,0.00,0.00,0.00,110.00,0.00,110.00),
(48,'00183',20,13,183,159.00,130.00,20670.00,0.00,'',183,130.00,1450.00,130.00,2240.00,0,0,0,130.00,20670.00,0.00,0.00,0.00,0.00,130.00,2240.00,130.00),
(49,'00208',20,13,208,15.00,190.00,2850.00,0.00,'',208,190.00,190.00,190.00,190.00,0,0,0,190.00,2850.00,0.00,0.00,0.00,0.00,190.00,0.00,190.00),
(50,'00338',21,52,338,15.00,260.00,3900.00,0.00,'',338,260.00,247.86,260.00,247.86,0,0,0,260.00,3900.00,0.00,0.00,0.00,0.00,260.00,247.86,260.00),
(51,'00282',22,14,282,120.00,60.00,7200.00,0.00,'',282,60.00,60.00,60.00,60.00,0,0,0,60.00,7200.00,0.00,0.00,0.00,0.00,60.00,0.00,60.00),
(52,'00343',23,51,343,102.00,115.00,11730.00,0.00,'',343,115.00,115.00,115.00,115.00,0,0,0,115.00,11730.00,0.00,0.00,0.00,0.00,115.00,115.00,115.00),
(53,'00342',23,51,342,102.00,115.00,11730.00,0.00,'',342,115.00,115.00,115.00,115.00,0,0,0,115.00,11730.00,0.00,0.00,0.00,0.00,115.00,115.00,115.00),
(54,'00341',23,51,341,102.00,115.00,11730.00,0.00,'',341,115.00,115.00,115.00,115.00,0,0,0,115.00,11730.00,0.00,0.00,0.00,0.00,115.00,115.00,115.00),
(55,'00340',23,51,340,102.00,115.00,11730.00,0.00,'',340,115.00,115.00,115.00,115.00,0,0,0,115.00,11730.00,0.00,0.00,0.00,0.00,115.00,115.00,115.00),
(56,'00361',24,55,361,69.00,200.00,13800.00,0.00,'',361,200.00,200.00,200.00,200.00,0,0,0,200.00,13800.00,0.00,0.00,0.00,0.00,200.00,0.00,200.00),
(57,'00441',25,64,441,5.00,280.00,1400.00,0.00,'',441,280.00,280.00,280.00,280.00,0,0,0,280.00,1400.00,0.00,0.00,0.00,0.00,280.00,280.00,280.00),
(58,'00360',26,55,360,57.00,180.00,10260.00,0.00,'',360,180.00,180.00,180.00,180.00,0,0,0,180.00,10260.00,0.00,0.00,0.00,0.00,180.00,0.00,180.00),
(59,'00399',27,64,399,70.00,310.00,21700.00,0.00,'',399,310.00,310.00,310.00,310.00,0,0,0,310.00,21700.00,0.00,0.00,0.00,0.00,310.00,0.00,310.00),
(60,'00441',28,64,441,1.00,280.00,280.00,0.00,'',441,280.00,280.00,280.00,280.00,0,0,0,280.00,280.00,0.00,0.00,0.00,0.00,280.00,280.00,280.00),
(61,'00371',29,57,371,60.00,345.00,20700.00,0.00,'',371,345.00,345.00,345.00,345.00,0,0,0,345.00,20700.00,0.00,0.00,0.00,0.00,345.00,0.00,345.00),
(62,'00375',29,57,375,75.00,290.00,21750.00,0.00,'',375,290.00,290.00,290.00,290.00,0,0,0,290.00,21750.00,0.00,0.00,0.00,0.00,290.00,0.00,290.00),
(63,'00459',30,69,459,75.00,360.00,27000.00,0.00,'',459,360.00,360.00,360.00,360.00,0,0,0,360.00,27000.00,0.00,0.00,0.00,0.00,360.00,0.00,360.00),
(64,'00458',30,69,458,80.00,400.00,32000.00,0.00,'',458,400.00,400.00,400.00,400.00,0,0,0,400.00,32000.00,0.00,0.00,0.00,0.00,400.00,0.00,400.00),
(65,'00418',31,52,418,45.00,255.00,11475.00,0.00,'',418,255.00,255.00,255.00,255.00,0,0,0,255.00,11475.00,0.00,0.00,0.00,0.00,255.00,255.00,255.00),
(66,'00425',31,52,425,15.00,245.00,3675.00,0.00,'',425,245.00,245.00,245.00,245.00,0,0,0,245.00,3675.00,0.00,0.00,0.00,0.00,245.00,245.00,245.00),
(67,'00359',32,46,359,270.00,190.00,51300.00,0.00,'',359,190.00,190.00,190.00,190.00,0,0,0,190.00,51300.00,0.00,0.00,0.00,0.00,190.00,0.00,190.00),
(68,'00319',32,46,319,90.00,235.00,21150.00,0.00,'',319,235.00,235.00,235.00,235.00,0,0,0,235.00,21150.00,0.00,0.00,0.00,0.00,235.00,0.00,235.00),
(69,'00433',33,67,433,30.00,370.00,11100.00,0.00,'',433,370.00,370.00,370.00,370.00,0,0,0,370.00,11100.00,0.00,0.00,0.00,0.00,370.00,0.00,370.00),
(70,'00348',34,53,348,56.00,110.00,6160.00,0.00,'',348,110.00,110.00,110.00,110.00,0,0,0,110.00,6160.00,0.00,0.00,0.00,0.00,110.00,110.00,110.00),
(71,'00392',35,9,392,1.00,190.00,190.00,0.00,'',392,190.00,190.00,190.00,190.00,0,0,0,190.00,190.00,0.00,0.00,0.00,0.00,190.00,0.00,190.00),
(72,'00518',36,70,518,10.00,340.00,3400.00,0.00,'',518,340.00,340.00,340.00,340.00,0,0,0,340.00,3400.00,0.00,0.00,0.00,0.00,340.00,0.00,340.00),
(73,'00310',37,45,310,100.00,190.00,19000.00,0.00,'',310,190.00,190.00,190.00,190.00,0,0,0,190.00,19000.00,0.00,0.00,0.00,0.00,190.00,190.00,190.00),
(74,'00311',37,45,311,100.00,190.00,19000.00,0.00,'',311,190.00,190.00,190.00,190.00,0,0,0,190.00,19000.00,0.00,0.00,0.00,0.00,190.00,190.00,190.00),
(75,'00312',37,45,312,100.00,195.00,19500.00,0.00,'',312,195.00,195.00,195.00,195.00,0,0,0,195.00,19500.00,0.00,0.00,0.00,0.00,195.00,195.00,195.00),
(76,'00314',37,45,314,100.00,215.00,21500.00,0.00,'',314,215.00,215.00,215.00,215.00,0,0,0,215.00,21500.00,0.00,0.00,0.00,0.00,215.00,215.00,215.00),
(77,'00435',38,68,435,114.00,260.00,29640.00,0.00,'',435,260.00,260.00,260.00,260.00,0,0,0,260.00,29640.00,0.00,0.00,0.00,0.00,260.00,0.00,260.00),
(78,'00508',39,75,508,50.00,256.50,12825.00,0.00,'',508,256.50,256.50,256.50,256.50,0,0,0,256.50,12825.00,0.00,0.00,0.00,0.00,256.50,0.00,256.50),
(79,'00509',39,75,509,50.00,279.00,13950.00,0.00,'',509,279.00,279.00,279.00,279.00,0,0,0,279.00,13950.00,0.00,0.00,0.00,0.00,279.00,0.00,279.00),
(80,'00510',39,75,510,50.00,297.00,14850.00,0.00,'',510,297.00,297.00,297.00,297.00,0,0,0,297.00,14850.00,0.00,0.00,0.00,0.00,297.00,0.00,297.00),
(81,'00511',39,75,511,40.00,306.00,12240.00,0.00,'',511,306.00,306.00,306.00,306.00,0,0,0,306.00,12240.00,0.00,0.00,0.00,0.00,306.00,0.00,306.00),
(82,'00315',40,46,315,100.00,200.00,20000.00,0.00,'',315,200.00,200.00,200.00,200.00,0,0,0,200.00,20000.00,0.00,0.00,0.00,0.00,200.00,200.00,200.00),
(83,'00315',41,46,315,2.00,200.00,400.00,0.00,'',315,200.00,200.00,200.00,200.00,0,0,0,200.00,400.00,0.00,0.00,0.00,0.00,200.00,200.00,200.00),
(84,'00307',42,43,307,64.00,121.50,7776.00,0.00,'',307,121.50,121.50,121.50,121.50,0,0,0,121.50,7776.00,0.00,0.00,0.00,0.00,121.50,121.50,121.50),
(85,'00530',43,14,530,44.00,295.00,12980.00,0.00,'',530,295.00,295.00,295.00,295.00,0,0,0,295.00,12980.00,0.00,0.00,0.00,0.00,295.00,295.00,295.00),
(86,'00568',43,14,568,16.00,335.00,5360.00,0.00,'',568,335.00,335.00,335.00,335.00,0,0,0,335.00,5360.00,0.00,0.00,0.00,0.00,335.00,335.00,335.00),
(87,'00529',43,14,529,16.00,275.00,4400.00,0.00,'',529,275.00,275.00,275.00,275.00,0,0,0,275.00,4400.00,0.00,0.00,0.00,0.00,275.00,275.00,275.00),
(88,'00539',44,60,539,60.00,435.00,26100.00,0.00,'',539,435.00,435.00,435.00,435.00,0,0,0,435.00,26100.00,0.00,0.00,0.00,0.00,435.00,0.00,435.00),
(89,'00536',44,60,536,50.00,450.00,22500.00,0.00,'',536,450.00,450.00,450.00,450.00,0,0,0,450.00,22500.00,0.00,0.00,0.00,0.00,450.00,0.00,450.00),
(90,'00535',44,60,535,60.00,440.00,26400.00,0.00,'',535,440.00,440.00,440.00,440.00,0,0,0,440.00,26400.00,0.00,0.00,0.00,0.00,440.00,0.00,440.00),
(91,'00619',45,87,619,24.00,570.00,13680.00,0.00,'',619,570.00,570.00,570.00,570.00,0,0,0,570.00,13680.00,0.00,0.00,0.00,0.00,570.00,0.00,570.00),
(92,'00620',45,87,620,24.00,520.00,12480.00,0.00,'',620,520.00,520.00,520.00,520.00,0,0,0,520.00,12480.00,0.00,0.00,0.00,0.00,520.00,0.00,520.00),
(93,'00621',45,87,621,24.00,530.00,12720.00,0.00,'',621,530.00,530.00,530.00,530.00,0,0,0,530.00,12720.00,0.00,0.00,0.00,0.00,530.00,0.00,530.00),
(94,'00637',45,87,637,24.00,570.00,13680.00,0.00,'',637,570.00,570.00,570.00,570.00,0,0,0,570.00,13680.00,0.00,0.00,0.00,0.00,570.00,0.00,570.00),
(95,'00638',45,87,638,16.00,520.00,8320.00,0.00,'',638,520.00,520.00,520.00,520.00,0,0,0,520.00,8320.00,0.00,0.00,0.00,0.00,520.00,0.00,520.00),
(96,'00639',45,87,639,24.00,520.00,12480.00,0.00,'',639,520.00,520.00,520.00,520.00,0,0,0,520.00,12480.00,0.00,0.00,0.00,0.00,520.00,0.00,520.00),
(97,'00609',46,85,609,33.00,300.00,9900.00,0.00,'',609,300.00,300.00,300.00,300.00,0,0,0,300.00,9900.00,0.00,0.00,0.00,0.00,300.00,0.00,300.00),
(98,'00575',47,9,575,48.00,320.00,15360.00,0.00,'',575,320.00,320.00,320.00,320.00,0,0,0,320.00,15360.00,0.00,0.00,0.00,0.00,320.00,0.00,320.00),
(99,'00726',48,54,726,20.00,515.00,10300.00,0.00,'',726,515.00,515.00,515.00,515.00,0,0,0,515.00,10300.00,0.00,0.00,0.00,0.00,515.00,0.00,515.00),
(100,'00729',48,54,729,20.00,510.00,10200.00,0.00,'',729,510.00,510.00,510.00,510.00,0,0,0,510.00,10200.00,0.00,0.00,0.00,0.00,510.00,0.00,510.00),
(101,'00727',48,54,727,20.00,495.00,9900.00,0.00,'',727,495.00,495.00,495.00,495.00,0,0,0,495.00,9900.00,0.00,0.00,0.00,0.00,495.00,0.00,495.00),
(102,'00728',48,54,728,20.00,485.00,9700.00,0.00,'',728,485.00,485.00,485.00,485.00,0,0,0,485.00,9700.00,0.00,0.00,0.00,0.00,485.00,0.00,485.00),
(103,'00568',49,14,568,28.00,335.00,9380.00,0.00,'',568,335.00,335.00,335.00,335.00,0,0,0,335.00,9380.00,0.00,0.00,0.00,0.00,335.00,335.00,335.00),
(104,'00569',49,14,569,4.00,295.00,1180.00,0.00,'',569,295.00,295.00,295.00,295.00,0,0,0,295.00,1180.00,0.00,0.00,0.00,0.00,295.00,0.00,295.00),
(105,'00529',49,14,529,8.00,275.00,2200.00,0.00,'',529,275.00,275.00,275.00,275.00,0,0,0,275.00,2200.00,0.00,0.00,0.00,0.00,275.00,0.00,275.00),
(106,'00530',49,14,530,4.00,295.00,1180.00,0.00,'',530,295.00,295.00,295.00,295.00,0,0,0,295.00,1180.00,0.00,0.00,0.00,0.00,295.00,0.00,295.00),
(107,'00624',50,88,624,48.00,335.00,16080.00,0.00,'',624,335.00,335.00,335.00,335.00,0,0,0,335.00,16080.00,0.00,0.00,0.00,0.00,335.00,0.00,335.00),
(108,'00623',51,88,623,56.00,320.00,17920.00,0.00,'',623,320.00,320.00,320.00,320.00,0,0,0,320.00,17920.00,0.00,0.00,0.00,0.00,320.00,0.00,320.00),
(109,'00577',52,52,577,40.00,360.00,14400.00,0.00,'',577,360.00,360.00,360.00,360.00,0,0,0,360.00,14400.00,0.00,0.00,0.00,0.00,360.00,0.00,360.00),
(110,'00576',52,52,576,40.00,360.00,14400.00,0.00,'',576,360.00,360.00,360.00,360.00,0,0,0,360.00,14400.00,0.00,0.00,0.00,0.00,360.00,0.00,360.00),
(111,'00753',53,48,753,69.00,220.00,15180.00,0.00,'',753,220.00,220.00,220.00,220.00,0,0,0,220.00,15180.00,0.00,0.00,0.00,0.00,220.00,0.00,220.00),
(112,'00720',54,23,720,98.00,320.00,31360.00,0.00,'',720,320.00,320.00,320.00,320.00,0,0,0,320.00,31360.00,0.00,0.00,0.00,0.00,320.00,320.00,320.00),
(113,'00718',54,23,718,20.00,260.00,5200.00,0.00,'',718,260.00,260.00,260.00,260.00,0,0,0,260.00,5200.00,0.00,0.00,0.00,0.00,260.00,0.00,260.00),
(114,'00654',55,70,654,75.00,470.00,35250.00,0.00,'',654,470.00,470.00,470.00,470.00,0,0,0,470.00,35250.00,0.00,0.00,0.00,0.00,470.00,0.00,470.00),
(115,'00490',56,8,490,58.00,244.00,14152.00,0.00,'',490,244.00,244.00,244.00,244.00,0,0,0,244.00,14152.00,0.00,0.00,0.00,0.00,244.00,244.00,244.00),
(116,'00716',56,8,716,1.00,252.00,252.00,0.00,'',716,252.00,252.53,252.00,252.00,0,0,0,252.00,252.00,0.00,0.00,0.00,0.00,252.00,252.00,252.00),
(117,'00490',57,8,490,3.00,244.00,732.00,0.00,'',490,244.00,244.00,244.00,244.00,0,0,0,244.00,732.00,0.00,0.00,0.00,0.00,244.00,244.00,244.00),
(118,'00738',58,90,738,65.00,300.00,19500.00,0.00,'',738,300.00,300.00,300.00,300.00,0,0,0,300.00,19500.00,0.00,0.00,0.00,0.00,300.00,0.00,300.00),
(119,'00758',59,49,758,9.00,990.00,8910.00,0.00,'',758,990.00,990.00,990.00,990.00,0,0,0,990.00,8910.00,0.00,0.00,0.00,0.00,990.00,0.00,990.00),
(120,'00809',60,23,809,8.00,270.00,2160.00,0.00,'',809,270.00,270.00,270.00,270.00,0,0,0,270.00,2160.00,0.00,0.00,0.00,0.00,270.00,0.00,270.00),
(121,'00765',61,96,765,27.00,190.00,5130.00,0.00,'',765,190.00,190.00,190.00,190.00,0,0,0,190.00,5130.00,0.00,0.00,0.00,0.00,190.00,0.00,190.00),
(122,'00764',61,96,764,30.00,190.00,5700.00,0.00,'',764,190.00,190.00,190.00,190.00,0,0,0,190.00,5700.00,0.00,0.00,0.00,0.00,190.00,0.00,190.00),
(123,'00763',61,96,763,51.00,190.00,9690.00,0.00,'',763,190.00,190.00,190.00,190.00,0,0,0,190.00,9690.00,0.00,0.00,0.00,0.00,190.00,0.00,190.00),
(124,'00481',62,71,481,55.00,470.00,25850.00,0.00,'',481,470.00,470.00,470.00,470.00,0,0,0,470.00,25850.00,0.00,0.00,0.00,0.00,470.00,0.00,470.00),
(125,'00483',62,71,483,50.00,480.00,24000.00,0.00,'',483,480.00,480.00,480.00,480.00,0,0,0,480.00,24000.00,0.00,0.00,0.00,0.00,480.00,0.00,480.00),
(126,'00822',63,13,822,100.00,185.00,18500.00,0.00,'',822,185.00,185.00,185.00,185.00,0,0,0,185.00,18500.00,0.00,0.00,0.00,0.00,185.00,185.00,185.00),
(127,'00323',64,47,323,264.00,190.00,50160.00,0.00,'',323,190.00,190.00,190.00,190.00,0,0,0,190.00,50160.00,0.00,0.00,0.00,0.00,190.00,0.00,190.00),
(128,'00630',65,9,630,1.00,220.00,220.00,0.00,'',630,220.00,220.00,220.00,220.00,0,0,0,220.00,220.00,0.00,0.00,0.00,0.00,220.00,220.00,220.00),
(129,'00628',65,9,628,8.00,250.00,2000.00,0.00,'',628,250.00,250.00,250.00,250.00,0,0,0,250.00,2000.00,0.00,0.00,0.00,0.00,250.00,250.00,250.00),
(130,'00520',65,9,520,1.00,290.00,290.00,0.00,'',520,290.00,290.00,290.00,290.00,0,0,0,290.00,290.00,0.00,0.00,0.00,0.00,290.00,290.00,290.00),
(131,'00757',65,9,757,2.00,200.00,400.00,0.00,'',757,200.00,200.00,200.00,200.00,0,0,0,200.00,400.00,0.00,0.00,0.00,0.00,200.00,200.00,200.00),
(132,'00779',66,17,779,24.00,260.00,6240.00,0.00,'',779,260.00,260.00,260.00,260.00,0,0,0,260.00,6240.00,0.00,0.00,0.00,0.00,260.00,260.00,260.00),
(133,'00780',66,17,780,30.00,255.00,7650.00,0.00,'',780,255.00,255.00,255.00,255.00,0,0,0,255.00,7650.00,0.00,0.00,0.00,0.00,255.00,255.00,255.00),
(134,'00504',66,17,504,24.00,305.00,7320.00,0.00,'',504,305.00,305.00,305.00,305.00,0,0,0,305.00,7320.00,0.00,0.00,0.00,0.00,305.00,0.00,305.00),
(135,'00836',66,17,836,30.00,280.00,8400.00,0.00,'',836,280.00,280.00,280.00,280.00,0,0,0,280.00,8400.00,0.00,0.00,0.00,0.00,280.00,0.00,280.00),
(136,'00490',67,8,490,48.00,244.00,11712.00,0.00,'',490,244.00,244.00,244.00,244.00,0,0,0,244.00,11712.00,0.00,0.00,0.00,0.00,244.00,0.00,244.00),
(137,'00676',68,8,676,2.00,280.00,560.00,0.00,'',676,280.00,280.00,280.00,280.00,0,0,0,280.00,560.00,0.00,0.00,0.00,0.00,280.00,280.00,280.00),
(138,'00713',69,8,713,1.00,230.00,230.00,0.00,'',713,230.00,217.82,230.00,230.00,0,0,0,230.00,230.00,0.00,0.00,0.00,0.00,230.00,230.00,230.00),
(139,'00775',70,81,775,30.00,280.00,8400.00,0.00,'',775,280.00,280.00,280.00,280.00,0,0,0,280.00,8400.00,0.00,0.00,0.00,0.00,280.00,280.00,280.00),
(140,'00489',71,8,489,60.00,271.00,16260.00,0.00,'',489,271.00,271.00,271.00,271.00,0,0,0,271.00,16260.00,0.00,0.00,0.00,0.00,271.00,0.00,271.00),
(141,'00476',72,52,476,40.00,345.00,13800.00,0.00,'',476,345.00,345.00,345.00,345.00,0,0,0,345.00,13800.00,0.00,0.00,0.00,0.00,345.00,0.00,345.00),
(142,'00380',72,52,380,60.00,340.00,20400.00,0.00,'',380,340.00,340.00,340.00,340.00,0,0,0,340.00,20400.00,0.00,0.00,0.00,0.00,340.00,0.00,340.00),
(143,'00364',72,52,364,35.00,340.00,11900.00,0.00,'',364,340.00,340.00,340.00,340.00,0,0,0,340.00,11900.00,0.00,0.00,0.00,0.00,340.00,340.00,340.00),
(144,'00337',72,52,337,60.00,345.00,20700.00,0.00,'',337,345.00,345.00,345.00,345.00,0,0,0,345.00,20700.00,0.00,0.00,0.00,0.00,345.00,0.00,345.00),
(145,'00339',72,52,339,45.00,310.00,13950.00,0.00,'',339,310.00,310.00,310.00,310.00,0,0,0,310.00,13950.00,0.00,0.00,0.00,0.00,310.00,0.00,310.00),
(146,'00808',73,99,808,30.00,225.00,6750.00,0.00,'',808,225.00,225.00,225.00,225.00,0,0,0,225.00,6750.00,0.00,0.00,0.00,0.00,225.00,225.00,225.00),
(147,'00891',74,1,891,30.00,520.00,15600.00,0.00,'',891,520.00,520.00,520.00,520.00,0,0,0,520.00,15600.00,0.00,0.00,0.00,0.00,520.00,0.00,520.00),
(148,'00808',75,99,808,30.00,225.00,6750.00,0.00,'',808,225.00,225.00,225.00,225.00,0,0,0,225.00,6750.00,0.00,0.00,0.00,0.00,225.00,225.00,225.00),
(149,'00902',76,14,902,24.00,305.00,7320.00,0.00,'',902,305.00,305.00,305.00,305.00,0,0,0,305.00,7320.00,0.00,0.00,0.00,0.00,305.00,0.00,305.00),
(150,'00756',77,23,756,21.00,290.00,6090.00,0.00,'',756,290.00,290.00,290.00,290.00,0,0,0,290.00,6090.00,0.00,0.00,0.00,0.00,290.00,0.00,290.00),
(151,'00704',78,17,704,30.00,305.00,9150.00,0.00,'',704,305.00,305.00,305.00,305.00,0,0,0,305.00,9150.00,0.00,0.00,0.00,0.00,305.00,305.00,305.00),
(152,'00924',78,17,924,52.00,260.00,13520.00,0.00,'',924,260.00,260.00,260.00,260.00,0,0,0,260.00,13520.00,0.00,0.00,0.00,0.00,260.00,0.00,260.00),
(153,'00923',78,17,923,50.00,325.00,16250.00,0.00,'',923,325.00,325.00,325.00,325.00,0,0,0,325.00,16250.00,0.00,0.00,0.00,0.00,325.00,0.00,325.00),
(154,'00808',79,99,808,53.00,225.00,11925.00,0.00,'',808,225.00,225.00,225.00,225.00,0,0,0,225.00,11925.00,0.00,0.00,0.00,0.00,225.00,225.00,225.00),
(155,'00898',79,99,898,4.00,230.00,920.00,0.00,'',898,230.00,230.00,230.00,230.00,0,0,0,230.00,920.00,0.00,0.00,0.00,0.00,230.00,230.00,230.00),
(156,'00814',80,96,814,31.00,185.00,5735.00,0.00,'',814,185.00,185.00,185.00,185.00,0,0,0,185.00,5735.00,0.00,0.00,0.00,0.00,185.00,0.00,185.00),
(157,'00784',81,23,784,12.00,355.00,4260.00,0.00,'',784,355.00,355.00,355.00,355.00,0,0,0,355.00,4260.00,0.00,0.00,0.00,0.00,355.00,355.00,355.00),
(158,'00908',82,100,908,35.00,280.00,9800.00,0.00,'',908,280.00,280.00,280.00,280.00,0,0,0,280.00,9800.00,0.00,0.00,0.00,0.00,280.00,280.00,280.00),
(159,'00909',82,100,909,42.00,300.00,12600.00,0.00,'',909,300.00,300.00,300.00,300.00,0,0,0,300.00,12600.00,0.00,0.00,0.00,0.00,300.00,300.00,300.00),
(160,'00784',83,23,784,39.00,355.00,13845.00,0.00,'',784,355.00,355.00,355.00,355.00,0,0,0,355.00,13845.00,0.00,0.00,0.00,0.00,355.00,355.00,355.00),
(161,'00812',84,100,812,21.00,470.00,9870.00,0.00,'',812,470.00,470.00,470.00,470.00,0,0,0,470.00,9870.00,0.00,0.00,0.00,0.00,470.00,0.00,470.00),
(162,'00815',84,100,815,30.00,590.00,17700.00,0.00,'',815,590.00,550.00,590.00,550.00,0,0,0,590.00,17700.00,0.00,0.00,0.00,0.00,590.00,0.00,590.00),
(163,'00910',84,100,910,30.00,300.00,9000.00,0.00,'',910,300.00,300.00,300.00,300.00,0,0,0,300.00,9000.00,0.00,0.00,0.00,0.00,300.00,0.00,300.00),
(164,'00914',84,100,914,21.00,510.00,10710.00,0.00,'',914,510.00,510.00,510.00,510.00,0,0,0,510.00,10710.00,0.00,0.00,0.00,0.00,510.00,0.00,510.00),
(165,'00915',84,100,915,30.00,425.00,12750.00,0.00,'',915,425.00,425.00,425.00,425.00,0,0,0,425.00,12750.00,0.00,0.00,0.00,0.00,425.00,0.00,425.00),
(166,'00916',84,100,916,15.00,520.00,7800.00,0.00,'',916,520.00,520.00,520.00,520.00,0,0,0,520.00,7800.00,0.00,0.00,0.00,0.00,520.00,0.00,520.00),
(167,'00917',84,100,917,33.00,500.00,16500.00,0.00,'',917,500.00,500.00,500.00,500.00,0,0,0,500.00,16500.00,0.00,0.00,0.00,0.00,500.00,0.00,500.00),
(168,'00932',84,100,932,3.00,325.00,975.00,0.00,'',932,325.00,325.00,325.00,325.00,0,0,0,325.00,975.00,0.00,0.00,0.00,0.00,325.00,0.00,325.00),
(169,'00933',84,100,933,21.00,325.00,6825.00,0.00,'',933,325.00,325.00,325.00,325.00,0,0,0,325.00,6825.00,0.00,0.00,0.00,0.00,325.00,0.00,325.00),
(170,'00927',85,116,927,69.00,215.00,14835.00,0.00,'',927,215.00,215.00,215.00,215.00,0,0,0,215.00,14835.00,0.00,0.00,0.00,0.00,215.00,0.00,215.00),
(171,'00897',85,115,897,18.00,215.00,3870.00,0.00,'',897,215.00,215.00,215.00,215.00,0,0,0,215.00,3870.00,0.00,0.00,0.00,0.00,215.00,0.00,215.00),
(172,'00935',86,118,935,100.00,180.00,18000.00,0.00,'',935,180.00,180.00,180.00,180.00,0,0,0,180.00,18000.00,0.00,0.00,0.00,0.00,180.00,180.00,180.00),
(173,'00928',87,1,928,30.00,440.00,13200.00,0.00,'',928,440.00,440.00,440.00,440.00,0,0,0,440.00,13200.00,0.00,0.00,0.00,0.00,440.00,0.00,440.00),
(174,'00785',88,23,785,20.00,355.00,7100.00,0.00,'',785,355.00,355.00,355.00,355.00,0,0,0,355.00,7100.00,0.00,0.00,0.00,0.00,355.00,0.00,355.00),
(175,'00952',89,98,952,60.00,445.00,26700.00,0.00,'',952,445.00,445.00,445.00,445.00,0,0,0,445.00,26700.00,0.00,0.00,0.00,0.00,445.00,445.00,445.00),
(176,'00936',90,102,936,75.00,310.00,23250.00,0.00,'',936,310.00,310.00,310.00,310.00,0,0,0,310.00,23250.00,0.00,0.00,0.00,0.00,310.00,310.00,310.00),
(177,'00895',90,102,895,2.00,280.00,560.00,0.00,'',895,280.00,280.00,280.00,280.00,0,0,0,280.00,560.00,0.00,0.00,0.00,0.00,280.00,280.00,280.00),
(178,'00948',91,119,948,13.00,250.00,3250.00,0.00,'',948,250.00,272.80,250.00,272.80,0,0,0,250.00,3250.00,0.00,0.00,0.00,0.00,250.00,272.80,250.00),
(179,'00757',92,9,757,3.00,200.00,600.00,0.00,'',757,200.00,200.00,200.00,200.00,0,0,0,200.00,600.00,0.00,0.00,0.00,0.00,200.00,200.00,200.00),
(180,'00774',92,9,774,1.00,245.00,245.00,0.00,'',774,245.00,245.00,245.00,245.00,0,0,0,245.00,245.00,0.00,0.00,0.00,0.00,245.00,245.00,245.00),
(181,'00944',93,23,944,6.00,620.00,3720.00,0.00,'',944,620.00,620.00,620.00,620.00,0,0,0,620.00,3720.00,0.00,0.00,0.00,0.00,620.00,620.00,620.00),
(182,'00757',94,9,757,7.00,200.00,1400.00,0.00,'',757,200.00,200.00,200.00,200.00,0,0,0,200.00,1400.00,0.00,0.00,0.00,0.00,200.00,200.00,200.00),
(183,'00821',94,9,821,1.00,350.00,350.00,0.00,'',821,350.00,350.00,350.00,350.00,0,0,0,350.00,350.00,0.00,0.00,0.00,0.00,350.00,350.00,350.00),
(184,'00774',95,9,774,1.00,245.00,245.00,0.00,'',774,245.00,245.00,245.00,245.00,0,0,0,245.00,245.00,0.00,0.00,0.00,0.00,245.00,245.00,245.00),
(185,'00990',96,8,990,612.00,117.00,71604.00,0.00,'',990,117.00,117.00,117.00,117.00,0,0,0,117.00,71604.00,0.00,0.00,0.00,0.00,117.00,0.00,117.00),
(186,'00991',96,8,991,204.00,135.00,27540.00,0.00,'',991,135.00,135.00,135.00,135.00,0,0,0,135.00,27540.00,0.00,0.00,0.00,0.00,135.00,135.00,135.00),
(187,'00992',96,8,992,102.00,180.00,18360.00,0.00,'',992,180.00,180.00,180.00,180.00,0,0,0,180.00,18360.00,0.00,0.00,0.00,0.00,180.00,0.00,180.00),
(188,'00993',96,8,993,102.00,175.50,17901.00,0.00,'',993,175.50,175.50,175.50,175.50,0,0,0,175.50,17901.00,0.00,0.00,0.00,0.00,175.50,0.00,175.50),
(189,'00832',97,23,832,12.00,240.00,2880.00,0.00,'',832,240.00,227.14,240.00,227.14,0,0,0,240.00,2880.00,0.00,0.00,0.00,0.00,240.00,227.14,240.00),
(190,'01016',98,15,1016,220.00,175.00,38500.00,0.00,'',1016,175.00,175.00,175.00,175.00,0,0,0,175.00,38500.00,0.00,0.00,0.00,0.00,175.00,175.00,175.00),
(191,'00519',99,9,519,9.00,200.00,1800.00,0.00,'',519,200.00,185.00,200.00,185.00,0,0,0,200.00,1800.00,0.00,0.00,0.00,0.00,200.00,185.00,200.00),
(192,'00811',99,9,811,6.00,370.00,2220.00,0.00,'',811,370.00,370.00,370.00,370.00,0,0,0,370.00,2220.00,0.00,0.00,0.00,0.00,370.00,370.00,370.00),
(193,'00574',99,9,574,1.00,260.00,260.00,0.00,'',574,260.00,260.00,260.00,260.00,0,0,0,260.00,260.00,0.00,0.00,0.00,0.00,260.00,260.00,260.00),
(194,'01071',100,131,1071,114.00,165.00,18810.00,0.00,'',1071,165.00,165.00,181.50,103.71,0,0,0,165.00,18810.00,0.00,0.00,0.00,0.00,165.00,165.00,181.50),
(195,'01072',100,131,1072,15.00,210.00,3150.00,0.00,'',1072,210.00,210.00,231.00,84.00,0,0,0,210.00,3150.00,0.00,0.00,0.00,0.00,210.00,210.00,231.00),
(196,'01099',100,131,1099,205.00,300.00,61500.00,0.00,'',1099,300.00,300.00,330.00,300.00,0,0,0,300.00,61500.00,0.00,0.00,0.00,0.00,300.00,0.00,330.00),
(197,'01108',101,123,1108,200.00,120.00,24000.00,0.00,'',1108,120.00,120.00,120.00,120.00,0,0,0,120.00,24000.00,0.00,0.00,0.00,0.00,120.00,0.00,120.00),
(198,'01194',102,1,1194,124.00,205.00,25420.00,0.00,'',1194,205.00,205.00,205.00,205.00,0,0,0,205.00,25420.00,0.00,0.00,0.00,0.00,205.00,0.00,205.00),
(199,'01255',103,151,1255,60.00,280.00,16800.00,0.00,'',1255,280.00,280.00,308.00,280.00,0,0,0,280.00,16800.00,0.00,0.00,0.00,0.00,280.00,0.00,308.00),
(200,'01244',104,150,1244,30.00,240.00,7200.00,0.00,'',1244,240.00,240.00,240.00,240.00,0,0,0,240.00,7200.00,0.00,0.00,0.00,0.00,240.00,240.00,240.00),
(201,'01245',104,150,1245,30.00,240.00,7200.00,0.00,'',1245,240.00,240.00,240.00,240.00,0,0,0,240.00,7200.00,0.00,0.00,0.00,0.00,240.00,240.00,240.00),
(202,'01246',104,150,1246,30.00,240.00,7200.00,0.00,'',1246,240.00,240.00,240.00,240.00,0,0,0,240.00,7200.00,0.00,0.00,0.00,0.00,240.00,240.00,240.00),
(203,'01247',104,150,1247,21.00,240.00,5040.00,0.00,'',1247,240.00,240.00,240.00,240.00,0,0,0,240.00,5040.00,0.00,0.00,0.00,0.00,240.00,240.00,240.00),
(204,'01248',104,150,1248,32.00,240.00,7680.00,0.00,'',1248,240.00,240.00,240.00,240.00,0,0,0,240.00,7680.00,0.00,0.00,0.00,0.00,240.00,240.00,240.00),
(205,'01249',104,150,1249,32.00,240.00,7680.00,0.00,'',1249,240.00,240.00,240.00,240.00,0,0,0,240.00,7680.00,0.00,0.00,0.00,0.00,240.00,240.00,240.00),
(206,'01250',104,150,1250,15.00,650.00,9750.00,0.00,'',1250,650.00,650.00,650.00,650.00,0,0,0,650.00,9750.00,0.00,0.00,0.00,0.00,650.00,650.00,650.00),
(207,'01251',104,150,1251,15.00,650.00,9750.00,0.00,'',1251,650.00,650.00,650.00,650.00,0,0,0,650.00,9750.00,0.00,0.00,0.00,0.00,650.00,650.00,650.00),
(208,'01252',104,150,1252,15.00,600.00,9000.00,0.00,'',1252,600.00,600.00,600.00,600.00,0,0,0,600.00,9000.00,0.00,0.00,0.00,0.00,600.00,600.00,600.00),
(209,'01294',105,91,1294,300.00,135.00,40500.00,0.00,'',1294,135.00,135.00,148.50,135.00,0,0,0,135.00,40500.00,0.00,0.00,0.00,0.00,135.00,0.00,148.50),
(210,'01295',105,91,1295,300.00,125.00,37500.00,0.00,'',1295,125.00,125.00,137.50,125.00,0,0,0,125.00,37500.00,0.00,0.00,0.00,0.00,125.00,0.00,137.50),
(211,'01281',106,125,1281,300.00,100.00,30000.00,0.00,'',1281,100.00,100.00,100.00,100.00,0,0,0,100.00,30000.00,0.00,0.00,0.00,0.00,100.00,0.00,100.00),
(212,'01324',107,156,1324,60.00,285.00,17100.00,0.00,'',1324,285.00,285.00,285.00,285.00,0,0,0,285.00,17100.00,0.00,0.00,0.00,0.00,285.00,285.00,285.00),
(213,'01200',108,131,1200,10.00,150.00,1500.00,0.00,'',1200,150.00,150.00,150.00,126.67,0,0,0,150.00,1500.00,0.00,0.00,0.00,0.00,150.00,150.00,150.00),
(214,'01342',109,152,1342,23.00,300.00,6900.00,0.00,'',1342,300.00,300.00,300.00,300.00,0,0,0,300.00,6900.00,0.00,0.00,0.00,0.00,300.00,300.00,300.00),
(215,'01115',110,133,1115,9.00,100.00,900.00,0.00,'',1115,100.00,99.34,100.00,98.82,0,0,0,100.00,900.00,0.00,0.00,0.00,0.00,100.00,99.34,100.00),
(216,'00886',111,114,886,12.00,90.00,1080.00,0.00,'',886,90.00,78.33,90.00,78.33,0,0,0,90.00,1080.00,0.00,0.00,0.00,0.00,90.00,66.66,90.00),
(217,'01294',112,91,1294,220.00,135.00,29700.00,0.00,'',1294,135.00,135.00,135.00,135.00,0,0,0,135.00,29700.00,0.00,0.00,0.00,0.00,135.00,135.00,135.00),
(218,'01295',112,91,1295,225.00,125.00,28125.00,0.00,'',1295,125.00,125.00,125.00,125.00,0,0,0,125.00,28125.00,0.00,0.00,0.00,0.00,125.00,125.00,125.00),
(219,'01295',113,91,1295,6.00,125.00,750.00,0.00,'',1295,125.00,125.00,125.00,125.00,0,0,0,125.00,750.00,0.00,0.00,0.00,0.00,125.00,0.00,125.00),
(220,'01255',114,151,1255,54.00,280.00,15120.00,0.00,'',1255,280.00,280.00,280.00,280.00,0,0,0,280.00,15120.00,0.00,0.00,0.00,0.00,280.00,0.00,280.00),
(221,'01257',114,151,1257,56.00,190.00,10640.00,0.00,'',1257,190.00,190.00,190.00,95.00,0,0,0,190.00,10640.00,0.00,0.00,0.00,0.00,190.00,190.00,190.00),
(222,'01258',114,151,1258,101.00,225.00,22725.00,0.00,'',1258,225.00,225.00,225.00,365.63,0,0,0,225.00,22725.00,0.00,0.00,0.00,0.00,225.00,225.00,225.00),
(223,'01256',114,151,1256,9.00,300.00,2700.00,0.00,'',1256,300.00,300.00,300.00,300.00,0,0,0,300.00,2700.00,0.00,0.00,0.00,0.00,300.00,300.00,300.00),
(224,'01318',115,155,1318,113.00,135.00,15255.00,0.00,'',1318,135.00,135.00,135.00,135.00,0,0,0,135.00,15255.00,0.00,0.00,0.00,0.00,135.00,0.00,135.00),
(225,'01319',115,155,1319,60.00,230.00,13800.00,0.00,'',1319,230.00,230.00,230.00,230.00,0,0,0,230.00,13800.00,0.00,0.00,0.00,0.00,230.00,0.00,230.00),
(226,'01282',116,134,1282,145.00,95.00,13775.00,0.00,'',1282,95.00,95.00,95.00,95.00,0,0,0,95.00,13775.00,0.00,0.00,0.00,0.00,95.00,0.00,95.00),
(227,'01283',116,134,1283,252.00,120.00,30240.00,0.00,'',1283,120.00,120.00,120.00,120.00,0,0,0,120.00,30240.00,0.00,0.00,0.00,0.00,120.00,120.00,120.00),
(228,'01212',117,146,1212,132.00,110.00,14520.00,0.00,'',1212,110.00,139.44,110.00,104.11,0,0,0,110.00,14520.00,0.00,0.00,0.00,0.00,110.00,168.89,110.00),
(229,'01085',118,8,1085,75.00,220.00,16500.00,0.00,'',1085,220.00,215.46,220.00,181.38,0,0,0,220.00,16500.00,0.00,0.00,0.00,0.00,220.00,207.56,220.00),
(230,'01250',119,150,1250,12.00,650.00,7800.00,0.00,'',1250,650.00,650.00,650.00,650.00,0,0,0,650.00,7800.00,0.00,0.00,0.00,0.00,650.00,0.00,650.00),
(231,'01251',119,150,1251,15.00,650.00,9750.00,0.00,'',1251,650.00,650.00,650.00,650.00,0,0,0,650.00,9750.00,0.00,0.00,0.00,0.00,650.00,0.00,650.00),
(232,'01252',119,150,1252,15.00,600.00,9000.00,0.00,'',1252,600.00,600.00,600.00,600.00,0,0,0,600.00,9000.00,0.00,0.00,0.00,0.00,600.00,0.00,600.00),
(233,'01247',119,150,1247,24.00,240.00,5760.00,0.00,'',1247,240.00,240.00,240.00,240.00,0,0,0,240.00,5760.00,0.00,0.00,0.00,0.00,240.00,240.00,240.00),
(234,'01248',119,150,1248,32.00,240.00,7680.00,0.00,'',1248,240.00,240.00,240.00,240.00,0,0,0,240.00,7680.00,0.00,0.00,0.00,0.00,240.00,240.00,240.00),
(235,'01249',119,150,1249,20.00,240.00,4800.00,0.00,'',1249,240.00,240.00,240.00,240.00,0,0,0,240.00,4800.00,0.00,0.00,0.00,0.00,240.00,240.00,240.00),
(236,'01443',120,164,1443,200.00,250.00,50000.00,0.00,'',1443,250.00,250.00,250.00,250.00,0,0,0,250.00,50000.00,0.00,0.00,0.00,0.00,250.00,0.00,250.00),
(237,'01444',120,164,1444,168.00,250.00,42000.00,0.00,'',1444,250.00,250.00,250.00,250.00,0,0,0,250.00,42000.00,0.00,0.00,0.00,0.00,250.00,0.00,250.00),
(238,'01445',120,164,1445,368.00,250.00,92000.00,0.00,'',1445,250.00,250.00,250.00,250.00,0,0,0,250.00,92000.00,0.00,0.00,0.00,0.00,250.00,250.00,250.00),
(239,'01446',120,164,1446,200.00,235.00,47000.00,0.00,'',1446,235.00,235.00,235.00,235.00,0,0,0,235.00,47000.00,0.00,0.00,0.00,0.00,235.00,235.00,235.00),
(240,'01340',121,17,1340,111.00,215.00,23865.00,0.00,'',1340,215.00,215.00,236.50,277.23,0,0,0,215.00,23865.00,0.00,0.00,0.00,0.00,215.00,215.00,236.50),
(241,'01024',121,17,1024,162.00,120.00,19440.00,0.00,'',1024,120.00,120.00,132.00,174.48,0,0,0,120.00,19440.00,0.00,0.00,0.00,0.00,120.00,120.00,132.00),
(242,'01024',122,17,1024,6.00,120.00,720.00,0.00,'',1024,120.00,120.00,120.00,168.75,0,0,0,120.00,720.00,0.00,0.00,0.00,0.00,120.00,120.00,120.00),
(243,'01119',123,134,1119,281.00,140.00,39340.00,0.00,'',1119,140.00,140.00,140.00,140.00,0,0,0,140.00,39340.00,0.00,0.00,0.00,0.00,140.00,140.00,140.00),
(244,'01282',123,134,1282,37.00,95.00,3515.00,0.00,'',1282,95.00,95.00,95.00,95.00,0,0,0,95.00,3515.00,0.00,0.00,0.00,0.00,95.00,95.00,95.00),
(245,'01071',124,131,1071,111.00,165.00,18315.00,0.00,'',1071,165.00,165.00,181.49,408.15,0,0,0,165.00,18315.00,0.00,0.00,0.00,0.00,165.00,165.00,181.49);

--
-- Table structure for table `returnsellbill`
--

CREATE TABLE `returnsellbill` (
  `returnsellbillid` int(11) NOT NULL AUTO_INCREMENT,
  `returnsellbilldate` datetime DEFAULT NULL,
  `returnsellbillserial` varchar(5000) DEFAULT NULL,
  `returnsellbillclientid` int(11) NOT NULL,
  `returnsellbilltotaldeptbefor` decimal(10,2) NOT NULL,
  `returnsellbilltotaldeptafter` decimal(10,2) NOT NULL,
  `returnsellbilldiscount` varchar(255) NOT NULL DEFAULT '',
  `returnsellbilldiscounttype` int(11) NOT NULL DEFAULT 1 COMMENT '1 for direct- 2 for percent',
  `returnsellbilltotalbill` decimal(10,2) NOT NULL,
  `returnsellbillaftertotalbill` decimal(10,2) NOT NULL,
  `returnsellbilltotalpayed` decimal(10,2) NOT NULL,
  `returnsellbillfinalbill` decimal(10,2) NOT NULL,
  `returnsellbillstoreid` int(11) NOT NULL,
  `returnsellbillsysdate` datetime NOT NULL,
  `comment` text NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `returnsellbillclientname` text NOT NULL,
  `returnsellbillsaveid` int(11) NOT NULL,
  `returnsellbildirectpayment` int(11) NOT NULL DEFAULT 0,
  `billnameid` int(11) NOT NULL,
  `sellerid` int(11) NOT NULL,
  `tempclientName` varchar(255) NOT NULL,
  `returnsellQuantity` decimal(10,2) NOT NULL,
  `deletedsellid` int(11) NOT NULL DEFAULT 0,
  `controlname` varchar(255) NOT NULL DEFAULT '0',
  `tax` decimal(10,2) NOT NULL DEFAULT 0.00,
  `carnumber` varchar(255) NOT NULL,
  `cartype` varchar(255) NOT NULL,
  `carchase` varchar(255) NOT NULL,
  `carmotor` varchar(255) NOT NULL,
  `costcenterid` int(11) DEFAULT NULL,
  `dailyentryid` varchar(100) NOT NULL DEFAULT '',
  `delbyuserid` int(11) NOT NULL DEFAULT 0,
  `lastReviewType` tinyint(4) NOT NULL DEFAULT 0,
  `lastReviewUser` int(11) DEFAULT NULL,
  `lastReviewDateTime` datetime DEFAULT NULL,
  `billReservation` tinyint(4) NOT NULL DEFAULT 0,
  `billReservationDate` date NOT NULL,
  `visaAccountId` int(11) NOT NULL DEFAULT 0,
  `cashPayed` decimal(10,2) NOT NULL,
  `visaPayed` decimal(10,2) NOT NULL,
  `isBankAccountTransfer` tinyint(4) NOT NULL DEFAULT 0,
  `extraDiscountPer` float NOT NULL DEFAULT 0,
  `extraDiscountVal` float NOT NULL DEFAULT 0,
  `taxOfDiscountPer` float NOT NULL DEFAULT 0,
  `taxOfDiscountVal` float NOT NULL DEFAULT 0,
  `autoSaveFlag` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0 completed in sellbillcontrol, 1 not completed still temp saved in ajax',
  `obgyBillType` tinyint(4) NOT NULL DEFAULT 0,
  `billoperationid` int(11) NOT NULL DEFAULT 0,
  `obygyVisitId` int(11) DEFAULT 0 COMMENT 'has id of refund visitid not main visit id we making refund on it',
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `currencyId` int(11) NOT NULL DEFAULT 1,
  `sellbillno` varchar(255) DEFAULT NULL,
  `returnsellbilltypeclientid` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`returnsellbillid`),
  KEY `returnsellbilldate` (`returnsellbilldate`),
  KEY `returnsellbillclientid` (`returnsellbillclientid`),
  KEY `obgyBillType` (`obgyBillType`),
  KEY `pricetype` (`pricetype`),
  KEY `returnsellbillstoreid` (`returnsellbillstoreid`),
  KEY `sellerid` (`sellerid`),
  KEY `userid` (`userid`),
  KEY `conditions` (`conditions`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `returnsellbill`
--

INSERT INTO `returnsellbill` VALUES
(1,'2026-05-04 11:58:12','069f85fa4c8af6',1,0.00,0.00,'0',1,1200.00,1200.00,-1200.00,0.00,1,'2026-05-04 12:02:53','',11,0,'نقدي',5,0,5,0,'نقدي',4.00,0,'0',0.00,'','','','',-1,'204,0,205',0,0,NULL,NULL,0,'0000-00-00',0,-1200.00,0.00,0,0,0,0,0,0,0,-1,0,0,1,'',0),
(2,'2026-05-04 12:46:31','069f86af77533c',1,0.00,0.00,'0',1,460.00,460.00,-460.00,0.00,1,'2026-05-04 12:47:00','',11,0,'نقدي',5,0,5,0,'نقدي',2.00,0,'0',0.00,'','','','',-1,'219,0,220',0,0,NULL,NULL,0,'0000-00-00',0,-460.00,0.00,0,0,0,0,0,0,0,-1,0,0,1,'',0),
(3,'2026-05-04 12:47:00','069f86b1445916',1,0.00,0.00,'0',1,150.00,150.00,-150.00,0.00,1,'2026-05-04 12:48:15','',11,0,'نقدي',5,0,5,0,'نقدي',1.00,0,'0',0.00,'','','','',-1,'221,0,222',0,0,NULL,NULL,0,'0000-00-00',0,-150.00,0.00,0,0,0,0,0,0,0,-1,0,0,1,'',0),
(4,'2026-05-04 13:19:09','069f8729d42a4f',1,0.00,0.00,'0',1,1725.00,1725.00,-1725.00,0.00,1,'2026-05-04 13:19:55','',11,0,'نقدي',5,0,5,0,'نقدي',15.00,0,'0',0.00,'','','','',-1,'238,0,239',0,0,NULL,NULL,0,'0000-00-00',0,-1725.00,0.00,0,0,0,0,0,0,0,-1,0,0,1,'',0);

--
-- Table structure for table `returnsellbillcurr`
--

CREATE TABLE `returnsellbillcurr` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `returnsellbillid` int(11) NOT NULL,
  `conversionFactor` float NOT NULL,
  `returnsellbilldiscountC` varchar(255) NOT NULL,
  `returnsellbilltotalbillC` decimal(10,2) NOT NULL,
  `returnsellbillaftertotalbillC` decimal(10,2) NOT NULL,
  `returnsellbilltotalpayedC` decimal(10,2) NOT NULL,
  `returnsellbillfinalbillC` decimal(10,2) NOT NULL,
  `returnsellbildirectpaymentC` int(11) NOT NULL,
  `taxC` decimal(10,2) NOT NULL,
  `cashPayedC` decimal(10,2) NOT NULL,
  `visaPayedC` decimal(10,2) NOT NULL,
  `extraDiscountValC` float NOT NULL,
  `taxOfDiscountValC` float NOT NULL,
  `saveConversionFactor` float NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `returnsellbillcurr`
--


--
-- Table structure for table `returnsellbilldetail`
--

CREATE TABLE `returnsellbilldetail` (
  `returnsellbilldetailid` int(11) NOT NULL AUTO_INCREMENT,
  `buyprice` decimal(10,2) NOT NULL,
  `parcode` varchar(256) NOT NULL DEFAULT '',
  `returnsellbillid` int(11) NOT NULL,
  `returnsellbilldetailcatid` int(11) NOT NULL,
  `returnsellbilldetailproductid` int(11) NOT NULL,
  `returnsellbilldetailquantity` decimal(10,2) NOT NULL,
  `returnsellbilldetailprice` decimal(10,2) NOT NULL,
  `returnsellbilldetailtotalprice` decimal(10,2) NOT NULL,
  `conditions` decimal(10,2) NOT NULL,
  `note` varchar(256) DEFAULT NULL,
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `discountvalue` decimal(10,2) NOT NULL,
  `productunitid` int(11) NOT NULL,
  `buydiscount` decimal(10,2) NOT NULL,
  `buydiscounttype` int(11) NOT NULL,
  `storeid` int(11) NOT NULL DEFAULT 0,
  `discounttype` decimal(10,2) NOT NULL DEFAULT 0.00 COMMENT 'discount percentage like 5%',
  `lastbuyprice` decimal(10,2) DEFAULT NULL,
  `meanbuyprice` decimal(10,2) DEFAULT NULL,
  `lastbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `meanbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `scunitqty` int(11) NOT NULL DEFAULT 0,
  `otherdetailquantity` int(11) NOT NULL DEFAULT 0,
  `sizeid` int(11) NOT NULL DEFAULT 0,
  `colorid` int(11) NOT NULL DEFAULT 0,
  `pricetypepro` tinyint(4) NOT NULL DEFAULT 0,
  `proHeight` float NOT NULL DEFAULT 0,
  `proWidth` float NOT NULL DEFAULT 0,
  `soldSerialsInDetails` text NOT NULL,
  `lastbuyprice_withTax` decimal(10,2) DEFAULT NULL,
  `meanbuyprice_withTax` decimal(10,2) DEFAULT NULL,
  `returnsellbilldetailpriceC` decimal(10,2) NOT NULL,
  `returnsellbilldetailtotalpriceC` decimal(10,2) NOT NULL,
  `discountvalueC` decimal(10,2) NOT NULL,
  `proSellTrackingSerial` varchar(50) NOT NULL DEFAULT '',
  `lastbuyprice_withDiscountAndTax` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`returnsellbilldetailid`),
  KEY `returnsellbillid` (`returnsellbillid`),
  KEY `returnsellbilldetailproductid` (`returnsellbilldetailproductid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `returnsellbilldetail`
--

INSERT INTO `returnsellbilldetail` VALUES
(1,280.00,'00127',1,29,127,4.00,300.00,1200.00,0.00,'',0,0.00,127,0.00,-1,1,0.00,280.00,280.00,280.00,280.00,0,0,0,0,0,1,1,'',280.00,280.00,300.00,1200.00,0.00,'',280.00),
(2,215.00,'00128',2,29,128,2.00,230.00,460.00,0.00,'',0,0.00,128,0.00,-1,1,0.00,215.00,215.00,215.00,215.00,0,0,0,0,0,1,1,'',215.00,215.00,230.00,460.00,0.00,'',215.00),
(3,135.00,'01470',3,1,124,1.00,150.00,150.00,0.00,'',0,0.00,124,0.00,-1,1,0.00,135.00,135.00,135.00,135.00,0,0,0,0,0,1,1,'',135.00,135.00,150.00,150.00,0.00,'',135.00),
(4,115.00,'01335',4,3,19,15.00,115.00,1725.00,0.00,'',0,0.00,19,0.00,-1,1,0.00,115.00,115.00,115.00,115.00,0,0,0,0,0,1,1,'',115.00,115.00,115.00,1725.00,0.00,'',115.00);

--
-- Table structure for table `returnsellbillreview`
--

CREATE TABLE `returnsellbillreview` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `billid` int(11) NOT NULL,
  `reviewType` tinyint(4) NOT NULL COMMENT '0 cancel review , 1 reviewed',
  `reviewComment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reviewuserid` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `del` tinyint(4) NOT NULL COMMENT '0 not del , 1 del',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `returnsellbillreview`
--


--
-- Table structure for table `richproperity`
--

CREATE TABLE `richproperity` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `parentid` int(11) NOT NULL,
  `url` varchar(255) NOT NULL,
  `defaultval` int(11) NOT NULL,
  `showit` int(11) NOT NULL,
  `displayorder` int(11) NOT NULL,
  `groupid` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `richproperity`
--


--
-- Table structure for table `salaryreport`
--

CREATE TABLE `salaryreport` (
  `salaryreportid` int(11) NOT NULL AUTO_INCREMENT,
  `employeeid` int(11) NOT NULL,
  `salaryreportdate` datetime NOT NULL,
  `userid` int(11) NOT NULL,
  `salaryreportsalary` decimal(10,2) NOT NULL,
  `salaryreportdiscount` decimal(10,2) DEFAULT NULL,
  `salaryreportbouns` decimal(10,2) DEFAULT NULL,
  `salaryreportwithdrawal` decimal(10,2) DEFAULT NULL,
  `salaryreportnet` decimal(10,2) NOT NULL,
  `salarymonthdate` varchar(255) NOT NULL,
  `salarymonth` varchar(255) NOT NULL,
  `Repayment` decimal(10,2) NOT NULL,
  `Absence` decimal(10,2) NOT NULL,
  `Reward` decimal(10,2) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0 COMMENT '1 for del 0 for notdel',
  `costcenterid` int(11) DEFAULT 0,
  `dailyentryid` int(11) NOT NULL DEFAULT 0,
  `saveid` int(11) NOT NULL DEFAULT 0,
  `permission` decimal(10,2) NOT NULL,
  `allLeave` decimal(10,2) NOT NULL,
  PRIMARY KEY (`salaryreportid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `salaryreport`
--


--
-- Table structure for table `save`
--

CREATE TABLE `save` (
  `saveid` int(11) NOT NULL AUTO_INCREMENT,
  `savename` varchar(256) NOT NULL,
  `savecurrentvalue` decimal(15,2) NOT NULL DEFAULT 0.00,
  `savedetails` text DEFAULT NULL,
  `savedate` datetime NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0 COMMENT '0 for not deleted- 1 for deleted',
  `userid` int(11) NOT NULL,
  `currencyId` int(11) NOT NULL DEFAULT 1,
  `sortby` int(11) NOT NULL DEFAULT 0,
  `treeId` int(11) NOT NULL DEFAULT 0,
  `saveTreeParentType` tinyint(4) NOT NULL DEFAULT 0,
  `inUse` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0 free - 1 in use means to stop changing debt till it is free again',
  `webApiId` int(11) NOT NULL DEFAULT 0,
  `savetypeid` int(11) DEFAULT NULL,
  PRIMARY KEY (`saveid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `save`
--

INSERT INTO `save` VALUES
(1,'الخزنة الرئيسية',0.00,'','2025-04-06 00:00:00',0,1,1,0,383,0,0,0,NULL),
(3,'خزنه ÙوداÙون كاش',0.00,'','2025-04-12 14:42:55',0,2,1,2,432,0,0,0,0),
(4,'خزنة جينز',0.00,'','2026-04-25 19:28:17',0,1,1,0,1050,0,0,0,0),
(5,'خزنة تيشرت',131575.00,'','2026-04-25 19:28:58',0,11,1,0,1051,0,0,0,0);

--
-- Table structure for table `saveclose`
--

CREATE TABLE `saveclose` (
  `savecloseid` int(11) NOT NULL AUTO_INCREMENT,
  `saveidfrom` int(11) NOT NULL,
  `saveidto` int(11) NOT NULL,
  `saveclosevalue` decimal(10,2) NOT NULL,
  `saveclosedate` date NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `dailyentryid` int(11) NOT NULL DEFAULT 0,
  `comment` varchar(255) DEFAULT NULL,
  `currencyId` int(11) NOT NULL,
  `conversionFactor` float NOT NULL,
  `conversionFactorFrom` float NOT NULL,
  `conversionFactorTo` float NOT NULL,
  `saveclosevalueInCurrency` decimal(10,2) NOT NULL,
  PRIMARY KEY (`savecloseid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `saveclose`
--


--
-- Table structure for table `savedaily`
--

CREATE TABLE `savedaily` (
  `savedailyid` int(11) NOT NULL AUTO_INCREMENT,
  `savedailysavebefore` decimal(15,2) NOT NULL,
  `savedailychangeamount` decimal(10,2) NOT NULL,
  `savedailychangetype` int(11) DEFAULT NULL COMMENT '0 for plus- 1 for minus',
  `saveid` int(11) NOT NULL,
  `processname` varchar(256) NOT NULL COMMENT 'name of the process',
  `savedailymodelid` int(11) NOT NULL COMMENT '0 => ',
  `savedailysaveafter` decimal(15,2) NOT NULL,
  `savedailydate` datetime NOT NULL,
  `userid` int(11) NOT NULL,
  `tablename` varchar(256) NOT NULL COMMENT 'table of this process',
  `clientid` int(11) DEFAULT 0,
  `note` text NOT NULL,
  `clientdebtchangeidfk` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`savedailyid`),
  KEY `saveid` (`saveid`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `savedaily`
--

INSERT INTO `savedaily` VALUES
(1,0.00,2940.00,0,5,'اضاÙة Ùاتورة مبيعات',1,2940.00,'2026-05-04 10:01:51',11,'sellbillController.php',2,'',0),
(2,2940.00,2700.00,0,5,'اضاÙة Ùاتورة مبيعات',2,5640.00,'2026-05-04 10:11:21',11,'sellbillController.php',1,'',0),
(3,5640.00,1200.00,0,5,'اضاÙة Ùاتورة مبيعات',3,6840.00,'2026-05-04 10:26:06',11,'sellbillController.php',1,'',0),
(4,6840.00,1350.00,0,5,'اضاÙة Ùاتورة مبيعات',4,8190.00,'2026-05-04 10:34:50',11,'sellbillController.php',1,'',0),
(5,8190.00,3600.00,0,5,'اضاÙة Ùاتورة مبيعات',5,11790.00,'2026-05-04 10:42:13',11,'sellbillController.php',1,'',0),
(6,11790.00,2385.00,0,5,'اضاÙة Ùاتورة مبيعات',6,14175.00,'2026-05-04 10:47:57',11,'sellbillController.php',3,'',0),
(7,14175.00,1500.00,0,5,'اضاÙة Ùاتورة مبيعات',7,15675.00,'2026-05-04 11:06:16',11,'sellbillController.php',4,'',0),
(8,15675.00,4000.00,0,5,'اضاÙة Ùاتورة مبيعات',8,19675.00,'2026-05-04 11:21:55',11,'sellbillController.php',5,'',0),
(9,19675.00,3280.00,0,5,'اضاÙة Ùاتورة مبيعات',9,22955.00,'2026-05-04 11:46:15',11,'sellbillController.php',1,'',0),
(10,22955.00,840.00,0,5,'اضاÙة Ùاتورة مبيعات',10,23795.00,'2026-05-04 11:46:47',11,'sellbillController.php',1,'',0),
(11,23795.00,5670.00,0,5,'اضاÙة Ùاتورة مبيعات',11,29465.00,'2026-05-04 11:54:12',11,'sellbillController.php',1,'',0),
(12,29465.00,-1200.00,1,5,'اضاÙة Ùاتورة مردوات مبيعات',1,28265.00,'2026-05-04 12:02:53',11,'returnsellbillController.php',1,'',0),
(13,28265.00,10500.00,0,5,'اضاÙة Ùاتورة مبيعات',12,38765.00,'2026-05-04 12:11:53',11,'sellbillController.php',6,'',0),
(14,38765.00,900.00,0,5,'اضاÙة Ùاتورة مبيعات',13,39665.00,'2026-05-04 12:15:28',11,'sellbillController.php',7,'',0),
(15,39665.00,1800.00,0,5,'اضاÙة Ùاتورة مبيعات',14,41465.00,'2026-05-04 12:18:50',11,'sellbillController.php',1,'',0),
(16,41465.00,1100.00,0,5,'اضاÙة Ùاتورة مبيعات',15,42565.00,'2026-05-04 12:30:29',11,'sellbillController.php',1,'',0),
(17,42565.00,1460.00,0,5,'اضاÙة Ùاتورة مبيعات',16,44025.00,'2026-05-04 12:35:44',11,'sellbillController.php',1,'',0),
(18,44025.00,-460.00,1,5,'اضاÙة Ùاتورة مردوات مبيعات',2,43565.00,'2026-05-04 12:47:00',11,'returnsellbillController.php',1,'',0),
(19,43565.00,-150.00,1,5,'اضاÙة Ùاتورة مردوات مبيعات',3,43415.00,'2026-05-04 12:48:15',11,'returnsellbillController.php',1,'',0),
(20,43415.00,2340.00,0,5,'اضاÙة Ùاتورة مبيعات',17,45755.00,'2026-05-04 12:50:49',11,'sellbillController.php',1,'',0),
(21,45755.00,2010.00,0,5,'اضاÙة Ùاتورة مبيعات',18,47765.00,'2026-05-04 12:51:41',11,'sellbillController.php',1,'',0),
(22,47765.00,600.00,0,5,'اضاÙة Ùاتورة مبيعات',19,48365.00,'2026-05-04 13:02:29',11,'sellbillController.php',1,'',0),
(23,48365.00,5280.00,0,5,'اضاÙة Ùاتورة مبيعات',20,53645.00,'2026-05-04 13:08:34',11,'sellbillController.php',1,'',0),
(24,53645.00,6510.00,0,5,'اضاÙة Ùاتورة مبيعات',21,60155.00,'2026-05-04 13:13:00',11,'sellbillController.php',8,'',0),
(25,60155.00,3345.00,0,5,'اضاÙة Ùاتورة مبيعات',22,63500.00,'2026-05-04 13:16:45',11,'sellbillController.php',9,'',0),
(26,63500.00,-1725.00,1,5,'اضاÙة Ùاتورة مردوات مبيعات',4,61775.00,'2026-05-04 13:19:55',11,'returnsellbillController.php',1,'',0),
(27,61775.00,1800.00,0,5,'اضاÙة Ùاتورة مبيعات',23,63575.00,'2026-05-04 13:21:04',11,'sellbillController.php',1,'',0),
(28,63575.00,2860.00,0,5,'اضاÙة Ùاتورة مبيعات',24,66435.00,'2026-05-04 14:29:25',11,'sellbillController.php',1,'',0),
(29,66435.00,2010.00,0,5,'اضاÙة Ùاتورة مبيعات',25,68445.00,'2026-05-04 14:38:46',11,'sellbillController.php',1,'',0),
(30,68445.00,3300.00,0,5,'اضاÙة Ùاتورة مبيعات',26,71745.00,'2026-05-04 15:08:07',11,'sellbillController.php',10,'',0),
(31,71745.00,3390.00,0,5,'اضاÙة Ùاتورة مبيعات',27,75135.00,'2026-05-04 15:10:58',11,'sellbillController.php',1,'',0),
(32,75135.00,2730.00,0,5,'اضاÙة Ùاتورة مبيعات',28,77865.00,'2026-05-04 15:40:55',11,'sellbillController.php',1,'',0),
(33,77865.00,960.00,0,5,'اضاÙة Ùاتورة مبيعات',29,78825.00,'2026-05-04 15:51:39',11,'sellbillController.php',1,'',0),
(34,78825.00,900.00,0,5,'اضاÙة Ùاتورة مبيعات',30,79725.00,'2026-05-04 16:37:37',11,'sellbillController.php',1,'',0),
(35,79725.00,1020.00,0,5,'اضاÙة Ùاتورة مبيعات',31,80745.00,'2026-05-04 16:39:45',11,'sellbillController.php',1,'',0),
(36,80745.00,14730.00,0,5,'اضاÙة Ùاتورة مبيعات',32,95475.00,'2026-05-04 16:42:10',11,'sellbillController.php',11,'',0),
(37,95475.00,1350.00,0,5,'اضاÙة Ùاتورة مبيعات',33,96825.00,'2026-05-04 17:19:21',11,'sellbillController.php',1,'',0),
(38,96825.00,3090.00,0,5,'اضاÙة Ùاتورة مبيعات',34,99915.00,'2026-05-04 18:41:07',11,'sellbillController.php',12,'',0),
(39,99915.00,1510.00,0,5,'اضاÙة Ùاتورة مبيعات',35,101425.00,'2026-05-04 19:12:09',11,'sellbillController.php',13,'',0),
(40,101425.00,30150.00,0,5,'اضاÙة Ùاتورة مبيعات',36,131575.00,'2026-05-04 19:34:17',11,'sellbillController.php',14,'',0);

--
-- Table structure for table `savestock`
--

CREATE TABLE `savestock` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `savestockdate` date DEFAULT NULL,
  `savestocktotal` double DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savestock`
--

INSERT INTO `savestock` VALUES
(1,'2026-05-01',0),
(2,'2026-05-02',0),
(3,'2026-05-03',0);

--
-- Table structure for table `savetype`
--

CREATE TABLE `savetype` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `adddate` datetime DEFAULT NULL,
  `adduserid` tinyint(1) unsigned DEFAULT NULL,
  `deldate` varchar(191) DEFAULT NULL,
  `deluserid` varchar(191) DEFAULT NULL,
  `name` varchar(191) DEFAULT NULL,
  `updatedate` datetime DEFAULT NULL,
  `updateuserid` tinyint(1) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savetype`
--


--
-- Table structure for table `searchfilters`
--

CREATE TABLE `searchfilters` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(256) NOT NULL,
  `name_en` varchar(255) DEFAULT NULL,
  `sysdate` date NOT NULL,
  `parentid` int(11) NOT NULL DEFAULT 0,
  `user_id` int(11) NOT NULL,
  `conditions` int(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `searchfilters`
--


--
-- Table structure for table `sellandruternbilldetail`
--

CREATE TABLE `sellandruternbilldetail` (
  `buyprice` decimal(10,2) NOT NULL,
  `parcode` varchar(256) NOT NULL DEFAULT '',
  `sellbilldetailid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbillid` int(11) NOT NULL,
  `sellbilldetailcatid` int(11) NOT NULL,
  `sellbilldetailproductid` int(11) NOT NULL,
  `sellbilldetailquantity` decimal(10,2) NOT NULL,
  `sellbilldetailprice` decimal(10,2) NOT NULL,
  `sellbilldetailtotalprice` decimal(10,2) NOT NULL,
  `discountvalue` decimal(10,2) NOT NULL,
  `note` varchar(256) DEFAULT NULL,
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `sellbilldetaildate` date NOT NULL,
  `selltype` int(11) NOT NULL COMMENT '0 for sell 1 for return',
  `productunitid` int(11) NOT NULL,
  `buydiscount` decimal(10,2) NOT NULL,
  `buydiscounttype` int(11) NOT NULL,
  `storeid` int(11) NOT NULL DEFAULT 0,
  `discounttype` decimal(10,2) NOT NULL DEFAULT 0.00 COMMENT 'discount percentage like 5%',
  `lastbuyprice` decimal(10,2) DEFAULT NULL,
  `meanbuyprice` decimal(10,2) DEFAULT NULL,
  `lastbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `meanbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `scunitqty` int(11) NOT NULL DEFAULT 0,
  `otherdetailquantity` int(11) NOT NULL DEFAULT 0,
  `sizeid` int(11) NOT NULL DEFAULT 0,
  `colorid` int(11) NOT NULL DEFAULT 0,
  `pricetypepro` tinyint(4) NOT NULL DEFAULT 0,
  `buyPricesHistoryBookIdQuantity` text NOT NULL,
  `proHeight` float NOT NULL DEFAULT 0,
  `proWidth` float NOT NULL DEFAULT 0,
  `soldSerialsInDetails` text NOT NULL,
  `lastbuyprice_withTax` decimal(10,2) DEFAULT NULL,
  `meanbuyprice_withTax` decimal(10,2) DEFAULT NULL,
  `sellbilldetailpriceC` decimal(10,2) NOT NULL,
  `sellbilldetailtotalpriceC` decimal(10,2) NOT NULL,
  `discountvalueC` decimal(10,2) NOT NULL,
  `proSellTrackingSerial` varchar(50) NOT NULL DEFAULT '',
  `categorydiscount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `lastbuyprice_withDiscountAndTax` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`sellbilldetailid`),
  KEY `sellbillid` (`sellbillid`),
  KEY `sellbilldetailproductid` (`sellbilldetailproductid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sellandruternbilldetail`
--


--
-- Table structure for table `sellbill`
--

CREATE TABLE `sellbill` (
  `sellbillid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbilldate` datetime DEFAULT NULL,
  `sellbillserial` varchar(255) DEFAULT NULL,
  `sellbillclientid` int(11) NOT NULL DEFAULT 0,
  `sellbilltotaldeptbefor` decimal(10,2) NOT NULL,
  `sellbilltotaldeptafter` decimal(10,2) NOT NULL,
  `sellbilldiscount` varchar(255) NOT NULL DEFAULT '',
  `sellbilldiscounttype` int(11) NOT NULL DEFAULT 0,
  `sellbilltotalbill` decimal(10,2) NOT NULL,
  `sellbillaftertotalbill` decimal(10,2) NOT NULL,
  `sellbilltotalpayed` decimal(10,2) NOT NULL,
  `sellbillfinalbill` decimal(10,2) NOT NULL,
  `sellbillstoreid` int(11) NOT NULL,
  `sellbillsysdate` datetime NOT NULL,
  `comment` text NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `sellbillclientname` text NOT NULL,
  `sellbillsaveid` int(11) NOT NULL,
  `sellbildirectpayment` int(11) NOT NULL,
  `billnameid` int(11) NOT NULL,
  `sellerid` int(11) NOT NULL,
  `tempclientName` varchar(255) NOT NULL,
  `sellQuantity` decimal(10,2) NOT NULL,
  `deletedsellid` int(11) NOT NULL,
  `controlname` varchar(255) NOT NULL,
  `tax` decimal(10,2) NOT NULL DEFAULT 0.00,
  `carnumber` varchar(255) NOT NULL,
  `cartype` varchar(255) NOT NULL,
  `carchase` varchar(255) NOT NULL,
  `carmotor` varchar(255) NOT NULL,
  `costcenterid` int(11) DEFAULT NULL,
  `localdonw` int(11) DEFAULT 0,
  `dailyentryid` varchar(100) NOT NULL DEFAULT '',
  `obygyVisitId` int(11) DEFAULT 0,
  `onlineOrderId` int(11) DEFAULT 0,
  `delbyuserid` int(11) NOT NULL DEFAULT 0,
  `lastReviewType` tinyint(4) NOT NULL DEFAULT 0,
  `lastReviewUser` int(11) DEFAULT NULL,
  `lastReviewDateTime` datetime DEFAULT NULL,
  `delivery` decimal(10,2) NOT NULL DEFAULT 0.00,
  `totalafterdelivery` decimal(10,2) NOT NULL DEFAULT 0.00,
  `billReservation` tinyint(4) NOT NULL DEFAULT 0,
  `billReservationDate` date NOT NULL,
  `webApiId` int(11) NOT NULL DEFAULT 0,
  `visaAccountId` int(11) NOT NULL DEFAULT 0,
  `cashPayed` decimal(10,2) NOT NULL,
  `visaPayed` decimal(10,2) NOT NULL,
  `isBankAccountTransfer` tinyint(4) NOT NULL DEFAULT 0,
  `extraDiscountPer` float NOT NULL DEFAULT 0,
  `extraDiscountVal` float NOT NULL DEFAULT 0,
  `taxOfDiscountPer` float NOT NULL DEFAULT 0,
  `taxOfDiscountVal` float NOT NULL DEFAULT 0,
  `shippingDate` date NOT NULL,
  `taxBillNumber` int(11) NOT NULL DEFAULT 0,
  `collectionType` tinyint(4) NOT NULL DEFAULT 0,
  `collectionDate` date NOT NULL,
  `qrerpid` varchar(255) NOT NULL,
  `qrerpids` text NOT NULL,
  `autoSaveFlag` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0 completed in sellbillcontrol, 1 not completed still temp saved in ajax',
  `ereason` text NOT NULL,
  `estatus` varchar(255) NOT NULL,
  `epdf` varchar(255) NOT NULL,
  `obgyBillType` tinyint(4) NOT NULL DEFAULT 0,
  `billoperationid` int(11) NOT NULL DEFAULT 0,
  `datestarting` date NOT NULL,
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `currencyId` int(11) NOT NULL DEFAULT 1,
  `knownwayId` int(11) DEFAULT NULL,
  `travelDriverId` int(11) DEFAULT NULL,
  `travelBusId` int(11) DEFAULT NULL,
  `travelPathId` int(11) DEFAULT NULL,
  `travelTripId` int(11) DEFAULT NULL,
  `travelTripTypeId` int(11) DEFAULT NULL,
  `travelTripDateId` int(11) DEFAULT NULL,
  `totalprodiscount` varchar(255) NOT NULL DEFAULT '',
  `manage_ex` varchar(255) NOT NULL DEFAULT '',
  `med_hallmark` varchar(255) NOT NULL DEFAULT '',
  `pay_rec_no` varchar(255) NOT NULL DEFAULT '',
  `pay_rec_val` varchar(255) NOT NULL DEFAULT '',
  `decisionNo` varchar(255) NOT NULL DEFAULT '',
  `decisionValue` varchar(255) NOT NULL DEFAULT '',
  `sellToSupplier` int(11) NOT NULL DEFAULT 0,
  `supplierbuybillid` int(11) NOT NULL DEFAULT 0,
  `sellbilltypeclientid` int(11) NOT NULL DEFAULT 0,
  `shipfrom` int(11) NOT NULL DEFAULT 0,
  `shipto` int(11) NOT NULL DEFAULT 0,
  `paymethodshipping` tinyint(4) NOT NULL DEFAULT 0,
  `incomeId` int(11) NOT NULL DEFAULT 0 COMMENT 'we save service value of laterNakdiPayment as income',
  `whatShippingCost` tinyint(4) NOT NULL DEFAULT 0,
  PRIMARY KEY (`sellbillid`),
  KEY `sellbilldate` (`sellbilldate`),
  KEY `sellbillclientid` (`sellbillclientid`),
  KEY `obgyBillType` (`obgyBillType`),
  KEY `sellbillstoreid` (`sellbillstoreid`),
  KEY `pricetype` (`pricetype`),
  KEY `sellerid` (`sellerid`),
  KEY `userid` (`userid`),
  KEY `conditions` (`conditions`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sellbill`
--

INSERT INTO `sellbill` VALUES
(1,'2026-05-04 09:56:23','069f84317b5701',2,0.00,0.00,'0',1,2940.00,2940.00,2940.00,0.00,1,'2026-05-04 10:01:51','',11,0,'خالد عبد الوهاب',5,1,3,7,'خالد عبد الوهاب',21.00,0,'',0.00,'','','','',-1,0,'176,177,178',0,0,0,0,NULL,NULL,0.00,2940.00,0,'0000-00-00',0,1,2940.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(2,'2026-05-04 10:01:51','069f8445f67cc8',1,0.00,0.00,'0',1,2700.00,2700.00,2700.00,0.00,1,'2026-05-04 10:11:21','',11,0,'نقدي',5,0,3,7,'نقدي',27.00,0,'',0.00,'','','','',-1,0,'179,0,180',0,0,0,0,NULL,NULL,0.00,2700.00,0,'0000-00-00',0,1,2700.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(3,'2026-05-04 10:24:09','069f8499910aa3',1,0.00,0.00,'0',1,1200.00,1200.00,1200.00,0.00,1,'2026-05-04 10:26:06','',11,0,'نقدي',5,0,3,7,'نقدي',20.00,0,'',0.00,'','','','',-1,0,'182,0,183',0,0,0,0,NULL,NULL,0.00,1200.00,0,'0000-00-00',0,1,1200.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(4,'2026-05-04 10:26:06','069f84a0ed0222',1,0.00,0.00,'0',1,1350.00,1350.00,1350.00,0.00,1,'2026-05-04 10:34:50','',11,0,'نقدي',5,0,3,7,'نقدي',9.00,0,'',0.00,'','','','',-1,0,'184,0,185',0,0,0,0,NULL,NULL,0.00,1350.00,0,'0000-00-00',0,1,1350.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(5,'2026-05-04 10:34:50','069f84c1a852a3',1,0.00,0.00,'0',1,3600.00,3600.00,3600.00,0.00,1,'2026-05-04 10:42:13','',11,0,'نقدي',5,0,3,7,'نقدي',16.00,0,'',0.00,'','','','',-1,0,'186,0,187',0,0,0,0,NULL,NULL,0.00,3600.00,0,'0000-00-00',0,1,3600.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(6,'2026-05-04 10:42:13','069f84dd54e70d',3,0.00,0.00,'0',1,2385.00,2385.00,2385.00,0.00,1,'2026-05-04 10:47:57','',11,0,'احمد ',5,1,3,7,'احمد ',9.00,0,'',0.00,'','','','',-1,0,'188,189,190',0,0,0,0,NULL,NULL,0.00,2385.00,0,'0000-00-00',0,1,2385.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(7,'2026-05-04 10:47:57','069f84f2d582c2',4,0.00,0.00,'0',1,1500.00,1500.00,1500.00,0.00,1,'2026-05-04 11:06:16','',11,0,'وليد سعيد',5,1,3,7,'وليد سعيد',12.00,0,'',0.00,'','','','',-1,0,'192,193,194',0,0,0,0,NULL,NULL,0.00,1500.00,0,'0000-00-00',0,1,1500.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(8,'2026-05-04 11:06:16','069f8537896a3e',5,0.00,0.00,'0',1,4000.00,4000.00,4000.00,0.00,1,'2026-05-04 11:21:55','',11,0,'اسامه محمد',5,1,3,7,'اسامه محمد',36.00,0,'',0.00,'','','','',-1,0,'195,196,197',0,0,0,0,NULL,NULL,0.00,4000.00,0,'0000-00-00',0,1,4000.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(9,'2026-05-04 11:21:56','069f8572425aae',1,0.00,0.00,'0',1,3280.00,3280.00,3280.00,0.00,1,'2026-05-04 11:46:15','',11,0,'نقدي',5,0,3,0,'نقدي',8.00,0,'',0.00,'','','','',-1,0,'198,0,199',0,0,0,0,NULL,NULL,0.00,3280.00,0,'0000-00-00',0,1,3280.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(10,'2026-05-04 11:46:15','069f85cd7482ae',1,0.00,0.00,'0',1,840.00,840.00,840.00,0.00,1,'2026-05-04 11:46:47','',11,0,'نقدي',5,0,3,0,'نقدي',6.00,0,'',0.00,'','','','',-1,0,'200,0,201',0,0,0,0,NULL,NULL,0.00,840.00,0,'0000-00-00',0,1,840.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(11,'2026-05-04 11:46:47','069f85cf7c5462',1,0.00,0.00,'0',1,5670.00,5670.00,5670.00,0.00,1,'2026-05-04 11:54:11','',11,0,'نقدي',5,0,3,0,'نقدي',26.00,0,'',0.00,'','','','',-1,0,'202,0,203',0,0,0,0,NULL,NULL,0.00,5670.00,0,'0000-00-00',0,1,5670.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(12,'2026-05-04 12:04:32','069f861203c75d',6,0.00,0.00,'0',1,10500.00,10500.00,10500.00,0.00,1,'2026-05-04 12:11:53','',11,0,'ابو ورد',5,1,3,7,'ابو ورد',105.00,0,'',0.00,'','','','',-1,0,'206,207,208',0,0,0,0,NULL,NULL,0.00,10500.00,0,'0000-00-00',0,1,10500.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(13,'2026-05-04 12:11:54','069f862da061e2',7,0.00,0.00,'0',1,900.00,900.00,900.00,0.00,1,'2026-05-04 12:15:28','',11,0,'محمد مصطÙي',5,1,3,7,'محمد مصطÙي',6.00,0,'',0.00,'','','','',-1,0,'209,210,211',0,0,0,0,NULL,NULL,0.00,900.00,0,'0000-00-00',0,1,900.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(14,'2026-05-04 12:15:28','069f863b04322c',1,0.00,0.00,'0',1,1800.00,1800.00,1800.00,0.00,1,'2026-05-04 12:18:50','',11,0,'نقدي',5,0,3,4,'نقدي',15.00,0,'',0.00,'','','','',-1,0,'213,0,214',0,0,0,0,NULL,NULL,0.00,1800.00,0,'0000-00-00',0,1,1800.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(15,'2026-05-04 12:18:50','069f8647a869e7',1,0.00,0.00,'0',1,1100.00,1100.00,1100.00,0.00,1,'2026-05-04 12:30:29','',11,0,'نقدي',5,0,3,7,'نقدي',11.00,0,'',0.00,'','','','',-1,0,'215,0,216',0,0,0,0,NULL,NULL,0.00,1100.00,0,'0000-00-00',0,1,1100.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(16,'2026-05-04 12:30:29','069f867356c5ae',1,0.00,0.00,'0',1,1460.00,1460.00,1460.00,0.00,1,'2026-05-04 12:35:44','',11,0,'نقدي',5,0,3,7,'نقدي',7.00,0,'',0.00,'','','','',-1,0,'217,0,218',0,0,0,0,NULL,NULL,0.00,1460.00,0,'0000-00-00',0,1,1460.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(17,'2026-05-04 12:48:19','069f86b637a99b',1,0.00,0.00,'0',1,2340.00,2340.00,2340.00,0.00,1,'2026-05-04 12:50:49','',11,0,'نقدي',5,0,3,0,'نقدي',11.00,0,'',0.00,'','','','',-1,0,'223,0,224',0,0,0,0,NULL,NULL,0.00,2340.00,0,'0000-00-00',0,1,2340.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(18,'2026-05-04 12:50:49','069f86bf93a9bb',1,0.00,0.00,'0',1,2010.00,2010.00,2010.00,0.00,1,'2026-05-04 12:51:41','',11,0,'نقدي',5,0,3,0,'نقدي',6.00,0,'',0.00,'','','','',-1,0,'225,0,226',0,0,0,0,NULL,NULL,0.00,2010.00,0,'0000-00-00',0,1,2010.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(19,'2026-05-04 12:54:28','069f86cd470cf5',1,0.00,0.00,'0',1,600.00,600.00,600.00,0.00,1,'2026-05-04 13:02:29','',11,0,'نقدي',5,0,3,7,'نقدي',6.00,0,'',0.00,'','','','',-1,0,'227,0,228',0,0,0,0,NULL,NULL,0.00,600.00,0,'0000-00-00',0,1,600.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(20,'2026-05-04 13:02:29','069f86eb56d106',1,0.00,0.00,'0',1,5280.00,5280.00,5280.00,0.00,1,'2026-05-04 13:08:34','',11,0,'نقدي',5,0,3,7,'نقدي',24.00,0,'',0.00,'','','','',-1,0,'229,0,230',0,0,0,0,NULL,NULL,0.00,5280.00,0,'0000-00-00',0,1,5280.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(21,'2026-05-04 13:08:34','069f870227f418',8,0.00,0.00,'0',1,6510.00,6510.00,6510.00,0.00,1,'2026-05-04 13:13:00','',11,0,' ابو عمر',5,1,3,7,' ابو عمر',36.00,0,'',0.00,'','','','',-1,0,'232,233,234',0,0,0,0,NULL,NULL,0.00,6510.00,0,'0000-00-00',0,1,6510.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(22,'2026-05-04 12:58:26','069f86dc2b7d4e',9,0.00,0.00,'0',1,3345.00,3345.00,3345.00,0.00,1,'2026-05-04 13:16:45','',11,0,'مصطÙي شيبيني',5,1,3,7,'مصطÙي شيبيني',27.00,0,'',0.00,'','','','',-1,0,'235,236,237',0,0,0,0,NULL,NULL,0.00,3345.00,0,'0000-00-00',0,1,3345.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(23,'2026-05-04 13:20:48','069f8730055241',1,0.00,0.00,'0',1,1800.00,1800.00,1800.00,0.00,1,'2026-05-04 13:21:04','',11,0,'نقدي',5,0,3,7,'نقدي',15.00,0,'',0.00,'','','','',-1,0,'240,0,241',0,0,0,0,NULL,NULL,0.00,1800.00,0,'0000-00-00',0,1,1800.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(24,'2026-05-04 13:13:00','069f8712c969c2',1,0.00,0.00,'0',1,2860.00,2860.00,2860.00,0.00,1,'2026-05-04 14:29:25','',11,0,'نقدي',5,0,3,7,'نقدي',11.00,0,'',0.00,'','','','',-1,0,'242,0,243',0,0,0,0,NULL,NULL,0.00,2860.00,0,'0000-00-00',0,1,2860.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(25,'2026-05-04 14:30:21','069f8834d75f33',1,0.00,0.00,'0',1,2010.00,2010.00,2010.00,0.00,1,'2026-05-04 14:38:46','',11,0,'نقدي',5,0,3,7,'نقدي',13.00,0,'',0.00,'','','','',-1,0,'244,0,245',0,0,0,0,NULL,NULL,0.00,2010.00,0,'0000-00-00',0,1,2010.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(26,'2026-05-04 15:05:10','069f88b765976c',10,0.00,0.00,'0',1,3300.00,3300.00,3300.00,0.00,1,'2026-05-04 15:08:07','',11,0,'ابو يوسÙ',5,1,3,7,'ابو يوسÙ',24.00,0,'',0.00,'','','','',-1,0,'246,247,248',0,0,0,0,NULL,NULL,0.00,3300.00,0,'0000-00-00',0,1,3300.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(27,'2026-05-04 15:08:33','069f88c4189cb8',1,0.00,0.00,'0',1,3390.00,3390.00,3390.00,0.00,1,'2026-05-04 15:10:58','',11,0,'نقدي',5,0,3,7,'نقدي',12.00,0,'',0.00,'','','','',-1,0,'249,0,250',0,0,0,0,NULL,NULL,0.00,3390.00,0,'0000-00-00',0,1,3390.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(28,'2026-05-04 15:10:58','069f88cd2b450c',1,0.00,0.00,'0',1,2730.00,2730.00,2730.00,0.00,1,'2026-05-04 15:40:55','',11,0,'نقدي',5,0,3,7,'نقدي',30.00,0,'',0.00,'','','','',-1,0,'251,0,252',0,0,0,0,NULL,NULL,0.00,2730.00,0,'0000-00-00',0,1,2730.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(29,'2026-05-04 15:40:55','069f893d7c0082',1,0.00,0.00,'0',1,960.00,960.00,960.00,0.00,1,'2026-05-04 15:51:39','',11,0,'نقدي',5,0,3,0,'نقدي',3.00,0,'',0.00,'','','','',-1,0,'253,0,254',0,0,0,0,NULL,NULL,0.00,960.00,0,'0000-00-00',0,1,960.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(30,'2026-05-04 16:36:11','069f8a0cb430b8',1,0.00,0.00,'0',1,900.00,900.00,900.00,0.00,1,'2026-05-04 16:37:37','',11,0,'نقدي',5,0,3,7,'نقدي',3.00,0,'',0.00,'','','','',-1,0,'255,0,256',0,0,0,0,NULL,NULL,0.00,900.00,0,'0000-00-00',0,1,900.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(31,'2026-05-04 16:34:50','069f8a07abcc7b',1,0.00,0.00,'0',1,1020.00,1020.00,1020.00,0.00,1,'2026-05-04 16:39:45','',11,0,'نقدي',5,0,3,0,'نقدي',3.00,0,'',0.00,'','','','',-1,0,'257,0,258',0,0,0,0,NULL,NULL,0.00,1020.00,0,'0000-00-00',0,1,1020.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(32,'2026-05-04 15:51:39','069f8965b82b8d',11,0.00,0.00,'0',1,14730.00,14730.00,14730.00,0.00,1,'2026-05-04 16:42:10','',11,0,'عز',5,1,3,7,'عز',62.00,0,'',0.00,'','','','',-1,0,'259,260,261',0,0,0,0,NULL,NULL,0.00,14730.00,0,'0000-00-00',0,1,14730.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(33,'2026-05-04 16:42:10','069f8a232be486',1,0.00,0.00,'0',1,1350.00,1350.00,1350.00,0.00,1,'2026-05-04 17:19:21','',11,0,'نقدي',5,0,3,7,'نقدي',9.00,0,'',0.00,'','','','',-1,0,'262,0,263',0,0,0,0,NULL,NULL,0.00,1350.00,0,'0000-00-00',0,1,1350.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(34,'2026-05-04 16:39:45','069f8a1a150346',12,0.00,0.00,'0',1,3090.00,3090.00,3090.00,0.00,1,'2026-05-04 18:41:07','',11,0,'احمد ابراهيم',5,1,3,7,'احمد ابراهيم',12.00,0,'',0.00,'','','','',-1,0,'264,265,266',0,0,0,0,NULL,NULL,0.00,3090.00,0,'0000-00-00',0,1,3090.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(35,'2026-05-04 19:08:11','069f8c46be7bf3',13,0.00,0.00,'0',1,1510.00,1510.00,1510.00,0.00,1,'2026-05-04 19:12:09','',11,0,'عبدالله',5,1,3,7,'عبدالله',14.00,0,'',0.00,'','','','',-1,0,'268,269,270',0,0,0,0,NULL,NULL,0.00,1510.00,0,'0000-00-00',0,1,1510.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0),
(36,'2026-05-04 17:19:21','069f8aae9ac2ff',14,0.00,0.00,'0',1,30150.00,30150.00,30150.00,0.00,1,'2026-05-04 19:34:17','',11,0,'ابو بكر',5,1,3,5,'ابو بكر',109.00,0,'',0.00,'','','','',-1,0,'271,272,273',0,0,0,0,NULL,NULL,0.00,30150.00,0,'0000-00-00',0,1,30150.00,0.00,0,0,0,0,0,'0000-00-00',0,0,'0000-00-00','','',0,'','0','',0,-1,'2026-05-04',0,1,0,0,0,0,0,0,0,'0','0','0','0','0','0','0',0,0,0,0,0,0,0,0);

--
-- Table structure for table `sellbillandreturnreview`
--

CREATE TABLE `sellbillandreturnreview` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `billid` int(11) NOT NULL,
  `reviewType` tinyint(4) NOT NULL COMMENT '0 cancel review , 1 reviewed',
  `reviewuserid` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `del` tinyint(4) NOT NULL COMMENT '0 not del , 1 del',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sellbillandreturnreview`
--


--
-- Table structure for table `sellbillandrutern`
--

CREATE TABLE `sellbillandrutern` (
  `sellbillid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbilldate` datetime DEFAULT NULL,
  `sellbillserial` varchar(255) DEFAULT NULL,
  `sellbillclientid` int(11) NOT NULL DEFAULT 0,
  `sellbilltotaldeptbefor` decimal(10,2) NOT NULL,
  `sellbilltotaldeptafter` decimal(10,2) NOT NULL,
  `sellbilldiscount` varchar(255) NOT NULL DEFAULT '',
  `sellbilldiscounttype` int(11) NOT NULL DEFAULT 0,
  `sellbilltotalbill` decimal(10,2) NOT NULL,
  `sellbillaftertotalbill` decimal(10,2) NOT NULL,
  `sellbilltotalpayed` decimal(10,2) NOT NULL,
  `sellbillfinalbill` decimal(10,2) NOT NULL,
  `sellbillstoreid` int(11) NOT NULL,
  `sellbillsysdate` datetime NOT NULL,
  `comment` text NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `sellbillclientname` text NOT NULL,
  `sellbillsaveid` int(11) NOT NULL,
  `sellbildirectpayment` int(11) NOT NULL,
  `billnameid` int(11) NOT NULL,
  `sellerid` int(11) NOT NULL,
  `sellbillprice` decimal(10,2) NOT NULL,
  `returnsellbillprice` decimal(10,2) NOT NULL,
  `tempclientName` varchar(255) NOT NULL,
  `sellQuantity` decimal(10,2) NOT NULL,
  `returnsellQuantity` decimal(10,2) NOT NULL,
  `deletedsellid` int(11) NOT NULL,
  `controlname` varchar(255) NOT NULL,
  `tax` decimal(10,2) NOT NULL DEFAULT 0.00,
  `carnumber` varchar(255) NOT NULL,
  `cartype` varchar(255) NOT NULL,
  `carchase` varchar(255) NOT NULL,
  `carmotor` varchar(255) NOT NULL,
  `costcenterid` int(11) DEFAULT NULL,
  `dailyentryid` varchar(100) NOT NULL DEFAULT '',
  `delbyuserid` int(11) NOT NULL DEFAULT 0,
  `billReservation` tinyint(4) NOT NULL DEFAULT 0,
  `billReservationDate` date NOT NULL,
  `visaAccountId` int(11) NOT NULL DEFAULT 0,
  `cashPayed` decimal(10,2) NOT NULL,
  `visaPayed` decimal(10,2) NOT NULL,
  `isBankAccountTransfer` tinyint(4) NOT NULL DEFAULT 0,
  `extraDiscountPer` float NOT NULL DEFAULT 0,
  `extraDiscountVal` float NOT NULL DEFAULT 0,
  `taxOfDiscountPer` float NOT NULL DEFAULT 0,
  `taxOfDiscountVal` float NOT NULL DEFAULT 0,
  `autoSaveFlag` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0 completed in sellbillcontrol, 1 not completed still temp saved in ajax',
  `obgyBillType` tinyint(4) NOT NULL DEFAULT 0,
  `billoperationid` int(11) NOT NULL DEFAULT 0,
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `currencyId` int(11) NOT NULL DEFAULT 1,
  `totalprodiscount` varchar(255) NOT NULL DEFAULT '',
  `sellbillno` varchar(255) DEFAULT NULL,
  `manage_ex` varchar(255) NOT NULL DEFAULT '',
  `med_hallmark` varchar(255) NOT NULL DEFAULT '',
  `pay_rec_no` varchar(255) NOT NULL DEFAULT '',
  `pay_rec_val` varchar(255) NOT NULL DEFAULT '',
  `decisionNo` varchar(255) NOT NULL DEFAULT '',
  `decisionValue` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`sellbillid`),
  KEY `sellbilldate` (`sellbilldate`),
  KEY `sellbillclientid` (`sellbillclientid`),
  KEY `obgyBillType` (`obgyBillType`),
  KEY `pricetype` (`pricetype`),
  KEY `sellbillstoreid` (`sellbillstoreid`),
  KEY `sellerid` (`sellerid`),
  KEY `userid` (`userid`),
  KEY `conditions` (`conditions`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sellbillandrutern`
--


--
-- Table structure for table `sellbillandruterncurr`
--

CREATE TABLE `sellbillandruterncurr` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sellbillid` int(11) NOT NULL,
  `conversionFactor` float NOT NULL,
  `sellbilldiscountC` varchar(255) NOT NULL,
  `sellbilltotalbillC` decimal(10,2) NOT NULL,
  `sellbillaftertotalbillC` decimal(10,2) NOT NULL,
  `sellbilltotalpayedC` decimal(10,2) NOT NULL,
  `sellbillfinalbillC` decimal(10,2) NOT NULL,
  `sellbildirectpaymentC` int(11) NOT NULL,
  `sellbillpriceC` decimal(10,2) NOT NULL,
  `returnsellbillpriceC` decimal(10,2) NOT NULL,
  `taxC` decimal(10,2) NOT NULL,
  `cashPayedC` decimal(10,2) NOT NULL,
  `visaPayedC` decimal(10,2) NOT NULL,
  `extraDiscountValC` float NOT NULL,
  `taxOfDiscountValC` float NOT NULL,
  `saveConversionFactor` float NOT NULL,
  `totalprodiscountC` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sellbillandruterncurr`
--


--
-- Table structure for table `sellbillcurr`
--

CREATE TABLE `sellbillcurr` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sellbillid` int(11) NOT NULL,
  `conversionFactor` float NOT NULL,
  `sellbilldiscountC` varchar(255) NOT NULL,
  `sellbilltotalbillC` decimal(10,2) NOT NULL,
  `sellbillaftertotalbillC` decimal(10,2) NOT NULL,
  `sellbilltotalpayedC` decimal(10,2) NOT NULL,
  `sellbillfinalbillC` decimal(10,2) NOT NULL,
  `sellbildirectpaymentC` int(11) NOT NULL,
  `taxC` decimal(10,2) NOT NULL,
  `deliveryC` decimal(10,2) NOT NULL,
  `totalafterdeliveryC` decimal(10,2) NOT NULL,
  `cashPayedC` decimal(10,2) NOT NULL,
  `visaPayedC` decimal(10,2) NOT NULL,
  `extraDiscountValC` float NOT NULL,
  `taxOfDiscountValC` float NOT NULL,
  `saveConversionFactor` float NOT NULL DEFAULT 1,
  `totalprodiscountC` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sellbillcurr`
--


--
-- Table structure for table `sellbilldetail`
--

CREATE TABLE `sellbilldetail` (
  `buyprice` decimal(10,2) NOT NULL,
  `parcode` varchar(256) NOT NULL DEFAULT '',
  `sellbilldetailid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbillid` int(11) NOT NULL,
  `sellbilldetailcatid` int(11) NOT NULL,
  `sellbilldetailproductid` int(11) NOT NULL,
  `sellbilldetailquantity` decimal(10,2) NOT NULL,
  `sellbilldetailprice` decimal(10,2) NOT NULL,
  `sellbilldetailtotalprice` decimal(10,2) NOT NULL,
  `discountvalue` decimal(10,2) NOT NULL,
  `note` varchar(256) DEFAULT NULL,
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `sellbilldetaildate` date NOT NULL,
  `productunitid` int(11) NOT NULL,
  `buydiscount` decimal(10,2) NOT NULL,
  `buydiscounttype` int(11) NOT NULL,
  `storeid` int(11) NOT NULL DEFAULT 0,
  `discounttype` decimal(10,2) NOT NULL DEFAULT 0.00 COMMENT 'discount percentage like 5%',
  `localdonw` int(11) DEFAULT 0,
  `lastbuyprice` decimal(10,2) DEFAULT NULL,
  `meanbuyprice` decimal(10,2) DEFAULT NULL,
  `lastbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `meanbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `scunitqty` int(11) NOT NULL DEFAULT 0,
  `otherdetailquantity` int(11) NOT NULL DEFAULT 0,
  `sizeid` int(11) NOT NULL DEFAULT 0,
  `colorid` int(11) NOT NULL DEFAULT 0,
  `onlineOrderId` int(11) NOT NULL DEFAULT 0,
  `pricetypepro` tinyint(4) NOT NULL DEFAULT 0,
  `playstationPlayId` int(11) NOT NULL DEFAULT 0 COMMENT 'it is restaurantplaystationplay id',
  `soldSerialsInDetails` text NOT NULL,
  `buyPricesHistoryBookIdQuantity` text NOT NULL,
  `proHeight` float NOT NULL DEFAULT 0,
  `proWidth` float NOT NULL DEFAULT 0,
  `lastbuyprice_withTax` decimal(10,2) DEFAULT NULL,
  `meanbuyprice_withTax` decimal(10,2) DEFAULT NULL,
  `sellbilldetailpriceC` decimal(10,2) NOT NULL,
  `sellbilldetailtotalpriceC` decimal(10,2) NOT NULL,
  `discountvalueC` decimal(10,2) NOT NULL,
  `proSellTrackingSerial` varchar(50) NOT NULL DEFAULT '',
  `travelBrokerId` int(11) NOT NULL DEFAULT 0,
  `categorydiscount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `lastbuyprice_withDiscountAndTax` decimal(10,2) DEFAULT NULL,
  `prosellDiscountPer` float NOT NULL DEFAULT 0,
  `prosellDiscountPerType` tinyint(4) NOT NULL DEFAULT 0,
  `prosellDiscountVal` float NOT NULL DEFAULT 0,
  PRIMARY KEY (`sellbilldetailid`),
  KEY `sellbillid` (`sellbillid`),
  KEY `sellbilldetailproductid` (`sellbilldetailproductid`)
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sellbilldetail`
--

INSERT INTO `sellbilldetail` VALUES
(140.00,'01172',1,1,37,159,21.00,140.00,2940.00,0.00,'',0,'2026-05-04',159,0.00,-1,1,0.00,0,140.00,140.00,140.00,140.00,0,0,0,0,0,0,0,'','',1,1,140.00,140.00,140.00,2940.00,0.00,'',0,0.00,140.00,0,0,0),
(94.00,'00044',2,2,6,44,12.00,100.00,1200.00,0.00,'',0,'2026-05-04',44,0.00,-1,1,0.00,0,94.00,94.00,94.00,94.00,0,0,0,0,0,0,0,'','',1,1,94.00,94.00,100.00,1200.00,0.00,'',0,0.00,94.00,0,0,0),
(90.00,'00101',3,2,23,101,15.00,100.00,1500.00,0.00,'',0,'2026-05-04',101,0.00,-1,1,0.00,0,90.00,90.00,90.00,90.00,0,0,0,0,0,0,0,'','',1,1,90.00,90.00,100.00,1500.00,0.00,'',0,0.00,90.00,0,0,0),
(55.00,'00165',4,3,10,165,20.00,60.00,1200.00,0.00,'',0,'2026-05-04',165,0.00,-1,1,0.00,0,55.00,55.00,55.00,55.00,0,0,0,0,0,0,0,'','',1,1,55.00,55.00,60.00,1200.00,0.00,'',0,0.00,55.00,0,0,0),
(135.00,'01470',5,4,1,124,9.00,150.00,1350.00,0.00,'',0,'2026-05-04',124,0.00,-1,1,0.00,0,135.00,135.00,135.00,135.00,0,0,0,0,0,0,0,'','',1,1,135.00,135.00,150.00,1350.00,0.00,'',0,0.00,135.00,0,0,0),
(210.00,'00140',6,5,32,140,8.00,230.00,1840.00,0.00,'',0,'2026-05-04',140,0.00,-1,1,0.00,0,210.00,210.00,210.00,210.00,0,0,0,0,0,0,0,'','',1,1,210.00,210.00,230.00,1840.00,0.00,'',0,0.00,210.00,0,0,0),
(200.00,'00126',7,5,29,126,8.00,220.00,1760.00,0.00,'',0,'2026-05-04',126,0.00,-1,1,0.00,0,200.00,200.00,200.00,200.00,0,0,0,0,0,0,0,'','',1,1,200.00,200.00,220.00,1760.00,0.00,'',0,0.00,200.00,0,0,0),
(180.00,'01311',8,6,10,64,3.00,195.00,585.00,0.00,'',0,'2026-05-04',64,0.00,-1,1,0.00,0,180.00,180.00,180.00,180.00,0,0,0,0,0,0,0,'','',1,1,180.00,180.00,195.00,585.00,0.00,'',0,0.00,180.00,0,0,0),
(300.00,'01478',9,6,33,145,3.00,320.00,960.00,0.00,'',0,'2026-05-04',145,0.00,-1,1,0.00,0,300.00,300.00,300.00,300.00,0,0,0,0,0,0,0,'','',1,1,300.00,300.00,320.00,960.00,0.00,'',0,0.00,300.00,0,0,0),
(260.00,'01480 ',10,6,33,142,3.00,280.00,840.00,0.00,'',0,'2026-05-04',142,0.00,-1,1,0.00,0,260.00,260.00,260.00,260.00,0,0,0,0,0,0,0,'','',1,1,260.00,260.00,280.00,840.00,0.00,'',0,0.00,260.00,0,0,0),
(115.00,'00100',11,7,23,100,12.00,125.00,1500.00,0.00,'',0,'2026-05-04',100,0.00,-1,1,0.00,0,115.00,115.00,115.00,115.00,0,0,0,0,0,0,0,'','',1,1,115.00,115.00,125.00,1500.00,0.00,'',0,0.00,115.00,0,0,0),
(94.00,'00044',12,8,6,44,28.00,100.00,2800.00,0.00,'',0,'2026-05-04',44,0.00,-1,1,0.00,0,94.00,94.00,94.00,94.00,0,0,0,0,0,0,0,'','',1,1,94.00,94.00,100.00,2800.00,0.00,'',0,0.00,94.00,0,0,0),
(150.00,'00072',13,8,12,72,8.00,150.00,1200.00,0.00,'',0,'2026-05-04',72,0.00,-1,1,0.00,0,150.00,150.00,150.00,150.00,0,0,0,0,0,0,0,'','',1,1,150.00,150.00,150.00,1200.00,0.00,'',0,0.00,150.00,0,0,0),
(400.00,'00112',14,9,25,112,8.00,410.00,3280.00,0.00,'',0,'2026-05-04',112,0.00,-1,1,0.00,0,400.00,400.00,400.00,400.00,0,0,0,0,0,0,0,'','',1,1,400.00,400.00,410.00,3280.00,0.00,'',0,0.00,400.00,0,0,0),
(126.00,'01172',15,10,37,159,6.00,140.00,840.00,0.00,'',0,'2026-05-04',159,0.00,-1,1,0.00,0,140.00,140.00,126.00,131.02,0,0,0,0,0,0,0,'','5-6,',1,1,140.00,140.00,140.00,840.00,0.00,'',0,0.00,126.00,0,0,0),
(108.00,'00166',16,11,37,166,3.00,120.00,360.00,0.00,'',0,'2026-05-04',166,0.00,-1,1,0.00,0,120.00,120.00,108.00,108.00,0,0,0,0,0,0,0,'','4-3,',1,1,120.00,120.00,120.00,360.00,0.00,'',0,0.00,108.00,0,0,0),
(135.00,'01470',17,11,1,124,3.00,150.00,450.00,0.00,'',0,'2026-05-04',124,0.00,-1,1,0.00,0,135.00,135.00,135.00,135.00,0,0,0,0,0,0,0,'','',1,1,135.00,135.00,150.00,450.00,0.00,'',0,0.00,135.00,0,0,0),
(189.00,'00043',18,11,6,43,3.00,200.00,600.00,0.00,'',0,'2026-05-04',43,0.00,-1,1,0.00,0,189.00,189.00,189.00,189.00,0,0,0,0,0,0,0,'','',1,1,189.00,189.00,200.00,600.00,0.00,'',0,0.00,189.00,0,0,0),
(240.00,'01473',19,11,34,147,6.00,260.00,1560.00,0.00,'',0,'2026-05-04',147,0.00,-1,1,0.00,0,240.00,240.00,240.00,240.00,0,0,0,0,0,0,0,'','',1,1,240.00,240.00,260.00,1560.00,0.00,'',0,0.00,240.00,0,0,0),
(198.00,'01171',20,11,37,157,3.00,220.00,660.00,0.00,'',0,'2026-05-04',157,0.00,-1,1,0.00,0,220.00,220.00,198.00,205.00,0,0,0,0,0,0,0,'','6-3,',1,1,220.00,220.00,220.00,660.00,0.00,'',0,0.00,198.00,0,0,0),
(210.00,'00140',21,11,32,140,3.00,230.00,690.00,0.00,'',0,'2026-05-04',140,0.00,-1,1,0.00,0,210.00,210.00,210.00,210.00,0,0,0,0,0,0,0,'','',1,1,210.00,210.00,230.00,690.00,0.00,'',0,0.00,210.00,0,0,0),
(280.00,'00127',22,11,29,127,4.00,300.00,1200.00,0.00,'',0,'2026-05-04',127,0.00,-1,1,0.00,0,280.00,280.00,280.00,280.00,0,0,0,0,0,0,0,'','',1,1,280.00,280.00,300.00,1200.00,0.00,'',0,0.00,280.00,0,0,0),
(135.00,'01470',23,11,1,124,1.00,150.00,150.00,0.00,'',0,'2026-05-04',124,0.00,-1,1,0.00,0,135.00,135.00,135.00,135.00,0,0,0,0,0,0,0,'','',1,1,135.00,135.00,150.00,150.00,0.00,'',0,0.00,135.00,0,0,0),
(95.00,'00079',24,12,17,79,105.00,100.00,10500.00,0.00,'',0,'2026-05-04',79,0.00,-1,1,0.00,0,95.00,95.00,95.00,95.00,0,0,0,0,0,0,0,'','',1,1,95.00,95.00,100.00,10500.00,0.00,'',0,0.00,95.00,0,0,0),
(135.00,'01470',25,13,1,124,3.00,150.00,450.00,0.00,'',0,'2026-05-04',124,0.00,-1,1,0.00,0,135.00,135.00,135.00,135.00,0,0,0,0,0,0,0,'','',1,1,135.00,135.00,150.00,450.00,0.00,'',0,0.00,135.00,0,0,0),
(150.00,'01200',26,13,3,20,3.00,150.00,450.00,0.00,'',0,'2026-05-04',20,0.00,-1,1,0.00,0,150.00,150.00,150.00,150.00,0,0,0,0,0,0,0,'','',1,1,150.00,150.00,150.00,450.00,0.00,'',0,0.00,150.00,0,0,0),
(108.00,'00166',27,14,37,166,15.00,120.00,1800.00,0.00,'',0,'2026-05-04',166,0.00,-1,1,0.00,0,120.00,120.00,108.00,108.00,0,0,0,0,0,0,0,'','4-15,',1,1,120.00,120.00,120.00,1800.00,0.00,'',0,0.00,108.00,0,0,0),
(94.00,'00044',28,15,6,44,11.00,100.00,1100.00,0.00,'',0,'2026-05-04',44,0.00,-1,1,0.00,0,94.00,94.00,94.00,94.00,0,0,0,0,0,0,0,'','',1,1,94.00,94.00,100.00,1100.00,0.00,'',0,0.00,94.00,0,0,0),
(189.00,'00043',29,16,6,43,3.00,200.00,600.00,0.00,'',0,'2026-05-04',43,0.00,-1,1,0.00,0,189.00,189.00,189.00,189.00,0,0,0,0,0,0,0,'','',1,1,189.00,189.00,200.00,600.00,0.00,'',0,0.00,189.00,0,0,0),
(200.00,'01262',30,16,19,93,4.00,215.00,860.00,0.00,'',0,'2026-05-04',93,0.00,-1,1,0.00,0,200.00,200.00,200.00,200.00,0,0,0,0,0,0,0,'','',1,1,200.00,200.00,215.00,860.00,0.00,'',0,0.00,200.00,0,0,0),
(198.00,'01171',31,17,37,157,3.00,220.00,660.00,0.00,'',0,'2026-05-04',157,0.00,-1,1,0.00,0,220.00,220.00,198.00,205.00,0,0,0,0,0,0,0,'','6-3,',1,1,220.00,220.00,220.00,660.00,0.00,'',0,0.00,198.00,0,0,0),
(190.00,'01169',32,17,19,92,4.00,200.00,800.00,0.00,'',0,'2026-05-04',92,0.00,-1,1,0.00,0,190.00,190.00,190.00,190.00,0,0,0,0,0,0,0,'','',1,1,190.00,190.00,200.00,800.00,0.00,'',0,0.00,190.00,0,0,0),
(200.00,'00126',33,17,29,126,4.00,220.00,880.00,0.00,'',0,'2026-05-04',126,0.00,-1,1,0.00,0,200.00,200.00,200.00,200.00,0,0,0,0,0,0,0,'','',1,1,200.00,200.00,220.00,880.00,0.00,'',0,0.00,200.00,0,0,0),
(315.00,'01374',34,18,18,90,6.00,335.00,2010.00,0.00,'',0,'2026-05-04',90,0.00,-1,1,0.00,0,315.00,315.00,315.00,315.00,0,0,0,0,0,0,0,'','',1,1,315.00,315.00,335.00,2010.00,0.00,'',0,0.00,315.00,0,0,0),
(95.00,'00079',35,19,17,79,6.00,100.00,600.00,0.00,'',0,'2026-05-04',79,0.00,-1,1,0.00,0,95.00,95.00,95.00,95.00,0,0,0,0,0,0,0,'','',1,1,95.00,95.00,100.00,600.00,0.00,'',0,0.00,95.00,0,0,0),
(198.00,'01171',36,20,37,157,24.00,220.00,5280.00,0.00,'',0,'2026-05-04',157,0.00,-1,1,0.00,0,220.00,220.00,198.00,205.00,0,0,0,0,0,0,0,'','6-24,',1,1,220.00,220.00,220.00,5280.00,0.00,'',0,0.00,198.00,0,0,0),
(140.00,'01074',37,21,26,116,9.00,140.00,1260.00,0.00,'',0,'2026-05-04',116,0.00,-1,1,0.00,0,140.00,140.00,140.00,140.00,0,0,0,0,0,0,0,'','',1,1,140.00,140.00,140.00,1260.00,0.00,'',0,0.00,140.00,0,0,0),
(175.00,'01394',38,21,17,78,6.00,185.00,1110.00,0.00,'',0,'2026-05-04',78,0.00,-1,1,0.00,0,175.00,175.00,175.00,175.00,0,0,0,0,0,0,0,'','',1,1,175.00,175.00,185.00,1110.00,0.00,'',0,0.00,175.00,0,0,0),
(126.00,'01172',39,21,37,159,6.00,140.00,840.00,0.00,'',0,'2026-05-04',159,0.00,-1,1,0.00,0,140.00,140.00,126.00,131.02,0,0,0,0,0,0,0,'','5-6,',1,1,140.00,140.00,140.00,840.00,0.00,'',0,0.00,126.00,0,0,0),
(198.00,'01171',40,21,37,157,15.00,220.00,3300.00,0.00,'',0,'2026-05-04',157,0.00,-1,1,0.00,0,220.00,220.00,198.00,205.00,0,0,0,0,0,0,0,'','6-15,',1,1,220.00,220.00,220.00,3300.00,0.00,'',0,0.00,198.00,0,0,0),
(115.00,'01335',41,22,3,19,15.00,115.00,1725.00,0.00,'',0,'2026-05-04',19,0.00,-1,1,0.00,0,115.00,115.00,115.00,115.00,0,0,0,0,0,0,0,'','',1,1,115.00,115.00,115.00,1725.00,0.00,'',0,0.00,115.00,0,0,0),
(135.00,'01470',42,22,1,124,6.00,150.00,900.00,0.00,'',0,'2026-05-04',124,0.00,-1,1,0.00,0,135.00,135.00,135.00,135.00,0,0,0,0,0,0,0,'','',1,1,135.00,135.00,150.00,900.00,0.00,'',0,0.00,135.00,0,0,0),
(110.00,'01424',43,22,31,136,6.00,120.00,720.00,0.00,'',0,'2026-05-04',136,0.00,-1,1,0.00,0,110.00,110.00,110.00,110.00,0,0,0,0,0,0,0,'','',1,1,110.00,110.00,120.00,720.00,0.00,'',0,0.00,110.00,0,0,0),
(110.00,'01424',44,23,31,136,15.00,120.00,1800.00,0.00,'',0,'2026-05-04',136,0.00,-1,1,0.00,0,110.00,110.00,110.00,110.00,0,0,0,0,0,0,0,'','',1,1,110.00,110.00,120.00,1800.00,0.00,'',0,0.00,110.00,0,0,0),
(240.00,'00130',45,24,29,130,11.00,260.00,2860.00,0.00,'',0,'2026-05-04',130,0.00,-1,1,0.00,0,240.00,240.00,240.00,240.00,0,0,0,0,0,0,0,'','',1,1,240.00,240.00,260.00,2860.00,0.00,'',0,0.00,240.00,0,0,0),
(100.00,'01352',46,25,22,97,9.00,110.00,990.00,0.00,'',0,'2026-05-04',97,0.00,-1,1,0.00,0,100.00,100.00,100.00,100.00,0,0,0,0,0,0,0,'','',1,1,100.00,100.00,110.00,990.00,0.00,'',0,0.00,100.00,0,0,0),
(210.00,'00154',47,25,36,154,4.00,255.00,1020.00,0.00,'',0,'2026-05-04',154,0.00,-1,1,0.00,0,210.00,210.00,210.00,210.00,0,0,0,0,0,0,0,'','1-4,',1,1,210.00,210.00,255.00,1020.00,0.00,'',0,0.00,210.00,0,0,0),
(150.00,'01200',48,26,3,20,12.00,150.00,1800.00,0.00,'',0,'2026-05-04',20,0.00,-1,1,0.00,0,150.00,150.00,150.00,150.00,0,0,0,0,0,0,0,'','',1,1,150.00,150.00,150.00,1800.00,0.00,'',0,0.00,150.00,0,0,0),
(126.00,'01172',49,26,37,159,9.00,140.00,1260.00,0.00,'',0,'2026-05-04',159,0.00,-1,1,0.00,0,140.00,140.00,126.00,131.02,0,0,0,0,0,0,0,'','5-9,',1,1,140.00,140.00,140.00,1260.00,0.00,'',0,0.00,126.00,0,0,0),
(75.00,'00048',50,26,7,48,3.00,80.00,240.00,0.00,'',0,'2026-05-04',48,0.00,-1,1,0.00,0,75.00,75.00,75.00,75.00,0,0,0,0,0,0,0,'','',1,1,75.00,75.00,80.00,240.00,0.00,'',0,0.00,75.00,0,0,0),
(240.00,'01473',51,27,34,147,9.00,260.00,2340.00,0.00,'',0,'2026-05-04',147,0.00,-1,1,0.00,0,240.00,240.00,240.00,240.00,0,0,0,0,0,0,0,'','',1,1,240.00,240.00,260.00,2340.00,0.00,'',0,0.00,240.00,0,0,0),
(320.00,'00137',52,27,32,137,3.00,350.00,1050.00,0.00,'',0,'2026-05-04',137,0.00,-1,1,0.00,0,320.00,320.00,320.00,320.00,0,0,0,0,0,0,0,'','',1,1,320.00,320.00,350.00,1050.00,0.00,'',0,0.00,320.00,0,0,0),
(94.00,'00044',53,28,6,44,12.00,100.00,1200.00,0.00,'',0,'2026-05-04',44,0.00,-1,1,0.00,0,94.00,94.00,94.00,94.00,0,0,0,0,0,0,0,'','',1,1,94.00,94.00,100.00,1200.00,0.00,'',0,0.00,94.00,0,0,0),
(75.00,'01462',54,28,5,40,15.00,85.00,1275.00,0.00,'',0,'2026-05-04',40,0.00,-1,1,0.00,0,75.00,75.00,75.00,75.00,0,0,0,0,0,0,0,'','',1,1,75.00,75.00,85.00,1275.00,0.00,'',0,0.00,75.00,0,0,0),
(75.00,'00048',55,28,7,48,3.00,85.00,255.00,0.00,'',0,'2026-05-04',48,0.00,-1,1,0.00,0,75.00,75.00,75.00,75.00,0,0,0,0,0,0,0,'','',1,1,75.00,75.00,85.00,255.00,0.00,'',0,0.00,75.00,0,0,0),
(300.00,'01483',56,29,33,146,3.00,320.00,960.00,0.00,'',0,'2026-05-04',146,0.00,-1,1,0.00,0,300.00,300.00,300.00,300.00,0,0,0,0,0,0,0,'','',1,1,300.00,300.00,320.00,960.00,0.00,'',0,0.00,300.00,0,0,0),
(285.00,'01324',57,30,14,74,3.00,300.00,900.00,0.00,'',0,'2026-05-04',74,0.00,-1,1,0.00,0,285.00,285.00,285.00,285.00,0,0,0,0,0,0,0,'','',1,1,285.00,285.00,300.00,900.00,0.00,'',0,0.00,285.00,0,0,0),
(320.00,'01482',58,31,33,144,3.00,340.00,1020.00,0.00,'',0,'2026-05-04',144,0.00,-1,1,0.00,0,320.00,320.00,320.00,320.00,0,0,0,0,0,0,0,'','',1,1,320.00,320.00,340.00,1020.00,0.00,'',0,0.00,320.00,0,0,0),
(175.00,'01371',59,32,23,102,6.00,190.00,1140.00,0.00,'',0,'2026-05-04',102,0.00,-1,1,0.00,0,175.00,175.00,175.00,175.00,0,0,0,0,0,0,0,'','',1,1,175.00,175.00,190.00,1140.00,0.00,'',0,0.00,175.00,0,0,0),
(175.00,'01204',60,32,21,96,6.00,190.00,1140.00,0.00,'',0,'2026-05-04',96,0.00,-1,1,0.00,0,175.00,175.00,175.00,175.00,0,0,0,0,0,0,0,'','',1,1,175.00,175.00,190.00,1140.00,0.00,'',0,0.00,175.00,0,0,0),
(200.00,'01439',61,32,10,59,6.00,215.00,1290.00,0.00,'',0,'2026-05-04',59,0.00,-1,1,0.00,0,200.00,200.00,200.00,200.00,0,0,0,0,0,0,0,'','',1,1,200.00,200.00,215.00,1290.00,0.00,'',0,0.00,200.00,0,0,0),
(210.00,'00154',62,32,36,154,8.00,255.00,2040.00,0.00,'',0,'2026-05-04',154,0.00,-1,1,0.00,0,210.00,210.00,210.00,210.00,0,0,0,0,0,0,0,'','1-8,',1,1,210.00,210.00,255.00,2040.00,0.00,'',0,0.00,210.00,0,0,0),
(285.00,'01324',63,32,14,74,12.00,300.00,3600.00,0.00,'',0,'2026-05-04',74,0.00,-1,1,0.00,0,285.00,285.00,285.00,285.00,0,0,0,0,0,0,0,'','',1,1,285.00,285.00,300.00,3600.00,0.00,'',0,0.00,285.00,0,0,0),
(210.00,'00167',64,32,40,167,24.00,230.00,5520.00,0.00,'',0,'2026-05-04',167,0.00,-1,1,0.00,0,210.00,210.00,210.00,210.00,0,0,0,0,0,0,0,'','',1,1,210.00,210.00,230.00,5520.00,0.00,'',0,0.00,210.00,0,0,0),
(150.00,'01200',65,33,3,20,9.00,150.00,1350.00,0.00,'',0,'2026-05-04',20,0.00,-1,1,0.00,0,150.00,150.00,150.00,150.00,0,0,0,0,0,0,0,'','',1,1,150.00,150.00,150.00,1350.00,0.00,'',0,0.00,150.00,0,0,0),
(210.00,'00140',66,34,32,140,6.00,230.00,1380.00,0.00,'',0,'2026-05-04',140,0.00,-1,1,0.00,0,210.00,210.00,210.00,210.00,0,0,0,0,0,0,0,'','',1,1,210.00,210.00,230.00,1380.00,0.00,'',0,0.00,210.00,0,0,0),
(320.00,'00137',67,34,32,137,3.00,350.00,1050.00,0.00,'',0,'2026-05-04',137,0.00,-1,1,0.00,0,320.00,320.00,320.00,320.00,0,0,0,0,0,0,0,'','',1,1,320.00,320.00,350.00,1050.00,0.00,'',0,0.00,320.00,0,0,0),
(198.00,'01171',68,34,37,157,3.00,220.00,660.00,0.00,'',0,'2026-05-04',157,0.00,-1,1,0.00,0,220.00,220.00,198.00,205.00,0,0,0,0,0,0,0,'','6-3,',1,1,220.00,220.00,220.00,660.00,0.00,'',0,0.00,198.00,0,0,0),
(100.00,'01314',69,35,28,121,11.00,110.00,1210.00,0.00,'',0,'2026-05-04',121,0.00,-1,1,0.00,0,100.00,100.00,100.00,100.00,0,0,0,0,0,0,0,'','',1,1,100.00,100.00,110.00,1210.00,0.00,'',0,0.00,100.00,0,0,0),
(95.00,'00079',70,35,17,79,3.00,100.00,300.00,0.00,'',0,'2026-05-04',79,0.00,-1,1,0.00,0,95.00,95.00,95.00,95.00,0,0,0,0,0,0,0,'','',1,1,95.00,95.00,100.00,300.00,0.00,'',0,0.00,95.00,0,0,0),
(260.00,'01480 ',71,36,33,142,36.00,275.00,9900.00,0.00,'',0,'2026-05-04',142,0.00,-1,1,0.00,0,260.00,260.00,260.00,260.00,0,0,0,0,0,0,0,'','',1,1,260.00,260.00,275.00,9900.00,0.00,'',0,0.00,260.00,0,0,0),
(280.00,'00004',72,36,1,4,40.00,300.00,12000.00,0.00,'',0,'2026-05-04',4,0.00,-1,1,0.00,0,280.00,280.00,280.00,280.00,0,0,0,0,0,0,0,'','',1,1,280.00,280.00,300.00,12000.00,0.00,'',0,0.00,280.00,0,0,0),
(310.00,'01481',73,36,33,143,9.00,330.00,2970.00,0.00,'',0,'2026-05-04',143,0.00,-1,1,0.00,0,310.00,310.00,310.00,310.00,0,0,0,0,0,0,0,'','',1,1,310.00,310.00,330.00,2970.00,0.00,'',0,0.00,310.00,0,0,0),
(185.00,'00061',74,36,10,61,12.00,200.00,2400.00,0.00,'',0,'2026-05-04',61,0.00,-1,1,0.00,0,185.00,185.00,185.00,185.00,0,0,0,0,0,0,0,'','',1,1,185.00,185.00,200.00,2400.00,0.00,'',0,0.00,185.00,0,0,0),
(260.00,'01425',75,36,31,135,12.00,240.00,2880.00,0.00,'',0,'2026-05-04',135,0.00,-1,1,0.00,0,260.00,260.00,260.00,260.00,0,0,0,0,0,0,0,'','',1,1,260.00,260.00,240.00,2880.00,0.00,'',0,0.00,260.00,0,0,0);

--
-- Table structure for table `sellbilldetailoffer`
--

CREATE TABLE `sellbilldetailoffer` (
  `buyprice` decimal(10,2) NOT NULL,
  `parcode` varchar(256) NOT NULL DEFAULT '',
  `sellbilldetailid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbillid` int(11) NOT NULL,
  `sellbilldetailcatid` int(11) NOT NULL,
  `sellbilldetailproductid` int(11) NOT NULL,
  `sellbilldetailquantity` decimal(10,2) NOT NULL,
  `sellbilldetailprice` decimal(10,2) NOT NULL,
  `sellbilldetailtotalprice` decimal(10,2) NOT NULL,
  `discountvalue` decimal(10,2) NOT NULL,
  `note` varchar(256) DEFAULT NULL,
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `sellbilldetaildate` date NOT NULL,
  `productunitid` int(11) NOT NULL,
  `buydiscount` decimal(10,2) NOT NULL,
  `buydiscounttype` int(11) NOT NULL,
  `storeid` int(11) NOT NULL DEFAULT 0,
  `discounttype` decimal(10,2) NOT NULL DEFAULT 0.00,
  `localdonw` int(11) DEFAULT 0,
  `lastbuyprice` decimal(10,2) DEFAULT NULL,
  `meanbuyprice` decimal(10,2) DEFAULT NULL,
  `lastbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `meanbuyprice_withDiscount` decimal(10,2) DEFAULT NULL,
  `scunitqty` int(11) NOT NULL DEFAULT 0,
  `otherdetailquantity` int(11) NOT NULL DEFAULT 0,
  `sizeid` int(11) NOT NULL DEFAULT 0,
  `colorid` int(11) NOT NULL DEFAULT 0,
  `onlineOrderId` int(11) NOT NULL DEFAULT 0,
  `pricetypepro` tinyint(4) NOT NULL DEFAULT 0,
  PRIMARY KEY (`sellbilldetailid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sellbilldetailoffer`
--


--
-- Table structure for table `sellbilldetailorder`
--

CREATE TABLE `sellbilldetailorder` (
  `buyprice` decimal(10,2) NOT NULL,
  `parcode` varchar(256) NOT NULL DEFAULT '',
  `sellbilldetailid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbillid` int(11) NOT NULL,
  `sellbilldetailcatid` int(11) NOT NULL,
  `sellbilldetailproductid` int(11) NOT NULL,
  `sellbilldetailquantity` decimal(10,2) NOT NULL,
  `sellbilldetailprice` decimal(10,2) NOT NULL,
  `sellbilldetailtotalprice` decimal(10,2) NOT NULL,
  `discountvalue` decimal(10,2) NOT NULL,
  `note` varchar(256) DEFAULT NULL,
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `sellbilldetaildate` date NOT NULL,
  `productunitid` int(11) NOT NULL,
  `buydiscount` decimal(10,2) NOT NULL,
  `buydiscounttype` int(11) NOT NULL,
  `storeid` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`sellbilldetailid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sellbilldetailorder`
--


--
-- Table structure for table `sellbillimage`
--

CREATE TABLE `sellbillimage` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `sellbillid` int(11) unsigned DEFAULT NULL,
  `images` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sellbillimage`
--


--
-- Table structure for table `sellbilloffer`
--

CREATE TABLE `sellbilloffer` (
  `sellbillid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbilldate` datetime DEFAULT NULL,
  `sellbillserial` varchar(255) DEFAULT NULL,
  `sellbillclientid` int(11) NOT NULL DEFAULT 0,
  `sellbilltotaldeptbefor` decimal(10,2) NOT NULL,
  `sellbilltotaldeptafter` decimal(10,2) NOT NULL,
  `sellbilldiscount` varchar(255) NOT NULL DEFAULT '',
  `sellbilldiscounttype` int(11) NOT NULL DEFAULT 0,
  `sellbilltotalbill` decimal(10,2) NOT NULL,
  `sellbillaftertotalbill` decimal(10,2) NOT NULL,
  `sellbilltotalpayed` decimal(10,2) NOT NULL,
  `sellbillfinalbill` decimal(10,2) NOT NULL,
  `sellbillstoreid` int(11) NOT NULL,
  `sellbillsysdate` datetime NOT NULL,
  `comment` text NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `sellbillclientname` text NOT NULL,
  `sellbillsaveid` int(11) NOT NULL,
  `sellbildirectpayment` int(11) NOT NULL,
  `billnameid` int(11) NOT NULL,
  `sellerid` int(11) NOT NULL,
  `tempclientName` varchar(255) NOT NULL,
  `sellQuantity` decimal(10,2) NOT NULL,
  `deletedsellid` int(11) NOT NULL,
  `controlname` varchar(255) NOT NULL,
  `tax` decimal(10,2) NOT NULL DEFAULT 0.00,
  `carnumber` varchar(255) NOT NULL,
  `cartype` varchar(255) NOT NULL,
  `carchase` varchar(255) NOT NULL,
  `carmotor` varchar(255) NOT NULL,
  `costcenterid` int(11) DEFAULT NULL,
  `localdonw` int(11) DEFAULT 0,
  `dailyentryid` varchar(100) NOT NULL DEFAULT '',
  `obygyVisitId` int(11) DEFAULT 0,
  `onlineOrderId` int(11) DEFAULT 0,
  `delbyuserid` int(11) NOT NULL DEFAULT 0,
  `lastReviewType` tinyint(4) NOT NULL DEFAULT 0,
  `lastReviewUser` int(11) DEFAULT NULL,
  `lastReviewDateTime` datetime DEFAULT NULL,
  `delivery` decimal(10,2) NOT NULL DEFAULT 0.00,
  `totalafterdelivery` decimal(10,2) NOT NULL DEFAULT 0.00,
  `billReservation` tinyint(4) NOT NULL DEFAULT 0,
  `billReservationDate` date NOT NULL,
  `webApiId` int(11) NOT NULL DEFAULT 0,
  `visaAccountId` int(11) NOT NULL DEFAULT 0,
  `cashPayed` decimal(10,2) NOT NULL,
  `visaPayed` decimal(10,2) NOT NULL,
  `isBankAccountTransfer` tinyint(4) NOT NULL DEFAULT 0,
  `extraDiscountPer` float NOT NULL DEFAULT 0,
  `extraDiscountVal` float NOT NULL DEFAULT 0,
  `taxOfDiscountPer` float NOT NULL DEFAULT 0,
  `taxOfDiscountVal` float NOT NULL DEFAULT 0,
  `shippingDate` date NOT NULL,
  `taxBillNumber` int(11) NOT NULL DEFAULT 0,
  `collectionType` tinyint(4) NOT NULL DEFAULT 0,
  `collectionDate` date NOT NULL,
  `qrerpid` varchar(255) NOT NULL,
  `qrerpids` text NOT NULL,
  `autoSaveFlag` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0 completed in sellbillcontrol, 1 not completed still temp saved in ajax',
  `ereason` text NOT NULL,
  `estatus` varchar(255) NOT NULL,
  `epdf` varchar(255) NOT NULL,
  `obgyBillType` tinyint(4) NOT NULL DEFAULT 0,
  `billoperationid` int(11) NOT NULL DEFAULT 0,
  `datestarting` date NOT NULL,
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `orderSavedBillId` int(11) NOT NULL DEFAULT 0,
  `totalprodiscount` varchar(255) NOT NULL DEFAULT '',
  `manage_ex` varchar(255) NOT NULL DEFAULT '',
  `med_hallmark` varchar(255) NOT NULL DEFAULT '',
  `pay_rec_no` varchar(255) NOT NULL DEFAULT '',
  `pay_rec_val` varchar(255) NOT NULL DEFAULT '',
  `decisionNo` varchar(255) NOT NULL DEFAULT '',
  `decisionValue` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`sellbillid`),
  KEY `sellbilldate` (`sellbilldate`),
  KEY `sellbillclientid` (`sellbillclientid`),
  KEY `obgyBillType` (`obgyBillType`),
  KEY `sellbillstoreid` (`sellbillstoreid`),
  KEY `pricetype` (`pricetype`),
  KEY `sellerid` (`sellerid`),
  KEY `userid` (`userid`),
  KEY `conditions` (`conditions`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sellbilloffer`
--


--
-- Table structure for table `sellbillorder`
--

CREATE TABLE `sellbillorder` (
  `sellbillid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbilldate` date DEFAULT NULL,
  `sellbillserial` varchar(255) DEFAULT NULL,
  `sellbillclientid` int(11) NOT NULL DEFAULT 0,
  `sellbilltotaldeptbefor` decimal(10,2) NOT NULL,
  `sellbilltotaldeptafter` decimal(10,2) NOT NULL,
  `sellbilldiscount` varchar(255) NOT NULL DEFAULT '',
  `sellbilldiscounttype` int(11) NOT NULL DEFAULT 0,
  `sellbilltotalbill` decimal(10,2) NOT NULL,
  `sellbillaftertotalbill` decimal(10,2) NOT NULL,
  `sellbilltotalpayed` decimal(10,2) NOT NULL,
  `sellbillfinalbill` decimal(10,2) NOT NULL,
  `sellbillstoreid` int(11) NOT NULL,
  `sellbillsysdate` date NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `sellbillclientname` text NOT NULL,
  `sellbillsaveid` int(11) NOT NULL,
  `sellbildirectpayment` int(11) NOT NULL,
  `billnameid` int(11) NOT NULL,
  `sellerid` int(11) NOT NULL,
  `tempclientName` varchar(255) NOT NULL,
  `sellQuantity` decimal(10,2) NOT NULL,
  `actualsellbill` int(11) NOT NULL DEFAULT 0 COMMENT 'the actual sell bill id   0 not don yet ',
  `saveAffect` int(11) NOT NULL DEFAULT 0 COMMENT ' 0 for Affect in save  1 not affect',
  PRIMARY KEY (`sellbillid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sellbillorder`
--


--
-- Table structure for table `sellbillreview`
--

CREATE TABLE `sellbillreview` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `billid` int(11) NOT NULL,
  `reviewType` tinyint(4) NOT NULL COMMENT '0 cancel review , 1 reviewed',
  `reviewComment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reviewuserid` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `del` tinyint(4) NOT NULL COMMENT '0 not del , 1 del',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sellbillreview`
--


--
-- Table structure for table `sellbillstatus`
--

CREATE TABLE `sellbillstatus` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sellbillid` int(11) NOT NULL,
  `status` varchar(255) NOT NULL COMMENT 'new - prepare - shipped - deliver - refused',
  `userid` int(11) NOT NULL,
  `sysdate` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sellbillstatus`
--

INSERT INTO `sellbillstatus` VALUES
(1,1,'new',11,'2026-05-04 10:01:51'),
(2,2,'new',11,'2026-05-04 10:11:21'),
(3,3,'new',11,'2026-05-04 10:26:06'),
(4,4,'new',11,'2026-05-04 10:34:50'),
(5,5,'new',11,'2026-05-04 10:42:13'),
(6,6,'new',11,'2026-05-04 10:47:57'),
(7,7,'new',11,'2026-05-04 11:06:16'),
(8,8,'new',11,'2026-05-04 11:21:55'),
(9,9,'new',11,'2026-05-04 11:46:15'),
(10,10,'new',11,'2026-05-04 11:46:47'),
(11,11,'new',11,'2026-05-04 11:54:12'),
(12,12,'new',11,'2026-05-04 12:11:53'),
(13,13,'new',11,'2026-05-04 12:15:28'),
(14,14,'new',11,'2026-05-04 12:18:50'),
(15,15,'new',11,'2026-05-04 12:30:29'),
(16,16,'new',11,'2026-05-04 12:35:44'),
(17,17,'new',11,'2026-05-04 12:50:49'),
(18,18,'new',11,'2026-05-04 12:51:41'),
(19,19,'new',11,'2026-05-04 13:02:29'),
(20,20,'new',11,'2026-05-04 13:08:34'),
(21,21,'new',11,'2026-05-04 13:13:00'),
(22,22,'new',11,'2026-05-04 13:16:45'),
(23,23,'new',11,'2026-05-04 13:21:04'),
(24,24,'new',11,'2026-05-04 14:29:25'),
(25,25,'new',11,'2026-05-04 14:38:46'),
(26,26,'new',11,'2026-05-04 15:08:07'),
(27,27,'new',11,'2026-05-04 15:10:58'),
(28,28,'new',11,'2026-05-04 15:40:55'),
(29,29,'new',11,'2026-05-04 15:51:39'),
(30,30,'new',11,'2026-05-04 16:37:37'),
(31,31,'new',11,'2026-05-04 16:39:45'),
(32,32,'new',11,'2026-05-04 16:42:10'),
(33,33,'new',11,'2026-05-04 17:19:21'),
(34,34,'new',11,'2026-05-04 18:41:07'),
(35,35,'new',11,'2026-05-04 19:12:09'),
(36,36,'new',11,'2026-05-04 19:34:17');

--
-- Table structure for table `settingoperation`
--

CREATE TABLE `settingoperation` (
  `settingOperationID` int(11) NOT NULL AUTO_INCREMENT,
  `settingOperationName` varchar(100) NOT NULL,
  `workStationID` int(11) NOT NULL,
  `realTime` int(11) NOT NULL,
  `assetesID` int(11) NOT NULL,
  `workersNo` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0 COMMENT '0 for del - 1 for not del',
  `userID` int(11) NOT NULL,
  `operationDate` date NOT NULL,
  `operationType` varchar(255) NOT NULL DEFAULT '0',
  PRIMARY KEY (`settingOperationID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `settingoperation`
--


--
-- Table structure for table `shippercompanies`
--

CREATE TABLE `shippercompanies` (
  `companyId` int(11) NOT NULL AUTO_INCREMENT,
  `companyName` varchar(255) NOT NULL,
  `otherInfo` longtext NOT NULL,
  `tempdele` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`companyId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `shippercompanies`
--


--
-- Table structure for table `simplemanufacturesetting`
--

CREATE TABLE `simplemanufacturesetting` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `storeid` tinyint(4) NOT NULL,
  `reducestoreamount` tinyint(4) NOT NULL COMMENT '1: yes --- 0: no',
  `productsproductionequation` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0: Manufacturing products -- 1:all products',
  `orderclient` tinyint(4) NOT NULL DEFAULT 0,
  `taskOrderName` tinyint(4) NOT NULL DEFAULT 0,
  `lowOutPriceAlert` tinyint(4) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `simplemanufacturesetting`
--

INSERT INTO `simplemanufacturesetting` VALUES
(1,1,1,0,0,0,0);

--
-- Table structure for table `sizecolor`
--

CREATE TABLE `sizecolor` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `type` tinyint(4) NOT NULL COMMENT '0 size , 1 color',
  `userid` int(11) NOT NULL,
  `conditions` tinyint(4) NOT NULL,
  `sysdate` date NOT NULL,
  `scExcelid` int(11) NOT NULL COMMENT 'used to link products to products from another erp like siam see in buybill',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sizecolor`
--


--
-- Table structure for table `sizecolorstoredetail`
--

CREATE TABLE `sizecolorstoredetail` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `storeid` int(11) NOT NULL,
  `productid` int(11) NOT NULL,
  `sizeid` int(11) NOT NULL,
  `colorid` int(11) NOT NULL,
  `parcode` varchar(300) NOT NULL,
  `buyprice` decimal(10,2) NOT NULL,
  `sellunitprice` decimal(10,2) NOT NULL,
  `quantity` decimal(10,2) NOT NULL,
  `userid` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `scdExcelParcode` varchar(12) NOT NULL COMMENT 'used to link products to products from another erp like siam see in buybill',
  `inUse` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0 free - 1 in use means to stop changing debt till it is free again',
  PRIMARY KEY (`id`),
  UNIQUE KEY `prosizecolor_unique` (`storeid`,`productid`,`sizeid`,`colorid`),
  KEY `productid` (`productid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sizecolorstoredetail`
--


--
-- Table structure for table `soldserialproduct`
--

CREATE TABLE `soldserialproduct` (
  `soldserialproductid` int(11) NOT NULL AUTO_INCREMENT,
  `productserailid` int(11) NOT NULL,
  `sellbillid` int(11) NOT NULL,
  `sellbilltype` int(11) NOT NULL COMMENT '0 for sellbill 1 for sell and return sellpart 3 returnsellbill 4 for sell and return returnpart',
  `quantity` decimal(10,2) NOT NULL,
  `del` int(11) NOT NULL COMMENT '0 for not del 1 for del',
  `clientid` int(11) NOT NULL,
  PRIMARY KEY (`soldserialproductid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `soldserialproduct`
--


--
-- Table structure for table `sparepart`
--

CREATE TABLE `sparepart` (
  `sparepartid` int(11) NOT NULL AUTO_INCREMENT,
  `sparepartname` varchar(255) NOT NULL,
  `sparepartprice` decimal(10,2) NOT NULL,
  `sparepartnotes` text NOT NULL,
  `userid` int(11) NOT NULL,
  `sparepartdate` date NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`sparepartid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sparepart`
--


--
-- Table structure for table `sparepartstore`
--

CREATE TABLE `sparepartstore` (
  `sparepartstoreId` int(11) NOT NULL AUTO_INCREMENT,
  `storeName` varchar(255) NOT NULL,
  `storeDate` date NOT NULL,
  `storeDescription` text NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `userId` int(11) NOT NULL,
  PRIMARY KEY (`sparepartstoreId`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sparepartstore`
--

INSERT INTO `sparepartstore` VALUES
(1,'مخزن قطع الغيار','2025-04-06','مخزن قطع الغيار',0,1);

--
-- Table structure for table `sparepartstoredetails`
--

CREATE TABLE `sparepartstoredetails` (
  `sparepartstoredetailid` int(11) NOT NULL AUTO_INCREMENT,
  `sparepartid` int(11) NOT NULL,
  `sparepartstoreId` int(11) NOT NULL,
  `partquantity` decimal(10,2) NOT NULL,
  `userid` int(11) NOT NULL,
  `sparepartstoredetaildate` date NOT NULL,
  PRIMARY KEY (`sparepartstoredetailid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sparepartstoredetails`
--


--
-- Table structure for table `sparepartstorereport`
--

CREATE TABLE `sparepartstorereport` (
  `sparepartstorereportid` int(11) NOT NULL AUTO_INCREMENT,
  `sparepartid` int(11) NOT NULL,
  `sparepartstoreId` int(11) NOT NULL,
  `partquantity` decimal(10,2) NOT NULL,
  `storereporttype` int(11) NOT NULL COMMENT '0 => plus- 1 => minus',
  `storereportmodelid` int(11) NOT NULL,
  `processname` varchar(256) NOT NULL,
  `tablename` varchar(256) NOT NULL,
  `partbefore` decimal(10,2) NOT NULL,
  `partafter` decimal(10,2) NOT NULL,
  `userid` int(11) NOT NULL,
  `storereportdate` date NOT NULL,
  PRIMARY KEY (`sparepartstorereportid`),
  KEY `sparepartid` (`sparepartid`,`sparepartstoreId`),
  KEY `sparepartstoreId` (`sparepartstoreId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sparepartstorereport`
--


--
-- Table structure for table `stage`
--

CREATE TABLE `stage` (
  `stageId` int(11) NOT NULL AUTO_INCREMENT,
  `stagename` varchar(255) NOT NULL,
  `productId` int(11) NOT NULL,
  `totalhour` decimal(10,2) NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `date` varchar(255) NOT NULL,
  PRIMARY KEY (`stageId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `stage`
--


--
-- Table structure for table `stagestep`
--

CREATE TABLE `stagestep` (
  `stagestepId` int(11) NOT NULL AUTO_INCREMENT,
  `stageId` int(11) NOT NULL,
  `stepno` int(11) NOT NULL,
  `operationId` int(11) NOT NULL,
  PRIMARY KEY (`stagestepId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `stagestep`
--


--
-- Table structure for table `store`
--

CREATE TABLE `store` (
  `storeId` int(11) NOT NULL AUTO_INCREMENT,
  `storeName` varchar(256) NOT NULL,
  `storeDate` date NOT NULL,
  `storeDescription` text DEFAULT NULL,
  `conditions` int(1) NOT NULL,
  `userId` int(11) NOT NULL,
  `treeId` int(11) NOT NULL DEFAULT 0,
  `treeIdBetween` int(11) NOT NULL DEFAULT 0,
  `webApiId` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`storeId`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `store`
--

INSERT INTO `store` VALUES
(1,'المخزن الرئيسي','2025-04-06','المخزن الرئيسي',0,1,382,51,0);

--
-- Table structure for table `storedetail`
--

CREATE TABLE `storedetail` (
  `storedetailid` int(11) NOT NULL AUTO_INCREMENT,
  `productid` int(11) NOT NULL,
  `storeid` int(11) NOT NULL,
  `productquantity` decimal(10,2) NOT NULL,
  `userid` int(11) NOT NULL,
  `storedetaildate` date NOT NULL,
  `unittype` int(11) NOT NULL DEFAULT 0,
  `inUse` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0 free - 1 in use means to stop changing debt till it is free again',
  PRIMARY KEY (`storedetailid`),
  KEY `productid` (`productid`,`storeid`),
  KEY `storeid` (`storeid`)
) ENGINE=InnoDB AUTO_INCREMENT=169 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `storedetail`
--

INSERT INTO `storedetail` VALUES
(1,1,1,48.00,1,'2026-05-03',0,0),
(2,2,1,63.00,1,'2026-05-03',0,0),
(3,3,1,57.00,1,'2026-05-03',0,0),
(4,4,1,108.00,11,'2026-05-04',0,0),
(5,5,1,24.00,1,'2026-05-02',0,0),
(6,6,1,48.00,1,'2026-05-02',0,0),
(7,7,1,36.00,1,'2026-05-02',0,0),
(8,8,1,24.00,1,'2026-05-02',0,0),
(9,9,1,21.00,1,'2026-05-02',0,0),
(10,10,1,96.00,1,'2026-05-02',0,0),
(11,11,1,42.00,1,'2026-05-02',0,0),
(12,12,1,9.00,1,'2026-05-02',0,0),
(13,13,1,8.00,1,'2026-05-02',0,0),
(14,14,1,8.00,1,'2026-05-02',0,0),
(15,15,1,54.00,1,'2026-05-02',0,0),
(16,16,1,69.00,1,'2026-05-02',0,0),
(17,17,1,36.00,1,'2026-05-02',0,0),
(18,18,1,63.00,1,'2026-05-02',0,0),
(19,19,1,30.00,11,'2026-05-04',0,0),
(20,20,1,-6.00,11,'2026-05-04',0,0),
(21,21,1,78.00,1,'2026-05-02',0,0),
(22,22,1,80.00,1,'2026-05-02',0,0),
(23,23,1,80.00,1,'2026-05-02',0,0),
(24,24,1,208.00,1,'2026-05-02',0,0),
(25,25,1,16.00,1,'2026-05-02',0,0),
(26,26,1,44.00,1,'2026-05-03',0,0),
(27,27,1,32.00,1,'2026-05-03',0,0),
(28,28,1,80.00,1,'2026-05-03',0,0),
(29,29,1,40.00,1,'2026-05-03',0,0),
(30,30,1,45.00,1,'2026-05-03',0,0),
(31,31,1,45.00,1,'2026-05-03',0,0),
(32,32,1,30.00,1,'2026-05-03',0,0),
(33,33,1,12.00,1,'2026-05-03',0,0),
(34,34,1,39.00,1,'2026-05-03',0,0),
(35,35,1,33.00,1,'2026-05-03',0,0),
(36,36,1,86.00,1,'2026-05-03',0,0),
(37,37,1,39.00,1,'2026-05-03',0,0),
(38,38,1,33.00,1,'2026-05-03',0,0),
(39,39,1,45.00,1,'2026-05-03',0,0),
(40,40,1,84.00,11,'2026-05-04',0,0),
(41,41,1,18.00,1,'2026-05-03',0,0),
(42,42,1,33.00,1,'2026-05-03',0,0),
(43,43,1,117.00,11,'2026-05-04',0,0),
(44,44,1,9.00,11,'2026-05-04',0,0),
(45,45,1,141.00,1,'2026-05-03',0,0),
(46,46,1,93.00,1,'2026-05-03',0,0),
(47,47,1,45.00,1,'2026-05-03',0,0),
(48,48,1,6.00,11,'2026-05-04',0,0),
(49,49,1,42.00,1,'2026-05-03',0,0),
(50,50,1,75.00,1,'2026-05-03',0,0),
(51,51,1,51.00,1,'2026-05-03',0,0),
(52,52,1,24.00,1,'2026-05-03',0,0),
(53,53,1,36.00,1,'2026-05-03',0,0),
(54,54,1,84.00,1,'2026-05-03',0,0),
(55,55,1,45.00,1,'2026-05-03',0,0),
(56,56,1,45.00,1,'2026-05-03',0,0),
(57,57,1,25.00,1,'2026-05-03',0,0),
(58,58,1,3.00,1,'2026-05-03',0,0),
(59,59,1,81.00,11,'2026-05-04',0,0),
(60,60,1,8.00,1,'2026-05-03',0,0),
(61,61,1,9.00,11,'2026-05-04',0,0),
(62,62,1,66.00,1,'2026-05-03',0,0),
(63,63,1,120.00,1,'2026-05-03',0,0),
(64,64,1,147.00,11,'2026-05-04',0,0),
(65,65,1,141.00,1,'2026-05-03',0,0),
(66,66,1,66.00,1,'2026-05-03',0,0),
(67,67,1,48.00,1,'2026-05-03',0,0),
(68,68,1,51.00,1,'2026-05-03',0,0),
(69,69,1,36.00,1,'2026-05-03',0,0),
(70,70,1,28.00,1,'2026-05-03',0,0),
(71,71,1,4.00,1,'2026-05-03',0,0),
(72,72,1,19.00,11,'2026-05-04',0,0),
(73,73,1,36.00,1,'2026-05-03',0,0),
(74,74,1,24.00,11,'2026-05-04',0,0),
(75,75,1,36.00,1,'2026-05-03',0,0),
(76,76,1,6.00,1,'2026-05-03',0,0),
(77,77,1,30.00,1,'2026-05-03',0,0),
(78,78,1,309.00,11,'2026-05-04',0,0),
(79,79,1,17.00,11,'2026-05-04',0,0),
(80,80,1,54.00,1,'2026-05-03',0,0),
(81,81,1,188.00,1,'2026-05-03',0,0),
(82,82,1,60.00,1,'2026-05-03',0,0),
(83,83,1,36.00,1,'2026-05-03',0,0),
(84,84,1,56.00,1,'2026-05-03',0,0),
(85,85,1,44.00,1,'2026-05-03',0,0),
(86,86,1,60.00,1,'2026-05-03',0,0),
(87,87,1,32.00,1,'2026-05-03',0,0),
(88,88,1,16.00,1,'2026-05-03',0,0),
(89,89,1,24.00,1,'2026-05-03',0,0),
(90,90,1,78.00,11,'2026-05-04',0,0),
(91,91,1,18.00,1,'2026-05-03',0,0),
(92,92,1,220.00,11,'2026-05-04',0,0),
(93,93,1,216.00,11,'2026-05-04',0,0),
(94,94,1,213.00,1,'2026-05-03',0,0),
(95,95,1,624.00,1,'2026-05-03',0,0),
(96,96,1,213.00,11,'2026-05-04',0,0),
(97,97,1,180.00,11,'2026-05-04',0,0),
(98,98,1,24.00,1,'2026-05-03',0,0),
(99,99,1,528.00,1,'2026-05-03',0,0),
(100,100,1,132.00,11,'2026-05-04',0,0),
(101,101,1,42.00,11,'2026-05-04',0,0),
(102,102,1,45.00,11,'2026-05-04',0,0),
(103,103,1,118.00,1,'2026-05-03',0,0),
(104,104,1,69.00,1,'2026-05-03',0,0),
(105,105,1,84.00,1,'2026-05-03',0,0),
(106,106,1,24.00,1,'2026-05-03',0,0),
(107,107,1,12.00,1,'2026-05-03',0,0),
(108,108,1,24.00,1,'2026-05-03',0,0),
(109,109,1,24.00,1,'2026-05-03',0,0),
(110,110,1,16.00,1,'2026-05-03',0,0),
(111,111,1,20.00,1,'2026-05-03',0,0),
(112,112,1,0.00,11,'2026-05-04',0,0),
(113,113,1,8.00,1,'2026-05-03',0,0),
(114,114,1,8.00,1,'2026-05-03',0,0),
(115,115,1,261.00,1,'2026-05-03',0,0),
(116,116,1,393.00,11,'2026-05-04',0,0),
(117,117,1,140.00,1,'2026-05-03',0,0),
(118,118,1,33.00,1,'2026-05-03',0,0),
(119,119,1,30.00,1,'2026-05-03',0,0),
(120,120,1,81.00,1,'2026-05-03',0,0),
(121,121,1,37.00,11,'2026-05-04',0,0),
(122,122,1,8.00,1,'2026-05-03',0,0),
(123,123,1,4.00,1,'2026-05-03',0,0),
(124,124,1,228.00,11,'2026-05-04',0,0),
(125,125,1,144.00,1,'2026-05-03',0,0),
(126,126,1,105.00,11,'2026-05-04',0,0),
(127,127,1,36.00,11,'2026-05-04',0,0),
(128,128,1,106.00,11,'2026-05-04',0,0),
(129,129,1,16.00,1,'2026-05-03',0,0),
(130,130,1,4.00,11,'2026-05-04',0,0),
(131,131,1,464.00,1,'2026-05-03',0,0),
(132,132,1,200.00,1,'2026-05-03',0,0),
(133,133,1,224.00,1,'2026-05-03',0,0),
(134,134,1,60.00,1,'2026-05-03',0,0),
(135,135,1,72.00,11,'2026-05-04',0,0),
(136,136,1,66.00,11,'2026-05-04',0,0),
(137,137,1,-192.00,11,'2026-05-04',0,0),
(138,138,1,90.00,1,'2026-05-03',0,0),
(139,139,1,96.00,1,'2026-05-03',0,0),
(140,140,1,-626.00,11,'2026-05-04',0,0),
(141,141,1,51.00,1,'2026-05-03',0,0),
(142,142,1,57.00,11,'2026-05-04',0,0),
(143,143,1,12.00,11,'2026-05-04',0,0),
(144,144,1,9.00,11,'2026-05-04',0,0),
(145,145,1,3.00,11,'2026-05-04',0,0),
(146,146,1,42.00,11,'2026-05-04',0,0),
(147,147,1,27.00,11,'2026-05-04',0,0),
(148,148,1,42.00,1,'2026-05-03',0,0),
(149,149,1,15.00,1,'2026-05-03',0,0),
(150,150,1,15.00,1,'2026-05-03',0,0),
(151,151,1,152.00,1,'2026-05-03',0,0),
(152,152,1,72.00,1,'2026-05-03',0,0),
(153,153,1,316.00,1,'2026-05-03',0,0),
(154,154,1,68.00,11,'2026-05-04',0,0),
(155,155,1,80.00,1,'2026-05-03',0,0),
(156,156,1,68.00,1,'2026-05-03',0,0),
(157,157,1,282.00,11,'2026-05-04',0,0),
(158,158,1,48.00,1,'2026-05-03',0,0),
(159,159,1,138.00,11,'2026-05-04',0,0),
(160,160,1,9.00,1,'2026-05-03',0,0),
(161,161,1,63.00,1,'2026-05-03',0,0),
(162,162,1,21.00,1,'2026-05-03',0,0),
(163,163,1,13.00,1,'2026-05-03',0,0),
(164,164,1,54.00,1,'2026-05-03',0,0),
(165,165,1,32.00,11,'2026-05-04',0,0),
(166,166,1,84.00,11,'2026-05-04',0,0),
(167,167,1,-24.00,11,'2026-05-04',0,0),
(168,168,1,36.00,1,'2026-05-04',0,0);

--
-- Table structure for table `storemovement`
--

CREATE TABLE `storemovement` (
  `transferproductid` int(11) NOT NULL AUTO_INCREMENT,
  `storeidfrom` int(11) NOT NULL,
  `storeidto` int(11) NOT NULL,
  `productid` int(11) NOT NULL,
  `transferproductamount` decimal(10,2) NOT NULL,
  `transferproductdate` date NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `comment` text NOT NULL,
  `operationnum` bigint(20) NOT NULL DEFAULT 0,
  `deloperationnum` int(11) NOT NULL DEFAULT -1,
  `driverid` int(11) DEFAULT NULL,
  `drivertimeout` int(11) DEFAULT NULL,
  `driverdate` datetime DEFAULT NULL,
  `delivererid` int(11) DEFAULT NULL,
  `deliverdate` datetime DEFAULT NULL,
  `storetype` int(11) DEFAULT 0 COMMENT '0=>',
  `priceType` varchar(191) NOT NULL DEFAULT '',
  `sizeid` int(11) NOT NULL DEFAULT 0,
  `colorid` int(11) NOT NULL DEFAULT 0,
  `price` decimal(10,2) NOT NULL DEFAULT 0.00,
  `buyPricesHistoryBookData` text NOT NULL,
  `expireDate` text NOT NULL,
  `expireDateTo` text NOT NULL,
  `maincomment` text NOT NULL,
  `isPrepared` tinyint(4) NOT NULL DEFAULT 0,
  `useridPrepared` int(11) NOT NULL DEFAULT 0,
  `dailyentryid` int(11) NOT NULL DEFAULT 0,
  `recieveType` tinyint(4) NOT NULL,
  `recieveUserid` int(11) NOT NULL,
  `recieveTime` datetime NOT NULL,
  PRIMARY KEY (`transferproductid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `storemovement`
--


--
-- Table structure for table `storemovement_main`
--

CREATE TABLE `storemovement_main` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `userid` int(11) NOT NULL,
  `delbyuserid` int(11) DEFAULT NULL,
  `delbyid` int(11) DEFAULT NULL,
  `sysdate` datetime NOT NULL,
  `conditions` tinyint(4) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `storemovement_main`
--


--
-- Table structure for table `storereport`
--

CREATE TABLE `storereport` (
  `storereportid` int(11) NOT NULL AUTO_INCREMENT,
  `productid` int(11) NOT NULL,
  `storeid` int(11) NOT NULL,
  `productquantity` decimal(10,3) NOT NULL,
  `storereporttype` int(11) NOT NULL COMMENT '0 => plus- 1 => minus',
  `storereportmodelid` int(11) NOT NULL,
  `processname` varchar(256) NOT NULL,
  `tablename` varchar(256) NOT NULL,
  `productbefore` decimal(10,3) NOT NULL,
  `productafter` decimal(10,3) NOT NULL,
  `userid` int(11) NOT NULL,
  `storereportdate` date NOT NULL,
  `sizeid` int(11) NOT NULL DEFAULT 0,
  `colorid` int(11) NOT NULL DEFAULT 0,
  `unittype` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`storereportid`),
  KEY `productid` (`productid`,`storeid`),
  KEY `storeid` (`storeid`)
) ENGINE=InnoDB AUTO_INCREMENT=269 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `storereport`
--

INSERT INTO `storereport` VALUES
(1,1,1,39.000,0,1,'إضاÙة منتج','productController.php',0.000,39.000,1,'2026-05-02',0,0,0),
(2,2,1,51.000,0,2,'إضاÙة منتج','productController.php',0.000,51.000,1,'2026-05-02',0,0,0),
(3,3,1,57.000,0,3,'إضاÙة منتج','productController.php',0.000,57.000,1,'2026-05-02',0,0,0),
(4,4,1,148.000,0,4,'إضاÙة منتج','productController.php',0.000,148.000,1,'2026-05-02',0,0,0),
(5,5,1,21.000,0,5,'إضاÙة منتج','productController.php',0.000,21.000,1,'2026-05-02',0,0,0),
(6,6,1,48.000,0,6,'إضاÙة منتج','productController.php',0.000,48.000,1,'2026-05-02',0,0,0),
(7,2,1,3.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',51.000,54.000,1,'2026-05-02',0,0,0),
(8,7,1,36.000,0,7,'إضاÙة منتج','productController.php',0.000,36.000,1,'2026-05-02',0,0,0),
(9,8,1,21.000,0,8,'إضاÙة منتج','productController.php',0.000,21.000,1,'2026-05-02',0,0,0),
(10,5,1,3.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',21.000,24.000,1,'2026-05-02',0,0,0),
(11,9,1,18.000,0,9,'إضاÙة منتج','productController.php',0.000,18.000,1,'2026-05-02',0,0,0),
(12,10,1,90.000,0,10,'إضاÙة منتج','productController.php',0.000,90.000,1,'2026-05-02',0,0,0),
(13,10,1,3.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',90.000,93.000,1,'2026-05-02',0,0,0),
(14,8,1,3.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',21.000,24.000,1,'2026-05-02',0,0,0),
(15,2,1,3.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',54.000,57.000,1,'2026-05-02',0,0,0),
(16,11,1,42.000,0,11,'إضاÙة منتج','productController.php',0.000,42.000,1,'2026-05-02',0,0,0),
(17,10,1,3.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',93.000,96.000,1,'2026-05-02',0,0,0),
(18,12,1,9.000,0,12,'إضاÙة منتج','productController.php',0.000,9.000,1,'2026-05-02',0,0,0),
(19,13,1,8.000,0,13,'إضاÙة منتج','productController.php',0.000,8.000,1,'2026-05-02',0,0,0),
(20,14,1,8.000,0,14,'إضاÙة منتج','productController.php',0.000,8.000,1,'2026-05-02',0,0,0),
(21,15,1,54.000,0,15,'إضاÙة منتج','productController.php',0.000,54.000,1,'2026-05-02',0,0,0),
(22,16,1,69.000,0,16,'إضاÙة منتج','productController.php',0.000,69.000,1,'2026-05-02',0,0,0),
(23,17,1,36.000,0,17,'إضاÙة منتج','productController.php',0.000,36.000,1,'2026-05-02',0,0,0),
(24,9,1,3.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',18.000,21.000,1,'2026-05-02',0,0,0),
(25,18,1,63.000,0,18,'إضاÙة منتج','productController.php',0.000,63.000,1,'2026-05-02',0,0,0),
(26,19,1,30.000,0,19,'إضاÙة منتج','productController.php',0.000,30.000,1,'2026-05-02',0,0,0),
(27,20,1,18.000,0,20,'إضاÙة منتج','productController.php',0.000,18.000,1,'2026-05-02',0,0,0),
(28,21,1,78.000,0,21,'إضاÙة منتج','productController.php',0.000,78.000,1,'2026-05-02',0,0,0),
(29,22,1,80.000,0,22,'إضاÙة منتج','productController.php',0.000,80.000,1,'2026-05-02',0,0,0),
(30,23,1,80.000,0,23,'إضاÙة منتج','productController.php',0.000,80.000,1,'2026-05-02',0,0,0),
(31,24,1,208.000,0,24,'إضاÙة منتج','productController.php',0.000,208.000,1,'2026-05-02',0,0,0),
(32,25,1,16.000,0,25,'إضاÙة منتج','productController.php',0.000,16.000,1,'2026-05-02',0,0,0),
(33,26,1,44.000,0,26,'إضاÙة منتج','productController.php',0.000,44.000,1,'2026-05-03',0,0,0),
(34,27,1,32.000,0,27,'إضاÙة منتج','productController.php',0.000,32.000,1,'2026-05-03',0,0,0),
(35,28,1,80.000,0,28,'إضاÙة منتج','productController.php',0.000,80.000,1,'2026-05-03',0,0,0),
(36,29,1,40.000,0,29,'إضاÙة منتج','productController.php',0.000,40.000,1,'2026-05-03',0,0,0),
(37,30,1,45.000,0,30,'إضاÙة منتج','productController.php',0.000,45.000,1,'2026-05-03',0,0,0),
(38,31,1,45.000,0,31,'إضاÙة منتج','productController.php',0.000,45.000,1,'2026-05-03',0,0,0),
(39,32,1,30.000,0,32,'إضاÙة منتج','productController.php',0.000,30.000,1,'2026-05-03',0,0,0),
(40,33,1,12.000,0,33,'إضاÙة منتج','productController.php',0.000,12.000,1,'2026-05-03',0,0,0),
(41,34,1,39.000,0,34,'إضاÙة منتج','productController.php',0.000,39.000,1,'2026-05-03',0,0,0),
(42,35,1,33.000,0,35,'إضاÙة منتج','productController.php',0.000,33.000,1,'2026-05-03',0,0,0),
(43,36,1,86.000,0,36,'إضاÙة منتج','productController.php',0.000,86.000,1,'2026-05-03',0,0,0),
(44,37,1,39.000,0,37,'إضاÙة منتج','productController.php',0.000,39.000,1,'2026-05-03',0,0,0),
(45,38,1,33.000,0,38,'إضاÙة منتج','productController.php',0.000,33.000,1,'2026-05-03',0,0,0),
(46,39,1,45.000,0,39,'إضاÙة منتج','productController.php',0.000,45.000,1,'2026-05-03',0,0,0),
(47,40,1,99.000,0,40,'إضاÙة منتج','productController.php',0.000,99.000,1,'2026-05-03',0,0,0),
(48,41,1,18.000,0,41,'إضاÙة منتج','productController.php',0.000,18.000,1,'2026-05-03',0,0,0),
(49,42,1,33.000,0,42,'إضاÙة منتج','productController.php',0.000,33.000,1,'2026-05-03',0,0,0),
(50,43,1,123.000,0,43,'إضاÙة منتج','productController.php',0.000,123.000,1,'2026-05-03',0,0,0),
(51,44,1,72.000,0,44,'إضاÙة منتج','productController.php',0.000,72.000,1,'2026-05-03',0,0,0),
(52,45,1,141.000,0,45,'إضاÙة منتج','productController.php',0.000,141.000,1,'2026-05-03',0,0,0),
(53,46,1,93.000,0,46,'إضاÙة منتج','productController.php',0.000,93.000,1,'2026-05-03',0,0,0),
(54,47,1,45.000,0,47,'إضاÙة منتج','productController.php',0.000,45.000,1,'2026-05-03',0,0,0),
(55,48,1,12.000,0,48,'إضاÙة منتج','productController.php',0.000,12.000,1,'2026-05-03',0,0,0),
(56,49,1,42.000,0,49,'إضاÙة منتج','productController.php',0.000,42.000,1,'2026-05-03',0,0,0),
(57,50,1,75.000,0,50,'إضاÙة منتج','productController.php',0.000,75.000,1,'2026-05-03',0,0,0),
(58,51,1,51.000,0,51,'إضاÙة منتج','productController.php',0.000,51.000,1,'2026-05-03',0,0,0),
(59,52,1,24.000,0,52,'إضاÙة منتج','productController.php',0.000,24.000,1,'2026-05-03',0,0,0),
(60,53,1,36.000,0,53,'إضاÙة منتج','productController.php',0.000,36.000,1,'2026-05-03',0,0,0),
(61,54,1,84.000,0,54,'إضاÙة منتج','productController.php',0.000,84.000,1,'2026-05-03',0,0,0),
(62,55,1,45.000,0,55,'إضاÙة منتج','productController.php',0.000,45.000,1,'2026-05-03',0,0,0),
(63,56,1,45.000,0,56,'إضاÙة منتج','productController.php',0.000,45.000,1,'2026-05-03',0,0,0),
(64,57,1,25.000,0,57,'إضاÙة منتج','productController.php',0.000,25.000,1,'2026-05-03',0,0,0),
(65,58,1,3.000,0,58,'إضاÙة منتج','productController.php',0.000,3.000,1,'2026-05-03',0,0,0),
(66,59,1,87.000,0,59,'إضاÙة منتج','productController.php',0.000,87.000,1,'2026-05-03',0,0,0),
(67,60,1,8.000,0,60,'إضاÙة منتج','productController.php',0.000,8.000,1,'2026-05-03',0,0,0),
(68,61,1,21.000,0,61,'إضاÙة منتج','productController.php',0.000,21.000,1,'2026-05-03',0,0,0),
(69,62,1,66.000,0,62,'إضاÙة منتج','productController.php',0.000,66.000,1,'2026-05-03',0,0,0),
(70,63,1,120.000,0,63,'إضاÙة منتج','productController.php',0.000,120.000,1,'2026-05-03',0,0,0),
(71,64,1,150.000,0,64,'إضاÙة منتج','productController.php',0.000,150.000,1,'2026-05-03',0,0,0),
(72,65,1,141.000,0,65,'إضاÙة منتج','productController.php',0.000,141.000,1,'2026-05-03',0,0,0),
(73,66,1,66.000,0,66,'إضاÙة منتج','productController.php',0.000,66.000,1,'2026-05-03',0,0,0),
(74,67,1,48.000,0,67,'إضاÙة منتج','productController.php',0.000,48.000,1,'2026-05-03',0,0,0),
(75,68,1,51.000,0,68,'إضاÙة منتج','productController.php',0.000,51.000,1,'2026-05-03',0,0,0),
(76,69,1,36.000,0,69,'إضاÙة منتج','productController.php',0.000,36.000,1,'2026-05-03',0,0,0),
(77,70,1,28.000,0,70,'إضاÙة منتج','productController.php',0.000,28.000,1,'2026-05-03',0,0,0),
(78,71,1,4.000,0,71,'إضاÙة منتج','productController.php',0.000,4.000,1,'2026-05-03',0,0,0),
(79,72,1,27.000,0,72,'إضاÙة منتج','productController.php',0.000,27.000,1,'2026-05-03',0,0,0),
(80,73,1,36.000,0,73,'إضاÙة منتج','productController.php',0.000,36.000,1,'2026-05-03',0,0,0),
(81,74,1,39.000,0,74,'إضاÙة منتج','productController.php',0.000,39.000,1,'2026-05-03',0,0,0),
(82,3,1,6.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',57.000,63.000,1,'2026-05-03',0,0,0),
(83,3,1,6.000,1,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالنقص','inventoryController.php',63.000,57.000,1,'2026-05-03',0,0,0),
(84,2,1,6.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',57.000,63.000,1,'2026-05-03',0,0,0),
(85,1,1,9.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',39.000,48.000,1,'2026-05-03',0,0,0),
(86,75,1,36.000,0,75,'إضاÙة منتج','productController.php',0.000,36.000,1,'2026-05-03',0,0,0),
(87,76,1,6.000,0,76,'إضاÙة منتج','productController.php',0.000,6.000,1,'2026-05-03',0,0,0),
(88,77,1,30.000,0,77,'إضاÙة منتج','productController.php',0.000,30.000,1,'2026-05-03',0,0,0),
(89,78,1,315.000,0,78,'إضاÙة منتج','productController.php',0.000,315.000,1,'2026-05-03',0,0,0),
(90,79,1,66.000,0,79,'إضاÙة منتج','productController.php',0.000,66.000,1,'2026-05-03',0,0,0),
(91,80,1,54.000,0,80,'إضاÙة منتج','productController.php',0.000,54.000,1,'2026-05-03',0,0,0),
(92,81,1,188.000,0,81,'إضاÙة منتج','productController.php',0.000,188.000,1,'2026-05-03',0,0,0),
(93,82,1,60.000,0,82,'إضاÙة منتج','productController.php',0.000,60.000,1,'2026-05-03',0,0,0),
(94,83,1,36.000,0,83,'إضاÙة منتج','productController.php',0.000,36.000,1,'2026-05-03',0,0,0),
(95,84,1,56.000,0,84,'إضاÙة منتج','productController.php',0.000,56.000,1,'2026-05-03',0,0,0),
(96,85,1,44.000,0,85,'إضاÙة منتج','productController.php',0.000,44.000,1,'2026-05-03',0,0,0),
(97,86,1,60.000,0,86,'إضاÙة منتج','productController.php',0.000,60.000,1,'2026-05-03',0,0,0),
(98,87,1,32.000,0,87,'إضاÙة منتج','productController.php',0.000,32.000,1,'2026-05-03',0,0,0),
(99,88,1,16.000,0,88,'إضاÙة منتج','productController.php',0.000,16.000,1,'2026-05-03',0,0,0),
(100,89,1,24.000,0,89,'إضاÙة منتج','productController.php',0.000,24.000,1,'2026-05-03',0,0,0),
(101,90,1,84.000,0,90,'إضاÙة منتج','productController.php',0.000,84.000,1,'2026-05-03',0,0,0),
(102,91,1,18.000,0,91,'إضاÙة منتج','productController.php',0.000,18.000,1,'2026-05-03',0,0,0),
(103,92,1,224.000,0,92,'إضاÙة منتج','productController.php',0.000,224.000,1,'2026-05-03',0,0,0),
(104,93,1,220.000,0,93,'إضاÙة منتج','productController.php',0.000,220.000,1,'2026-05-03',0,0,0),
(105,94,1,213.000,0,94,'إضاÙة منتج','productController.php',0.000,213.000,1,'2026-05-03',0,0,0),
(106,95,1,624.000,0,95,'إضاÙة منتج','productController.php',0.000,624.000,1,'2026-05-03',0,0,0),
(107,96,1,219.000,0,96,'إضاÙة منتج','productController.php',0.000,219.000,1,'2026-05-03',0,0,0),
(108,97,1,189.000,0,97,'إضاÙة منتج','productController.php',0.000,189.000,1,'2026-05-03',0,0,0),
(109,98,1,24.000,0,98,'إضاÙة منتج','productController.php',0.000,24.000,1,'2026-05-03',0,0,0),
(110,99,1,528.000,0,99,'إضاÙة منتج','productController.php',0.000,528.000,1,'2026-05-03',0,0,0),
(111,100,1,144.000,0,100,'إضاÙة منتج','productController.php',0.000,144.000,1,'2026-05-03',0,0,0),
(112,101,1,57.000,0,101,'إضاÙة منتج','productController.php',0.000,57.000,1,'2026-05-03',0,0,0),
(113,102,1,51.000,0,102,'إضاÙة منتج','productController.php',0.000,51.000,1,'2026-05-03',0,0,0),
(114,103,1,118.000,0,103,'إضاÙة منتج','productController.php',0.000,118.000,1,'2026-05-03',0,0,0),
(115,104,1,69.000,0,104,'إضاÙة منتج','productController.php',0.000,69.000,1,'2026-05-03',0,0,0),
(116,105,1,84.000,0,105,'إضاÙة منتج','productController.php',0.000,84.000,1,'2026-05-03',0,0,0),
(117,106,1,24.000,0,106,'إضاÙة منتج','productController.php',0.000,24.000,1,'2026-05-03',0,0,0),
(118,107,1,12.000,0,107,'إضاÙة منتج','productController.php',0.000,12.000,1,'2026-05-03',0,0,0),
(119,108,1,24.000,0,108,'إضاÙة منتج','productController.php',0.000,24.000,1,'2026-05-03',0,0,0),
(120,109,1,24.000,0,109,'إضاÙة منتج','productController.php',0.000,24.000,1,'2026-05-03',0,0,0),
(121,110,1,16.000,0,110,'إضاÙة منتج','productController.php',0.000,16.000,1,'2026-05-03',0,0,0),
(122,111,1,20.000,0,111,'إضاÙة منتج','productController.php',0.000,20.000,1,'2026-05-03',0,0,0),
(123,112,1,8.000,0,112,'إضاÙة منتج','productController.php',0.000,8.000,1,'2026-05-03',0,0,0),
(124,113,1,8.000,0,113,'إضاÙة منتج','productController.php',0.000,8.000,1,'2026-05-03',0,0,0),
(125,114,1,8.000,0,114,'إضاÙة منتج','productController.php',0.000,8.000,1,'2026-05-03',0,0,0),
(126,115,1,261.000,0,115,'إضاÙة منتج','productController.php',0.000,261.000,1,'2026-05-03',0,0,0),
(127,116,1,402.000,0,116,'إضاÙة منتج','productController.php',0.000,402.000,1,'2026-05-03',0,0,0),
(128,117,1,140.000,0,117,'إضاÙة منتج','productController.php',0.000,140.000,1,'2026-05-03',0,0,0),
(129,118,1,33.000,0,118,'إضاÙة منتج','productController.php',0.000,33.000,1,'2026-05-03',0,0,0),
(130,119,1,30.000,0,119,'إضاÙة منتج','productController.php',0.000,30.000,1,'2026-05-03',0,0,0),
(131,120,1,81.000,0,120,'إضاÙة منتج','productController.php',0.000,81.000,1,'2026-05-03',0,0,0),
(132,121,1,48.000,0,121,'إضاÙة منتج','productController.php',0.000,48.000,1,'2026-05-03',0,0,0),
(133,122,1,8.000,0,122,'إضاÙة منتج','productController.php',0.000,8.000,1,'2026-05-03',0,0,0),
(134,123,1,4.000,0,123,'إضاÙة منتج','productController.php',0.000,4.000,1,'2026-05-03',0,0,0),
(135,124,1,249.000,0,124,'إضاÙة منتج','productController.php',0.000,249.000,1,'2026-05-03',0,0,0),
(136,125,1,144.000,0,125,'إضاÙة منتج','productController.php',0.000,144.000,1,'2026-05-03',0,0,0),
(137,126,1,117.000,0,126,'إضاÙة منتج','productController.php',0.000,117.000,1,'2026-05-03',0,0,0),
(138,127,1,36.000,0,127,'إضاÙة منتج','productController.php',0.000,36.000,1,'2026-05-03',0,0,0),
(139,128,1,104.000,0,128,'إضاÙة منتج','productController.php',0.000,104.000,1,'2026-05-03',0,0,0),
(140,129,1,16.000,0,129,'إضاÙة منتج','productController.php',0.000,16.000,1,'2026-05-03',0,0,0),
(141,130,1,15.000,0,130,'إضاÙة منتج','productController.php',0.000,15.000,1,'2026-05-03',0,0,0),
(142,131,1,464.000,0,131,'إضاÙة منتج','productController.php',0.000,464.000,1,'2026-05-03',0,0,0),
(143,132,1,200.000,0,132,'إضاÙة منتج','productController.php',0.000,200.000,1,'2026-05-03',0,0,0),
(144,133,1,224.000,0,133,'إضاÙة منتج','productController.php',0.000,224.000,1,'2026-05-03',0,0,0),
(145,134,1,60.000,0,134,'إضاÙة منتج','productController.php',0.000,60.000,1,'2026-05-03',0,0,0),
(146,135,1,84.000,0,135,'إضاÙة منتج','productController.php',0.000,84.000,1,'2026-05-03',0,0,0),
(147,136,1,87.000,0,136,'إضاÙة منتج','productController.php',0.000,87.000,1,'2026-05-03',0,0,0),
(148,137,1,39.000,0,137,'إضاÙة منتج','productController.php',0.000,39.000,1,'2026-05-03',0,0,0),
(149,138,1,90.000,0,138,'إضاÙة منتج','productController.php',0.000,90.000,1,'2026-05-03',0,0,0),
(150,139,1,96.000,0,139,'إضاÙة منتج','productController.php',0.000,96.000,1,'2026-05-03',0,0,0),
(151,140,1,54.000,0,140,'إضاÙة منتج','productController.php',0.000,54.000,1,'2026-05-03',0,0,0),
(152,141,1,51.000,0,141,'إضاÙة منتج','productController.php',0.000,51.000,1,'2026-05-03',0,0,0),
(153,137,1,9.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',39.000,48.000,1,'2026-05-03',0,0,0),
(154,142,1,96.000,0,142,'إضاÙة منتج','productController.php',0.000,96.000,1,'2026-05-03',0,0,0),
(155,143,1,21.000,0,143,'إضاÙة منتج','productController.php',0.000,21.000,1,'2026-05-03',0,0,0),
(156,144,1,12.000,0,144,'إضاÙة منتج','productController.php',0.000,12.000,1,'2026-05-03',0,0,0),
(157,145,1,6.000,0,145,'إضاÙة منتج','productController.php',0.000,6.000,1,'2026-05-03',0,0,0),
(158,146,1,45.000,0,146,'إضاÙة منتج','productController.php',0.000,45.000,1,'2026-05-03',0,0,0),
(159,147,1,42.000,0,147,'إضاÙة منتج','productController.php',0.000,42.000,1,'2026-05-03',0,0,0),
(160,148,1,42.000,0,148,'إضاÙة منتج','productController.php',0.000,42.000,1,'2026-05-03',0,0,0),
(161,149,1,15.000,0,149,'إضاÙة منتج','productController.php',0.000,15.000,1,'2026-05-03',0,0,0),
(162,150,1,15.000,0,150,'إضاÙة منتج','productController.php',0.000,15.000,1,'2026-05-03',0,0,0),
(163,151,1,152.000,0,151,'إضاÙة منتج','productController.php',0.000,152.000,1,'2026-05-03',0,0,0),
(164,152,1,72.000,0,152,'إضاÙة منتج','productController.php',0.000,72.000,1,'2026-05-03',0,0,0),
(165,153,1,316.000,0,153,'إضاÙة منتج','productController.php',0.000,316.000,1,'2026-05-03',0,0,0),
(166,154,1,0.000,0,154,'إضاÙة منتج','productController.php',0.000,0.000,1,'2026-05-03',0,0,0),
(167,155,1,0.000,0,155,'إضاÙة منتج','productController.php',0.000,0.000,1,'2026-05-03',0,0,0),
(168,156,1,0.000,0,156,'إضاÙة منتج','productController.php',0.000,0.000,1,'2026-05-03',0,0,0),
(169,154,1,80.000,0,1,'اضاÙة Ùاتورة مشتريات','buyBillController.php',0.000,80.000,1,'2026-05-03',0,0,0),
(170,155,1,80.000,0,1,'اضاÙة Ùاتورة مشتريات','buyBillController.php',0.000,80.000,1,'2026-05-03',0,0,0),
(171,156,1,68.000,0,1,'اضاÙة Ùاتورة مشتريات','buyBillController.php',0.000,68.000,1,'2026-05-03',0,0,0),
(172,157,1,105.000,0,157,'إضاÙة منتج','productController.php',0.000,105.000,1,'2026-05-03',0,0,0),
(173,158,1,48.000,0,158,'إضاÙة منتج','productController.php',0.000,48.000,1,'2026-05-03',0,0,0),
(174,159,1,78.000,0,159,'إضاÙة منتج','productController.php',0.000,78.000,1,'2026-05-03',0,0,0),
(175,160,1,9.000,0,160,'إضاÙة منتج','productController.php',0.000,9.000,1,'2026-05-03',0,0,0),
(176,161,1,63.000,0,161,'إضاÙة منتج','productController.php',0.000,63.000,1,'2026-05-03',0,0,0),
(177,162,1,21.000,0,162,'إضاÙة منتج','productController.php',0.000,21.000,1,'2026-05-03',0,0,0),
(178,163,1,13.000,0,163,'إضاÙة منتج','productController.php',0.000,13.000,1,'2026-05-03',0,0,0),
(179,164,1,54.000,0,164,'إضاÙة منتج','productController.php',0.000,54.000,1,'2026-05-03',0,0,0),
(180,159,1,21.000,1,1,'اضاÙة Ùاتورة مبيعات','sellbillController.php',78.000,57.000,11,'2026-05-04',0,0,0),
(181,44,1,12.000,1,2,'اضاÙة Ùاتورة مبيعات','sellbillController.php',72.000,60.000,11,'2026-05-04',0,0,0),
(182,101,1,15.000,1,2,'اضاÙة Ùاتورة مبيعات','sellbillController.php',57.000,42.000,11,'2026-05-04',0,0,0),
(183,165,1,52.000,0,165,'إضاÙة منتج','productController.php',0.000,52.000,1,'2026-05-04',0,0,0),
(184,166,1,0.000,0,166,'إضاÙة منتج','productController.php',0.000,0.000,11,'2026-05-04',0,0,0),
(185,165,1,20.000,1,3,'اضاÙة Ùاتورة مبيعات','sellbillController.php',52.000,32.000,11,'2026-05-04',0,0,0),
(186,124,1,9.000,1,4,'اضاÙة Ùاتورة مبيعات','sellbillController.php',249.000,240.000,11,'2026-05-04',0,0,0),
(187,140,1,320.000,1,5,'اضاÙة Ùاتورة مبيعات','sellbillController.php',54.000,-266.000,11,'2026-05-04',0,0,0),
(188,126,1,8.000,1,5,'اضاÙة Ùاتورة مبيعات','sellbillController.php',117.000,109.000,11,'2026-05-04',0,0,0),
(189,64,1,3.000,1,6,'اضاÙة Ùاتورة مبيعات','sellbillController.php',150.000,147.000,11,'2026-05-04',0,0,0),
(190,145,1,3.000,1,6,'اضاÙة Ùاتورة مبيعات','sellbillController.php',6.000,3.000,11,'2026-05-04',0,0,0),
(191,142,1,3.000,1,6,'اضاÙة Ùاتورة مبيعات','sellbillController.php',96.000,93.000,11,'2026-05-04',0,0,0),
(192,166,1,102.000,0,2,'اضاÙة Ùاتورة مشتريات','buyBillController.php',0.000,102.000,1,'2026-05-04',0,0,0),
(193,159,1,102.000,0,2,'اضاÙة Ùاتورة مشتريات','buyBillController.php',57.000,159.000,1,'2026-05-04',0,0,0),
(194,157,1,225.000,0,2,'اضاÙة Ùاتورة مشتريات','buyBillController.php',105.000,330.000,1,'2026-05-04',0,0,0),
(195,100,1,12.000,1,7,'اضاÙة Ùاتورة مبيعات','sellbillController.php',144.000,132.000,11,'2026-05-04',0,0,0),
(196,44,1,28.000,1,8,'اضاÙة Ùاتورة مبيعات','sellbillController.php',60.000,32.000,11,'2026-05-04',0,0,0),
(197,72,1,8.000,1,8,'اضاÙة Ùاتورة مبيعات','sellbillController.php',27.000,19.000,11,'2026-05-04',0,0,0),
(198,112,1,8.000,1,9,'اضاÙة Ùاتورة مبيعات','sellbillController.php',8.000,0.000,11,'2026-05-04',0,0,0),
(199,159,1,6.000,1,10,'اضاÙة Ùاتورة مبيعات','sellbillController.php',159.000,153.000,11,'2026-05-04',0,0,0),
(200,166,1,3.000,1,11,'اضاÙة Ùاتورة مبيعات','sellbillController.php',102.000,99.000,11,'2026-05-04',0,0,0),
(201,124,1,3.000,1,11,'اضاÙة Ùاتورة مبيعات','sellbillController.php',240.000,237.000,11,'2026-05-04',0,0,0),
(202,43,1,3.000,1,11,'اضاÙة Ùاتورة مبيعات','sellbillController.php',123.000,120.000,11,'2026-05-04',0,0,0),
(203,147,1,6.000,1,11,'اضاÙة Ùاتورة مبيعات','sellbillController.php',42.000,36.000,11,'2026-05-04',0,0,0),
(204,157,1,3.000,1,11,'اضاÙة Ùاتورة مبيعات','sellbillController.php',330.000,327.000,11,'2026-05-04',0,0,0),
(205,140,1,120.000,1,11,'اضاÙة Ùاتورة مبيعات','sellbillController.php',-266.000,-386.000,11,'2026-05-04',0,0,0),
(206,127,1,4.000,1,11,'اضاÙة Ùاتورة مبيعات','sellbillController.php',36.000,32.000,11,'2026-05-04',0,0,0),
(207,124,1,1.000,1,11,'اضاÙة Ùاتورة مبيعات','sellbillController.php',237.000,236.000,11,'2026-05-04',0,0,0),
(208,127,1,4.000,0,1,'اضاÙة Ùاتورة مردودات مبيعات','returnsellbillController.php',32.000,36.000,11,'2026-05-04',0,0,0),
(209,79,1,105.000,1,12,'اضاÙة Ùاتورة مبيعات','sellbillController.php',66.000,-39.000,11,'2026-05-04',0,0,0),
(210,124,1,3.000,1,13,'اضاÙة Ùاتورة مبيعات','sellbillController.php',236.000,233.000,11,'2026-05-04',0,0,0),
(211,20,1,3.000,1,13,'اضاÙة Ùاتورة مبيعات','sellbillController.php',18.000,15.000,11,'2026-05-04',0,0,0),
(212,79,1,89.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',-39.000,50.000,1,'2026-05-04',0,0,0),
(213,166,1,15.000,1,14,'اضاÙة Ùاتورة مبيعات','sellbillController.php',99.000,84.000,11,'2026-05-04',0,0,0),
(214,44,1,11.000,1,15,'اضاÙة Ùاتورة مبيعات','sellbillController.php',32.000,21.000,11,'2026-05-04',0,0,0),
(215,43,1,3.000,1,16,'اضاÙة Ùاتورة مبيعات','sellbillController.php',120.000,117.000,11,'2026-05-04',0,0,0),
(216,93,1,4.000,1,16,'اضاÙة Ùاتورة مبيعات','sellbillController.php',220.000,216.000,11,'2026-05-04',0,0,0),
(217,128,1,2.000,0,2,'اضاÙة Ùاتورة مردودات مبيعات','returnsellbillController.php',104.000,106.000,11,'2026-05-04',0,0,0),
(218,124,1,1.000,0,3,'اضاÙة Ùاتورة مردودات مبيعات','returnsellbillController.php',233.000,234.000,11,'2026-05-04',0,0,0),
(219,157,1,3.000,1,17,'اضاÙة Ùاتورة مبيعات','sellbillController.php',327.000,324.000,11,'2026-05-04',0,0,0),
(220,92,1,4.000,1,17,'اضاÙة Ùاتورة مبيعات','sellbillController.php',224.000,220.000,11,'2026-05-04',0,0,0),
(221,126,1,4.000,1,17,'اضاÙة Ùاتورة مبيعات','sellbillController.php',109.000,105.000,11,'2026-05-04',0,0,0),
(222,90,1,6.000,1,18,'اضاÙة Ùاتورة مبيعات','sellbillController.php',84.000,78.000,11,'2026-05-04',0,0,0),
(223,79,1,6.000,1,19,'اضاÙة Ùاتورة مبيعات','sellbillController.php',50.000,44.000,11,'2026-05-04',0,0,0),
(224,157,1,24.000,1,20,'اضاÙة Ùاتورة مبيعات','sellbillController.php',324.000,300.000,11,'2026-05-04',0,0,0),
(225,79,1,24.000,1,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالنقص','inventoryController.php',44.000,20.000,1,'2026-05-04',0,0,0),
(226,116,1,9.000,1,21,'اضاÙة Ùاتورة مبيعات','sellbillController.php',402.000,393.000,11,'2026-05-04',0,0,0),
(227,78,1,6.000,1,21,'اضاÙة Ùاتورة مبيعات','sellbillController.php',315.000,309.000,11,'2026-05-04',0,0,0),
(228,159,1,6.000,1,21,'اضاÙة Ùاتورة مبيعات','sellbillController.php',153.000,147.000,11,'2026-05-04',0,0,0),
(229,157,1,15.000,1,21,'اضاÙة Ùاتورة مبيعات','sellbillController.php',300.000,285.000,11,'2026-05-04',0,0,0),
(230,19,1,15.000,1,22,'اضاÙة Ùاتورة مبيعات','sellbillController.php',30.000,15.000,11,'2026-05-04',0,0,0),
(231,124,1,6.000,1,22,'اضاÙة Ùاتورة مبيعات','sellbillController.php',234.000,228.000,11,'2026-05-04',0,0,0),
(232,136,1,6.000,1,22,'اضاÙة Ùاتورة مبيعات','sellbillController.php',87.000,81.000,11,'2026-05-04',0,0,0),
(233,19,1,15.000,0,4,'اضاÙة Ùاتورة مردودات مبيعات','returnsellbillController.php',15.000,30.000,11,'2026-05-04',0,0,0),
(234,136,1,15.000,1,23,'اضاÙة Ùاتورة مبيعات','sellbillController.php',81.000,66.000,11,'2026-05-04',0,0,0),
(235,130,1,11.000,1,24,'اضاÙة Ùاتورة مبيعات','sellbillController.php',15.000,4.000,11,'2026-05-04',0,0,0),
(236,97,1,9.000,1,25,'اضاÙة Ùاتورة مبيعات','sellbillController.php',189.000,180.000,11,'2026-05-04',0,0,0),
(237,154,1,4.000,1,25,'اضاÙة Ùاتورة مبيعات','sellbillController.php',80.000,76.000,11,'2026-05-04',0,0,0),
(238,167,1,0.000,0,167,'إضاÙة منتج','productController.php',0.000,0.000,11,'2026-05-04',0,0,0),
(239,20,1,12.000,1,26,'اضاÙة Ùاتورة مبيعات','sellbillController.php',15.000,3.000,11,'2026-05-04',0,0,0),
(240,159,1,9.000,1,26,'اضاÙة Ùاتورة مبيعات','sellbillController.php',147.000,138.000,11,'2026-05-04',0,0,0),
(241,48,1,3.000,1,26,'اضاÙة Ùاتورة مبيعات','sellbillController.php',12.000,9.000,11,'2026-05-04',0,0,0),
(242,147,1,9.000,1,27,'اضاÙة Ùاتورة مبيعات','sellbillController.php',36.000,27.000,11,'2026-05-04',0,0,0),
(243,137,1,120.000,1,27,'اضاÙة Ùاتورة مبيعات','sellbillController.php',48.000,-72.000,11,'2026-05-04',0,0,0),
(244,44,1,12.000,1,28,'اضاÙة Ùاتورة مبيعات','sellbillController.php',21.000,9.000,11,'2026-05-04',0,0,0),
(245,40,1,15.000,1,28,'اضاÙة Ùاتورة مبيعات','sellbillController.php',99.000,84.000,11,'2026-05-04',0,0,0),
(246,48,1,3.000,1,28,'اضاÙة Ùاتورة مبيعات','sellbillController.php',9.000,6.000,11,'2026-05-04',0,0,0),
(247,146,1,3.000,1,29,'اضاÙة Ùاتورة مبيعات','sellbillController.php',45.000,42.000,11,'2026-05-04',0,0,0),
(248,74,1,3.000,1,30,'اضاÙة Ùاتورة مبيعات','sellbillController.php',39.000,36.000,11,'2026-05-04',0,0,0),
(249,144,1,3.000,1,31,'اضاÙة Ùاتورة مبيعات','sellbillController.php',12.000,9.000,11,'2026-05-04',0,0,0),
(250,102,1,6.000,1,32,'اضاÙة Ùاتورة مبيعات','sellbillController.php',51.000,45.000,11,'2026-05-04',0,0,0),
(251,96,1,6.000,1,32,'اضاÙة Ùاتورة مبيعات','sellbillController.php',219.000,213.000,11,'2026-05-04',0,0,0),
(252,59,1,6.000,1,32,'اضاÙة Ùاتورة مبيعات','sellbillController.php',87.000,81.000,11,'2026-05-04',0,0,0),
(253,154,1,8.000,1,32,'اضاÙة Ùاتورة مبيعات','sellbillController.php',76.000,68.000,11,'2026-05-04',0,0,0),
(254,74,1,12.000,1,32,'اضاÙة Ùاتورة مبيعات','sellbillController.php',36.000,24.000,11,'2026-05-04',0,0,0),
(255,167,1,24.000,1,32,'اضاÙة Ùاتورة مبيعات','sellbillController.php',0.000,-24.000,11,'2026-05-04',0,0,0),
(256,20,1,9.000,1,33,'اضاÙة Ùاتورة مبيعات','sellbillController.php',3.000,-6.000,11,'2026-05-04',0,0,0),
(257,140,1,240.000,1,34,'اضاÙة Ùاتورة مبيعات','sellbillController.php',-386.000,-626.000,11,'2026-05-04',0,0,0),
(258,137,1,120.000,1,34,'اضاÙة Ùاتورة مبيعات','sellbillController.php',-72.000,-192.000,11,'2026-05-04',0,0,0),
(259,157,1,3.000,1,34,'اضاÙة Ùاتورة مبيعات','sellbillController.php',285.000,282.000,11,'2026-05-04',0,0,0),
(260,168,1,0.000,0,168,'إضاÙة منتج','productController.php',0.000,0.000,11,'2026-05-04',0,0,0),
(261,168,1,36.000,0,-1,'تم إعادة جرد المنتج بالقيمة الحالية بالزيادة','inventoryController.php',0.000,36.000,1,'2026-05-04',0,0,0),
(262,121,1,11.000,1,35,'اضاÙة Ùاتورة مبيعات','sellbillController.php',48.000,37.000,11,'2026-05-04',0,0,0),
(263,79,1,3.000,1,35,'اضاÙة Ùاتورة مبيعات','sellbillController.php',20.000,17.000,11,'2026-05-04',0,0,0),
(264,142,1,36.000,1,36,'اضاÙة Ùاتورة مبيعات','sellbillController.php',93.000,57.000,11,'2026-05-04',0,0,0),
(265,4,1,40.000,1,36,'اضاÙة Ùاتورة مبيعات','sellbillController.php',148.000,108.000,11,'2026-05-04',0,0,0),
(266,143,1,9.000,1,36,'اضاÙة Ùاتورة مبيعات','sellbillController.php',21.000,12.000,11,'2026-05-04',0,0,0),
(267,61,1,12.000,1,36,'اضاÙة Ùاتورة مبيعات','sellbillController.php',21.000,9.000,11,'2026-05-04',0,0,0),
(268,135,1,12.000,1,36,'اضاÙة Ùاتورة مبيعات','sellbillController.php',84.000,72.000,11,'2026-05-04',0,0,0);

--
-- Table structure for table `studentabsences`
--

CREATE TABLE `studentabsences` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `onlys` int(11) unsigned DEFAULT NULL,
  `del` int(11) unsigned DEFAULT NULL,
  `arrivedtime` int(11) unsigned DEFAULT NULL,
  `addtoday` datetime DEFAULT NULL,
  `adduserid` double DEFAULT NULL,
  `uniqid` int(11) unsigned DEFAULT NULL,
  `studentid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `todaysend` date DEFAULT NULL,
  `timesend` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deviceid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) unsigned DEFAULT NULL,
  `studentsubjectid` int(11) unsigned DEFAULT NULL,
  `studentsubjectgroupid` int(11) unsigned DEFAULT NULL,
  `studentaddsubjectid` int(11) unsigned DEFAULT NULL,
  `studentaddsubjectdetailid` int(11) unsigned DEFAULT NULL,
  `deltoday` datetime DEFAULT NULL,
  `deluserid` double DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `studentabsences`
--


--
-- Table structure for table `studentaddsubjectdetails`
--

CREATE TABLE `studentaddsubjectdetails` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `addtoday` datetime DEFAULT NULL,
  `adduserid` double DEFAULT NULL,
  `studentid` int(11) unsigned DEFAULT NULL,
  `studentsubjectid` int(11) unsigned DEFAULT NULL,
  `studentsubjectgroupid` int(11) unsigned DEFAULT NULL,
  `studentaddsubjectid` int(11) unsigned DEFAULT NULL,
  `deltoday` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deluserid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `studentname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `studentphone` int(11) unsigned DEFAULT NULL,
  `deviceid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subjectname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subjectprice` tinyint(1) unsigned DEFAULT NULL,
  `subjectgroupname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subjectgroupprice` int(11) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `studentaddsubjectdetails`
--


--
-- Table structure for table `studentaddsubjects`
--

CREATE TABLE `studentaddsubjects` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `addtoday` datetime DEFAULT NULL,
  `adduserid` double DEFAULT NULL,
  `deltoday` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deluserid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `studentsubjectid` int(11) unsigned DEFAULT NULL,
  `studentsubjectgroupid` int(11) unsigned DEFAULT NULL,
  `studentid` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deviceid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `studentaddsubjects`
--


--
-- Table structure for table `students`
--

CREATE TABLE `students` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `addtoday` datetime DEFAULT NULL,
  `adduserid` double DEFAULT NULL,
  `deltoday` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deluserid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `studentname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `studentdatebirth` double DEFAULT NULL,
  `studentnumber` double DEFAULT NULL,
  `idnumber` double DEFAULT NULL,
  `studentphone` double DEFAULT NULL,
  `parentsname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parentsphone` double DEFAULT NULL,
  `studentaddress` tinyint(1) unsigned DEFAULT NULL,
  `clientid` int(11) unsigned DEFAULT NULL,
  `branchid` double DEFAULT NULL,
  `studentimage` tinyint(1) unsigned DEFAULT NULL,
  `studentnote` tinyint(1) unsigned DEFAULT NULL,
  `studentaddsubjectid` tinyint(1) unsigned DEFAULT NULL,
  `studentsubjectid` tinyint(1) unsigned DEFAULT NULL,
  `studentsubjectgroupid` tinyint(1) unsigned DEFAULT NULL,
  `studentspaymentsystemid` tinyint(1) unsigned DEFAULT NULL,
  `studentaddsubjectdetailid` tinyint(1) unsigned DEFAULT NULL,
  `paymonths` int(11) unsigned DEFAULT NULL,
  `paytype` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `paytypenum` int(11) unsigned DEFAULT NULL,
  `payprice` int(11) unsigned DEFAULT NULL,
  `countmonths` tinyint(1) unsigned DEFAULT NULL,
  `newprice` tinyint(1) unsigned DEFAULT NULL,
  `paystartdate` date DEFAULT NULL,
  `payenddate` date DEFAULT NULL,
  `studentspayid` int(11) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `students`
--


--
-- Table structure for table `studentsetting`
--

CREATE TABLE `studentsetting` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `updateuserid` double DEFAULT NULL,
  `studentorplayer` tinyint(1) unsigned DEFAULT NULL,
  `paymentsystems1` int(11) unsigned DEFAULT NULL,
  `paymentsystems2` tinyint(1) unsigned DEFAULT NULL,
  `paymentsystems3` tinyint(1) unsigned DEFAULT NULL,
  `showdel` tinyint(1) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `studentsetting`
--


--
-- Table structure for table `studentsexams`
--

CREATE TABLE `studentsexams` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `deltoday` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deluserid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `del` int(11) unsigned DEFAULT NULL,
  `addtoday` datetime DEFAULT NULL,
  `adduserid` double DEFAULT NULL,
  `studentaddsubjectid` int(11) unsigned DEFAULT NULL,
  `studentsubjectid` int(11) unsigned DEFAULT NULL,
  `studentsubjectgroupid` int(11) unsigned DEFAULT NULL,
  `studentid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `examname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `greatdegree` int(11) unsigned DEFAULT NULL,
  `examsstudent` int(11) unsigned DEFAULT NULL,
  `updatetoday` datetime DEFAULT NULL,
  `updateuserid` double DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `studentsexams`
--


--
-- Table structure for table `studentsexamsval`
--

CREATE TABLE `studentsexamsval` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `studentid` int(11) unsigned DEFAULT NULL,
  `examsvalue` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `examspresence` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `studentaddsubjectid` int(11) unsigned DEFAULT NULL,
  `studentsubjectgroupid` int(11) unsigned DEFAULT NULL,
  `studentsubjectid` int(11) unsigned DEFAULT NULL,
  `del` int(11) unsigned DEFAULT NULL,
  `addtoday` datetime DEFAULT NULL,
  `adduserid` double DEFAULT NULL,
  `deltoday` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deluserid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `studentsexamid` int(11) unsigned DEFAULT NULL,
  `updatetoday` datetime DEFAULT NULL,
  `updateuserid` double DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `studentsexamsval`
--


--
-- Table structure for table `studentspaymentsystems`
--

CREATE TABLE `studentspaymentsystems` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `addtoday` datetime DEFAULT NULL,
  `adduserid` double DEFAULT NULL,
  `deltoday` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deluserid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `paymentname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `paymentprice` int(11) unsigned DEFAULT NULL,
  `paymentmonth` int(11) unsigned DEFAULT NULL,
  `studentaddsubjectid` int(11) unsigned DEFAULT NULL,
  `studentsubjectid` int(11) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `studentspaymentsystems`
--


--
-- Table structure for table `studentspays`
--

CREATE TABLE `studentspays` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `addtoday` datetime DEFAULT NULL,
  `adduserid` double DEFAULT NULL,
  `deltoday` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deluserid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `studentaddsubjectid` int(11) unsigned DEFAULT NULL,
  `studentsubjectid` int(11) unsigned DEFAULT NULL,
  `studentsubjectgroupid` int(11) unsigned DEFAULT NULL,
  `studentspaymentsystemid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `studentaddsubjectdetailid` int(11) unsigned DEFAULT NULL,
  `studentid` int(11) unsigned DEFAULT NULL,
  `paymonths` int(11) unsigned DEFAULT NULL,
  `paytype` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `paytypenum` int(11) unsigned DEFAULT NULL,
  `payprice` int(11) unsigned DEFAULT NULL,
  `countmonths` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `newprice` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `paystartdate` date DEFAULT NULL,
  `payenddate` date DEFAULT NULL,
  `paytypered` tinyint(1) unsigned DEFAULT NULL,
  `paykind` int(11) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `studentspays`
--


--
-- Table structure for table `studentsubjectgroupdays`
--

CREATE TABLE `studentsubjectgroupdays` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `addtoday` datetime DEFAULT NULL,
  `adduserid` double DEFAULT NULL,
  `deltoday` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deluserid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `studentsubjectid` int(11) unsigned DEFAULT NULL,
  `studentsubjectgroupid` int(11) unsigned DEFAULT NULL,
  `dayar` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dayen` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `day` int(11) unsigned DEFAULT NULL,
  `timeform` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `timeto` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `useit` int(11) unsigned DEFAULT NULL,
  `updatetoday` datetime DEFAULT NULL,
  `updateuserid` double DEFAULT NULL,
  `deviceid` tinyint(1) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `studentsubjectgroupdays`
--


--
-- Table structure for table `studentsubjectgroups`
--

CREATE TABLE `studentsubjectgroups` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `addtoday` datetime DEFAULT NULL,
  `adduserid` double DEFAULT NULL,
  `deltoday` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deluserid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `studentsubjectid` int(11) unsigned DEFAULT NULL,
  `subjectgroupname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subjectgroupprice` int(11) unsigned DEFAULT NULL,
  `useit` int(11) unsigned DEFAULT NULL,
  `updatetoday` datetime DEFAULT NULL,
  `updateuserid` double DEFAULT NULL,
  `deviceid` tinyint(1) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `studentsubjectgroups`
--


--
-- Table structure for table `studentsubjects`
--

CREATE TABLE `studentsubjects` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `addtoday` datetime DEFAULT NULL,
  `adduserid` double DEFAULT NULL,
  `deltoday` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deluserid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subjectname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subjectprice` int(11) unsigned DEFAULT NULL,
  `ipaddress` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deviceid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `useit` int(11) unsigned DEFAULT NULL,
  `incometypeid` int(11) unsigned DEFAULT NULL,
  `updatetoday` datetime DEFAULT NULL,
  `updateuserid` double DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `studentsubjects`
--


--
-- Table structure for table `subvention`
--

CREATE TABLE `subvention` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `sysdate` datetime DEFAULT NULL,
  `user_id` int(11) unsigned DEFAULT NULL,
  `charity_id` int(11) unsigned DEFAULT NULL,
  `beneficier_id` int(11) unsigned DEFAULT NULL,
  `financial_aid` varchar(191) DEFAULT NULL,
  `inkind_aid` varchar(191) DEFAULT NULL,
  `guarantee_type_id` int(11) unsigned DEFAULT NULL,
  `notes` varchar(191) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `subvention`
--


--
-- Table structure for table `subventionpay`
--

CREATE TABLE `subventionpay` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `sysdate` datetime DEFAULT NULL,
  `user_id` int(11) unsigned DEFAULT NULL,
  `charity_id` int(11) unsigned DEFAULT NULL,
  `benefeciary_id` int(11) unsigned DEFAULT NULL,
  `financial_aid` int(11) unsigned DEFAULT NULL,
  `inkind_aid` varchar(191) DEFAULT NULL,
  `notes` varchar(191) DEFAULT NULL,
  `month` varchar(191) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `subventionpay`
--


--
-- Table structure for table `suppay`
--

CREATE TABLE `suppay` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idsupdeptchange` int(11) NOT NULL,
  `paytype` int(11) NOT NULL DEFAULT 0,
  `accountid` int(11) DEFAULT NULL,
  `del` int(11) NOT NULL DEFAULT 0,
  `bankid` int(11) DEFAULT NULL,
  `checkno` int(11) DEFAULT NULL,
  `beneficiaryname` varchar(255) DEFAULT NULL,
  `chckdate` date DEFAULT NULL,
  `chckimage` varchar(255) DEFAULT NULL,
  `senderbank` varchar(50) DEFAULT NULL,
  `details` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `suppay`
--


--
-- Table structure for table `supplier`
--

CREATE TABLE `supplier` (
  `supplierid` int(11) NOT NULL AUTO_INCREMENT,
  `suppliername` varchar(256) NOT NULL,
  `supplieraddress` varchar(256) DEFAULT NULL,
  `supplierphone` varchar(20) DEFAULT NULL,
  `suppliercurrentDebt` decimal(10,2) DEFAULT 0.00,
  `supplierdetails` text DEFAULT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `userid` int(11) NOT NULL,
  `supplierdate` date NOT NULL,
  `dailyentryid` int(11) NOT NULL DEFAULT 0,
  `category_id` varchar(200) DEFAULT NULL,
  `typesupplier_id` varchar(200) DEFAULT NULL,
  `linkedClientId` int(11) NOT NULL DEFAULT 0,
  `inUse` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0 free - 1 in use means to stop changing debt till it is free again',
  `suppliercode` varchar(256) NOT NULL,
  `goverareaid` varchar(256) NOT NULL,
  `namepayeecheck` varchar(256) NOT NULL,
  `suppliermobile` varchar(256) NOT NULL,
  `warrantyOfficer` varchar(256) NOT NULL,
  `warrantymobile` varchar(256) NOT NULL,
  `sellername` varchar(256) NOT NULL,
  `sellermobile` varchar(256) NOT NULL,
  `taxnumber` varchar(255) DEFAULT NULL,
  `supplierTypeForTree` tinyint(4) NOT NULL DEFAULT 0,
  `treeId` int(11) NOT NULL DEFAULT 0,
  `sullpierCurrencyid` int(11) NOT NULL DEFAULT 1,
  `suppliercurrentDebtInCurrency` decimal(10,2) DEFAULT 0.00,
  `webApiId` int(11) NOT NULL DEFAULT 0,
  `shippingDiscountPer` float NOT NULL,
  PRIMARY KEY (`supplierid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `supplier`
--

INSERT INTO `supplier` VALUES
(1,'مباشر','','',0.00,'مباشر',0,-1,'2026-05-02',0,NULL,NULL,0,0,'','','','','','','','',NULL,0,0,1,0.00,0,0),
(2,'احمد ترند وهامر','','',0.00,'',0,1,'2026-05-02',0,'','',0,0,'','','','','','','','','',0,1094,1,0.00,0,0),
(3,'محمد بونو','','',50200.00,'',0,1,'2026-05-03',0,'','',0,0,'','','','','','','','','',0,-1,1,50200.00,0,0),
(4,'محمود الصعيدي تشرت ','','',31260.00,'',0,1,'2026-05-03',175,'','',0,0,'','','','','','','','','',0,1095,1,31260.00,0,0),
(5,'نوح','','',68418.00,'',0,1,'2026-05-04',0,'','',0,0,'','','','','','','','','',0,-1,1,68418.00,0,0);

--
-- Table structure for table `supplierdebtchange`
--

CREATE TABLE `supplierdebtchange` (
  `supplierdebtchangeid` int(11) NOT NULL AUTO_INCREMENT,
  `supplierid` int(11) NOT NULL,
  `supplierdebtchangebefore` decimal(10,2) NOT NULL,
  `supplierdebtchangeamount` decimal(10,2) NOT NULL,
  `supplierdebtchangetype` int(11) NOT NULL COMMENT '0 => plus- 1 => minus',
  `processname` varchar(256) NOT NULL,
  `supplierdebtchangemodelid` int(11) NOT NULL,
  `supplierdebtchangeafter` decimal(10,2) NOT NULL,
  `supplierdebtchangedate` datetime NOT NULL,
  `userid` int(11) NOT NULL,
  `tablename` varchar(500) NOT NULL,
  `comment` text DEFAULT NULL,
  `del` int(11) NOT NULL DEFAULT 0,
  `dailyentryid` int(11) NOT NULL DEFAULT 0,
  `saveid` int(11) DEFAULT NULL,
  `costcenterid` int(11) DEFAULT NULL,
  `currencyId` int(11) NOT NULL,
  `conversionFactor` float NOT NULL,
  `payedInCurrency` decimal(10,2) NOT NULL,
  `saveConversionFactor` float NOT NULL,
  `debtchangbeforeInSupplierCurrency` decimal(10,2) NOT NULL,
  `debtchangamountInSupplierCurrency` decimal(10,2) NOT NULL,
  `debtchangafterInSupplierCurrency` decimal(10,2) NOT NULL,
  `paySerialNo` int(11) NOT NULL,
  PRIMARY KEY (`supplierdebtchangeid`),
  KEY `idx_supplierdebtchange` (`tablename`(255)),
  KEY `supplierid` (`supplierid`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `supplierdebtchange`
--

INSERT INTO `supplierdebtchange` VALUES
(1,2,0.00,0.00,0,'إضاÙة مورد جديد',2,0.00,'2026-05-02 21:40:35',1,'supplierController.php','',0,0,0,0,1,1,0.00,1,0.00,0.00,0.00,0),
(2,3,0.00,0.00,0,'إضاÙة مورد جديد',3,0.00,'2026-05-03 07:17:27',1,'supplierController.php','',0,0,0,0,1,1,0.00,1,0.00,0.00,0.00,0),
(3,3,0.00,50200.00,0,'اضاÙة Ùاتورة مشتريات',1,50200.00,'2026-05-03 07:17:31',1,'buyBillController.php','اضاÙة Ùاتورة مشتريات',0,0,0,0,1,1,50200.00,1,0.00,50200.00,50200.00,0),
(4,4,0.00,31260.00,0,'إضاÙة مورد جديد',4,31260.00,'2026-05-03 18:54:17',1,'supplierController.php','',0,0,0,0,1,1,31260.00,1,0.00,31260.00,31260.00,0),
(5,5,0.00,0.00,0,'إضاÙة مورد جديد',5,0.00,'2026-05-04 10:23:38',1,'supplierController.php','',0,0,0,0,1,1,0.00,1,0.00,0.00,0.00,0),
(6,5,0.00,68418.00,0,'اضاÙة Ùاتورة مشتريات',2,68418.00,'2026-05-04 10:55:06',1,'buyBillController.php','اضاÙة Ùاتورة مشتريات',0,0,0,0,1,1,68418.00,1,0.00,68418.00,68418.00,0);

--
-- Table structure for table `supplieropen`
--

CREATE TABLE `supplieropen` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `value` float NOT NULL,
  `treeId` int(11) NOT NULL,
  `dailyentryid` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `del` tinyint(4) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `supplieropen`
--


--
-- Table structure for table `supplieropendebtchange`
--

CREATE TABLE `supplieropendebtchange` (
  `supplieropendebtchangeid` int(11) NOT NULL AUTO_INCREMENT,
  `opensupplierid` int(11) NOT NULL,
  `supplierdebtchangebefore` decimal(10,2) NOT NULL,
  `supplierdebtchangeamount` decimal(10,2) NOT NULL,
  `supplierdebtchangetype` int(11) NOT NULL COMMENT '0 => plus- 1 => minus',
  `processname` varchar(256) NOT NULL,
  `supplierdebtchangemodelid` int(11) NOT NULL,
  `supplierdebtchangeafter` decimal(10,2) NOT NULL,
  `supplierdebtchangedate` datetime NOT NULL,
  `userid` int(11) NOT NULL,
  `tablename` varchar(500) NOT NULL,
  `comment` text DEFAULT NULL,
  `del` int(11) NOT NULL DEFAULT 0,
  `dailyentryid` int(11) NOT NULL DEFAULT 0,
  `saveid` int(11) DEFAULT NULL,
  `costcenterid` int(11) DEFAULT NULL,
  `currencyId` int(11) NOT NULL,
  `conversionFactor` float NOT NULL,
  `payedInCurrency` decimal(10,2) NOT NULL,
  `saveConversionFactor` float NOT NULL,
  PRIMARY KEY (`supplieropendebtchangeid`),
  KEY `idx_supplierdebtchange` (`tablename`(255)),
  KEY `supplierid` (`opensupplierid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `supplieropendebtchange`
--


--
-- Table structure for table `supplieropenexchangeorclosing`
--

CREATE TABLE `supplieropenexchangeorclosing` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `thetype` tinyint(4) NOT NULL COMMENT '0 exchange , 1 closing',
  `supplieropenid` int(11) NOT NULL,
  `saveid` int(11) NOT NULL,
  `assetorexpense` tinyint(4) NOT NULL COMMENT '0 asset, 1 expense',
  `assetorexpenseid` int(11) NOT NULL,
  `val` float NOT NULL,
  `dailyentryid` int(11) NOT NULL,
  `note` text NOT NULL,
  `userid` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `del` tinyint(4) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `supplieropenexchangeorclosing`
--


--
-- Table structure for table `tamweenbill`
--

CREATE TABLE `tamweenbill` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `clientid` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `billdate` datetime NOT NULL,
  `billMonthDays` int(11) NOT NULL,
  `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `userid` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `del` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `tamweenbill`
--


--
-- Table structure for table `tamweenda3mstatus`
--

CREATE TABLE `tamweenda3mstatus` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `clientid` int(11) NOT NULL,
  `month` date NOT NULL,
  `tamweenStatus` tinyint(4) NOT NULL COMMENT '0 client didnot take it,1 client take it',
  `da3mStatus` tinyint(4) NOT NULL COMMENT '0 client didnot take it,1 client take it,   bread is in da3m',
  `userid` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `del` tinyint(4) NOT NULL,
  `useridTamween` int(11) NOT NULL,
  `sysdateTamween` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `tamweenda3mstatus`
--


--
-- Table structure for table `tamweenremainstatus`
--

CREATE TABLE `tamweenremainstatus` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `clientid` int(11) NOT NULL,
  `month` date NOT NULL,
  `remainstatus` tinyint(4) NOT NULL COMMENT '0 didnot take it, 1 take it',
  `userid` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `del` tinyint(4) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `tamweenremainstatus`
--


--
-- Table structure for table `taskorder`
--

CREATE TABLE `taskorder` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `startdate` date NOT NULL,
  `enddate` date NOT NULL,
  `productId` int(11) NOT NULL,
  `num` decimal(10,2) NOT NULL,
  `userId` int(11) NOT NULL,
  `thedate` date NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0 COMMENT '0 for notdel- 1for del',
  `clientid` int(11) NOT NULL,
  `file` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `taskorder`
--


--
-- Table structure for table `taskorderproducts`
--

CREATE TABLE `taskorderproducts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `taskorderid` int(11) NOT NULL,
  `productid` int(11) NOT NULL,
  `unitid` int(11) NOT NULL,
  `quantity` decimal(10,2) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `taskorderproducts`
--


--
-- Table structure for table `taskscases`
--

CREATE TABLE `taskscases` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `del` int(11) unsigned DEFAULT NULL,
  `taskcase` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `taskscases`
--

INSERT INTO `taskscases` VALUES
(1,0,'مهمة جديده'),
(2,0,'تحت التنÙيذ'),
(3,0,'تم التنÙيذ'),
(4,0,'لم يتم التنÙيذ'),
(5,0,'تم الالغاء');

--
-- Table structure for table `temreturnsellbill`
--

CREATE TABLE `temreturnsellbill` (
  `returnsellbillid` int(11) NOT NULL AUTO_INCREMENT,
  `returnsellbilldate` date DEFAULT NULL,
  `returnsellbillserial` varchar(255) DEFAULT NULL,
  `returnsellbillclientid` int(11) NOT NULL,
  `returnsellbilltotaldeptbefor` decimal(10,2) NOT NULL,
  `returnsellbilltotaldeptafter` decimal(10,2) NOT NULL,
  `returnsellbilldiscount` varchar(255) NOT NULL DEFAULT '',
  `returnsellbilldiscounttype` int(11) NOT NULL DEFAULT 1 COMMENT '1 for direct- 2 for percent',
  `returnsellbilltotalbill` decimal(10,2) NOT NULL,
  `returnsellbillaftertotalbill` decimal(10,2) NOT NULL,
  `returnsellbilltotalpayed` decimal(10,2) NOT NULL,
  `returnsellbillfinalbill` decimal(10,2) NOT NULL,
  `returnsellbillstoreid` int(11) NOT NULL,
  `returnsellbillsysdate` date NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `returnsellbillclientname` text NOT NULL,
  `returnsellbillsaveid` int(11) NOT NULL,
  `returnsellbildirectpayment` int(11) NOT NULL DEFAULT 0,
  `billnameid` int(11) NOT NULL,
  `sellerid` int(11) NOT NULL,
  `tempclientName` varchar(255) NOT NULL,
  `returnsellQuantity` decimal(10,2) NOT NULL,
  `deletedsellid` int(11) NOT NULL DEFAULT 0,
  `controlname` varchar(255) NOT NULL DEFAULT '0',
  `tax` decimal(10,2) NOT NULL DEFAULT 0.00,
  PRIMARY KEY (`returnsellbillid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `temreturnsellbill`
--


--
-- Table structure for table `temreturnsellbilldetail`
--

CREATE TABLE `temreturnsellbilldetail` (
  `returnsellbilldetailid` int(11) NOT NULL AUTO_INCREMENT,
  `buyprice` decimal(10,2) NOT NULL,
  `parcode` varchar(256) NOT NULL DEFAULT '',
  `returnsellbillid` int(11) NOT NULL,
  `returnsellbilldetailcatid` int(11) NOT NULL,
  `returnsellbilldetailproductid` int(11) NOT NULL,
  `returnsellbilldetailquantity` decimal(10,2) NOT NULL,
  `returnsellbilldetailprice` decimal(10,2) NOT NULL,
  `returnsellbilldetailtotalprice` decimal(10,2) NOT NULL,
  `conditions` decimal(10,2) NOT NULL,
  `note` varchar(256) DEFAULT NULL,
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `discountvalue` decimal(10,2) NOT NULL,
  `productunitid` int(11) NOT NULL,
  `buydiscount` decimal(10,2) NOT NULL,
  `buydiscounttype` int(11) NOT NULL,
  `storeid` int(11) NOT NULL DEFAULT 0,
  `actualqty` int(11) NOT NULL,
  PRIMARY KEY (`returnsellbilldetailid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `temreturnsellbilldetail`
--


--
-- Table structure for table `temsellandruternbilldetail`
--

CREATE TABLE `temsellandruternbilldetail` (
  `buyprice` decimal(10,2) NOT NULL,
  `parcode` varchar(256) NOT NULL DEFAULT '',
  `sellbilldetailid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbillid` int(11) NOT NULL,
  `sellbilldetailcatid` int(11) NOT NULL,
  `sellbilldetailproductid` int(11) NOT NULL,
  `sellbilldetailquantity` decimal(10,2) NOT NULL,
  `sellbilldetailprice` decimal(10,2) NOT NULL,
  `sellbilldetailtotalprice` decimal(10,2) NOT NULL,
  `discountvalue` decimal(10,2) NOT NULL,
  `note` varchar(256) DEFAULT NULL,
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `sellbilldetaildate` date NOT NULL,
  `selltype` int(11) NOT NULL COMMENT '0 for sell 1 for return',
  `productunitid` int(11) NOT NULL,
  `buydiscount` decimal(10,2) NOT NULL,
  `buydiscounttype` int(11) NOT NULL,
  `storeid` int(11) NOT NULL DEFAULT 0,
  `actualqty` int(11) NOT NULL,
  PRIMARY KEY (`sellbilldetailid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `temsellandruternbilldetail`
--


--
-- Table structure for table `temsellbill`
--

CREATE TABLE `temsellbill` (
  `sellbillid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbilldate` date DEFAULT NULL,
  `sellbillserial` varchar(255) DEFAULT NULL,
  `sellbillclientid` int(11) NOT NULL DEFAULT 0,
  `sellbilltotaldeptbefor` decimal(10,2) NOT NULL,
  `sellbilltotaldeptafter` decimal(10,2) NOT NULL,
  `sellbilldiscount` varchar(255) NOT NULL DEFAULT '',
  `sellbilldiscounttype` int(11) NOT NULL DEFAULT 0,
  `sellbilltotalbill` decimal(10,2) NOT NULL,
  `sellbillaftertotalbill` decimal(10,2) NOT NULL,
  `sellbilltotalpayed` decimal(10,2) NOT NULL,
  `sellbillfinalbill` decimal(10,2) NOT NULL,
  `sellbillstoreid` int(11) NOT NULL,
  `sellbillsysdate` date NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `sellbillclientname` text NOT NULL,
  `sellbillsaveid` int(11) NOT NULL,
  `sellbildirectpayment` int(11) NOT NULL,
  `billnameid` int(11) NOT NULL,
  `sellerid` int(11) NOT NULL,
  `tempclientName` varchar(255) NOT NULL,
  `sellQuantity` decimal(10,2) NOT NULL,
  `deletedsellid` int(11) NOT NULL,
  `controlname` varchar(255) NOT NULL,
  `tax` decimal(10,2) NOT NULL DEFAULT 0.00,
  PRIMARY KEY (`sellbillid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `temsellbill`
--


--
-- Table structure for table `temsellbillandrutern`
--

CREATE TABLE `temsellbillandrutern` (
  `sellbillid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbilldate` date DEFAULT NULL,
  `sellbillserial` varchar(255) DEFAULT NULL,
  `sellbillclientid` int(11) NOT NULL DEFAULT 0,
  `sellbilltotaldeptbefor` decimal(10,2) NOT NULL,
  `sellbilltotaldeptafter` decimal(10,2) NOT NULL,
  `sellbilldiscount` varchar(255) NOT NULL DEFAULT '',
  `sellbilldiscounttype` int(11) NOT NULL DEFAULT 0,
  `sellbilltotalbill` decimal(10,2) NOT NULL,
  `sellbillaftertotalbill` decimal(10,2) NOT NULL,
  `sellbilltotalpayed` decimal(10,2) NOT NULL,
  `sellbillfinalbill` decimal(10,2) NOT NULL,
  `sellbillstoreid` int(11) NOT NULL,
  `sellbillsysdate` date NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `sellbillclientname` text NOT NULL,
  `sellbillsaveid` int(11) NOT NULL,
  `sellbildirectpayment` int(11) NOT NULL,
  `billnameid` int(11) NOT NULL,
  `sellerid` int(11) NOT NULL,
  `sellbillprice` decimal(10,2) NOT NULL,
  `returnsellbillprice` decimal(10,2) NOT NULL,
  `tempclientName` varchar(255) NOT NULL,
  `sellQuantity` decimal(10,2) NOT NULL,
  `returnsellQuantity` decimal(10,2) NOT NULL,
  `deletedsellid` int(11) NOT NULL,
  `controlname` varchar(255) NOT NULL,
  `tax` decimal(10,2) NOT NULL DEFAULT 0.00,
  PRIMARY KEY (`sellbillid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `temsellbillandrutern`
--


--
-- Table structure for table `temsellbilldetail`
--

CREATE TABLE `temsellbilldetail` (
  `buyprice` decimal(10,2) NOT NULL,
  `parcode` varchar(256) NOT NULL DEFAULT '',
  `sellbilldetailid` int(11) NOT NULL AUTO_INCREMENT,
  `sellbillid` int(11) NOT NULL,
  `sellbilldetailcatid` int(11) NOT NULL,
  `sellbilldetailproductid` int(11) NOT NULL,
  `sellbilldetailquantity` decimal(10,2) NOT NULL,
  `sellbilldetailprice` decimal(10,2) NOT NULL,
  `sellbilldetailtotalprice` decimal(10,2) NOT NULL,
  `discountvalue` decimal(10,2) NOT NULL,
  `note` varchar(256) DEFAULT NULL,
  `pricetype` tinyint(4) NOT NULL DEFAULT 0,
  `sellbilldetaildate` date NOT NULL,
  `productunitid` int(11) NOT NULL,
  `buydiscount` decimal(10,2) NOT NULL,
  `buydiscounttype` int(11) NOT NULL,
  `storeid` int(11) NOT NULL DEFAULT 0,
  `actualqty` int(11) NOT NULL,
  PRIMARY KEY (`sellbilldetailid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `temsellbilldetail`
--


--
-- Table structure for table `toworkshoporder`
--

CREATE TABLE `toworkshoporder` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `driverIdBack` int(11) NOT NULL,
  `deliverIdBack` int(11) NOT NULL,
  `orderNo` varchar(100) NOT NULL,
  `driverId` int(11) NOT NULL,
  `workshopId` int(11) NOT NULL,
  `productNo` int(11) NOT NULL,
  `deliverWorkshopDate` datetime NOT NULL,
  `deliverId` int(11) NOT NULL,
  `branchId` int(11) NOT NULL,
  `orderStatus` int(11) NOT NULL,
  `sysDate` datetime NOT NULL,
  `del` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  `recieveWorkshopDate` datetime NOT NULL,
  `deliverBranchDate` datetime NOT NULL,
  `recieveBranchDate` datetime NOT NULL,
  `drivertimeout` int(11) NOT NULL DEFAULT 0,
  `driverdelay` int(11) NOT NULL DEFAULT 0,
  `workshoptimeout` int(11) NOT NULL DEFAULT 0,
  `workshopdelay` int(11) NOT NULL DEFAULT 0,
  `drivertimeoutback` int(11) NOT NULL DEFAULT 0,
  `driverdelayback` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `toworkshoporder`
--


--
-- Table structure for table `toworkshoporderbill`
--

CREATE TABLE `toworkshoporderbill` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `toworkshoporderid` int(11) NOT NULL,
  `billid` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `toworkshoporderbill`
--


--
-- Table structure for table `transferbtweenbankaccount`
--

CREATE TABLE `transferbtweenbankaccount` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `bankidfrom` int(11) NOT NULL,
  `accountidfrom` int(11) NOT NULL,
  `bankidto` int(11) NOT NULL,
  `accountidto` int(11) NOT NULL,
  `transfervalue` decimal(10,2) NOT NULL,
  `transferdate` datetime NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` tinyint(4) NOT NULL,
  `dailyentryid` int(11) NOT NULL,
  `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `transferbtweenbankaccount`
--


--
-- Table structure for table `transferclientaccounts`
--

CREATE TABLE `transferclientaccounts` (
  `transferid` int(11) NOT NULL AUTO_INCREMENT,
  `clientidfrom` int(11) NOT NULL,
  `clientidto` int(11) NOT NULL,
  `transfervalue` decimal(10,2) NOT NULL,
  `transferdate` date NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `dailyentryid` int(11) NOT NULL DEFAULT 0,
  `comment` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`transferid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `transferclientaccounts`
--


--
-- Table structure for table `transfermoney`
--

CREATE TABLE `transfermoney` (
  `transfermoneyid` int(11) NOT NULL AUTO_INCREMENT,
  `saveidfrom` int(11) NOT NULL,
  `saveidto` int(11) NOT NULL,
  `transfermoneyvalue` decimal(10,2) NOT NULL,
  `transfermoneydate` date NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `dailyentryid` int(11) NOT NULL DEFAULT 0,
  `comment` varchar(255) DEFAULT NULL,
  `currencyId` int(11) NOT NULL,
  `conversionFactor` float NOT NULL,
  `conversionFactorFrom` float NOT NULL,
  `conversionFactorTo` float NOT NULL,
  `transfermoneyvalueInCurrency` decimal(10,2) NOT NULL,
  PRIMARY KEY (`transfermoneyid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `transfermoney`
--


--
-- Table structure for table `typeclient`
--

CREATE TABLE `typeclient` (
  `typeId` int(11) NOT NULL AUTO_INCREMENT,
  `typeName` varchar(255) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `comments` text NOT NULL,
  `typeDate` date NOT NULL,
  `webApiId` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`typeId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `typeclient`
--


--
-- Table structure for table `typesimpotencetreatment`
--

CREATE TABLE `typesimpotencetreatment` (
  `typesimpotencetreatmentid` int(11) NOT NULL AUTO_INCREMENT,
  `typesimpotencetreatmentname` varchar(256) DEFAULT NULL,
  `typesimpotencetreatmentdate` datetime NOT NULL,
  `userid` int(11) NOT NULL,
  `conditions` int(1) NOT NULL,
  `typesimpotencetreatmentcomment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`typesimpotencetreatmentid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `typesimpotencetreatment`
--


--
-- Table structure for table `typesupplier`
--

CREATE TABLE `typesupplier` (
  `typeId` int(11) NOT NULL AUTO_INCREMENT,
  `typeName` varchar(100) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0,
  `comments` text NOT NULL,
  `typeDate` date NOT NULL,
  `category_id` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`typeId`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `typesupplier`
--


--
-- Table structure for table `unit`
--

CREATE TABLE `unit` (
  `unitId` int(11) NOT NULL AUTO_INCREMENT,
  `unitName` varchar(256) NOT NULL,
  `unitSymbol` varchar(256) DEFAULT NULL,
  `unitDescription` text DEFAULT NULL,
  `unitDate` date NOT NULL,
  `conditions` int(1) NOT NULL DEFAULT 0,
  `userId` int(11) NOT NULL,
  PRIMARY KEY (`unitId`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `unit`
--

INSERT INTO `unit` VALUES
(1,'قطعة','','','2025-04-06',0,1);

--
-- Table structure for table `usergroupadmin`
--

CREATE TABLE `usergroupadmin` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `propertyid` int(11) NOT NULL,
  `isallowed` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0 allowed,1not allowed',
  PRIMARY KEY (`id`),
  UNIQUE KEY `propertyid` (`propertyid`)
) ENGINE=InnoDB AUTO_INCREMENT=701 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `usergroupadmin`
--

INSERT INTO `usergroupadmin` VALUES
(1,1,0),
(2,2,0),
(3,3,1),
(4,4,0),
(5,5,0),
(6,6,0),
(7,7,0),
(8,8,0),
(9,9,0),
(10,10,0),
(11,11,0),
(12,12,0),
(13,13,0),
(14,14,0),
(15,15,0),
(16,16,0),
(17,17,0),
(18,18,0),
(19,19,0),
(20,23,0),
(21,24,0),
(22,25,0),
(23,26,0),
(24,27,0),
(25,28,1),
(26,29,1),
(27,30,1),
(28,31,0),
(29,32,0),
(30,33,0),
(31,34,0),
(32,35,0),
(33,36,0),
(34,37,0),
(35,38,0),
(36,39,0),
(37,40,0),
(38,41,0),
(39,42,0),
(40,43,0),
(41,44,0),
(42,45,0),
(43,46,0),
(44,47,1),
(45,48,1),
(46,49,0),
(47,50,0),
(48,51,0),
(49,52,0),
(50,53,0),
(51,54,0),
(52,55,0),
(53,56,0),
(54,57,0),
(55,58,0),
(56,59,0),
(57,60,0),
(58,61,0),
(59,62,0),
(60,63,0),
(61,64,0),
(62,65,0),
(63,66,0),
(64,67,0),
(65,68,0),
(66,69,0),
(67,70,0),
(68,71,0),
(69,72,0),
(70,73,0),
(71,74,0),
(72,75,0),
(73,76,0),
(74,77,0),
(75,78,0),
(76,79,0),
(77,80,0),
(78,82,0),
(79,83,0),
(80,84,0),
(81,85,0),
(82,87,0),
(83,89,0),
(84,90,0),
(85,91,0),
(86,92,0),
(87,93,0),
(88,96,1),
(89,97,0),
(90,98,0),
(91,99,0),
(92,100,0),
(93,105,0),
(94,123,0),
(95,124,0),
(96,125,0),
(97,126,1),
(98,127,1),
(99,128,1),
(100,129,1),
(101,130,1),
(102,131,1),
(103,133,0),
(104,134,0),
(105,135,0),
(106,136,0),
(107,137,0),
(108,138,0),
(109,139,0),
(110,140,0),
(111,141,0),
(112,142,0),
(113,143,0),
(114,144,0),
(115,145,0),
(116,146,0),
(117,147,0),
(118,148,0),
(119,149,1),
(120,150,1),
(121,151,1),
(122,152,1),
(123,153,1),
(124,154,1),
(125,155,1),
(126,156,1),
(127,157,1),
(128,158,1),
(129,159,1),
(130,160,1),
(131,161,1),
(132,162,1),
(133,163,1),
(134,164,1),
(135,165,1),
(136,166,1),
(137,167,0),
(138,168,0),
(139,169,0),
(140,170,0),
(141,171,0),
(142,172,0),
(143,173,1),
(144,174,1),
(145,175,1),
(146,176,1),
(147,177,1),
(148,178,1),
(149,179,1),
(150,180,1),
(151,181,1),
(152,182,1),
(153,183,1),
(154,187,1),
(155,188,1),
(156,189,1),
(157,190,1),
(158,191,1),
(159,192,1),
(160,193,1),
(161,194,1),
(162,195,1),
(163,196,1),
(164,197,1),
(165,198,1),
(166,199,1),
(167,200,1),
(168,201,0),
(169,202,0),
(170,203,0),
(171,205,1),
(172,206,0),
(173,207,0),
(174,208,0),
(175,209,1),
(176,210,1),
(177,211,1),
(178,212,1),
(179,213,1),
(180,214,1),
(181,215,1),
(182,216,1),
(183,217,1),
(184,218,1),
(185,219,1),
(186,220,1),
(187,221,1),
(188,227,1),
(189,228,1),
(190,231,1),
(191,232,0),
(192,233,0),
(193,234,1),
(194,235,0),
(195,243,0),
(196,244,1),
(197,250,0),
(198,252,0),
(199,253,0),
(200,256,0),
(201,257,0),
(202,258,0),
(203,259,0),
(204,260,0),
(205,261,0),
(206,262,0),
(207,263,0),
(208,264,1),
(209,265,0),
(210,266,1),
(211,267,1),
(212,268,0),
(213,269,0),
(214,274,0),
(215,275,0),
(216,278,0),
(217,279,0),
(218,280,0),
(219,281,0),
(220,282,0),
(221,283,0),
(222,284,0),
(223,285,0),
(224,286,0),
(225,287,0),
(226,288,0),
(227,289,0),
(228,290,0),
(229,291,0),
(230,292,0),
(231,293,1),
(232,294,1),
(233,295,1),
(234,296,1),
(235,297,0),
(236,298,0),
(237,299,1),
(238,300,0),
(239,301,0),
(240,302,0),
(241,303,1),
(242,304,1),
(243,305,0),
(244,307,1),
(245,308,1),
(246,309,1),
(247,310,1),
(248,311,1),
(249,312,1),
(250,313,1),
(251,314,1),
(252,315,1),
(253,316,0),
(254,317,1),
(255,318,1),
(256,319,1),
(257,320,1),
(258,321,1),
(259,322,1),
(260,323,1),
(261,324,1),
(262,325,1),
(263,326,0),
(264,327,0),
(265,328,0),
(266,329,0),
(267,330,0),
(268,331,0),
(269,332,0),
(270,333,0),
(271,334,0),
(272,335,0),
(273,336,0),
(274,337,0),
(275,338,0),
(276,339,0),
(277,340,0),
(278,341,0),
(279,342,0),
(280,343,0),
(281,344,0),
(282,345,0),
(283,346,0),
(284,347,0),
(285,348,0),
(286,349,0),
(287,350,0),
(288,351,0),
(289,352,0),
(290,353,0),
(291,354,0),
(292,355,0),
(293,356,0),
(294,357,0),
(295,358,0),
(296,359,0),
(297,360,0),
(298,361,0),
(299,362,0),
(300,363,0),
(301,364,0),
(302,365,0),
(303,366,0),
(304,367,0),
(305,368,0),
(306,369,0),
(307,370,0),
(308,371,0),
(309,372,0),
(310,373,0),
(311,374,0),
(312,375,0),
(313,376,0),
(314,377,0),
(315,378,0),
(316,379,0),
(317,380,0),
(318,381,0),
(319,382,0),
(320,383,0),
(321,384,0),
(322,385,0),
(323,386,0),
(324,387,0),
(325,388,0),
(326,389,0),
(327,390,0),
(328,391,0),
(329,392,0),
(330,393,0),
(331,394,0),
(332,395,0),
(333,396,0),
(334,397,0),
(335,398,0),
(336,399,0),
(337,400,0),
(338,401,1),
(339,402,1),
(340,403,1),
(341,404,0),
(342,405,1),
(343,406,1),
(344,407,1),
(345,408,1),
(346,409,1),
(347,410,1),
(348,411,1),
(349,412,0),
(350,413,0),
(351,414,0),
(352,417,0),
(353,418,0),
(354,419,0),
(355,420,0),
(356,421,0),
(357,422,0),
(358,423,0),
(359,424,0),
(360,425,0),
(361,426,0),
(362,427,0),
(363,428,0),
(364,429,0),
(365,430,0),
(366,431,0),
(367,432,0),
(368,433,0),
(369,434,0),
(370,436,1),
(371,437,0),
(372,438,0),
(373,439,1),
(374,440,0),
(375,441,0),
(376,442,1),
(377,443,0),
(378,444,0),
(379,445,0),
(380,446,0),
(381,447,0),
(382,448,0),
(383,449,1),
(384,450,1),
(385,451,0),
(386,452,0),
(387,453,0),
(388,454,0),
(389,455,0),
(390,456,0),
(391,457,0),
(392,458,0),
(393,459,0),
(394,460,0),
(395,461,1),
(396,462,1),
(397,463,0),
(398,464,1),
(399,465,0),
(400,466,0),
(401,467,0),
(402,468,1),
(403,469,0),
(404,470,0),
(405,471,0),
(406,472,0),
(407,473,0),
(408,474,0),
(409,475,0),
(410,476,0),
(411,477,0),
(412,478,0),
(413,479,0),
(414,480,0),
(415,481,0),
(416,482,0),
(417,483,0),
(418,484,0),
(419,485,0),
(420,486,0),
(421,487,0),
(422,488,0),
(423,489,0),
(424,490,1),
(425,491,1),
(426,492,0),
(427,493,0),
(428,494,0),
(429,495,0),
(430,496,0),
(431,497,0),
(432,498,0),
(433,499,0),
(434,500,0),
(435,501,0),
(436,502,0),
(437,503,0),
(438,504,0),
(439,505,0),
(440,506,0),
(441,507,0),
(442,508,1),
(443,509,0),
(444,510,0),
(445,511,1),
(446,512,0),
(447,513,0),
(448,514,0),
(449,515,0),
(450,516,0),
(451,517,0),
(452,518,0),
(453,519,0),
(454,520,0),
(455,521,0),
(456,522,1),
(457,523,0),
(458,524,0),
(459,525,0),
(460,526,0),
(461,527,1),
(462,528,1),
(463,529,1),
(464,530,0),
(465,531,0),
(466,532,0),
(467,533,0),
(468,534,1),
(469,535,1),
(470,536,1),
(471,537,1),
(472,538,1),
(473,539,1),
(474,540,0),
(475,541,0),
(476,542,0),
(477,543,1),
(478,544,0),
(479,545,0),
(480,546,0),
(481,547,0),
(482,548,0),
(483,549,1),
(484,550,0),
(485,551,0),
(486,552,0),
(487,553,0),
(488,554,0),
(489,555,0),
(490,556,0),
(491,557,0),
(492,558,0),
(493,559,0),
(494,560,0),
(495,561,0),
(496,562,0),
(497,563,0),
(498,564,0),
(499,565,0),
(500,566,0),
(501,567,0),
(502,568,0),
(503,569,0),
(504,570,1),
(505,571,1),
(506,572,1),
(507,573,1),
(508,574,1),
(509,575,1),
(510,576,1),
(511,577,1),
(512,578,1),
(513,579,0),
(514,580,0),
(515,581,0),
(516,582,0),
(517,583,0),
(518,584,0),
(519,585,1),
(520,586,1),
(521,587,0),
(522,588,1),
(523,589,1),
(524,590,1),
(525,591,1),
(526,592,1),
(527,593,1),
(528,594,1),
(529,595,0),
(530,596,0),
(531,597,0),
(532,598,0),
(533,599,0),
(534,600,0),
(535,601,0),
(536,602,0),
(537,603,1),
(538,604,1),
(539,605,1),
(540,606,1),
(541,607,1),
(542,608,1),
(543,609,1),
(544,610,1),
(545,611,0),
(546,612,1),
(547,613,1),
(548,614,1),
(549,615,1),
(550,616,0),
(551,617,0),
(552,618,0),
(553,619,1),
(554,620,1),
(555,621,1),
(556,622,1),
(557,623,1),
(558,624,1),
(559,625,0),
(560,626,0),
(561,627,1),
(562,628,1),
(563,629,1),
(564,630,0),
(565,631,1),
(566,632,0),
(567,633,0),
(568,634,0);

--
-- Table structure for table `vatpayment`
--

CREATE TABLE `vatpayment` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `amount` decimal(10,2) NOT NULL,
  `saveid` int(11) NOT NULL,
  `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `userid` int(11) NOT NULL,
  `sysdate` datetime NOT NULL,
  `conditions` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `vatpayment`
--


--
-- Table structure for table `workshop`
--

CREATE TABLE `workshop` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `thedate` date NOT NULL,
  `userid` int(11) NOT NULL,
  `del` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `workshop`
--


--
-- Table structure for table `workstation`
--

CREATE TABLE `workstation` (
  `workstationid` int(11) NOT NULL AUTO_INCREMENT,
  `workname` varchar(255) NOT NULL,
  `workerhours` decimal(10,2) NOT NULL,
  `assetshours` decimal(10,2) NOT NULL,
  `date` varchar(255) NOT NULL,
  `conditions` int(11) NOT NULL DEFAULT 0 COMMENT '0del-1-notdel',
  `user_id` int(11) NOT NULL,
  PRIMARY KEY (`workstationid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `workstation`
--


--
-- Table structure for table `workstationassets`
--

CREATE TABLE `workstationassets` (
  `workstationassetsId` int(11) NOT NULL AUTO_INCREMENT,
  `workstationid` int(11) NOT NULL,
  `assetsId` varchar(255) NOT NULL,
  `workhours` decimal(10,2) NOT NULL,
  `efficiency` decimal(10,2) NOT NULL,
  PRIMARY KEY (`workstationassetsId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `workstationassets`
--


--
-- Table structure for table `workstationworker`
--

CREATE TABLE `workstationworker` (
  `workstationworkerId` int(11) NOT NULL AUTO_INCREMENT,
  `workstationid` int(11) NOT NULL,
  `employeeId` varchar(255) NOT NULL,
  `workhours` decimal(10,2) NOT NULL,
  `efficiency` decimal(10,2) NOT NULL,
  PRIMARY KEY (`workstationworkerId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `workstationworker`
--


--
-- Table structure for table `youtube_link`
--

CREATE TABLE `youtube_link` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `url` varchar(255) NOT NULL,
  `status` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=290 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `youtube_link`
--

INSERT INTO `youtube_link` VALUES
(1,'#1',1),
(2,'#2',1),
(3,'#3',1),
(4,'#4',1),
(5,'#5',1),
(6,'#6',1),
(7,'#7',1),
(8,'#8',1),
(9,'#9',1),
(10,'#10',1),
(11,'#11',1),
(12,'#12',1),
(13,'#13',1),
(14,'#14',1),
(15,'#15',1),
(16,'#16',1),
(17,'#17',1),
(18,'#18',1),
(19,'#19',1),
(20,'#20',1),
(21,'#21',1),
(22,'#22',1),
(23,'#23',1),
(24,'#24',1),
(25,'#25',1),
(26,'#26',1),
(27,'#27',1),
(28,'#28',1),
(29,'#29',1),
(30,'#30',1),
(31,'#31',1),
(32,'#32',1),
(33,'#33',1),
(34,'#34',1),
(35,'#35',1),
(36,'#36',1),
(37,'#37',1),
(38,'#38',1),
(39,'#39',1),
(40,'#40',1),
(41,'#41',1),
(42,'#42',1),
(43,'#43',1),
(44,'#44',1),
(45,'#45',1),
(46,'#46',1),
(47,'#47',1),
(48,'#48',1),
(49,'#49',1),
(50,'#50',1),
(51,'#51',1),
(52,'#52',1),
(53,'#53',1),
(54,'#54',1),
(55,'#55',1),
(56,'#56',1),
(57,'#57',1),
(58,'#58',1),
(59,'#59',1),
(60,'#60',1),
(61,'#61',1),
(62,'#62',1),
(63,'#63',1),
(64,'#64',1),
(65,'#65',1),
(66,'#66',1),
(67,'#67',1),
(68,'#68',1),
(69,'#69',1),
(70,'#70',1),
(71,'#71',1),
(72,'#72',1),
(73,'#73',1),
(74,'#74',1),
(75,'#75',1),
(76,'#76',1),
(77,'#77',1),
(78,'#78',1),
(79,'#79',1),
(80,'#80',1),
(81,'#81',1),
(82,'#82',1),
(83,'#83',1),
(84,'#84',1),
(85,'#85',1),
(86,'#86',1),
(87,'#87',1),
(88,'#88',1),
(89,'#89',1),
(90,'#90',1),
(91,'#91',1),
(92,'#92',1),
(93,'#93',1),
(94,'#94',1),
(95,'#95',1),
(96,'#96',1),
(97,'#97',1),
(98,'#98',1),
(99,'#99',1),
(100,'#100',1),
(101,'#101',1),
(102,'#102',1),
(103,'#103',1),
(104,'#104',1),
(105,'#105',1),
(106,'#106',1),
(107,'#107',1),
(108,'#108',1),
(109,'#109',1),
(110,'#110',1),
(111,'#111',1),
(112,'#112',1),
(113,'#113',1),
(114,'#114',1),
(115,'#115',1),
(116,'#116',1),
(117,'#117',1),
(118,'#118',1),
(119,'#119',1),
(120,'#120',1),
(121,'#121',1),
(122,'#122',1),
(123,'#123',1),
(124,'#124',1),
(125,'#125',1),
(126,'#126',1),
(127,'#127',1),
(128,'#128',1),
(129,'#129',1),
(130,'#130',1),
(131,'#131',1),
(132,'#132',1),
(133,'#133',1),
(134,'#134',1),
(135,'#135',1),
(136,'#136',1),
(137,'#137',1),
(138,'#138',1),
(139,'#139',1),
(140,'#140',1),
(141,'#141',1),
(142,'#142',1),
(143,'#143',1),
(144,'#144',1),
(145,'#145',1),
(146,'#146',1),
(147,'#147',1),
(148,'#148',1),
(149,'#149',1),
(150,'#150',1),
(151,'#151',1),
(152,'#152',1),
(153,'#153',1),
(154,'#154',1),
(155,'#155',1),
(156,'#156',1),
(157,'#157',1),
(158,'#158',1),
(159,'#159',1),
(160,'#160',1),
(161,'#161',1),
(162,'#162',1),
(163,'#163',1),
(164,'#164',1),
(165,'#165',1),
(166,'#166',1),
(167,'#167',1),
(168,'#168',1),
(169,'#169',1),
(170,'#170',1),
(171,'#171',1),
(172,'#172',1),
(173,'#173',1),
(174,'#174',1),
(175,'#175',1),
(176,'#176',1),
(177,'#177',1),
(178,'#178',1),
(179,'#179',1),
(180,'#180',1),
(181,'#181',1),
(182,'#182',1),
(183,'#183',1),
(184,'#184',1),
(185,'#185',1),
(186,'#186',1),
(187,'#187',1),
(188,'#188',1),
(189,'#189',1),
(190,'#190',1),
(191,'#191',1),
(192,'#192',1),
(193,'#193',1),
(194,'#194',1),
(195,'#195',1),
(196,'#196',1),
(197,'#197',1),
(198,'#198',1),
(199,'#199',1),
(200,'#200',1),
(201,'#201',1),
(202,'#202',1),
(203,'#203',1),
(204,'#204',1),
(205,'#205',1),
(206,'#206',1),
(207,'#207',1),
(208,'#208',1),
(209,'#209',1),
(210,'#210',1),
(211,'#211',1),
(212,'#212',1),
(213,'#213',1),
(214,'#214',1),
(215,'#215',1),
(216,'#216',1),
(217,'#217',1),
(218,'#218',1),
(219,'#219',1),
(220,'#220',1),
(221,'#221',1),
(222,'#222',1),
(223,'#223',1),
(224,'#224',1),
(225,'#225',1),
(226,'#226',1),
(227,'#227',1),
(228,'#228',1),
(229,'#229',1),
(230,'#230',1),
(231,'#231',1),
(232,'#232',1),
(233,'#233',1),
(234,'#234',1),
(235,'#235',1),
(236,'#236',1),
(237,'#237',1),
(238,'#238',1),
(239,'#239',1),
(240,'#240',1),
(241,'#241',1),
(242,'#242',1),
(243,'#243',1),
(244,'#244',1),
(245,'#245',1),
(246,'#246',1),
(247,'#247',1),
(248,'#248',1),
(249,'#249',1),
(250,'#250',1),
(251,'#251',1),
(252,'#252',1),
(253,'#253',1),
(254,'#254',1),
(255,'#255',1),
(256,'#256',1),
(257,'#257',1),
(258,'#258',1),
(259,'#259',1),
(260,'#260',1),
(261,'#261',1),
(262,'#262',1),
(263,'#263',1),
(264,'#264',1),
(265,'#265',1),
(266,'#266',1),
(267,'#267',1),
(268,'#268',1),
(269,'#269',1),
(270,'#270',1),
(271,'#271',1),
(272,'#272',1),
(273,'#273',1),
(274,'#274',1),
(275,'#275',1),
(276,'#276',1),
(277,'#277',1),
(278,'#278',1),
(279,'#279',1),
(280,'#280',1),
(281,'#281',1),
(282,'#282',1),
(283,'#283',1),
(284,'#284',1),
(285,'#285',1),
(286,'#286',1),
(287,'#287',1),
(288,'#288',1),
(289,'#289',1);


