-- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:8889
-- Generation Time: Aug 10, 2018 at 05:02 PM
-- Server version: 5.7.21
-- PHP Version: 7.2.7

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

--
-- Database: `boq_estimator`
--

-- --------------------------------------------------------

--
-- Table structure for table `address`
--

CREATE TABLE `address` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `address_id` int(11) NOT NULL,
  `address_type` int(3) NOT NULL,
  `line1` varchar(255) NOT NULL,
  `line2` varchar(255) NOT NULL,
  `line3` varchar(255) NOT NULL,
  `city` varchar(255) NOT NULL,
  `state` varchar(255) NOT NULL,
  `country` varchar(255) NOT NULL,
  `postal_code` varchar(255) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `address`
--

INSERT INTO `address` (`id`, `client_id`, `address_id`, `address_type`, `line1`, `line2`, `line3`, `city`, `state`, `country`, `postal_code`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 2, '5 Angus st.', '', '', 'Durbanville', 'Western Cape', 'South Africa', '7500', 1, '2018-05-29 07:41:29'),
(6, 1, 2, 2, '63 - 21st Avenue', 'Mossel Bay', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-06-20 07:54:55'),
(7, 1, 3, 2, '63 - 21st Avenue', 'Mossel Bay', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-07-01 12:01:57'),
(8, 1, 4, 2, '63 - 21st Avenue', 'Mossel Bay', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-07-01 12:01:59'),
(9, 1, 5, 2, '63 - 21st Avenue', 'Mossel Bay', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-07-01 12:20:36'),
(11, 1, 6, 2, '63 - 21st Avenue', 'Mossel Bay', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-07-01 12:31:00'),
(12, 1, 7, 2, '63 - 21st Avenue', 'Mossel Bay', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-07-01 12:31:53'),
(13, 1, 8, 2, '5th Avenue', '', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6550', 1, '2018-07-11 17:46:06'),
(14, 1, 9, 2, '6th ave', '', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-07-11 18:46:14'),
(15, 1, 10, 2, '12 shana cres', '', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-07-25 07:07:31'),
(16, 1, 11, 2, '63 - 21st Avenue', '', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-07-30 14:12:07'),
(17, 1, 12, 2, '15 angus close', '', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-07-30 14:27:29'),
(18, 1, 13, 2, '63 - 21st Avenue', '', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-07-30 16:41:57'),
(19, 1, 14, 2, '27 - 19th Avenue', '', '', 'Mossel Bay', 'Western Cape', 'South Africa', '6500', 1, '2018-07-31 11:16:30');

-- --------------------------------------------------------

--
-- Table structure for table `address_type`
--

CREATE TABLE `address_type` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `address_type_id` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `address_type`
--

INSERT INTO `address_type` (`id`, `client_id`, `address_type_id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 'Postal Address', 1, '2018-05-29 07:00:09'),
(2, 1, 2, 'Physical Address', 1, '2018-05-29 07:00:31');

-- --------------------------------------------------------

--
-- Table structure for table `bank_detail`
--

CREATE TABLE `bank_detail` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `bank_id` int(11) NOT NULL,
  `bank_name` varchar(255) NOT NULL,
  `account_holder` varchar(255) NOT NULL,
  `branch_name` varchar(255) NOT NULL,
  `branch_code` varchar(30) NOT NULL,
  `account_no` varchar(30) NOT NULL,
  `account_type` varchar(50) NOT NULL,
  `ref_note` varchar(255) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `bank_detail`
--

INSERT INTO `bank_detail` (`id`, `client_id`, `bank_id`, `bank_name`, `account_holder`, `branch_name`, `branch_code`, `account_no`, `account_type`, `ref_note`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 'FNB', 'MJ Roofing Solutions T/A Avid Contractors', 'FNB Montaque Gardens', '250 742', '62 409 838 549', 'Cheque Account', 'Use Invoice# or Quote# as Reference', 18, '2018-05-24 14:40:08');

-- --------------------------------------------------------

--
-- Table structure for table `bill_of_quantities`
--

CREATE TABLE `bill_of_quantities` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `category_id` int(11) NOT NULL,
  `sub_category_id` int(11) NOT NULL,
  `bill_of_qty_id` int(5) NOT NULL,
  `description` varchar(255) NOT NULL,
  `cost_price` decimal(9,2) NOT NULL,
  `sell_price` decimal(9,2) NOT NULL,
  `uom` int(3) NOT NULL,
  `relation_to_boq_id` int(5) NOT NULL,
  `relation_multiplier` int(3) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `bill_of_quantities`
--

INSERT INTO `bill_of_quantities` (`id`, `client_id`, `category_id`, `sub_category_id`, `bill_of_qty_id`, `description`, `cost_price`, `sell_price`, `uom`, `relation_to_boq_id`, `relation_multiplier`, `updated_by`, `updated_on`) VALUES
(1, 1, 10, 10, 10, 'Site Setup', '750.00', '1.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(2, 1, 10, 10, 20, 'Site Inspection - Site meetings and inspection days', '450.00', '650.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(3, 1, 10, 10, 30, 'H&S (Health and Safety File)', '950.00', '2.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(4, 1, 10, 10, 40, 'Rental Equipment - Scaffholding/Jackhammers/Special Tools needed', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(5, 1, 10, 10, 50, 'Staff Transportation - Transport allowance from and to site', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(6, 1, 10, 10, 60, 'Additional Services (GREY WATER FOR BUILDING PURPOSES)', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(7, 1, 10, 10, 70, 'Site Management H&S Representative - Dedicated night/day shift manager and cleaning crew', '1.00', '1.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(8, 1, 10, 10, 80, 'S&T\'s (Supply and Transport)', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(9, 1, 10, 10, 90, 'P&G\'s - (Preliminary & General)', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(10, 1, 10, 10, 100, 'Timber Hoarding - Using 20mm Ply board', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(11, 1, 10, 10, 110, 'Inside Hoarding - Using black plastic sheets to cover produce and equipment', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(12, 1, 10, 10, 120, 'Ad Hoc Services - Required by retailers/Owners', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(13, 1, 10, 10, 130, 'Sundries', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(14, 1, 20, 10, 10, 'Demolish all single brick walls', '85.00', '145.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(15, 1, 20, 10, 20, 'Demolish all double brick walls', '95.00', '145.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(16, 1, 20, 10, 30, 'Demolish all Strong Walls (Cash Offices)', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(17, 1, 20, 10, 40, 'Demolish all drywall partitioning', '125.00', '45.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(18, 1, 20, 10, 50, 'Demolish all timber structures - SQM', '2.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(19, 1, 20, 10, 60, 'Demolish all Timber Shopfronts', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(20, 1, 20, 10, 70, 'Demolish all Aluminium shopfronts', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(21, 1, 20, 10, 80, 'Demolish all single doors', '0.00', '0.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(22, 1, 20, 10, 90, 'Demolish all double doors', '0.00', '0.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(23, 1, 20, 10, 100, 'Demolish all single bumber doors', '0.00', '0.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(24, 1, 20, 10, 110, 'Demolish all double bumper doors', '0.00', '0.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(25, 1, 20, 10, 120, 'Demolish concrete columns', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(26, 1, 20, 10, 130, 'Make good areas around demolition (plastering/concrete/tiling/painting/ceilings)', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(27, 1, 20, 20, 10, 'Demolish 50mm waste', '0.00', '0.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(28, 1, 20, 20, 20, 'Demolish 50mm upstands', '0.00', '0.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(29, 1, 20, 20, 30, 'Demolish 100mm waste', '0.00', '0.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(30, 1, 20, 20, 40, 'Demolish 100mm upstands', '0.00', '0.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(31, 1, 20, 20, 50, 'Demolish toilet and make good', '0.00', '0.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(32, 1, 20, 20, 60, 'Demolish Wash Hand Basin and make good', '0.00', '0.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(33, 1, 20, 20, 70, 'Demolish geyser and make good', '0.00', '0.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(34, 1, 20, 20, 80, 'Demolish kitchenette and make good', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(35, 1, 20, 20, 90, 'Demolish Stainless Steel Sinks/Basins and make good', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(36, 1, 20, 20, 100, 'Demolish Shower and make good', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(37, 1, 20, 20, 110, 'Demolish Bath and make good', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(38, 1, 20, 30, 10, 'Demolish floor tiles', '2.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(39, 1, 20, 30, 20, 'Demolish Laminated floor', '15.00', '20.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(40, 1, 20, 30, 30, 'Demolish wall tiles', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(41, 1, 20, 30, 40, 'Demolish floor cement toppings', '550.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(42, 1, 20, 30, 50, 'Demolish concrete floors', '2.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(43, 1, 20, 30, 60, 'Demolish Carpets', '2.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(44, 1, 20, 30, 70, 'Demolish paving/tar', '175.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(45, 1, 20, 30, 80, 'Demolish concrete slabs (0-100mm)', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(46, 1, 20, 30, 90, 'Demolish concrete slabs (100-200mm)', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(47, 1, 20, 30, 100, 'Make good areas around demolition (plastering/screed/skimming)', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(48, 1, 20, 40, 10, 'Demolish 1200x600 suspended ceiling (boards only)', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(49, 1, 20, 40, 20, 'Demolish 1200x600 suspended ceiling including substructure (entire ceiling construction)', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(50, 1, 20, 40, 30, 'Demolish floating bulkheads', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(51, 1, 20, 40, 40, 'Demolish fixed bulkheads', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(52, 1, 20, 40, 50, 'Demolsh special timber bulkheads', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(53, 1, 20, 50, 10, 'Demolidh plug', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(54, 1, 30, 10, 10, 'Foundations (trenching/steel/casting/backfill)', '1.00', '1.00', 20, 1, 1, 20, '2018-07-03 22:00:00'),
(55, 1, 30, 10, 20, 'Building of Plinth', '580.00', '600.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(56, 1, 30, 10, 30, 'Concrete slabs including G5/compacting/steel - 0-100mm concrete slab', '550.00', '750.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(57, 1, 30, 10, 40, 'Concrete slabs including G5/compacting/steel - 0-200mm concrete slab', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(58, 1, 30, 10, 50, 'Concrete columns (boxing/steel/casting)', '4.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(59, 1, 30, 10, 60, 'Construct Walls - Double Brick including brickforce every 3 layers', '560.00', '750.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(60, 1, 30, 10, 70, 'Construct Walls - Single Brick including brickforce every 3 layers', '350.00', '575.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(61, 1, 30, 10, 80, 'Construct Drywall Partitioning - incl. joint skimming', '350.00', '350.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(62, 1, 30, 10, 90, 'Construct drywall partitioning for half hour fire rated', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(63, 1, 30, 10, 100, 'Construct drywall partitioning for 1 hour fire rated', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(64, 1, 30, 10, 110, 'Special Reinforced walls (steel) (cash office)', '1.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(65, 1, 30, 10, 120, 'Dry or Timber Firewall (all types)', '750.00', '950.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(66, 1, 30, 10, 130, 'Supply and plaster all newly build walls to smooth finish', '85.00', '95.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(67, 1, 30, 10, 140, 'Supply and Install Concrete Rib & Bloc', '35.00', '35.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(68, 1, 30, 10, 150, 'S/S Edging - 2mm 50x50 angle wall corner protectors - backup areas per 1.5lm - Unit ', '750.00', '950.00', 20, 1, 1, 20, '2018-07-03 22:00:00'),
(69, 1, 30, 10, 160, 'Timber boxing for concrete columns', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(70, 1, 30, 10, 170, 'Concrete Rib &Block system (as per engineers drawings)', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(71, 1, 30, 10, 180, '1.5mm Aluminium Tread Plate 1200 height - FFFL', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(72, 1, 30, 20, 10, 'Supply and install Single timber door&frame - hollo core - (painting/all iron monger) incl.', '2.00', '3.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(73, 1, 30, 20, 20, 'Supply and install Single timber door&frame - semi solid all iron monger incl.', '3.00', '5.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(74, 1, 30, 20, 30, 'Supply and install Single Door Banded (AK47) - all iron monger incl.', '20.00', '25.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(75, 1, 30, 20, 40, 'Supply and install Single 1 hour fire door&frame - (painting/all iron monger) incl.', '4.00', '6.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(76, 1, 30, 20, 50, 'Supply and install Double Timber door&frame - hollo core - (painting/all iron monger) incl.', '5.00', '9.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(77, 1, 30, 20, 60, 'Supply and install Double timber door&frame - semi solid (maranti) - (painting/all iron monger) incl.', '8.00', '12.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(78, 1, 30, 20, 70, 'Supply and install Double fire door&frame with puschbar - (painting/all iron monger) incl.', '12.00', '17.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(79, 1, 30, 20, 80, 'Supply and install Spar Spec - Single Bumper Doors - (all iron monger) incl.', '27.00', '34.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(80, 1, 30, 20, 90, 'Supply and install - Spar Spec - Double Bumper Doors - (all iron monger) incl.', '34.00', '41.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(81, 1, 30, 20, 100, 'Supply and install Door closures', '1.00', '2.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(82, 1, 30, 20, 110, 'Supply and install - Roller shutter doors - 1800 - manual - Maxidoor', '13.00', '18.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(83, 1, 30, 20, 120, 'Supply and install - Roller shutter doors - 2400 - manual - Maxidoor', '15.00', '20.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(84, 1, 30, 20, 130, 'Supply and install - Roller shutter doors - 1800 - auto - maxidoor', '18.00', '25.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(85, 1, 30, 20, 140, 'Supply and install - Roller shutter doors - 2400 - auto - maxidoor', '20.00', '28.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(86, 1, 30, 20, 150, 'Supply and install - Roller shutter - custom size (cages)', '20.00', '33.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(87, 1, 30, 20, 160, 'Relocation of Roller Shutter door', '5.00', '8.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(88, 1, 30, 20, 170, 'Supply and instal single escape door pushbar', '0.00', '0.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(89, 1, 30, 20, 180, 'Supply and install double escape door pushbar', '0.00', '0.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(90, 1, 30, 30, 10, 'Supply and install aluminium sliding window app. 900x12000mm service hatch', '12.00', '14.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(91, 1, 30, 30, 20, 'Supply and install alumionium window (size)', '16.00', '23.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(92, 1, 30, 30, 30, 'Supply and install all alumium windows and doors as per argitechts shedule', '1.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(93, 1, 30, 30, 40, 'Supply  and install aluminium entrance/exit doors (manual operated)', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(94, 1, 30, 30, 50, 'Supply and install aluminium entrance/exit doors (automated)', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(95, 1, 30, 40, 10, 'Prep all existing walls to receive new paint', '15.00', '20.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(96, 1, 30, 40, 20, 'Prep all newly build walls to receive new paint', '10.00', '35.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(97, 1, 30, 40, 30, 'Prep existing ceiling to receive new paint', '15.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(98, 1, 30, 40, 40, 'Prep existing bulkheads to receive new paint', '15.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(99, 1, 30, 40, 50, 'Prep newly build bulkheads to receive new paint', '10.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(100, 1, 30, 40, 60, 'Supply and apply 1 x coat primer to existing ceiling', '35.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(101, 1, 30, 40, 70, 'Supply and apply 1 x coat primer to existing bulkheads', '35.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(102, 1, 30, 40, 80, 'Supply and apply 1 x coat primer to newly build bulkheads', '35.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(103, 1, 30, 40, 90, 'Supply and apply 1 x coat plaster primer to all existing walls', '35.00', '55.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(104, 1, 30, 40, 100, 'Supply and apply 1 x coat plaster primer to all newly build walls', '35.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(105, 1, 30, 40, 110, 'Supply and apply 2 x coats finish paint to all existing walls', '65.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(106, 1, 30, 40, 120, 'Supply and apply 2 x coats finish paint to all newly build walls', '65.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(107, 1, 30, 40, 130, 'Supply and apply 2 x coats finishing paint to existing ceilings', '75.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(108, 1, 30, 40, 140, 'Supply and apply 2 x coats finishing paint to existing bulkheads', '75.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(109, 1, 30, 40, 150, 'Supply and apply 2 x coats finishing paint to newly build bulkheads', '75.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(110, 1, 30, 50, 10, 'Construct and fit steel holding cage with sliding door', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(111, 1, 30, 60, 10, 'Additional Trenching work for other services (50-100mm) maximum dept of 150mm', '120.00', '200.00', 20, 1, 1, 20, '2018-07-03 22:00:00'),
(112, 1, 30, 60, 20, 'Additional Trenching work for other services (100-200mm) maximum dept of 150mm', '160.00', '0.00', 20, 1, 1, 20, '2018-07-03 22:00:00'),
(113, 1, 30, 60, 30, 'Additional Trenching work other services (200-500mm) maximum dept of 150mm', '180.00', '0.00', 20, 1, 1, 20, '2018-07-03 22:00:00'),
(114, 1, 30, 60, 40, 'Excavate, Trench, install and cover with concrete - additional 50mm waste pipe to connect to main lines - per lm', '280.00', '300.00', 20, 1, 1, 20, '2018-07-03 22:00:00'),
(115, 1, 30, 60, 50, 'Excavate, Trench, install and cover with concrete - additional 110mm waste pipe to connect to main lines - per lm', '300.00', '325.00', 20, 1, 1, 20, '2018-07-03 22:00:00'),
(116, 1, 30, 70, 10, 'Install roof structure (flat roofs) - Labour Only', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(117, 1, 30, 70, 20, 'Install roof structure (pitch roofs) - Labour Only', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(118, 1, 30, 70, 30, 'Install Carport - Labour Only', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(119, 1, 30, 70, 40, 'Install Roof tiles - Labour Only', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(120, 1, 30, 70, 50, 'Install roof sheets - Labour Only', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(121, 1, 30, 70, 60, 'Supply and install domestic OG aluminium gutters (seamless)', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(122, 1, 30, 70, 70, 'Supply and install industrial OG aluminium gutters (seamless)', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(123, 1, 30, 70, 80, 'Supply and install 150x100mm box gutter', '200.00', '501.30', 20, 1, 1, 20, '2018-07-03 22:00:00'),
(124, 1, 30, 70, 90, 'Supply and install Custom build box gutter (Girth?)', '350.00', '448.00', 20, 1, 1, 20, '2018-07-03 22:00:00'),
(125, 1, 40, 10, 10, 'Supply and install 50mm diameter waste (450mm upstand) and trap for condensation (no trenching)', '350.00', '425.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(126, 1, 40, 10, 20, 'Supply and install 50mm diameter waste for washbasins and sinks (no trenching)', '750.00', '975.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(127, 1, 40, 10, 30, 'Supply and install CH Slop Hopper (18/10) Stainless steel - 540w X 415h X 540d from Franke or similar', '5.00', '7.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(128, 1, 40, 10, 40, 'Supply and install Oval A Wash Hand Basin - 420w X 185h X340d - from Franke or similar', '2.00', '3.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(129, 1, 40, 10, 50, 'Supply and install S/S Franke KUBUS single bowl 580x430x190', '7.00', '9.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(130, 1, 40, 10, 60, 'Supply and install 450mm Diameter S/S recessed prep bowl', '935.00', '1.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(131, 1, 40, 10, 70, 'Supply and install drain with metal cover for Prover - size to be confirmed', '0.00', '0.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(132, 1, 40, 10, 80, 'Supply and install white Pot Sinks - size to be confirmed', '4.00', '5.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(133, 1, 40, 10, 90, 'Supply and install R)280V Full Flow Trap', '0.00', '0.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(134, 1, 40, 10, 100, 'Supply and install GT 450 Grease Trap', '0.00', '0.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(135, 1, 40, 10, 110, 'Supply and install GT 500 Grease Trap', '4.00', '5.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(136, 1, 40, 10, 120, 'Supply and install GT 700 Grease Trap', '5.00', '7.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(137, 1, 40, 10, 130, 'supply and install 350L S/S External Fat Trap', '9.00', '12.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(138, 1, 40, 10, 140, 'Supply and install Franke 359700 Stratos SS Paper towl Dispenser STRX600', '4.00', '5.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(139, 1, 40, 10, 150, 'Supply and install 7.5L S/Steel hydro boil', '9.00', '11.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(140, 1, 40, 10, 160, 'Supply and install S/S 200 Rofos floor drain with catch bucket for cleaning', '3.00', '3.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(141, 1, 40, 10, 170, 'Supply and install 300mm wide including floor drain channel - 304 Mentis Grading - per LM', '3.00', '5.00', 20, 1, 1, 20, '2018-07-03 22:00:00'),
(142, 1, 40, 10, 180, 'Supply and install wall mounted urinal inc chromium', '0.00', '0.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(143, 1, 40, 10, 190, 'Supply and install Vaal Sanitary ware (toilet) incl. all fittings', '3.00', '4.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(144, 1, 40, 10, 200, 'Supply and install Vaal Sanitary ware (WHB) 610mm X 460mm', '1.00', '3.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(145, 1, 40, 10, 210, 'Supply and install food disposal unit with 75mm waste connection', '0.00', '0.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(146, 1, 40, 10, 220, 'Supply and install 900 Series DPS', '4.00', '6.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(147, 1, 40, 10, 230, 'Supply and install 1350 Series DPS', '9.00', '12.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(148, 1, 40, 10, 240, 'Supply and install 900mm Pot Sink', '7.00', '10.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(149, 1, 40, 10, 250, 'Supply and install 1800mm Pot Sink - Double Centre', '12.00', '15.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(150, 1, 40, 10, 260, 'Supply and install 1850 Series Left Hand F+V Prep', '11.00', '14.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(151, 1, 40, 10, 270, 'Supply and install 1850 Series Right hand F+V Prep', '11.00', '14.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(152, 1, 40, 10, 280, 'Supply and install Single End bowl Sink - Dominox Range 800l X 460w', '2.00', '2.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(153, 1, 40, 10, 290, 'Supply and install Double end bowl (DEB) - Dominox range 1160 X 460w', '2.00', '3.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(154, 1, 40, 10, 300, 'Supply and install 50L undercounter geysers', '5.00', '6.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(155, 1, 40, 10, 310, 'Supply and install 200L Kwikot Geyser', '6.00', '8.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(156, 1, 40, 10, 320, 'Supply and install hot water point', '750.00', '975.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(157, 1, 40, 10, 330, 'Supply and install cold water point', '750.00', '975.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(158, 1, 40, 10, 340, 'Supply and install standard WHB mixers', '1.00', '1.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(159, 1, 40, 10, 350, 'Supply and install STD Sink mixers for sinks', '1.00', '1.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(160, 1, 40, 10, 360, 'Supply and install hot and cold elbow mixers - per pair', '3.00', '5.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(161, 1, 40, 10, 370, 'Supply and install pre-rinse mixer (model 98001-2 - HC3) - Cater Care SA - for 900mm potsink', '4.00', '5.00', 100, 1, 1, 20, '2018-07-03 22:00:00'),
(162, 1, 40, 10, 380, 'Supply and install disabled toilet incl. all s/s fittings and support railings with wider door opening for wheel chairs - including baby stattion - PS Allowance', '10.00', '15.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(163, 1, 50, 10, 10, 'Tiles - 6mm Salt and Pepper', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(164, 1, 50, 10, 20, 'Tiles - 12mm Salt and Pepper', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(165, 1, 50, 10, 30, 'Subway 75x100', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(166, 1, 50, 10, 40, 'Black tikka chicken', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(167, 1, 50, 10, 50, 'Tiles - SEALING', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(168, 1, 50, 10, 60, '200x200 Johnson\'s and Johnson\'s', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(169, 1, 50, 10, 70, 'Wall Tiling 2 - columns x 4', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(170, 1, 50, 10, 80, 'Adhesive', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(171, 1, 50, 10, 90, 'Stainless steel edging', '550.00', '1.00', 90, 1, 1, 20, '2018-07-03 22:00:00'),
(172, 1, 50, 20, 10, 'Floor tiles - Ceramic', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(173, 1, 50, 20, 20, 'Floor tiles - Porcelain', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(174, 1, 50, 20, 30, 'Subway 75x100', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(175, 1, 50, 20, 40, 'Black Tikka Chicken', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(176, 1, 50, 20, 50, 'Tiles - SEALING', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(177, 1, 50, 20, 60, '200x200 Johnson\'s and Johnson\'s', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(178, 1, 50, 20, 70, 'Wall Tiling 2', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(179, 1, 50, 30, 10, 'Floor Carpets', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(180, 1, 50, 30, 20, 'Vinyl flooring', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(181, 1, 50, 30, 30, 'Timber flooring', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(182, 1, 50, 30, 40, 'Laminated flooring', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(183, 1, 50, 40, 10, 'Recessed Floors for Freezers', '850.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(184, 1, 50, 50, 10, 'Epoxy flooring -  Peran PTS 4,5mm', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(185, 1, 50, 50, 20, 'RT Flooring - Technical Finishes', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(186, 1, 50, 50, 30, 'Screed for floors', '550.00', '1.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(187, 1, 60, 10, 10, 'Supply and install plug', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(188, 1, 70, 10, 10, 'Supply and install 1200x600 suspended ceiling- incl. main and cross T\'s and acoustic tiles ', '200.00', '395.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(189, 1, 70, 10, 20, 'Supply and install RhinoBoard skimmed ceiling', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(190, 1, 70, 10, 30, 'Construct bulkheads from Gyproc ultra steel framework and 9-12mm gypsum boards (back wall ventalation system)', '300.00', '395.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(191, 1, 70, 10, 40, 'Special timber bulkhead - PC Amount', '35.00', '65.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(192, 1, 80, 10, 10, 'Omissions and vo\'s', '0.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(193, 1, 90, 10, 10, 'Remove existing agrrement', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(194, 1, 90, 10, 20, 'Remove existing iso board covering', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(195, 1, 90, 10, 30, 'Strip existing waterproofing membrane', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(196, 1, 90, 10, 40, 'Supply and apply 1 x coat ABE Bitiominous primer to affected area', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(197, 1, 90, 10, 50, 'Sypply and apply 1 x coat ABE UV protective Silvercoat paint', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(198, 1, 90, 10, 60, 'Supply and apply 2 x coats ABE UV protective Silvercote paint', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(199, 1, 90, 10, 70, 'Supply and install ABE 3mm Viz waterproofing membrane and apply by method of heat fusion', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(200, 1, 90, 10, 80, 'Supply and install ABE 4mm Viz waterproofing membrane and apply by method of heat fusion', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(201, 1, 90, 10, 90, 'Supply and install 150mm Acrylic counter band to all torch-on upstands', '0.00', '0.00', 20, 1, 1, 20, '2018-07-03 22:00:00'),
(202, 1, 90, 10, 100, 'Supply and apply 2 layers of sementious waterproofing membrane (duraflex)', '0.00', '0.00', 10, 1, 1, 20, '2018-07-03 22:00:00'),
(203, 1, 90, 10, 110, 'Waterproof Chimney', '3500.00', '0.00', 80, 1, 1, 20, '2018-07-03 22:00:00'),
(208, 1, 20, 10, 382, 'testtest', '100.00', '200.00', 10, 0, 1, 1, '2018-07-18 18:30:18'),
(213, 1, 90, 10, 384, 'paint membrane paint on wall', '50.00', '100.00', 10, 1, 1, 1, '2018-07-19 09:50:33');

-- --------------------------------------------------------

--
-- Table structure for table `boq_categories`
--

CREATE TABLE `boq_categories` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `category_id` int(3) NOT NULL,
  `description` varchar(255) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `boq_categories`
--

INSERT INTO `boq_categories` (`id`, `client_id`, `category_id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 1, 10, 'SITE SETUP - P&G\'s - H&S - S&T', 20, '2018-07-03 22:00:00'),
(2, 1, 20, 'DEMOLITION WORK', 20, '2018-07-03 22:00:00'),
(3, 1, 30, 'BUILDING WORK', 20, '2018-07-03 22:00:00'),
(4, 1, 40, 'PLUMBING WORKS', 20, '2018-07-03 22:00:00'),
(5, 1, 50, 'FLOOR AND WALL FINISHES - Tiling', 20, '2018-07-03 22:00:00'),
(6, 1, 60, 'ELECTRICAL WORKS', 20, '2018-07-03 22:00:00'),
(7, 1, 70, 'CEILINGS AND BULKHEADS', 20, '2018-07-03 22:00:00'),
(8, 1, 80, 'OMISSIONS AND VO\'s', 20, '2018-07-03 22:00:00'),
(9, 1, 90, 'WATERPROOFING', 20, '2018-07-03 22:00:00');

-- --------------------------------------------------------

--
-- Table structure for table `category_notes`
--

CREATE TABLE `category_notes` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `category_id` int(11) NOT NULL,
  `category_line_id` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `category_notes`
--

INSERT INTO `category_notes` (`id`, `client_id`, `category_id`, `category_line_id`, `description`, `updated_by`, `updated_on`) VALUES
(10, 1, 10, 10, '- Demarcated areas for Rubble needed with no traffic allowed into this area supplied by Clients', 1, '2018-07-12 08:48:51'),
(11, 1, 10, 20, '- Passage way to rubble area supplied clean and free of all traffic supplied by Client', 1, '2018-07-12 08:49:47'),
(12, 1, 10, 30, '- All hazard signs demarcation tape and hoarding for site setup is supplied by Client', 1, '2018-07-12 08:50:15'),
(13, 1, 10, 40, '- Site establishment and safety meetings held by AVID in accordance with Health and Safety Act', 1, '2018-07-12 08:50:36'),
(14, 1, 10, 50, '- Public Interest insurance of R 15 000 000 cover in the event of a claim', 1, '2018-07-12 08:51:03'),
(15, 1, 10, 60, '- Workmans Compensation Compliance cert available on request', 1, '2018-07-12 08:51:54'),
(16, 1, 10, 70, '- Site office area to be supplied by Client', 1, '2018-07-12 08:52:10');

-- --------------------------------------------------------

--
-- Table structure for table `client`
--

CREATE TABLE `client` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `legal_name` varchar(255) NOT NULL,
  `reg_no` varchar(255) NOT NULL,
  `tax_no` varchar(255) NOT NULL,
  `email_address` varchar(255) NOT NULL,
  `tel_no` varchar(30) NOT NULL,
  `cel_no` varchar(30) NOT NULL,
  `web_site` varchar(255) NOT NULL,
  `client_type_id` int(3) NOT NULL,
  `bank_id` int(11) NOT NULL,
  `db_server` varchar(255) NOT NULL,
  `db_user` int(3) NOT NULL,
  `db_name` varchar(255) NOT NULL,
  `logo` varchar(255) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `client`
--

INSERT INTO `client` (`id`, `name`, `legal_name`, `reg_no`, `tax_no`, `email_address`, `tel_no`, `cel_no`, `web_site`, `client_type_id`, `bank_id`, `db_server`, `db_user`, `db_name`, `logo`, `updated_by`, `updated_on`) VALUES
(1, 'Avid Contractors', 'MJ Roofing Solutions T/A Avid Contractors', 'CK 2006/067518/23', 'VAT# - 432 0229 323', 'fjofrancois@gmail.com', '+27(21) - 981 - 7007', '+27(82) - 455 - 5543', 'www.avidcontractors.co.za', 1, 1, 'localhost', 19, 'boq_estimator', 'avid.png', 1, '2018-05-10 08:44:09'),
(3, 'Test Client', '', '', '', '', '', '', '', 1, 0, 'localhost', 19, 'boq_estimator', 'test.png', 1, '2018-05-10 08:54:18'),
(4, 'OB Systems', '', '', '', '', '', '', '', 2, 0, 'localhost', 19, 'boq_estimator', 'obslogo.png', 18, '2018-05-11 08:49:35');

-- --------------------------------------------------------

--
-- Table structure for table `client_type`
--

CREATE TABLE `client_type` (
  `id` int(3) NOT NULL,
  `description` varchar(255) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `client_type`
--

INSERT INTO `client_type` (`id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 'client', 18, '2018-05-10 12:43:37'),
(2, 'owner', 18, '2018-05-10 12:44:15');

-- --------------------------------------------------------

--
-- Table structure for table `comment`
--

CREATE TABLE `comment` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `description` varchar(512) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `comment`
--

INSERT INTO `comment` (`id`, `client_id`, `description`, `updated_by`, `updated_on`) VALUES
(2, 1, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties\r\nThe parties agree to a 25% deposit payable on the 6th of June 2018 - date of commencement\r\nAll payments to be made immediately on the day of invoiceing to prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties', 1, '2018-07-17 14:58:37');

-- --------------------------------------------------------

--
-- Table structure for table `completed_project`
--

CREATE TABLE `completed_project` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `completed_project_id` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `completed_project`
--

INSERT INTO `completed_project` (`id`, `client_id`, `completed_project_id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 'Parklands Spar - Ceiling and Bulkhead/Building work/Plumbing - 2016', 18, '2018-05-25 08:24:11'),
(2, 1, 2, 'Royal Ascot Spar - Ceilings and Bulkheads/Building work/Plumbing/Tiling - 2016', 18, '2018-05-25 08:24:33'),
(3, 1, 3, 'Welgelegen Spar - Ceilings and Bulkheads/Building work/Plumbing/Tiling - 2016', 18, '2018-05-25 08:25:56'),
(4, 1, 4, 'Bellville Spar - Complete revamp and additional shops incorporated - 2016', 18, '2018-05-25 08:26:22'),
(5, 1, 5, 'Edgmead Tops and Coffee Shop Renovation - 2017', 18, '2018-05-25 08:26:49'),
(6, 1, 6, 'Kuilsrivier Spar - Kitchen and Coffee Shop revamp - 2017', 18, '2018-05-25 08:27:12'),
(7, 1, 7, 'Welgedacht Complete renovation - 2017', 18, '2018-05-25 08:27:34');

-- --------------------------------------------------------

--
-- Table structure for table `contact`
--

CREATE TABLE `contact` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `contact_id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `surname` varchar(255) NOT NULL,
  `email_address` varchar(255) NOT NULL,
  `celno` varchar(20) NOT NULL,
  `telno` varchar(20) NOT NULL,
  `contact_type` int(3) NOT NULL,
  `dept` varchar(255) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `contact`
--

INSERT INTO `contact` (`id`, `client_id`, `customer_id`, `contact_id`, `name`, `surname`, `email_address`, `celno`, `telno`, `contact_type`, `dept`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 1, 'Timothy', 'Cross', 'fjofrancois@gmail.com', '0836520102', '(021)976-2134', 1, '1', 18, '2018-05-16 06:22:28'),
(2, 1, 1, 2, 'John', 'Doe', 'fjofrancois@gmail.com', '0834456789', '(044)690-5555', 1, '1-55', 1, '2018-05-29 22:35:28'),
(5, 1, 1, 20, 'Francois', 'Oosthuizen', 'fjofrancois@gmail.com', '0834456970', '', 1, '', 1, '2018-05-29 22:12:57'),
(6, 1, 1, 21, 'Surita', 'Delange', 'surita@mail.com', '083445', '', 1, '', 1, '2018-06-24 22:54:11'),
(7, 1, 1, 22, 'Francois', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:31:24'),
(8, 1, 1, 23, 'Francois', 'Oosthuizen', 'francois@email.com', '0723343564', '', 1, '', 1, '2018-07-12 18:57:54'),
(9, 1, 1, 24, 'Francois', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:31:31'),
(10, 1, 1, 25, 'Francois', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:32:23'),
(11, 1, 1, 26, 'Francois', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:34:42'),
(12, 1, 1, 27, 'Franswa', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:43:49'),
(13, 1, 1, 28, 'Franswa1', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:49:13'),
(14, 1, 1, 29, 'Franswa2', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:49:24'),
(15, 1, 1, 30, 'Franswa3', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:52:18'),
(16, 1, 1, 31, 'Franswa4', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:54:09'),
(17, 1, 1, 32, 'Franswa5', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:54:58'),
(18, 1, 1, 33, 'Franswa6', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:55:22'),
(19, 1, 1, 34, 'Franswa7', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 17:57:32'),
(20, 1, 1, 35, 'Franswa', 'Oosthuizen', 'francoiss@email.com', '', '', 1, '', 1, '2018-06-30 17:58:05'),
(21, 1, 1, 36, 'Franswa', 'Oosthuizen', 'francois@email.co.za', '', '', 1, '', 1, '2018-06-30 18:01:25'),
(22, 1, 1, 37, 'Franswa8', 'Oosthuizen', 'francois@email.com', '', '', 1, '', 1, '2018-06-30 18:16:23'),
(23, 1, 1, 38, 'Franswa9', 'Oosthuizen', 'fran@email.com', '', '', 1, '', 1, '2018-06-30 18:19:37'),
(24, 1, 1, 39, 'Franswa10', 'Oosthuizen', 'fran@email.com', '', '', 1, '', 1, '2018-06-30 18:20:53'),
(25, 1, 1, 40, 'John', 'Verwey', 'jverwey@email.com', '', '', 1, '', 1, '2018-06-30 19:13:32'),
(26, 1, 1, 41, 'John', 'Verwey', 'jverwey1@email.com', '', '', 1, '', 1, '2018-06-30 21:43:45'),
(27, 1, 1, 42, 'John', 'Verweer', 'jverwey1@email.com', '', '', 1, '', 1, '2018-06-30 21:45:58'),
(28, 1, 1, 43, 'Johan', 'Freedom', 'freedom@email.com', '', '', 1, '', 1, '2018-06-30 21:55:04'),
(29, 1, 1, 44, 'Johannes', 'Freedom', 'freedom@email.com', '', '', 1, '', 1, '2018-06-30 21:55:38'),
(30, 1, 1, 45, 'Louis', 'Goosen', 'lg@email.com', '', '', 1, '', 1, '2018-06-30 21:57:12'),
(31, 1, 1, 46, 'Nico', 'DeJager', 'ndj@email.com', '0834456970', '0446905734', 1, 'n/a', 1, '2018-06-30 22:18:34'),
(32, 1, 1, 47, 'Johan', 'Smith', 'jsmith@email.com', '', '', 1, '', 1, '2018-06-30 22:49:54'),
(33, 1, 1, 48, 'Jojo', 'Smith', 'jsmith@email.com', '', '', 1, '', 1, '2018-06-30 22:59:37'),
(34, 1, 1, 49, 'Johny', 'Visagie', 'johny@email.com', '083', '021', 1, '1', 1, '2018-07-11 17:46:52'),
(35, 1, 1, 50, 'Johny2', 'Visagie', 'johny@email.com', '083', '021', 1, '1', 1, '2018-07-11 18:27:54'),
(36, 1, 7, 51, 'Johan', 'Oosthuizen', 'johan@email.com', '', '', 1, '', 1, '2018-07-11 18:46:55'),
(41, 1, 7, 56, 'Michael', 'Minnie', 'mminnie@email.com', '0834453423', '', 1, '', 1, '2018-07-12 14:39:53'),
(42, 1, 1, 57, 'Poephol', 'de Jager', 'ph@email.com', '0832212212', '', 1, '', 1, '2018-07-25 07:08:37'),
(43, 1, 7, 58, 'Willie', 'Badenhorst', 'wb@email.com', '0834456767', '', 1, '', 1, '2018-07-27 06:01:00'),
(44, 1, 23, 59, 'jhgghfjhg', 'hgfghgf', 'sdfds@email.com', '0834433323', '', 1, '', 1, '2018-07-30 14:13:13'),
(45, 1, 45, 60, 'Angie', 'Viviers', 'a.viviers@email.com', '0824456978', '', 1, 'Corporate Development', 1, '2018-07-31 14:18:31'),
(46, 1, 46, 61, 'Danie', 'Odendal', 'd.o@email.com', '0823321121', '', 1, '', 1, '2018-08-01 05:43:02');

-- --------------------------------------------------------

--
-- Table structure for table `contact_type`
--

CREATE TABLE `contact_type` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `contact_type_id` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `contact_type`
--

INSERT INTO `contact_type` (`id`, `client_id`, `contact_type_id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 'Account Manager', 1, '2018-05-29 20:39:05');

-- --------------------------------------------------------

--
-- Table structure for table `customer`
--

CREATE TABLE `customer` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `name` varchar(155) NOT NULL,
  `vat_no` varchar(100) NOT NULL,
  `address_id` int(3) NOT NULL,
  `preferred_contact_id` int(3) NOT NULL,
  `customer_type_id` int(3) NOT NULL,
  `preferred_template_id` int(3) NOT NULL,
  `show_projects` tinyint(1) NOT NULL DEFAULT '1',
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `customer`
--

INSERT INTO `customer` (`id`, `client_id`, `name`, `vat_no`, `address_id`, `preferred_contact_id`, `customer_type_id`, `preferred_template_id`, `show_projects`, `updated_by`, `updated_on`) VALUES
(1, 1, 'SPAR', '498976321', 1, 1, 1, 17, 1, 1, '2018-05-29 20:30:13'),
(7, 1, 'Brights', '93233456', 1, 2, 1, 23, 0, 1, '2018-05-30 23:31:16'),
(14, 1, 'Mr Smith', '', 1, 33, 2, 25, 0, 1, '2018-06-30 23:02:22'),
(18, 1, 'Johny', '', 8, 49, 2, 26, 1, 20, '2018-07-11 18:26:14'),
(23, 1, 'Johan', '', 14, 36, 2, 26, 0, 1, '2018-07-11 18:47:02'),
(24, 1, 'bobo', '12323234', 1, 1, 2, 26, 1, 1, '2018-07-19 14:55:33'),
(26, 1, 'test', '49078763', 1, 21, 1, 26, 0, 1, '2018-07-19 14:55:56'),
(27, 1, 'Johnathan', '12345', 9, 21, 1, 29, 0, 1, '2018-07-19 15:05:59'),
(28, 1, 'poephol', '123', 15, 42, 1, 16, 0, 1, '2018-07-25 07:08:55'),
(29, 1, 'poyphol', '123', 10, 57, 1, 25, 0, 1, '2018-07-25 07:10:33'),
(30, 1, 'fefefe', '', 16, 44, 1, 16, 0, 1, '2018-07-30 14:13:47'),
(32, 1, 'Orgnam Industries', '12345', 1, 0, 1, 26, 0, 1, '2018-07-30 14:49:41'),
(33, 1, 'anvil', '22121', 1, 0, 1, 26, 0, 1, '2018-07-30 15:35:35'),
(34, 1, 'anvil2', '22234445', 1, 0, 1, 26, 0, 1, '2018-07-30 15:36:57'),
(35, 1, 'Pompom industries', '4876467843', 1, 0, 1, 26, 0, 1, '2018-07-30 15:39:20'),
(36, 1, 'dada in.', '8766789', 1, 0, 1, 26, 0, 1, '2018-07-30 15:50:46'),
(37, 1, 'sasas', '223212', 1, 0, 1, 26, 0, 1, '2018-07-30 15:57:24'),
(38, 1, 'qeer', '98766789', 1, 0, 1, 26, 0, 1, '2018-07-30 15:58:00'),
(39, 1, 'fintech', '', 18, 0, 1, 26, 0, 1, '2018-07-30 16:42:06'),
(40, 1, 'finteg', '', 2, 0, 1, 26, 0, 1, '2018-07-30 16:43:18'),
(41, 1, 'Jojo\'s Carpenting Services pty(ltd)', '122136576', 19, 0, 1, 26, 0, 1, '2018-07-31 11:16:45'),
(42, 1, 'boitjie ESN', '098890', 2, 0, 1, 26, 0, 1, '2018-07-31 13:33:01'),
(43, 1, 'veno', '789987789', 1, 0, 1, 26, 0, 1, '2018-07-31 13:42:13'),
(44, 1, 'Floris Enteprises pty ltd', '0978764543', 14, 0, 1, 26, 0, 1, '2018-07-31 14:10:09'),
(45, 1, 'Gooneys Inc.', '567123098', 12, 0, 1, 26, 0, 1, '2018-07-31 14:16:50'),
(46, 1, 'Pick n Pay', '987789654', 1, 0, 1, 26, 0, 1, '2018-08-01 05:29:06');

-- --------------------------------------------------------

--
-- Table structure for table `customer_type`
--

CREATE TABLE `customer_type` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `customer_type_id` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `customer_type`
--

INSERT INTO `customer_type` (`id`, `client_id`, `customer_type_id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 'Corporate', 1, '2018-05-28 22:45:31'),
(2, 1, 2, 'Private', 1, '2018-06-30 21:29:19');

-- --------------------------------------------------------

--
-- Table structure for table `db_user`
--

CREATE TABLE `db_user` (
  `user_id` int(3) NOT NULL,
  `name` varchar(25) NOT NULL,
  `password` varbinary(160) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `db_user`
--

INSERT INTO `db_user` (`user_id`, `name`, `password`, `updated_by`, `updated_on`) VALUES
(19, 'webuser', 0x651b0ab3d3beaa1591224559a3c326ef, 1, '2018-05-10 07:42:50');

-- --------------------------------------------------------

--
-- Table structure for table `employee`
--

CREATE TABLE `employee` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `name` varchar(60) NOT NULL,
  `surname` varchar(60) NOT NULL,
  `type` int(11) NOT NULL,
  `rate_per_hour` decimal(9,2) NOT NULL,
  `overtime_rate_per_hour` decimal(9,2) NOT NULL,
  `normal_hrs_per_week` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `employee`
--

INSERT INTO `employee` (`id`, `client_id`, `name`, `surname`, `type`, `rate_per_hour`, `overtime_rate_per_hour`, `normal_hrs_per_week`, `updated_by`, `updated_on`) VALUES
(2, 1, 'Jonas', 'Mtsabe', 2, '35.00', '45.00', 45, 1, '2018-07-21 16:12:13'),
(3, 1, 'Gladwin', 'Jones', 3, '38.50', '50.00', 45, 1, '2018-07-23 16:45:10'),
(4, 1, 'Sakkie', 'Mcarthy', 4, '30.00', '31.00', 45, 1, '2018-07-25 08:28:30');

-- --------------------------------------------------------

--
-- Table structure for table `employee_type`
--

CREATE TABLE `employee_type` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `description` varchar(60) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `employee_type`
--

INSERT INTO `employee_type` (`id`, `client_id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 1, 'Casual Laborer', 1, '2018-07-18 12:45:53'),
(2, 1, 'Brick Layer', 1, '2018-07-18 12:37:34'),
(3, 1, 'Carpentor', 1, '2018-07-23 16:40:24'),
(4, 1, 'Tiler', 1, '2018-07-23 16:40:38');

-- --------------------------------------------------------

--
-- Table structure for table `footer_note`
--

CREATE TABLE `footer_note` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `footer_note_id` int(11) NOT NULL,
  `footer_note_line_no` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `footer_note`
--

INSERT INTO `footer_note` (`id`, `client_id`, `footer_note_id`, `footer_note_line_no`, `description`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 1, 'Specialising in:', 18, '2018-05-22 09:37:43'),
(2, 1, 1, 2, 'Corporate Renovations', 18, '2018-05-22 09:38:24'),
(3, 1, 1, 3, 'Retail Construction', 18, '2018-05-22 09:38:49'),
(4, 1, 1, 4, 'Waterproofing', 18, '2018-05-22 09:39:11');

-- --------------------------------------------------------

--
-- Table structure for table `header_note`
--

CREATE TABLE `header_note` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `job_id` int(11) NOT NULL,
  `description` varchar(300) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `header_note`
--

INSERT INTO `header_note` (`id`, `client_id`, `customer_id`, `job_id`, `description`, `updated_by`, `updated_on`) VALUES
(11, 1, 1, 1, 'To whom it may concern...', 1, '2018-07-30 10:55:21'),
(13, 1, 7, 50, 'Dear Michael', 1, '2018-07-30 06:55:19'),
(14, 1, 0, 0, 'To All it may concern..', 1, '2018-07-30 08:49:27'),
(15, 1, 7, 0, 'Dear...', 1, '2018-07-30 10:57:17'),
(16, 1, 7, 51, 'Dear Willie', 1, '2018-07-30 11:34:08'),
(17, 1, 7, 52, 'Dear Michael', 1, '2018-07-30 13:30:41'),
(18, 1, 7, 53, 'Dear Michael', 1, '2018-07-30 13:35:20'),
(19, 1, 7, 54, 'Dear Michael', 1, '2018-07-30 15:15:07'),
(20, 1, 7, 55, 'Dear Michael', 1, '2018-07-30 15:18:51'),
(21, 1, 7, 56, 'Dear Michael', 1, '2018-07-30 15:20:07'),
(22, 1, 7, 57, 'Dear Michael', 1, '2018-07-30 17:11:11'),
(23, 1, 7, 58, 'Dear Michael', 1, '2018-07-30 17:42:14'),
(24, 1, 7, 59, 'Dear Michael', 1, '2018-07-30 17:47:07'),
(25, 1, 7, 60, 'Dear Michael', 1, '2018-07-30 17:50:09'),
(26, 1, 7, 61, 'Dear Michael', 1, '2018-07-30 17:55:05'),
(27, 1, 7, 62, 'Dear Michael', 1, '2018-07-31 10:29:40'),
(28, 1, 45, 63, 'To All it may concern..', 1, '2018-07-31 14:27:20'),
(29, 1, 46, 64, 'To All it may concern..', 1, '2018-08-01 05:43:23');

-- --------------------------------------------------------

--
-- Table structure for table `job`
--

CREATE TABLE `job` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `job_number` varchar(30) NOT NULL,
  `description` varchar(256) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `job`
--

INSERT INTO `job` (`id`, `client_id`, `customer_id`, `job_number`, `description`, `updated_by`, `updated_on`) VALUES
(2, 1, 1, '112', 'Goodwood Spar', 1, '2018-07-24 15:09:10'),
(3, 1, 1, '1807030', 'mb spar', 1, '2018-07-24 15:57:35'),
(4, 1, 1, '1807030', 'Dbn Spar', 1, '2018-07-24 16:01:02'),
(5, 1, 1, '1807031', 'Jhb Spar', 1, '2018-07-25 06:16:12'),
(6, 1, 1, '1807031', 'dadada', 1, '2018-07-25 06:31:55'),
(7, 1, 1, '1807031', 'doodoo', 1, '2018-07-25 06:33:45'),
(8, 1, 1, '1807032', 'doodoo2', 1, '2018-07-25 06:57:26'),
(9, 1, 28, '1807033', 'shana str', 1, '2018-07-25 07:09:21'),
(10, 1, 1, '1807034', 'Jhb Sparra', 1, '2018-07-25 10:33:20'),
(11, 1, 1, '1807035', 'Sonstaal Spar', 1, '2018-07-25 11:10:57'),
(12, 1, 1, '1807036', 'Sowetto Spar', 1, '2018-07-26 22:09:00'),
(13, 1, 7, '1807037', 'Bright Goodwood', 1, '2018-07-27 05:53:06'),
(14, 1, 7, '1807038', 'Bright Goodwood1', 1, '2018-07-27 05:54:18'),
(15, 1, 7, '1807038', 'Bright Goodwood3', 1, '2018-07-27 05:55:59'),
(16, 1, 7, '1807039', 'Bright Goodwood4', 1, '2018-07-27 05:59:05'),
(17, 1, 7, '1807040', 'Brights Goodwood5', 1, '2018-07-27 06:04:18'),
(18, 1, 7, '1807041', 'Brights Goodwood6', 1, '2018-07-27 06:10:09'),
(19, 1, 7, '1807042', 'Brights Goodwood7', 1, '2018-07-27 07:44:54'),
(20, 1, 7, '1807042', 'Brights Belville', 1, '2018-07-27 07:56:47'),
(21, 1, 7, '1807042', 'Brights Belville1', 1, '2018-07-27 07:58:10'),
(22, 1, 7, '1807042', 'Brights Belville2', 1, '2018-07-27 07:59:11'),
(23, 1, 7, '1807042', 'Brights Belville3', 1, '2018-07-27 08:02:28'),
(24, 1, 7, '1807042', 'Brights Belville 6', 1, '2018-07-27 08:08:03'),
(25, 1, 7, '1807042', 'Brights Belville 7', 1, '2018-07-27 08:14:54'),
(26, 1, 7, '1807042', 'Brights Belville 8', 1, '2018-07-27 08:20:41'),
(27, 1, 7, '1807042', 'Bright Belville9', 1, '2018-07-27 12:32:49'),
(28, 1, 7, '1807043', 'Brights Cerus', 1, '2018-07-27 14:01:02'),
(29, 1, 7, '1807044', 'Brights Paarl', 1, '2018-07-27 14:04:00'),
(30, 1, 7, '1807044', 'Brights Tulbach', 1, '2018-07-27 14:05:41'),
(31, 1, 7, '1807045', 'Brights Riviersonderend', 1, '2018-07-27 14:17:35'),
(32, 1, 7, '1807045', 'Brights Langeberg', 1, '2018-07-27 14:20:17'),
(33, 1, 7, '1807045', 'Brights Heidelberg', 1, '2018-07-27 14:24:53'),
(34, 1, 7, '1807045', 'Brights Cerus 2', 1, '2018-07-30 06:23:40'),
(35, 1, 7, '1807045', 'Brights Cerus 3', 1, '2018-07-30 06:33:45'),
(36, 1, 7, '1807045', 'Brights Cerus 4', 1, '2018-07-30 06:36:30'),
(37, 1, 7, '1807045', 'Brights Cerus 5', 1, '2018-07-30 06:37:01'),
(38, 1, 7, '1807045', 'Brights Cerus 6', 1, '2018-07-30 06:37:34'),
(39, 1, 7, '1807045', 'Brights Cerus 7', 1, '2018-07-30 06:38:11'),
(40, 1, 7, '1807045', 'Brights Cerus 8', 1, '2018-07-30 06:39:19'),
(41, 1, 7, '1807046', 'Brights Swellendam', 1, '2018-07-30 06:42:16'),
(42, 1, 7, '1807046', 'Brights Swellendam1', 1, '2018-07-30 06:46:01'),
(43, 1, 7, '1807046', 'Brights Swellendam 1', 1, '2018-07-30 06:47:20'),
(44, 1, 7, '1807046', 'Brights Swellendam2', 1, '2018-07-30 06:49:14'),
(45, 1, 7, '1807046', 'Brights Swellendam 2', 1, '2018-07-30 06:50:17'),
(46, 1, 7, '1807046', 'Brights Swellendam3', 1, '2018-07-30 06:50:49'),
(47, 1, 7, '1807046', 'Brights Swellendam 3', 1, '2018-07-30 06:52:06'),
(48, 1, 7, '1807046', 'Brights Swellendam4', 1, '2018-07-30 06:52:51'),
(49, 1, 7, '1807046', 'Brights Swellendam 4', 1, '2018-07-30 06:53:08'),
(50, 1, 7, '1807046', 'Brights Swellendam5', 1, '2018-07-30 06:55:19'),
(51, 1, 7, '1807047', 'Welgemoed Brights', 1, '2018-07-30 11:34:08'),
(52, 1, 7, '1807048', 'Kommetjie Brights', 1, '2018-07-30 13:30:41'),
(53, 1, 7, '1807048', 'Kommetjie Brights 2', 1, '2018-07-30 13:35:20'),
(54, 1, 7, '1807049', 'Dbn Spar1111', 1, '2018-07-30 15:15:07'),
(55, 1, 7, '1807050', 'Dbn Spar11112', 1, '2018-07-30 15:18:51'),
(56, 1, 7, '1807051', 'Dbn Spar222211', 1, '2018-07-30 15:20:07'),
(57, 1, 7, '1807052', 'brights somerset wes', 1, '2018-07-30 17:11:11'),
(58, 1, 7, '1807053', 'brights somerset wes2', 1, '2018-07-30 17:42:14'),
(59, 1, 7, '1807054', 'brights somerset wes3', 1, '2018-07-30 17:47:07'),
(60, 1, 7, '1807055', 'Jhb Spar22212', 1, '2018-07-30 17:50:09'),
(61, 1, 7, '1807056', 'Welgemoed Spar2233', 1, '2018-07-30 17:55:05'),
(62, 1, 7, '1807057', 'Brights HBos2', 1, '2018-07-31 11:03:04'),
(63, 1, 45, '1807058', 'Gooneys', 1, '2018-07-31 14:27:20'),
(64, 1, 46, '1808001', 'pnp1', 1, '2018-08-01 05:43:23');

-- --------------------------------------------------------

--
-- Table structure for table `job_comment`
--

CREATE TABLE `job_comment` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `job_id` int(11) NOT NULL,
  `description` varchar(900) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `job_comment`
--

INSERT INTO `job_comment` (`id`, `client_id`, `customer_id`, `job_id`, `description`, `updated_by`, `updated_on`) VALUES
(3, 1, 0, 0, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Global', 1, '2018-07-30 12:14:47'),
(4, 1, 1, 0, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Spar', 1, '2018-07-30 12:15:01'),
(5, 1, 7, 0, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights', 1, '2018-07-30 12:15:14'),
(6, 1, 7, 51, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights Welgemoed', 1, '2018-07-30 12:15:27'),
(7, 1, 7, 52, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights', 1, '2018-07-30 13:30:41'),
(8, 1, 7, 53, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights', 1, '2018-07-30 13:35:20'),
(9, 1, 7, 54, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights', 1, '2018-07-30 15:15:07'),
(10, 1, 7, 55, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights', 1, '2018-07-30 15:18:51'),
(11, 1, 7, 56, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights', 1, '2018-07-30 15:20:07'),
(12, 1, 7, 57, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights', 1, '2018-07-30 17:11:11'),
(13, 1, 7, 58, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights', 1, '2018-07-30 17:42:14'),
(14, 1, 7, 59, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights', 1, '2018-07-30 17:47:07'),
(15, 1, 7, 60, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights', 1, '2018-07-30 17:50:09'),
(16, 1, 7, 61, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights', 1, '2018-07-30 17:55:05'),
(17, 1, 7, 62, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\nThe 5% rentention may not be held for longer than 15 days after signoff and completion as agreed by both parties.\nThe parties agree to a 25% deposit payable on the date of commencement.\nAll payments to be made immediately on the day of invoicing.\nTo prevent delays, such payments will be as per payment schedule and agreed uppon by both parties. - Brights2', 1, '2018-07-31 10:40:47'),
(18, 1, 45, 63, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Global', 1, '2018-07-31 14:27:20'),
(19, 1, 46, 64, 'The Parties agreed to a 5% retention that will be paid once all work has been completed and signed off between both parties.\r\nThe 5% rentention may not be held for longer that 15 days after signoff and completion as agreed by both parties.\r\nThe parties agree to a 25% deposit payable on the date of commencement.\r\nAll payments to be made immediately on the day of invoiceing.\r\nTo prevent dalays, such payments will be as per payment schedule and agreed uppon by both parties. - Global', 1, '2018-08-01 05:43:23');

-- --------------------------------------------------------

--
-- Table structure for table `job_note`
--

CREATE TABLE `job_note` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `job_id` int(11) NOT NULL,
  `description` varchar(300) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `job_note`
--

INSERT INTO `job_note` (`id`, `client_id`, `customer_id`, `job_id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 1, 0, 0, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nGL - Global', 1, '2018-07-30 10:57:59'),
(5, 1, 1, 2, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nGS - Goodwood Spar', 1, '2018-07-26 13:22:12'),
(6, 1, 1, 0, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nSP - Spar', 1, '2018-07-30 10:54:47'),
(7, 1, 7, 21, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville', 1, '2018-07-27 07:58:10'),
(8, 1, 7, 22, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville\r\nBB - Brights Belville', 1, '2018-07-27 07:59:11'),
(9, 1, 7, 23, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville\r\nBB - Brights Belville', 1, '2018-07-27 08:02:28'),
(10, 1, 7, 24, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors', 1, '2018-07-27 08:08:03'),
(11, 1, 7, 25, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville\r\nBB - Brights Belville', 1, '2018-07-27 08:14:54'),
(12, 1, 7, 26, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville\r\nBB - Brights Belville', 1, '2018-07-27 08:20:41'),
(13, 1, 7, 27, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville 9', 1, '2018-07-27 12:02:09'),
(14, 1, 7, 28, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBC - Brights Cerus', 1, '2018-07-27 14:01:02'),
(15, 1, 7, 30, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBT - Brights Tulbach', 1, '2018-07-27 14:05:41'),
(16, 1, 7, 40, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBC - Brights Cerus', 1, '2018-07-30 06:39:19'),
(17, 1, 7, 50, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBS - Brights Swellendam', 1, '2018-07-30 06:55:19'),
(18, 1, 7, 0, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBR - Brights', 1, '2018-07-30 10:58:26'),
(19, 1, 7, 51, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBW - Brights Welgemoed', 1, '2018-07-30 11:34:08'),
(20, 1, 7, 52, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBC - Brights Kommetjie', 1, '2018-07-30 13:30:41'),
(21, 1, 7, 53, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBC - Brights Kommetjie', 1, '2018-07-30 13:35:20'),
(22, 1, 7, 54, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville', 1, '2018-07-30 15:15:07'),
(23, 1, 7, 55, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville', 1, '2018-07-30 15:18:51'),
(24, 1, 7, 56, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville', 1, '2018-07-30 15:20:07'),
(25, 1, 7, 57, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville', 1, '2018-07-30 17:11:11'),
(26, 1, 7, 58, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville', 1, '2018-07-30 17:42:14'),
(27, 1, 7, 59, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville', 1, '2018-07-30 17:47:07'),
(28, 1, 7, 60, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville', 1, '2018-07-30 17:50:09'),
(29, 1, 7, 61, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nBB - Brights Belville', 1, '2018-07-30 17:55:05'),
(30, 1, 7, 62, 'Abbreviations:\nDW - Demolition Work\nBW - Brick Work\nAC - Avid Contractors\nBH - Brights HBos33', 1, '2018-07-31 10:30:22'),
(31, 1, 45, 63, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nGL - Global', 1, '2018-07-31 14:27:20'),
(32, 1, 46, 64, 'Abbreviations:\r\nDW - Demolition Work\r\nBW - Brick Work\r\nAC - Avid Contractors\r\nGL - Global', 1, '2018-08-01 05:43:23');

-- --------------------------------------------------------

--
-- Table structure for table `payment_terms`
--

CREATE TABLE `payment_terms` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `job_id` int(11) NOT NULL,
  `description` varchar(900) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `payment_terms`
--

INSERT INTO `payment_terms` (`id`, `client_id`, `customer_id`, `job_id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 0, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Spar', 1, '2018-07-30 13:23:45'),
(10, 1, 0, 0, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Global', 1, '2018-07-30 13:24:01'),
(11, 1, 7, 0, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Brights', 1, '2018-07-30 13:24:28'),
(13, 1, 7, 53, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Brights', 1, '2018-07-30 13:35:20'),
(14, 1, 7, 54, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Brights', 1, '2018-07-30 15:15:07'),
(15, 1, 7, 55, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Brights', 1, '2018-07-30 15:18:51'),
(16, 1, 7, 56, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Brights', 1, '2018-07-30 15:20:07'),
(17, 1, 7, 57, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Brights', 1, '2018-07-30 17:11:11'),
(18, 1, 7, 58, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Brights', 1, '2018-07-30 17:42:14'),
(19, 1, 7, 59, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Brights', 1, '2018-07-30 17:47:07'),
(20, 1, 7, 60, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Brights', 1, '2018-07-30 17:50:09'),
(21, 1, 7, 61, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Brights', 1, '2018-07-30 17:55:05'),
(22, 1, 7, 62, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\nNO RETENTIONS ALLOWED\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Brights123', 1, '2018-07-31 11:02:39'),
(23, 1, 45, 63, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Global', 1, '2018-07-31 14:27:20'),
(24, 1, 46, 64, 'JOBS OVER R500 000.00 EXCL. VAT REQUIRES A 25% DEPOSIT BEFORE COMMENCEMENT - ADDITIONAL \"TOP UP\" DEPOSIT OF 25% DUE WITHIN THE FIRST 3 WEEKS AFTER\r\nJOBS UNDER R500 000.00 EXCL. VAT REQUIRES A 50% DEPOSIT BEFORE COMMENCEMENT - \r\nPROGRESS PAYMENTS TO BE MADE WEEKLY BASED ON PERCENTAGE PROGRESS AGREED BETWEEN AVID AND CLIENT - TO BE SIGNED OFF BY DEVELOPMENT MANAGER AND CLIENT\r\nNO RETENTIONS ALLOWED\r\nTHE ABOVE QUOTE IS BASED ON THE PLANS SUBMITTED AND SITE MEETING AS BETWEEN AVID AND DEVELOPMENT MANAGER/CLIENT\r\nANY ADDITIONAL WORK SCOPE NOT INCLUDED IN THIS QUOTE WILL BE DEEMED A V.O AND WILL BE COSTED SEPERATELY. SUCH COST WILL BE FOR THE CLIENTS ACCOUNT\r\nTHIS QUOTE IS VALID FOR 90 DAYS ONLY - Global', 1, '2018-08-01 05:43:23');

-- --------------------------------------------------------

--
-- Table structure for table `quote`
--

CREATE TABLE `quote` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `quote_no` varchar(30) NOT NULL,
  `revision` int(11) NOT NULL,
  `date` date NOT NULL,
  `plan` varchar(100) NOT NULL,
  `job_id` int(11) NOT NULL,
  `show_sub_categories` tinyint(1) NOT NULL DEFAULT '1',
  `show_header_notes` tinyint(1) NOT NULL,
  `show_job_notes` tinyint(1) NOT NULL,
  `show_job_comments` tinyint(1) NOT NULL,
  `show_payment_terms` tinyint(1) NOT NULL,
  `contact_id` int(3) NOT NULL,
  `status_id` int(3) NOT NULL,
  `final_total_amount` decimal(9,2) NOT NULL,
  `total_proffit` decimal(9,2) NOT NULL,
  `discount` decimal(5,2) NOT NULL,
  `commission` decimal(5,2) NOT NULL,
  `contingency` decimal(5,2) NOT NULL,
  `reduction` decimal(5,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `created_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `quote`
--

INSERT INTO `quote` (`id`, `client_id`, `customer_id`, `quote_no`, `revision`, `date`, `plan`, `job_id`, `show_sub_categories`, `show_header_notes`, `show_job_notes`, `show_job_comments`, `show_payment_terms`, `contact_id`, `status_id`, `final_total_amount`, `total_proffit`, `discount`, `commission`, `contingency`, `reduction`, `created_by`, `updated_by`, `created_on`, `updated_on`) VALUES
(64, 1, 1, '1807001', 0, '2018-07-04', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '2500.00', '1000.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-04 16:38:30', '2018-07-30 16:15:43'),
(65, 1, 1, '1807002', 0, '2018-07-04', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-04 16:46:06', '2018-07-04 16:46:06'),
(66, 1, 1, '1807003', 0, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '1500.00', '750.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-06 11:54:08', '2018-07-20 09:51:28'),
(67, 1, 1, '1807004', 0, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 1, '238.00', '-178262.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-06 11:56:10', '2018-07-06 12:08:57'),
(68, 1, 1, '1807005', 0, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '10000.00', '10000.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-06 12:10:08', '2018-07-20 10:41:09'),
(69, 1, 1, '1807006', 0, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-06 12:11:21', '2018-07-06 12:11:21'),
(70, 1, 1, '1807007', 0, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 1, '5130.00', '2680.00', '10.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-06 12:42:06', '2018-07-11 15:35:02'),
(75, 1, 1, '1807012', 0, '2018-07-06', 'Plan 120602 13', 0, 1, 0, 0, 0, 0, 1, 40, '13000.00', '6500.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-06 14:53:08', '2018-07-13 08:25:29'),
(76, 1, 1, '1807013', 0, '2018-07-11', 'Plan A', 0, 1, 1, 1, 0, 0, 1, 1, '164075.00', '162575.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 06:25:33', '2018-07-27 13:06:45'),
(77, 1, 7, '1807014', 0, '2018-07-11', 'Plan A1', 0, 1, 0, 0, 0, 0, 6, 1, '2000.00', '500.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 06:26:15', '2018-07-11 06:26:36'),
(78, 1, 14, '1807015', 0, '2018-07-11', '2018 - 001', 2, 1, 0, 0, 0, 0, 33, 1, '3000.00', '1500.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 06:27:26', '2018-07-11 06:27:37'),
(79, 1, 1, '1807016', 0, '2018-07-11', 'Plan xx2', 0, 1, 1, 1, 1, 1, 1, 1, '162575.00', '162575.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 06:28:03', '2018-07-25 19:45:48'),
(80, 1, 7, '1807017', 0, '2018-07-11', 'Plan xx2', 0, 1, 0, 0, 0, 0, 1, 1, '162575.00', '162575.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 06:28:28', '2018-07-11 06:28:28'),
(81, 1, 1, '1807018', 0, '2018-07-11', '2018 - 001', 0, 1, 0, 0, 0, 0, 1, 1, '162575.00', '162575.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 06:29:22', '2018-07-11 06:29:22'),
(82, 1, 14, '1807019', 0, '2018-07-12', 'Plan xx2', 2, 1, 0, 0, 0, 0, 32, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 06:29:59', '2018-07-11 06:29:59'),
(83, 1, 1, '1807020', 0, '2018-07-11', 'Plan xx2', 0, 1, 0, 0, 0, 0, 1, 1, '165715.76', '165715.76', '0.00', '0.00', '1.00', '0.00', 1, 1, '2018-07-11 06:30:29', '2018-07-16 13:32:55'),
(84, 1, 1, '1807021', 0, '2018-07-11', '2018 - 001', 0, 1, 0, 0, 0, 0, 1, 1, '162575.00', '162575.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 06:31:04', '2018-07-11 06:31:04'),
(85, 1, 1, '1807022', 0, '2018-07-12', 'Plan xx2', 0, 1, 0, 0, 0, 0, 1, 1, '162575.00', '162575.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 07:38:36', '2018-07-11 07:38:36'),
(86, 1, 1, '1807023', 0, '2018-07-12', 'Plan 120602 13', 0, 1, 0, 0, 0, 0, 1, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 13:21:15', '2018-07-11 13:21:15'),
(87, 1, 7, '1807024', 0, '2018-07-12', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 1, '10000.00', '10000.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 13:21:34', '2018-07-11 13:21:34'),
(88, 1, 1, '1807025', 0, '2018-07-12', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 1, '48275.00', '25700.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 13:27:22', '2018-07-11 21:28:05'),
(89, 1, 1, '1807026', 0, '2018-07-12', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 1, '12474.00', '4474.00', '10.00', '0.00', '0.00', '1.00', 1, 1, '2018-07-11 13:27:44', '2018-07-17 09:15:50'),
(90, 1, 23, '1807027', 0, '2018-07-12', 'Plan AB', 0, 1, 0, 0, 0, 0, 36, 20, '1300.00', '400.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-11 18:47:25', '2018-07-13 08:45:19'),
(91, 1, 23, '1807027', 1, '2018-07-12', 'Plan AB', 0, 1, 0, 0, 0, 0, 36, 20, '1300.00', '400.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-13 08:45:19', '2018-07-13 08:45:23'),
(92, 1, 23, '1807027', 2, '2018-07-12', 'Plan AB', 0, 1, 0, 0, 0, 0, 36, 1, '1300.00', '400.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-13 08:45:23', '2018-07-13 08:45:23'),
(93, 1, 1, '1807003', 1, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '1537.50', '787.50', '0.00', '2.50', '0.00', '0.00', 1, 1, '2018-07-20 09:51:28', '2018-07-20 09:51:51'),
(94, 1, 1, '1807001', 1, '2018-07-04', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '2562.50', '1062.50', '0.00', '2.50', '0.00', '0.00', 1, 1, '2018-07-20 09:53:21', '2018-07-20 09:59:26'),
(95, 1, 1, '1807001', 2, '2018-07-04', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '2562.50', '1062.50', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-20 09:59:26', '2018-07-20 10:05:09'),
(96, 1, 1, '1807001', 3, '2018-07-04', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '1300.00', '400.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-20 10:05:09', '2018-07-20 10:14:01'),
(97, 1, 1, '1807001', 4, '2018-07-04', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 1, '1300.00', '400.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-20 10:14:01', '2018-07-20 10:14:01'),
(98, 1, 1, '1807005', 1, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '10250.00', '5250.00', '0.00', '2.50', '0.00', '0.00', 1, 1, '2018-07-20 10:41:09', '2018-07-20 11:02:28'),
(99, 1, 1, '1807005', 2, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '10506.25', '5506.25', '0.00', '2.50', '0.00', '0.00', 1, 1, '2018-07-20 11:02:28', '2018-07-20 11:05:21'),
(100, 1, 1, '1807005', 3, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '10506.25', '5506.25', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-20 11:05:21', '2018-07-20 11:06:18'),
(101, 1, 1, '1807005', 4, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '10768.91', '5768.91', '0.00', '2.50', '0.00', '0.00', 1, 1, '2018-07-20 11:06:18', '2018-07-20 11:07:03'),
(102, 1, 1, '1807005', 5, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '11038.13', '6038.13', '0.00', '2.50', '0.00', '0.00', 1, 1, '2018-07-20 11:07:03', '2018-07-20 11:07:51'),
(103, 1, 1, '1807005', 6, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 20, '11314.08', '6314.08', '0.00', '2.50', '0.00', '0.00', 1, 1, '2018-07-20 11:07:51', '2018-07-20 11:09:52'),
(104, 1, 1, '1807005', 7, '2018-07-06', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 1, '11314.08', '6314.08', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-20 11:09:52', '2018-07-20 11:09:52'),
(105, 1, 7, '1807028', 0, '2018-07-20', 'Plan A', 0, 0, 0, 0, 0, 0, 36, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-20 11:26:31', '2018-07-20 11:26:31'),
(106, 1, 7, '1807029', 0, '2018-07-20', 'Plan A', 0, 0, 0, 0, 0, 0, 36, 20, '11000.00', '10500.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-20 11:28:58', '2018-07-20 11:29:35'),
(107, 1, 7, '1807029', 1, '2018-07-20', 'Plan A', 0, 0, 0, 0, 0, 0, 36, 20, '11275.00', '10775.00', '0.00', '2.50', '0.00', '0.00', 1, 1, '2018-07-20 11:29:35', '2018-07-20 11:29:49'),
(108, 1, 7, '1807029', 2, '2018-07-20', 'Plan A', 0, 0, 0, 0, 0, 0, 36, 1, '11275.00', '10775.00', '0.00', '2.50', '0.00', '0.00', 1, 1, '2018-07-20 11:29:49', '2018-07-20 11:29:49'),
(109, 1, 1, '1807030', 0, '2018-07-24', 'Plan xx2', 4, 1, 1, 1, 1, 1, 1, 40, '174575.00', '158775.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-24 16:01:02', '2018-07-26 06:26:34'),
(110, 1, 1, '1807031', 0, '2018-07-25', 'X2-345.1', 0, 0, 1, 0, 0, 0, 1, 1, '174575.00', '158775.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-25 06:47:19', '2018-07-26 07:14:45'),
(111, 1, 1, '1807032', 0, '2018-07-25', 'X2-345.1', 8, 0, 0, 0, 0, 0, 1, 1, '650.00', '200.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-25 06:56:55', '2018-07-25 06:58:07'),
(112, 1, 28, '1807033', 0, '0000-00-00', 'Plan 120602 13', 9, 0, 0, 0, 0, 0, 42, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-25 07:09:21', '2018-07-25 07:09:21'),
(113, 1, 1, '1807034', 0, '2018-07-25', 'Plan xx2', 10, 1, 0, 0, 1, 1, 1, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-25 10:33:20', '2018-07-25 10:33:20'),
(114, 1, 1, '1807035', 0, '2018-07-25', 'X2-345.1', 11, 1, 1, 0, 1, 0, 1, 1, '157117.52', '140317.52', '10.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-25 11:10:57', '2018-07-25 14:20:26'),
(115, 1, 1, '1807036', 0, '2018-07-27', 'Plan 120602 13', 12, 1, 1, 1, 1, 1, 1, 1, '174575.00', '158775.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-26 22:09:00', '2018-07-26 22:09:00'),
(116, 1, 7, '1807037', 0, '2018-07-27', 'Plan A1', 13, 1, 1, 0, 0, 0, 36, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-27 05:53:06', '2018-07-27 05:53:06'),
(117, 1, 7, '1807038', 0, '2018-07-27', 'Plan A1', 14, 1, 1, 0, 0, 0, 36, 1, '10000.00', '10000.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-27 05:54:18', '2018-07-27 05:54:18'),
(119, 1, 7, '1807039', 0, '2018-07-27', 'Plan A1', 16, 0, 1, 0, 0, 0, 36, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-27 05:59:05', '2018-07-27 05:59:05'),
(120, 1, 7, '1807040', 0, '2018-07-27', 'Plan A1', 17, 1, 1, 1, 1, 1, 43, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-27 06:04:18', '2018-07-27 06:04:18'),
(121, 1, 7, '1807041', 0, '2018-07-27', '2018 - 001', 18, 0, 1, 0, 0, 0, 43, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-27 06:10:09', '2018-07-27 06:10:09'),
(122, 1, 7, '1807042', 0, '2018-07-27', 'Plan 120602 1332', 27, 1, 1, 1, 1, 1, 41, 1, '174575.00', '158775.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-27 12:02:09', '2018-07-27 12:33:21'),
(123, 1, 7, '1807043', 0, '2018-07-27', 'X2-345.1', 28, 0, 1, 1, 0, 0, 43, 1, '174575.00', '158775.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-27 14:01:02', '2018-07-27 14:01:02'),
(124, 1, 7, '1807044', 0, '2018-07-27', 'Plan 120602 13', 30, 1, 1, 1, 0, 0, 41, 1, '174575.00', '158775.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-27 14:05:41', '2018-07-27 14:05:41'),
(125, 1, 7, '1807045', 0, '2018-07-30', 'Plan xx2', 40, 1, 1, 1, 1, 1, 36, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 06:39:19', '2018-07-30 06:39:19'),
(126, 1, 7, '1807046', 0, '2018-07-30', '2018 - 001', 50, 1, 1, 1, 0, 0, 41, 1, '2400.00', '700.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 06:55:19', '2018-08-09 13:47:32'),
(127, 1, 7, '1807047', 0, '2018-07-30', 'Plan A1', 51, 1, 1, 1, 0, 1, 43, 1, '174575.00', '158775.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 11:34:08', '2018-07-30 12:16:37'),
(128, 1, 7, '1807048', 0, '2018-07-30', 'Plan 120602 13', 53, 1, 1, 1, 1, 1, 41, 1, '1000.00', '250.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 13:35:20', '2018-07-30 13:35:37'),
(129, 1, 7, '1807049', 0, '2018-07-30', 'Plan xx2', 54, 0, 0, 0, 0, 0, 36, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 15:15:07', '2018-07-30 15:15:07'),
(130, 1, 7, '1807050', 0, '2018-07-30', 'Plan xx2', 55, 0, 0, 0, 0, 0, 36, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 15:18:51', '2018-07-30 15:18:51'),
(131, 1, 7, '1807051', 0, '2018-07-30', 'Plan xx2', 56, 0, 0, 0, 0, 0, 36, 1, '2562.50', '1062.50', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 15:20:07', '2018-07-30 15:20:07'),
(132, 1, 1, '1807001', 5, '2018-07-04', 'Plan A', 0, 1, 0, 0, 0, 0, 1, 1, '2500.00', '1000.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 16:15:43', '2018-07-30 16:15:43'),
(133, 1, 7, '1807052', 0, '2018-07-30', 'X2-345.1', 57, 1, 1, 1, 1, 1, 36, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 17:11:11', '2018-07-30 17:32:03'),
(134, 1, 7, '1807053', 0, '2018-07-30', 'X2-345.1', 58, 1, 1, 1, 1, 1, 36, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 17:42:14', '2018-07-30 17:42:14'),
(135, 1, 7, '1807054', 0, '2018-07-30', 'X2-345.1', 59, 1, 1, 1, 1, 1, 36, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 17:47:07', '2018-07-30 17:47:07'),
(136, 1, 7, '1807055', 0, '2018-07-30', 'Plan A1', 60, 1, 1, 1, 1, 1, 41, 1, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 17:50:09', '2018-07-30 17:50:09'),
(137, 1, 7, '1807056', 0, '2018-07-30', 'Plan 120602 13', 61, 0, 0, 1, 0, 0, 41, 30, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-30 17:55:05', '2018-08-01 10:12:15'),
(138, 1, 7, '1807057', 0, '2018-08-01', 'X2-345.111', 62, 1, 1, 1, 1, 1, 41, 20, '167504.72', '78904.72', '5.00', '0.00', '1.00', '0.00', 1, 1, '2018-07-31 06:23:50', '2018-07-31 11:11:42'),
(139, 1, 7, '1807057', 1, '2018-08-01', 'X2-345.111', 62, 1, 1, 1, 1, 1, 41, 20, '150779.98', '62179.98', '5.00', '0.00', '1.00', '0.00', 1, 1, '2018-07-31 11:11:42', '2018-07-31 11:14:05'),
(140, 1, 45, '1807058', 0, '2018-07-31', '2018 - 001', 63, 0, 0, 0, 0, 0, 45, 1, '158715.77', '70115.77', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-07-31 14:27:20', '2018-07-31 14:27:20'),
(141, 1, 46, '1808001', 0, '2018-08-01', '2018 - 001', 64, 1, 1, 1, 1, 1, 46, 1, '210150.00', '101700.00', '0.00', '0.00', '0.00', '0.00', 1, 1, '2018-08-01 05:43:23', '2018-08-01 05:59:10');

-- --------------------------------------------------------

--
-- Table structure for table `quote_cfg`
--

CREATE TABLE `quote_cfg` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `archived_description` varchar(255) NOT NULL,
  `cancelled_description` varchar(255) NOT NULL,
  `show_cancelled_quotes` tinyint(1) NOT NULL DEFAULT '1',
  `show_archived_quotes` tinyint(1) NOT NULL DEFAULT '1',
  `show_latest_revision_only` tinyint(1) NOT NULL DEFAULT '1',
  `quotes_order_seq` varchar(4) NOT NULL DEFAULT 'DESC',
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `quote_cfg`
--

INSERT INTO `quote_cfg` (`id`, `client_id`, `archived_description`, `cancelled_description`, `show_cancelled_quotes`, `show_archived_quotes`, `show_latest_revision_only`, `quotes_order_seq`, `updated_by`, `updated_on`) VALUES
(1, 1, 'Archived', 'Cancelled', 0, 0, 1, 'DESC', 1, '2018-08-01 11:51:46');

-- --------------------------------------------------------

--
-- Table structure for table `quote_line`
--

CREATE TABLE `quote_line` (
  `quote_id` int(11) NOT NULL,
  `id` int(11) NOT NULL,
  `bill_of_quantity_id` int(11) NOT NULL,
  `qty` int(11) NOT NULL,
  `cost` decimal(9,2) NOT NULL,
  `price` decimal(11,2) NOT NULL,
  `include` tinyint(1) NOT NULL DEFAULT '1',
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `quote_line`
--

INSERT INTO `quote_line` (`quote_id`, `id`, `bill_of_quantity_id`, `qty`, `cost`, `price`, `include`, `updated_by`, `updated_on`) VALUES
(4, 1, 9, 2, '0.00', '1250.00', 1, 18, '2018-05-16 14:54:01'),
(4, 2, 10, 2, '0.00', '850.00', 1, 18, '2018-05-16 14:54:13'),
(4, 3, 20, 3, '0.00', '4000.00', 1, 18, '2018-05-16 14:54:24'),
(4, 4, 15, 1, '0.00', '5000.00', 1, 1, '2018-05-16 14:45:42'),
(7, 5, 9, 2, '0.00', '1250.00', 1, 18, '2018-05-17 06:38:48'),
(7, 6, 10, 2, '0.00', '850.00', 1, 18, '2018-05-17 06:38:48'),
(7, 7, 20, 3, '0.00', '4000.00', 1, 18, '2018-05-17 06:38:48'),
(0, 8, 15, 5, '0.00', '5000.00', 1, 18, '2018-05-18 21:25:10'),
(8, 9, 9, 2, '0.00', '1250.00', 1, 18, '2018-05-17 07:30:21'),
(8, 10, 10, 2, '0.00', '850.00', 1, 18, '2018-05-17 07:30:21'),
(8, 11, 20, 3, '0.00', '4000.00', 1, 18, '2018-05-17 07:30:21'),
(8, 12, 15, 1, '0.00', '5000.00', 1, 18, '2018-05-17 07:30:21'),
(8, 13, 9, 2, '0.00', '2345.00', 1, 18, '2018-05-17 13:37:53'),
(2, 14, 9, 1, '0.00', '4520.00', 1, 1, '2018-05-20 08:50:26'),
(2, 21, 10, 1, '0.00', '2345.00', 1, 1, '2018-05-21 10:35:22'),
(9, 28, 9, 1, '0.00', '2500.00', 1, 1, '2018-05-23 18:57:17'),
(9, 29, 10, 1, '0.00', '500.00', 1, 1, '2018-05-23 18:57:28'),
(9, 30, 15, 1, '0.00', '3500.00', 1, 1, '2018-05-23 18:57:38'),
(9, 31, 40, 1, '0.00', '850.00', 1, 1, '2018-05-23 18:57:57'),
(9, 32, 50, 1, '0.00', '456.00', 1, 1, '2018-05-23 18:58:13'),
(9, 33, 60, 89, '0.00', '145.00', 1, 1, '2018-05-23 19:01:51'),
(9, 34, 9, 2, '0.00', '1500.00', 1, 1, '2018-06-02 10:48:36'),
(9, 35, 80, 15, '0.00', '125.00', 1, 1, '2018-05-23 20:10:47'),
(9, 36, 90, 1, '0.00', '4500.00', 1, 1, '2018-05-23 20:11:19'),
(9, 37, 100, 25, '0.00', '250.00', 1, 1, '2018-05-23 20:11:57'),
(9, 38, 120, 230, '0.00', '25.00', 1, 1, '2018-05-23 20:12:29'),
(9, 39, 130, 100, '0.00', '1500.00', 1, 1, '2018-05-23 20:13:14'),
(9, 40, 140, 35, '0.00', '600.00', 1, 1, '2018-05-23 20:13:37'),
(9, 41, 150, 22, '0.00', '9225.00', 1, 1, '2018-05-23 20:15:01'),
(9, 42, 170, 12, '0.00', '2500.00', 1, 1, '2018-05-23 20:24:08'),
(9, 43, 180, 4, '0.00', '6500.00', 1, 1, '2018-05-23 20:24:21'),
(9, 44, 190, 220, '0.00', '25.00', 1, 1, '2018-05-23 20:27:58'),
(9, 45, 200, 220, '0.00', '35.00', 1, 1, '2018-05-23 20:28:21'),
(9, 46, 210, 220, '0.00', '55.00', 1, 1, '2018-05-23 20:28:32'),
(9, 47, 220, 25, '0.00', '200.00', 1, 1, '2018-05-23 20:35:39'),
(9, 48, 230, 300, '0.00', '1200.00', 1, 1, '2018-05-23 20:36:10'),
(9, 49, 240, 75, '0.00', '501.30', 1, 1, '2018-05-23 20:36:45'),
(9, 50, 250, 250, '0.00', '448.00', 1, 1, '2018-05-23 20:37:06'),
(9, 51, 260, 1, '0.00', '1650.00', 1, 1, '2018-05-23 20:37:22'),
(9, 52, 270, 1, '0.00', '2500.00', 1, 1, '2018-05-23 20:37:35'),
(11, 53, 9, 1, '0.00', '2500.00', 1, 1, '2018-05-28 18:21:07'),
(11, 54, 10, 1, '0.00', '500.00', 1, 1, '2018-05-28 18:21:07'),
(11, 55, 15, 1, '0.00', '3500.00', 1, 1, '2018-05-28 18:21:07'),
(11, 56, 40, 1, '0.00', '850.00', 1, 1, '2018-05-28 18:21:07'),
(11, 57, 50, 1, '0.00', '456.00', 1, 1, '2018-05-28 18:21:07'),
(11, 58, 60, 89, '0.00', '145.00', 1, 1, '2018-05-28 18:21:07'),
(11, 59, 70, 120, '0.00', '145.00', 1, 1, '2018-05-28 18:21:07'),
(11, 60, 80, 15, '0.00', '125.00', 1, 1, '2018-05-28 18:21:07'),
(11, 61, 90, 1, '0.00', '4500.00', 1, 1, '2018-05-28 18:21:07'),
(11, 62, 100, 25, '0.00', '250.00', 1, 1, '2018-05-28 18:21:07'),
(11, 63, 120, 230, '0.00', '25.00', 1, 1, '2018-05-28 18:21:07'),
(11, 64, 130, 100, '0.00', '1500.00', 1, 1, '2018-05-28 18:21:07'),
(11, 65, 140, 35, '0.00', '600.00', 1, 1, '2018-05-28 18:21:07'),
(11, 66, 150, 22, '0.00', '9225.00', 1, 1, '2018-05-28 18:21:07'),
(11, 67, 170, 12, '0.00', '2500.00', 1, 1, '2018-05-28 18:21:07'),
(11, 68, 180, 4, '0.00', '6500.00', 1, 1, '2018-05-28 18:21:07'),
(11, 69, 190, 220, '0.00', '25.00', 1, 1, '2018-05-28 18:21:07'),
(11, 70, 200, 220, '0.00', '35.00', 1, 1, '2018-05-28 18:21:07'),
(11, 71, 210, 220, '0.00', '55.00', 1, 1, '2018-05-28 18:21:07'),
(11, 72, 220, 25, '0.00', '200.00', 1, 1, '2018-05-28 18:21:07'),
(11, 73, 230, 300, '0.00', '1200.00', 1, 1, '2018-05-28 18:21:07'),
(11, 74, 240, 75, '0.00', '501.30', 1, 1, '2018-05-28 18:21:07'),
(11, 75, 250, 250, '0.00', '448.00', 1, 1, '2018-05-28 18:21:07'),
(11, 76, 260, 1, '0.00', '1650.00', 1, 1, '2018-05-28 18:21:07'),
(11, 77, 270, 1, '0.00', '2500.00', 1, 1, '2018-05-28 18:21:07'),
(12, 78, 9, 1, '0.00', '2500.00', 1, 1, '2018-05-28 18:21:34'),
(12, 79, 10, 1, '0.00', '500.00', 1, 1, '2018-05-28 18:21:34'),
(12, 80, 15, 1, '0.00', '3500.00', 1, 1, '2018-05-28 18:21:34'),
(12, 81, 40, 1, '0.00', '850.00', 1, 1, '2018-05-28 18:21:34'),
(12, 82, 50, 1, '0.00', '456.00', 1, 1, '2018-05-28 18:21:34'),
(12, 83, 60, 89, '0.00', '145.00', 1, 1, '2018-05-28 18:21:34'),
(12, 84, 70, 120, '0.00', '145.00', 1, 1, '2018-05-28 18:21:34'),
(12, 85, 80, 15, '0.00', '125.00', 1, 1, '2018-05-28 18:21:34'),
(12, 86, 90, 1, '0.00', '4500.00', 1, 1, '2018-05-28 18:21:34'),
(12, 87, 100, 25, '0.00', '250.00', 1, 1, '2018-05-28 18:21:34'),
(12, 88, 120, 230, '0.00', '25.00', 1, 1, '2018-05-28 18:21:34'),
(12, 89, 130, 100, '0.00', '1500.00', 1, 1, '2018-05-28 18:21:34'),
(12, 90, 140, 35, '0.00', '600.00', 1, 1, '2018-05-28 18:21:34'),
(12, 91, 150, 22, '0.00', '9225.00', 1, 1, '2018-05-28 18:21:34'),
(12, 92, 170, 12, '0.00', '2500.00', 1, 1, '2018-05-28 18:21:34'),
(12, 93, 180, 4, '0.00', '6500.00', 1, 1, '2018-05-28 18:21:34'),
(12, 94, 190, 220, '0.00', '25.00', 1, 1, '2018-05-28 18:21:34'),
(12, 95, 200, 220, '0.00', '35.00', 1, 1, '2018-05-28 18:21:34'),
(12, 96, 210, 220, '0.00', '55.00', 1, 1, '2018-05-28 18:21:34'),
(12, 97, 220, 25, '0.00', '200.00', 1, 1, '2018-05-28 18:21:34'),
(12, 98, 230, 300, '0.00', '1200.00', 1, 1, '2018-05-28 18:21:34'),
(12, 99, 240, 75, '0.00', '501.30', 1, 1, '2018-05-28 18:21:34'),
(12, 100, 250, 250, '0.00', '448.00', 1, 1, '2018-05-28 18:21:34'),
(12, 101, 260, 1, '0.00', '1650.00', 1, 1, '2018-05-28 18:21:34'),
(12, 102, 270, 1, '0.00', '2500.00', 1, 1, '2018-05-28 18:21:34'),
(14, 103, 9, 1, '0.00', '2500.00', 1, 1, '2018-05-28 20:37:42'),
(14, 104, 10, 1, '0.00', '500.00', 1, 1, '2018-05-28 20:37:42'),
(14, 105, 15, 1, '0.00', '3500.00', 1, 1, '2018-05-28 20:37:42'),
(14, 106, 40, 1, '0.00', '850.00', 1, 1, '2018-05-28 20:37:42'),
(14, 107, 50, 1, '0.00', '456.00', 1, 1, '2018-05-28 20:37:42'),
(14, 108, 60, 89, '0.00', '145.00', 1, 1, '2018-05-28 20:37:42'),
(14, 109, 70, 120, '0.00', '145.00', 1, 1, '2018-05-28 20:37:42'),
(14, 110, 80, 15, '0.00', '125.00', 1, 1, '2018-05-28 20:37:42'),
(14, 111, 90, 1, '0.00', '4500.00', 1, 1, '2018-05-28 20:37:42'),
(14, 112, 100, 25, '0.00', '250.00', 1, 1, '2018-05-28 20:37:42'),
(14, 113, 120, 230, '0.00', '25.00', 1, 1, '2018-05-28 20:37:42'),
(14, 114, 130, 100, '0.00', '1500.00', 1, 1, '2018-05-28 20:37:42'),
(14, 115, 140, 35, '0.00', '600.00', 1, 1, '2018-05-28 20:37:42'),
(14, 116, 150, 22, '0.00', '9225.00', 1, 1, '2018-05-28 20:37:42'),
(14, 117, 170, 12, '0.00', '2500.00', 1, 1, '2018-05-28 20:37:42'),
(14, 118, 180, 4, '0.00', '6500.00', 1, 1, '2018-05-28 20:37:42'),
(14, 119, 190, 220, '0.00', '25.00', 1, 1, '2018-05-28 20:37:42'),
(14, 120, 200, 220, '0.00', '35.00', 1, 1, '2018-05-28 20:37:42'),
(14, 121, 210, 220, '0.00', '55.00', 1, 1, '2018-05-28 20:37:42'),
(14, 122, 220, 25, '0.00', '200.00', 1, 1, '2018-05-28 20:37:42'),
(14, 123, 230, 300, '0.00', '1200.00', 1, 1, '2018-05-28 20:37:42'),
(14, 124, 240, 75, '0.00', '501.30', 1, 1, '2018-05-28 20:37:42'),
(14, 125, 250, 250, '0.00', '448.00', 1, 1, '2018-05-28 20:37:42'),
(14, 126, 260, 1, '0.00', '1650.00', 1, 1, '2018-05-28 20:37:42'),
(14, 127, 270, 1, '0.00', '2500.00', 1, 1, '2018-05-28 20:37:42'),
(15, 128, 9, 2, '100.00', '1485.15', 1, 1, '2018-06-26 20:41:04'),
(15, 129, 250, 1, '2500.00', '4455.45', 1, 1, '2018-06-26 20:21:50'),
(15, 130, 120, 200, '15.00', '29.70', 1, 1, '2018-06-26 20:21:50'),
(26, 131, 9, 1, '0.00', '1500.00', 1, 1, '2018-05-31 09:49:18'),
(26, 132, 10, 1, '0.00', '2420.00', 1, 1, '2018-05-31 09:49:18'),
(26, 133, 15, 1, '0.00', '15000.00', 1, 1, '2018-05-31 09:49:18'),
(26, 134, 40, 2, '0.00', '2562.50', 1, 1, '2018-05-31 09:49:18'),
(26, 135, 50, 1, '0.00', '3050.00', 1, 1, '2018-05-31 09:49:18'),
(26, 136, 60, 75, '0.00', '145.00', 1, 1, '2018-05-31 09:49:18'),
(26, 137, 70, 50, '0.00', '145.00', 1, 1, '2018-05-31 09:49:18'),
(26, 138, 80, 15, '0.00', '125.00', 1, 1, '2018-05-31 09:49:18'),
(26, 139, 90, 1, '0.00', '4500.00', 1, 1, '2018-05-31 09:49:18'),
(26, 140, 100, 10, '0.00', '300.00', 1, 1, '2018-05-31 09:49:18'),
(26, 141, 120, 200, '0.00', '25.00', 1, 1, '2018-05-31 09:49:18'),
(26, 142, 130, 35, '0.00', '1500.00', 1, 1, '2018-05-31 09:49:18'),
(26, 143, 140, 12, '0.00', '600.00', 1, 1, '2018-05-31 09:49:18'),
(26, 144, 150, 7, '0.00', '3000.00', 1, 1, '2018-05-31 09:49:18'),
(26, 145, 170, 2, '0.00', '2500.00', 1, 1, '2018-05-31 09:49:18'),
(26, 146, 180, 1, '0.00', '6500.00', 1, 1, '2018-05-31 09:49:18'),
(26, 147, 190, 220, '0.00', '25.00', 1, 1, '2018-05-31 09:49:18'),
(26, 148, 200, 220, '0.00', '35.00', 1, 1, '2018-05-31 09:49:18'),
(26, 149, 210, 220, '0.00', '55.00', 1, 1, '2018-05-31 09:49:18'),
(26, 150, 220, 34, '0.00', '200.00', 1, 1, '2018-05-31 09:49:18'),
(26, 151, 230, 250, '0.00', '1200.00', 1, 1, '2018-05-31 09:49:18'),
(26, 152, 240, 88, '0.00', '501.30', 1, 1, '2018-05-31 09:49:18'),
(26, 153, 250, 200, '0.00', '448.00', 1, 1, '2018-05-31 09:49:18'),
(26, 154, 260, 1, '0.00', '1650.00', 1, 1, '2018-05-31 09:49:18'),
(26, 155, 270, 1, '0.00', '2500.00', 1, 1, '2018-05-31 09:49:18'),
(31, 156, 9, 1, '0.00', '1500.00', 1, 1, '2018-05-31 09:58:38'),
(31, 157, 10, 2, '0.00', '2420.00', 1, 1, '2018-06-06 16:35:16'),
(31, 158, 15, 1, '0.00', '15000.00', 1, 1, '2018-05-31 09:58:38'),
(31, 159, 40, 2, '0.00', '2562.50', 1, 1, '2018-05-31 09:58:38'),
(31, 160, 50, 1, '0.00', '3050.00', 1, 1, '2018-05-31 09:58:38'),
(31, 161, 60, 75, '0.00', '145.00', 0, 1, '2018-06-06 16:35:01'),
(31, 162, 70, 50, '0.00', '145.00', 1, 1, '2018-05-31 09:58:38'),
(31, 163, 80, 4, '1000.00', '125.00', 1, 1, '2018-07-16 13:24:01'),
(31, 164, 90, 2, '0.00', '4500.00', 1, 1, '2018-07-16 13:25:19'),
(31, 165, 100, 10, '0.00', '300.00', 1, 1, '2018-05-31 09:58:38'),
(31, 166, 120, 200, '0.00', '25.00', 1, 1, '2018-05-31 09:58:38'),
(31, 167, 130, 35, '0.00', '1500.00', 1, 1, '2018-05-31 09:58:38'),
(31, 168, 140, 12, '0.00', '600.00', 1, 1, '2018-05-31 09:58:38'),
(31, 169, 150, 7, '0.00', '3000.00', 1, 1, '2018-05-31 09:58:38'),
(31, 170, 170, 2, '0.00', '2500.00', 1, 1, '2018-05-31 09:58:38'),
(31, 171, 180, 1, '0.00', '6500.00', 1, 1, '2018-05-31 09:58:38'),
(31, 172, 190, 220, '0.00', '25.00', 1, 1, '2018-05-31 09:58:38'),
(31, 173, 200, 220, '0.00', '35.00', 1, 1, '2018-05-31 09:58:38'),
(31, 174, 210, 220, '0.00', '55.00', 1, 1, '2018-05-31 09:58:38'),
(31, 175, 220, 34, '0.00', '200.00', 1, 1, '2018-05-31 09:58:38'),
(31, 176, 230, 250, '0.00', '1200.00', 1, 1, '2018-05-31 09:58:38'),
(31, 177, 240, 88, '0.00', '501.30', 1, 1, '2018-05-31 09:58:38'),
(31, 178, 250, 200, '0.00', '448.00', 1, 1, '2018-05-31 09:58:38'),
(31, 179, 260, 1, '0.00', '1650.00', 1, 1, '2018-05-31 09:58:38'),
(31, 180, 270, 2, '0.00', '2500.00', 1, 1, '2018-06-06 16:35:22'),
(32, 181, 9, 1, '0.00', '2500.00', 1, 1, '2018-05-31 10:00:37'),
(32, 182, 10, 1, '0.00', '500.00', 1, 1, '2018-05-31 10:00:37'),
(32, 183, 15, 1, '0.00', '3500.00', 1, 1, '2018-05-31 10:00:37'),
(32, 184, 40, 1, '0.00', '850.00', 1, 1, '2018-06-18 21:58:54'),
(32, 185, 50, 1, '0.00', '456.00', 1, 1, '2018-06-18 21:58:42'),
(32, 186, 60, 89, '0.00', '145.00', 1, 1, '2018-05-31 10:00:37'),
(32, 187, 70, 120, '0.00', '145.00', 1, 1, '2018-05-31 10:00:37'),
(32, 188, 80, 15, '0.00', '125.00', 1, 1, '2018-05-31 10:00:37'),
(32, 189, 90, 1, '0.00', '4500.00', 1, 1, '2018-05-31 10:00:37'),
(32, 190, 100, 25, '0.00', '250.00', 1, 1, '2018-05-31 10:00:37'),
(32, 191, 120, 230, '0.00', '25.00', 1, 1, '2018-05-31 10:00:37'),
(32, 192, 130, 100, '0.00', '1500.00', 1, 1, '2018-05-31 10:00:37'),
(32, 193, 140, 35, '0.00', '600.00', 1, 1, '2018-05-31 10:00:37'),
(32, 194, 150, 22, '0.00', '9225.00', 1, 1, '2018-05-31 10:00:37'),
(32, 195, 170, 12, '0.00', '2500.00', 1, 1, '2018-05-31 10:00:37'),
(32, 196, 180, 4, '0.00', '6500.00', 1, 1, '2018-05-31 10:00:37'),
(32, 197, 190, 220, '0.00', '25.00', 1, 1, '2018-05-31 10:00:37'),
(32, 198, 200, 220, '0.00', '35.00', 1, 1, '2018-05-31 10:00:37'),
(32, 199, 210, 220, '0.00', '55.00', 1, 1, '2018-05-31 10:00:37'),
(32, 200, 220, 25, '0.00', '200.00', 1, 1, '2018-05-31 10:00:37'),
(32, 201, 230, 300, '0.00', '1200.00', 1, 1, '2018-05-31 10:00:37'),
(32, 202, 240, 75, '0.00', '501.30', 1, 1, '2018-05-31 10:00:37'),
(32, 203, 250, 250, '0.00', '448.00', 1, 1, '2018-05-31 10:00:37'),
(32, 204, 260, 1, '0.00', '1650.00', 1, 1, '2018-05-31 10:00:37'),
(32, 205, 270, 1, '0.00', '2500.00', 1, 1, '2018-05-31 10:00:37'),
(33, 216, 120, 200, '0.00', '25.00', 1, 20, '2018-05-31 15:11:07'),
(33, 217, 130, 35, '0.00', '1500.00', 1, 20, '2018-05-31 15:11:07'),
(33, 218, 140, 12, '0.00', '600.00', 1, 20, '2018-05-31 15:11:07'),
(33, 219, 150, 7, '0.00', '3000.00', 1, 20, '2018-05-31 15:11:07'),
(33, 220, 170, 2, '0.00', '2500.00', 1, 20, '2018-05-31 15:11:07'),
(33, 221, 180, 1, '0.00', '6500.00', 1, 20, '2018-05-31 15:11:07'),
(33, 222, 190, 220, '0.00', '25.00', 1, 20, '2018-05-31 15:11:07'),
(33, 223, 200, 220, '0.00', '35.00', 1, 20, '2018-05-31 15:11:07'),
(33, 224, 210, 220, '0.00', '55.00', 1, 20, '2018-05-31 15:11:07'),
(33, 225, 220, 34, '0.00', '200.00', 1, 20, '2018-05-31 15:11:07'),
(33, 226, 230, 250, '0.00', '1200.00', 1, 20, '2018-05-31 15:11:07'),
(33, 227, 240, 88, '0.00', '501.30', 1, 20, '2018-05-31 15:11:07'),
(33, 228, 250, 200, '0.00', '448.00', 1, 20, '2018-05-31 15:11:07'),
(33, 229, 260, 1, '0.00', '1650.00', 1, 20, '2018-05-31 15:11:07'),
(33, 230, 270, 1, '0.00', '2500.00', 1, 20, '2018-05-31 15:11:07'),
(34, 234, 40, 2, '0.00', '2562.50', 0, 1, '2018-06-06 15:26:17'),
(34, 235, 50, 1, '0.00', '3050.00', 1, 1, '2018-06-02 10:48:09'),
(34, 236, 60, 75, '0.00', '145.00', 1, 1, '2018-06-02 10:48:09'),
(34, 237, 70, 50, '0.00', '145.00', 1, 1, '2018-06-02 10:48:09'),
(34, 238, 80, 15, '0.00', '125.00', 1, 1, '2018-06-02 10:48:09'),
(34, 239, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-02 10:48:09'),
(34, 240, 100, 10, '0.00', '300.00', 1, 1, '2018-06-02 10:48:09'),
(34, 241, 120, 200, '0.00', '25.00', 1, 1, '2018-06-02 10:48:09'),
(34, 242, 130, 35, '0.00', '1500.00', 1, 1, '2018-06-02 10:48:09'),
(34, 243, 140, 12, '0.00', '600.00', 1, 1, '2018-06-02 10:48:09'),
(34, 244, 150, 7, '0.00', '3000.00', 1, 1, '2018-06-02 10:48:09'),
(34, 245, 170, 2, '0.00', '2500.00', 1, 1, '2018-06-02 10:48:09'),
(34, 246, 180, 1, '0.00', '6500.00', 1, 1, '2018-06-02 10:48:09'),
(34, 247, 190, 220, '0.00', '25.00', 1, 1, '2018-06-02 10:48:09'),
(34, 248, 200, 220, '0.00', '35.00', 1, 1, '2018-06-02 10:48:09'),
(34, 249, 210, 220, '0.00', '55.00', 1, 1, '2018-06-02 10:48:09'),
(34, 250, 220, 34, '0.00', '200.00', 1, 1, '2018-06-02 10:48:09'),
(34, 251, 230, 250, '0.00', '1200.00', 1, 1, '2018-06-02 10:48:09'),
(34, 252, 240, 88, '0.00', '501.30', 1, 1, '2018-06-02 10:48:09'),
(34, 253, 250, 200, '0.00', '448.00', 1, 1, '2018-06-02 10:48:09'),
(34, 254, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-02 10:48:09'),
(34, 255, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-02 10:48:09'),
(35, 256, 9, 1, '0.00', '2500.00', 1, 1, '2018-06-02 11:07:33'),
(35, 257, 10, 1, '0.00', '500.00', 1, 1, '2018-06-02 11:07:33'),
(35, 258, 15, 1, '0.00', '3500.00', 1, 1, '2018-06-02 11:07:33'),
(35, 259, 40, 1, '0.00', '850.00', 1, 1, '2018-06-02 11:07:33'),
(35, 260, 50, 1, '0.00', '456.00', 1, 1, '2018-06-02 11:07:33'),
(35, 261, 60, 89, '0.00', '145.00', 1, 1, '2018-06-02 11:07:33'),
(35, 262, 9, 2, '0.00', '1500.00', 1, 1, '2018-06-02 11:07:33'),
(35, 263, 80, 15, '0.00', '125.00', 1, 1, '2018-06-02 11:07:33'),
(35, 264, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-02 11:07:33'),
(35, 265, 100, 25, '0.00', '250.00', 1, 1, '2018-06-02 11:07:33'),
(35, 266, 120, 230, '0.00', '25.00', 1, 1, '2018-06-02 11:07:33'),
(35, 267, 130, 100, '0.00', '1500.00', 1, 1, '2018-06-02 11:07:33'),
(35, 268, 140, 35, '0.00', '600.00', 1, 1, '2018-06-02 11:07:33'),
(35, 269, 150, 22, '0.00', '9225.00', 1, 1, '2018-06-02 11:07:33'),
(35, 270, 170, 12, '0.00', '2500.00', 1, 1, '2018-06-02 11:07:33'),
(35, 271, 180, 4, '0.00', '6500.00', 1, 1, '2018-06-02 11:07:33'),
(35, 272, 190, 220, '0.00', '25.00', 1, 1, '2018-06-02 11:07:33'),
(35, 273, 200, 220, '0.00', '35.00', 1, 1, '2018-06-02 11:07:33'),
(35, 274, 210, 220, '0.00', '55.00', 1, 1, '2018-06-02 11:07:33'),
(35, 275, 220, 25, '0.00', '200.00', 1, 1, '2018-06-02 11:07:33'),
(35, 276, 230, 300, '0.00', '1200.00', 1, 1, '2018-06-02 11:07:33'),
(35, 277, 240, 75, '0.00', '501.30', 1, 1, '2018-06-02 11:07:33'),
(35, 278, 250, 250, '0.00', '448.00', 1, 1, '2018-06-02 11:07:33'),
(35, 279, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-02 11:07:33'),
(35, 280, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-02 11:07:33'),
(36, 281, 9, 1, '0.00', '2500.00', 1, 1, '2018-06-03 17:53:54'),
(36, 282, 10, 1, '0.00', '500.00', 1, 1, '2018-06-03 17:53:54'),
(36, 283, 15, 1, '0.00', '3500.00', 1, 1, '2018-06-03 17:53:54'),
(36, 284, 40, 1, '0.00', '850.00', 1, 1, '2018-06-03 17:53:54'),
(36, 285, 50, 1, '0.00', '456.00', 1, 1, '2018-06-03 17:53:54'),
(36, 286, 60, 89, '0.00', '145.00', 1, 1, '2018-06-03 17:53:54'),
(36, 287, 70, 120, '0.00', '145.00', 1, 1, '2018-06-03 17:53:54'),
(36, 288, 80, 15, '0.00', '125.00', 1, 1, '2018-06-03 17:53:54'),
(36, 289, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-03 17:53:54'),
(36, 290, 100, 25, '0.00', '250.00', 1, 1, '2018-06-03 17:53:54'),
(36, 291, 120, 230, '0.00', '25.00', 1, 1, '2018-06-03 17:53:54'),
(36, 292, 130, 100, '0.00', '1500.00', 1, 1, '2018-06-03 17:53:54'),
(36, 293, 140, 35, '0.00', '600.00', 1, 1, '2018-06-03 17:53:54'),
(36, 294, 150, 22, '0.00', '9225.00', 1, 1, '2018-06-03 17:53:54'),
(36, 295, 170, 12, '0.00', '2500.00', 1, 1, '2018-06-03 17:53:54'),
(36, 296, 180, 4, '0.00', '6500.00', 1, 1, '2018-06-03 17:53:54'),
(36, 297, 190, 220, '0.00', '25.00', 1, 1, '2018-06-03 17:53:54'),
(36, 298, 200, 220, '0.00', '35.00', 1, 1, '2018-06-03 17:53:54'),
(36, 299, 210, 220, '0.00', '55.00', 1, 1, '2018-06-03 17:53:54'),
(36, 300, 220, 25, '0.00', '200.00', 1, 1, '2018-06-03 17:53:54'),
(36, 301, 230, 300, '0.00', '1200.00', 1, 1, '2018-06-03 17:53:54'),
(36, 302, 240, 75, '0.00', '501.30', 1, 1, '2018-06-03 17:53:54'),
(36, 303, 250, 250, '0.00', '448.00', 1, 1, '2018-06-03 17:53:54'),
(36, 304, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-03 17:53:54'),
(36, 305, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-03 17:53:54'),
(37, 306, 9, 1, '0.00', '2500.00', 1, 1, '2018-06-03 17:55:42'),
(37, 307, 10, 1, '0.00', '500.00', 1, 1, '2018-06-03 17:55:42'),
(37, 308, 15, 1, '0.00', '3500.00', 1, 1, '2018-06-03 17:55:42'),
(37, 309, 40, 1, '0.00', '850.00', 1, 1, '2018-06-03 17:55:42'),
(37, 310, 50, 1, '0.00', '456.00', 1, 1, '2018-06-03 17:55:42'),
(37, 311, 60, 89, '0.00', '145.00', 1, 1, '2018-06-03 17:55:42'),
(37, 312, 70, 120, '0.00', '145.00', 1, 1, '2018-06-03 17:55:42'),
(37, 313, 80, 15, '0.00', '125.00', 1, 1, '2018-06-03 17:55:42'),
(37, 314, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-03 17:55:42'),
(37, 315, 100, 25, '0.00', '250.00', 1, 1, '2018-06-03 17:55:42'),
(37, 316, 120, 230, '0.00', '25.00', 1, 1, '2018-06-03 17:55:42'),
(37, 317, 130, 100, '0.00', '1500.00', 1, 1, '2018-06-03 17:55:42'),
(37, 318, 140, 35, '0.00', '600.00', 1, 1, '2018-06-03 17:55:42'),
(37, 319, 150, 22, '0.00', '9225.00', 1, 1, '2018-06-03 17:55:42'),
(37, 320, 170, 12, '0.00', '2500.00', 1, 1, '2018-06-03 17:55:42'),
(37, 321, 180, 4, '0.00', '6500.00', 1, 1, '2018-06-03 17:55:42'),
(37, 322, 190, 220, '0.00', '25.00', 1, 1, '2018-06-03 17:55:42'),
(37, 323, 200, 220, '0.00', '35.00', 1, 1, '2018-06-03 17:55:42'),
(37, 324, 210, 220, '0.00', '55.00', 1, 1, '2018-06-03 17:55:42'),
(37, 325, 220, 25, '0.00', '200.00', 1, 1, '2018-06-03 17:55:42'),
(37, 326, 230, 300, '0.00', '1200.00', 1, 1, '2018-06-03 17:55:42'),
(37, 327, 240, 75, '0.00', '501.30', 1, 1, '2018-06-03 17:55:42'),
(37, 328, 250, 250, '0.00', '448.00', 1, 1, '2018-06-03 17:55:42'),
(37, 329, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-03 17:55:42'),
(37, 330, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-03 17:55:42'),
(38, 331, 9, 1, '0.00', '2500.00', 1, 1, '2018-06-03 17:56:08'),
(38, 332, 10, 1, '0.00', '500.00', 1, 1, '2018-06-03 17:56:08'),
(38, 333, 15, 1, '0.00', '3500.00', 1, 1, '2018-06-03 17:56:08'),
(38, 334, 40, 1, '0.00', '850.00', 1, 1, '2018-06-03 17:56:08'),
(38, 335, 50, 1, '0.00', '456.00', 1, 1, '2018-06-03 17:56:08'),
(38, 336, 60, 89, '0.00', '145.00', 1, 1, '2018-06-03 17:56:08'),
(38, 337, 70, 120, '0.00', '145.00', 1, 1, '2018-06-03 17:56:08'),
(38, 338, 80, 15, '0.00', '125.00', 1, 1, '2018-06-03 17:56:08'),
(38, 339, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-03 17:56:08'),
(38, 340, 100, 25, '0.00', '250.00', 1, 1, '2018-06-03 17:56:08'),
(38, 341, 120, 230, '0.00', '25.00', 1, 1, '2018-06-03 17:56:08'),
(38, 342, 130, 100, '0.00', '1500.00', 1, 1, '2018-06-03 17:56:08'),
(38, 343, 140, 35, '0.00', '600.00', 1, 1, '2018-06-03 17:56:08'),
(38, 344, 150, 22, '0.00', '9225.00', 1, 1, '2018-06-03 17:56:08'),
(38, 345, 170, 12, '0.00', '2500.00', 1, 1, '2018-06-03 17:56:08'),
(38, 346, 180, 4, '0.00', '6500.00', 1, 1, '2018-06-03 17:56:08'),
(38, 347, 190, 220, '0.00', '25.00', 1, 1, '2018-06-03 17:56:08'),
(38, 348, 200, 220, '0.00', '35.00', 1, 1, '2018-06-03 17:56:08'),
(38, 349, 210, 220, '0.00', '55.00', 1, 1, '2018-06-03 17:56:08'),
(38, 350, 220, 25, '0.00', '200.00', 1, 1, '2018-06-03 17:56:08'),
(38, 351, 230, 300, '0.00', '1200.00', 1, 1, '2018-06-03 17:56:08'),
(38, 352, 240, 75, '0.00', '501.30', 1, 1, '2018-06-03 17:56:08'),
(38, 353, 250, 250, '0.00', '448.00', 1, 1, '2018-06-03 17:56:08'),
(38, 354, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-03 17:56:08'),
(38, 355, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-03 17:56:08'),
(39, 356, 9, 1, '0.00', '2500.00', 1, 1, '2018-06-03 17:58:28'),
(39, 357, 10, 1, '0.00', '500.00', 1, 1, '2018-06-03 17:58:28'),
(39, 358, 15, 1, '0.00', '3500.00', 1, 1, '2018-06-03 17:58:28'),
(39, 359, 40, 1, '0.00', '850.00', 1, 1, '2018-06-03 17:58:28'),
(39, 360, 50, 1, '0.00', '456.00', 1, 1, '2018-06-03 17:58:28'),
(39, 361, 60, 89, '0.00', '145.00', 1, 1, '2018-06-03 17:58:28'),
(39, 362, 70, 120, '0.00', '145.00', 1, 1, '2018-06-03 17:58:28'),
(39, 363, 80, 15, '0.00', '125.00', 1, 1, '2018-06-03 17:58:28'),
(39, 364, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-03 17:58:28'),
(39, 365, 100, 25, '0.00', '250.00', 1, 1, '2018-06-03 17:58:28'),
(39, 366, 120, 230, '0.00', '25.00', 1, 1, '2018-06-03 17:58:28'),
(39, 367, 130, 100, '0.00', '1500.00', 1, 1, '2018-06-03 17:58:28'),
(39, 368, 140, 35, '0.00', '600.00', 1, 1, '2018-06-03 17:58:28'),
(39, 369, 150, 22, '0.00', '9225.00', 1, 1, '2018-06-03 17:58:28'),
(39, 370, 170, 12, '0.00', '2500.00', 1, 1, '2018-06-03 17:58:28'),
(39, 371, 180, 4, '0.00', '6500.00', 1, 1, '2018-06-03 17:58:28'),
(39, 372, 190, 220, '0.00', '25.00', 1, 1, '2018-06-03 17:58:28'),
(39, 373, 200, 220, '0.00', '35.00', 1, 1, '2018-06-03 17:58:28'),
(39, 374, 210, 220, '0.00', '55.00', 1, 1, '2018-06-03 17:58:28'),
(39, 375, 220, 25, '0.00', '200.00', 1, 1, '2018-06-03 17:58:28'),
(39, 376, 230, 300, '0.00', '1200.00', 1, 1, '2018-06-03 17:58:28'),
(39, 377, 240, 75, '0.00', '501.30', 1, 1, '2018-06-03 17:58:28'),
(39, 378, 250, 250, '0.00', '448.00', 1, 1, '2018-06-03 17:58:28'),
(39, 379, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-03 17:58:28'),
(39, 380, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-03 17:58:28'),
(40, 381, 9, 3, '0.00', '1000.10', 1, 1, '2018-06-05 14:26:31'),
(40, 382, 10, 1, '0.00', '500.00', 0, 1, '2018-06-17 20:05:58'),
(40, 383, 15, 1, '0.00', '15000.00', 1, 1, '2018-06-17 20:29:47'),
(40, 384, 40, 2, '0.00', '3000.00', 1, 1, '2018-06-07 06:21:40'),
(40, 385, 50, 2, '0.00', '2200.00', 1, 1, '2018-06-22 23:57:51'),
(40, 386, 60, 89, '0.00', '145.00', 0, 1, '2018-06-05 14:00:45'),
(40, 387, 70, 120, '0.00', '145.00', 1, 1, '2018-06-07 06:14:29'),
(40, 388, 80, 15, '0.00', '125.00', 1, 1, '2018-06-03 17:59:38'),
(40, 389, 90, 1, '0.00', '4500.00', 0, 1, '2018-06-05 14:00:43'),
(40, 390, 100, 25, '0.00', '250.00', 1, 1, '2018-06-03 17:59:38'),
(40, 391, 120, 230, '0.00', '25.00', 1, 1, '2018-06-03 17:59:38'),
(40, 392, 130, 100, '0.00', '1400.00', 0, 1, '2018-06-05 14:00:42'),
(40, 393, 140, 35, '0.00', '600.00', 1, 1, '2018-06-03 17:59:38'),
(40, 394, 150, 22, '0.00', '9225.00', 1, 1, '2018-06-06 21:38:53'),
(40, 395, 170, 12, '0.00', '2500.00', 1, 1, '2018-06-03 17:59:38'),
(40, 396, 180, 4, '0.00', '6500.00', 1, 1, '2018-06-03 17:59:38'),
(40, 397, 190, 220, '0.00', '25.00', 1, 1, '2018-06-03 17:59:38'),
(40, 398, 200, 220, '0.00', '35.00', 1, 1, '2018-06-03 17:59:38'),
(40, 399, 210, 220, '0.00', '55.00', 1, 1, '2018-06-06 21:11:02'),
(40, 400, 220, 25, '0.00', '200.00', 1, 1, '2018-06-03 17:59:38'),
(40, 401, 230, 300, '0.00', '1200.00', 1, 1, '2018-06-06 21:46:16'),
(40, 402, 240, 75, '0.00', '501.30', 1, 1, '2018-06-03 17:59:38'),
(40, 403, 250, 250, '0.00', '448.00', 1, 1, '2018-06-03 17:59:38'),
(40, 404, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-03 17:59:38'),
(40, 405, 270, 2, '0.00', '2500.00', 1, 1, '2018-06-06 20:43:26'),
(0, 406, 9, 1, '0.00', '2500.00', 1, 1, '2018-06-03 18:04:16'),
(0, 407, 10, 1, '0.00', '500.00', 1, 1, '2018-06-03 18:04:16'),
(0, 408, 15, 1, '0.00', '3500.00', 1, 1, '2018-06-03 18:04:16'),
(0, 409, 40, 1, '0.00', '850.00', 1, 1, '2018-06-03 18:04:16'),
(0, 410, 50, 1, '0.00', '456.00', 1, 1, '2018-06-03 18:04:16'),
(0, 411, 60, 89, '0.00', '145.00', 1, 1, '2018-06-03 18:04:16'),
(0, 412, 70, 120, '0.00', '145.00', 1, 1, '2018-06-03 18:04:16'),
(0, 413, 80, 15, '0.00', '125.00', 1, 1, '2018-06-03 18:04:16'),
(0, 414, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-03 18:04:16'),
(0, 415, 100, 25, '0.00', '250.00', 1, 1, '2018-06-03 18:04:16'),
(0, 416, 120, 230, '0.00', '25.00', 1, 1, '2018-06-03 18:04:16'),
(0, 417, 130, 100, '0.00', '1500.00', 1, 1, '2018-06-03 18:04:16'),
(0, 418, 140, 35, '0.00', '600.00', 1, 1, '2018-06-03 18:04:16'),
(0, 419, 150, 22, '0.00', '9225.00', 1, 1, '2018-06-03 18:04:16'),
(0, 420, 170, 12, '0.00', '2500.00', 1, 1, '2018-06-03 18:04:16'),
(0, 421, 180, 4, '0.00', '6500.00', 1, 1, '2018-06-03 18:04:16'),
(0, 422, 190, 220, '0.00', '25.00', 1, 1, '2018-06-03 18:04:16'),
(0, 423, 200, 220, '0.00', '35.00', 1, 1, '2018-06-03 18:04:16'),
(0, 424, 210, 220, '0.00', '55.00', 1, 1, '2018-06-03 18:04:16'),
(0, 425, 220, 25, '0.00', '200.00', 1, 1, '2018-06-03 18:04:16'),
(0, 426, 230, 300, '0.00', '1200.00', 1, 1, '2018-06-03 18:04:16'),
(0, 427, 240, 75, '0.00', '501.30', 1, 1, '2018-06-03 18:04:16'),
(0, 428, 250, 250, '0.00', '448.00', 1, 1, '2018-06-03 18:04:16'),
(0, 429, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-03 18:04:16'),
(0, 430, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-03 18:04:16'),
(45, 431, 120, 200, '0.00', '25.00', 1, 1, '2018-06-03 18:27:24'),
(45, 432, 130, 35, '0.00', '1500.00', 1, 1, '2018-06-03 18:27:24'),
(45, 433, 140, 12, '0.00', '600.00', 1, 1, '2018-06-03 18:27:24'),
(45, 434, 150, 7, '0.00', '3000.00', 1, 1, '2018-06-03 18:27:24'),
(45, 435, 170, 2, '0.00', '2500.00', 1, 1, '2018-06-03 18:27:24'),
(45, 436, 180, 1, '0.00', '6500.00', 1, 1, '2018-06-03 18:27:24'),
(45, 437, 190, 220, '0.00', '25.00', 1, 1, '2018-06-03 18:27:24'),
(45, 438, 200, 220, '0.00', '35.00', 1, 1, '2018-06-03 18:27:24'),
(45, 439, 210, 220, '0.00', '55.00', 1, 1, '2018-06-03 18:27:24'),
(45, 440, 220, 34, '0.00', '200.00', 1, 1, '2018-06-03 18:27:24'),
(45, 441, 230, 250, '0.00', '1200.00', 1, 1, '2018-06-03 18:27:24'),
(45, 442, 240, 88, '0.00', '501.30', 1, 1, '2018-06-03 18:27:24'),
(45, 443, 250, 200, '0.00', '448.00', 1, 1, '2018-06-03 18:27:24'),
(45, 444, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-03 18:27:24'),
(45, 445, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-03 18:27:24'),
(46, 446, 120, 200, '0.00', '25.00', 1, 1, '2018-06-03 18:28:20'),
(46, 447, 130, 35, '0.00', '1500.00', 1, 1, '2018-06-03 18:28:20'),
(46, 448, 140, 12, '0.00', '600.00', 1, 1, '2018-06-03 18:28:20'),
(46, 449, 150, 7, '0.00', '3000.00', 1, 1, '2018-06-03 18:28:20'),
(46, 450, 170, 2, '0.00', '2500.00', 1, 1, '2018-06-03 18:28:20'),
(46, 451, 180, 1, '0.00', '6500.00', 1, 1, '2018-06-03 18:28:20'),
(46, 452, 190, 220, '0.00', '25.00', 1, 1, '2018-06-03 18:28:20'),
(46, 453, 200, 220, '0.00', '35.00', 1, 1, '2018-06-03 18:28:20'),
(46, 454, 210, 220, '0.00', '55.00', 1, 1, '2018-06-03 18:28:20'),
(46, 455, 220, 34, '0.00', '200.00', 1, 1, '2018-06-03 18:28:20'),
(46, 456, 230, 250, '0.00', '1200.00', 1, 1, '2018-06-03 18:28:20'),
(46, 457, 240, 88, '0.00', '501.30', 1, 1, '2018-06-03 18:28:20'),
(46, 458, 250, 200, '0.00', '448.00', 1, 1, '2018-06-03 18:28:20'),
(46, 459, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-03 18:28:20'),
(46, 460, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-03 18:28:20'),
(47, 461, 120, 3, '0.00', '25.00', 1, 1, '2018-06-05 10:43:15'),
(47, 462, 130, 35, '0.00', '1500.00', 1, 1, '2018-06-04 14:07:24'),
(47, 463, 140, 12, '0.00', '600.00', 0, 1, '2018-06-04 14:59:57'),
(47, 464, 150, 7, '0.00', '3000.00', 1, 1, '2018-06-03 18:28:23'),
(47, 465, 170, 2, '0.00', '2500.00', 1, 1, '2018-06-04 14:29:19'),
(47, 466, 180, 2, '0.00', '6500.00', 1, 1, '2018-06-04 14:33:36'),
(47, 467, 190, 220, '0.00', '25.00', 1, 1, '2018-06-03 18:28:23'),
(47, 468, 200, 220, '0.00', '35.00', 1, 1, '2018-06-03 18:28:23'),
(47, 469, 210, 220, '0.00', '55.00', 1, 1, '2018-06-03 18:28:23'),
(47, 470, 220, 34, '0.00', '200.00', 1, 1, '2018-06-03 18:28:23'),
(47, 471, 230, 250, '0.00', '1200.00', 1, 1, '2018-06-03 18:28:23'),
(47, 472, 240, 88, '0.00', '501.30', 1, 1, '2018-06-03 18:28:23'),
(47, 473, 250, 200, '0.00', '448.00', 1, 1, '2018-06-03 18:28:23'),
(47, 474, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-03 18:28:23'),
(47, 475, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-03 18:28:23'),
(40, 476, 250, 1, '0.00', '2000.00', 1, 1, '2018-06-06 21:42:26'),
(19, 477, 9, 1, '0.00', '10000.00', 1, 1, '2018-06-06 15:07:18'),
(19, 478, 9, 1, '0.00', '10000.00', 1, 1, '2018-06-06 15:08:24'),
(47, 479, 9, 1, '0.00', '1000.00', 1, 1, '2018-06-06 20:21:28'),
(47, 480, 9, 1, '0.00', '1000.00', 1, 1, '2018-06-06 20:21:40'),
(48, 481, 9, 1, '0.00', '1575.00', 1, 1, '2018-06-07 18:54:47'),
(48, 482, 15, 1, '0.00', '15750.00', 1, 1, '2018-06-07 18:54:47'),
(48, 483, 40, 2, '0.00', '2690.63', 1, 1, '2018-06-07 18:54:47'),
(48, 484, 50, 1, '0.00', '3202.50', 1, 1, '2018-06-07 18:54:47'),
(48, 485, 60, 75, '0.00', '152.25', 1, 1, '2018-06-07 18:54:47'),
(48, 486, 70, 50, '0.00', '152.25', 1, 1, '2018-06-07 18:54:47'),
(48, 487, 80, 15, '0.00', '131.25', 1, 1, '2018-06-07 18:54:47'),
(48, 488, 90, 1, '0.00', '4725.00', 1, 1, '2018-06-07 18:54:47'),
(48, 489, 100, 10, '0.00', '315.00', 1, 1, '2018-06-07 18:54:47'),
(48, 490, 120, 200, '0.00', '26.25', 1, 1, '2018-06-07 18:54:47'),
(48, 491, 130, 35, '0.00', '1575.00', 1, 1, '2018-06-07 18:54:47'),
(48, 492, 140, 12, '0.00', '630.00', 1, 1, '2018-06-07 18:54:47'),
(48, 493, 150, 7, '0.00', '3150.00', 1, 1, '2018-06-07 18:54:47'),
(48, 494, 170, 2, '0.00', '2625.00', 1, 1, '2018-06-07 18:54:47'),
(48, 495, 180, 1, '0.00', '6825.00', 1, 1, '2018-06-07 18:54:47'),
(48, 496, 190, 220, '0.00', '26.25', 1, 1, '2018-06-07 18:54:47'),
(48, 497, 200, 220, '0.00', '36.75', 1, 1, '2018-06-07 18:54:47'),
(48, 498, 210, 220, '0.00', '57.75', 1, 1, '2018-06-07 18:54:47'),
(48, 499, 220, 34, '0.00', '210.00', 1, 1, '2018-06-07 18:54:47'),
(48, 500, 230, 250, '0.00', '1260.00', 1, 1, '2018-06-07 18:54:47'),
(48, 501, 240, 88, '0.00', '526.37', 1, 1, '2018-06-07 18:54:47'),
(48, 502, 250, 200, '0.00', '470.40', 1, 1, '2018-06-07 18:54:47'),
(48, 503, 260, 1, '0.00', '1732.50', 1, 1, '2018-06-07 18:54:47'),
(48, 504, 270, 1, '0.00', '2625.00', 1, 1, '2018-06-07 18:54:47'),
(49, 505, 9, 1, '0.00', '1500.00', 1, 1, '2018-06-11 20:00:34'),
(49, 506, 15, 1, '0.00', '15000.00', 0, 1, '2018-06-11 19:59:46'),
(49, 507, 40, 2, '0.00', '3000.00', 0, 1, '2018-06-11 19:59:47'),
(49, 508, 50, 1, '0.00', '4000.00', 0, 1, '2018-06-11 19:59:48'),
(49, 509, 60, 75, '0.00', '168.27', 0, 1, '2018-06-11 12:13:50'),
(49, 510, 70, 50, '0.00', '168.27', 0, 1, '2018-06-09 07:06:17'),
(49, 511, 80, 15, '0.00', '146.20', 0, 1, '2018-06-07 20:27:30'),
(49, 512, 90, 1, '0.00', '4977.02', 0, 1, '2018-06-09 07:04:21'),
(49, 513, 100, 10, '0.00', '339.41', 0, 1, '2018-06-07 20:27:30'),
(49, 514, 120, 200, '0.00', '35.77', 0, 1, '2018-06-07 20:27:30'),
(49, 515, 130, 35, '0.00', '1664.44', 0, 1, '2018-06-07 20:27:30'),
(49, 516, 140, 12, '0.00', '670.67', 0, 1, '2018-06-07 20:27:30'),
(49, 517, 150, 7, '0.00', '3320.74', 0, 1, '2018-06-07 20:27:30'),
(49, 518, 170, 2, '0.00', '2768.64', 0, 1, '2018-06-07 20:27:30'),
(49, 519, 180, 1, '0.00', '7185.39', 0, 1, '2018-06-07 20:27:30'),
(49, 520, 190, 220, '0.00', '35.77', 0, 1, '2018-06-07 20:27:30'),
(49, 521, 200, 220, '0.00', '46.81', 0, 1, '2018-06-07 20:27:30'),
(49, 522, 210, 220, '0.00', '68.91', 0, 1, '2018-06-07 20:27:30'),
(49, 523, 220, 34, '0.00', '229.01', 0, 1, '2018-06-07 20:27:30'),
(49, 524, 230, 250, '0.00', '1333.20', 0, 1, '2018-06-07 20:27:30'),
(49, 525, 240, 88, '0.00', '561.70', 0, 1, '2018-06-07 20:27:30'),
(49, 526, 250, 200, '0.00', '502.84', 0, 1, '2018-06-07 20:27:30'),
(49, 527, 260, 1, '0.00', '1830.08', 0, 1, '2018-06-07 20:27:30'),
(49, 528, 270, 1, '0.00', '2768.64', 0, 1, '2018-06-07 20:27:30'),
(49, 529, 9, 1, '0.00', '980.39', 0, 1, '2018-06-11 19:59:16'),
(49, 530, 9, 1, '0.00', '990.10', 0, 1, '2018-06-11 20:00:39'),
(50, 531, 9, 2, '0.00', '1500.00', 1, 1, '2018-06-17 21:13:51'),
(50, 532, 15, 1, '0.00', '15000.00', 1, 1, '2018-06-11 20:01:25'),
(50, 533, 40, 2, '0.00', '2562.50', 1, 1, '2018-06-11 20:01:25'),
(50, 534, 50, 1, '0.00', '3050.00', 1, 1, '2018-06-11 20:01:25'),
(50, 535, 60, 75, '0.00', '145.00', 1, 1, '2018-06-11 20:01:25'),
(50, 536, 70, 50, '0.00', '145.00', 1, 1, '2018-06-11 20:01:25'),
(50, 537, 80, 15, '0.00', '125.00', 1, 1, '2018-06-11 20:01:25'),
(50, 538, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-11 20:01:25'),
(50, 539, 100, 10, '0.00', '300.00', 1, 1, '2018-06-11 20:01:25'),
(50, 540, 120, 200, '0.00', '25.00', 1, 1, '2018-06-11 20:01:25'),
(50, 541, 130, 35, '0.00', '1500.00', 1, 1, '2018-06-11 20:01:25'),
(50, 542, 140, 12, '0.00', '600.00', 1, 1, '2018-06-11 20:01:25'),
(50, 543, 150, 7, '0.00', '3000.00', 1, 1, '2018-06-11 20:01:25'),
(50, 544, 170, 2, '0.00', '2500.00', 1, 1, '2018-06-11 20:01:25'),
(50, 545, 180, 1, '0.00', '6500.00', 1, 1, '2018-06-11 20:01:25'),
(50, 546, 190, 220, '0.00', '25.00', 1, 1, '2018-06-11 20:01:25'),
(50, 547, 200, 220, '0.00', '35.00', 1, 1, '2018-06-11 20:01:25'),
(50, 548, 210, 220, '0.00', '55.00', 1, 1, '2018-06-11 20:01:25'),
(50, 549, 220, 34, '0.00', '200.00', 1, 1, '2018-06-11 20:01:25'),
(50, 550, 230, 250, '0.00', '1200.00', 1, 1, '2018-06-11 20:01:25'),
(50, 551, 240, 88, '0.00', '501.30', 1, 1, '2018-06-11 20:01:25'),
(50, 552, 250, 200, '0.00', '448.00', 1, 1, '2018-06-11 20:01:25'),
(50, 553, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-11 20:01:25'),
(50, 554, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-11 20:01:25'),
(51, 555, 9, 1, '0.00', '1500.00', 1, 1, '2018-06-11 20:11:21'),
(51, 556, 15, 1, '0.00', '15000.00', 1, 1, '2018-06-27 18:46:51'),
(51, 557, 40, 2, '0.00', '2562.50', 1, 1, '2018-06-11 20:11:21'),
(51, 558, 50, 1, '0.00', '3050.00', 1, 1, '2018-06-11 20:11:21'),
(51, 559, 60, 75, '0.00', '145.00', 1, 1, '2018-06-11 20:11:21'),
(51, 560, 70, 50, '0.00', '145.00', 1, 1, '2018-06-11 20:11:21'),
(51, 561, 80, 15, '0.00', '125.00', 1, 1, '2018-06-11 20:11:21'),
(51, 562, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-11 20:11:21'),
(51, 563, 100, 10, '0.00', '300.00', 1, 1, '2018-06-11 20:11:21'),
(51, 564, 120, 200, '0.00', '25.00', 1, 1, '2018-06-11 20:11:21'),
(51, 565, 130, 35, '0.00', '1500.00', 1, 1, '2018-06-11 20:11:21'),
(51, 566, 140, 12, '0.00', '600.00', 1, 1, '2018-06-11 20:11:21'),
(51, 567, 150, 7, '0.00', '3000.00', 1, 1, '2018-06-11 20:11:21'),
(51, 568, 170, 2, '0.00', '2500.00', 1, 1, '2018-06-11 20:11:21'),
(51, 569, 180, 1, '0.00', '6500.00', 1, 1, '2018-06-11 20:11:21'),
(51, 570, 190, 220, '0.00', '25.00', 1, 1, '2018-06-11 20:11:21'),
(51, 571, 200, 220, '0.00', '35.00', 1, 1, '2018-06-11 20:11:21'),
(51, 572, 210, 220, '0.00', '55.00', 1, 1, '2018-06-11 20:11:21'),
(51, 573, 220, 34, '0.00', '200.00', 1, 1, '2018-06-11 20:11:21'),
(51, 574, 230, 250, '0.00', '1200.00', 1, 1, '2018-06-11 20:11:21'),
(51, 575, 240, 88, '0.00', '501.30', 1, 1, '2018-06-11 20:11:21'),
(51, 576, 250, 200, '0.00', '448.00', 1, 1, '2018-06-11 20:11:21'),
(51, 577, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-11 20:11:21'),
(51, 578, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-11 20:11:21'),
(52, 579, 9, 1, '0.00', '1500.00', 1, 1, '2018-06-11 20:15:52'),
(52, 580, 15, 1, '0.00', '15000.00', 1, 1, '2018-06-11 20:15:52'),
(52, 581, 40, 2, '0.00', '2562.50', 1, 1, '2018-06-11 20:15:52'),
(52, 582, 50, 1, '0.00', '3050.00', 1, 1, '2018-06-17 20:20:10'),
(52, 583, 60, 75, '0.00', '145.00', 1, 1, '2018-06-11 20:15:52'),
(52, 584, 70, 50, '0.00', '145.00', 1, 1, '2018-06-11 20:15:52'),
(52, 585, 80, 15, '0.00', '125.00', 1, 1, '2018-06-11 20:15:52'),
(52, 586, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-11 20:15:52'),
(52, 587, 100, 10, '0.00', '300.00', 1, 1, '2018-06-11 20:15:52'),
(52, 588, 120, 200, '0.00', '25.00', 1, 1, '2018-06-11 20:15:52'),
(52, 589, 130, 35, '0.00', '1500.00', 1, 1, '2018-06-11 20:15:52'),
(52, 590, 140, 12, '0.00', '600.00', 1, 1, '2018-06-11 20:15:52'),
(52, 591, 150, 7, '0.00', '3000.00', 1, 1, '2018-06-11 20:15:52'),
(52, 592, 170, 2, '0.00', '2500.00', 1, 1, '2018-06-11 20:15:52'),
(52, 593, 180, 1, '0.00', '6500.00', 1, 1, '2018-06-11 20:15:52'),
(52, 594, 190, 220, '0.00', '25.00', 1, 1, '2018-06-11 20:15:52'),
(52, 595, 200, 220, '0.00', '35.00', 1, 1, '2018-06-11 20:15:52'),
(52, 596, 210, 220, '0.00', '55.00', 1, 1, '2018-06-11 20:15:52'),
(52, 597, 220, 34, '0.00', '200.00', 1, 1, '2018-06-11 20:15:52'),
(52, 598, 230, 250, '0.00', '1200.00', 1, 1, '2018-06-11 20:15:52'),
(52, 599, 240, 88, '0.00', '501.30', 1, 1, '2018-06-11 20:15:52'),
(52, 600, 250, 200, '0.00', '448.00', 1, 1, '2018-06-11 20:15:52'),
(52, 601, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-11 20:15:52'),
(52, 602, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-11 20:15:52'),
(53, 603, 9, 1, '0.00', '1500.00', 1, 1, '2018-06-27 21:27:24'),
(53, 604, 15, 1, '0.00', '15000.00', 1, 1, '2018-06-27 21:27:24'),
(53, 605, 40, 2, '0.00', '2562.50', 1, 1, '2018-06-27 21:27:25'),
(53, 606, 50, 1, '0.00', '3050.00', 1, 1, '2018-06-27 21:27:27'),
(53, 607, 60, 75, '0.00', '145.00', 1, 1, '2018-06-11 20:17:01'),
(53, 608, 70, 50, '0.00', '145.00', 1, 1, '2018-06-11 20:17:01'),
(53, 609, 80, 15, '0.00', '125.00', 1, 1, '2018-06-11 20:17:01'),
(53, 610, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-11 20:17:01'),
(53, 611, 100, 10, '0.00', '300.00', 1, 1, '2018-06-11 20:17:01'),
(53, 612, 120, 200, '0.00', '25.00', 1, 1, '2018-06-11 20:17:01'),
(53, 613, 130, 35, '0.00', '1500.00', 1, 1, '2018-06-11 20:17:01'),
(53, 614, 140, 12, '0.00', '600.00', 1, 1, '2018-06-11 20:17:01'),
(53, 615, 150, 7, '0.00', '3000.00', 1, 1, '2018-06-11 20:17:01'),
(53, 616, 170, 2, '0.00', '2500.00', 1, 1, '2018-06-11 20:17:01'),
(53, 617, 180, 1, '0.00', '6500.00', 1, 1, '2018-06-11 20:17:01'),
(53, 618, 190, 220, '0.00', '25.00', 1, 1, '2018-06-11 20:17:01'),
(53, 619, 200, 220, '0.00', '35.00', 1, 1, '2018-06-27 21:37:52'),
(53, 620, 210, 220, '0.00', '55.00', 1, 1, '2018-06-11 20:17:01'),
(53, 621, 220, 34, '0.00', '200.00', 1, 1, '2018-06-11 20:17:01'),
(53, 622, 230, 250, '0.00', '1200.00', 1, 1, '2018-06-11 20:17:01'),
(53, 623, 240, 88, '0.00', '501.30', 1, 1, '2018-06-11 20:17:01'),
(53, 624, 250, 200, '0.00', '448.00', 1, 1, '2018-06-11 20:17:01'),
(53, 625, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-11 20:17:01'),
(53, 626, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-11 20:17:01'),
(54, 627, 9, 1, '0.00', '1500.00', 1, 1, '2018-06-11 20:20:38'),
(54, 628, 15, 1, '0.00', '15000.00', 1, 1, '2018-06-11 20:20:38'),
(54, 629, 40, 2, '0.00', '3000.00', 1, 1, '2018-06-11 20:20:38'),
(54, 630, 50, 1, '0.00', '4000.00', 1, 1, '2018-06-11 20:20:38'),
(54, 631, 60, 75, '0.00', '168.27', 1, 1, '2018-06-11 20:20:38'),
(54, 632, 70, 50, '0.00', '168.27', 1, 1, '2018-06-11 20:20:38'),
(54, 633, 80, 15, '0.00', '146.20', 1, 1, '2018-06-11 20:20:38'),
(54, 634, 90, 1, '0.00', '4977.02', 1, 1, '2018-06-11 20:20:38'),
(54, 635, 100, 10, '0.00', '339.41', 1, 1, '2018-06-11 20:20:38'),
(54, 636, 120, 200, '0.00', '35.77', 1, 1, '2018-06-11 20:20:38'),
(54, 637, 130, 35, '0.00', '1664.44', 1, 1, '2018-06-11 20:20:38'),
(54, 638, 140, 12, '0.00', '670.67', 1, 1, '2018-06-11 20:20:38'),
(54, 639, 150, 7, '0.00', '3320.74', 1, 1, '2018-06-11 20:20:38'),
(54, 640, 170, 2, '0.00', '2768.64', 1, 1, '2018-06-11 20:20:38'),
(54, 641, 180, 1, '0.00', '7185.39', 1, 1, '2018-06-11 20:20:38'),
(54, 642, 190, 220, '0.00', '35.77', 1, 1, '2018-06-11 20:20:38'),
(54, 643, 200, 220, '0.00', '46.81', 1, 1, '2018-06-11 20:20:38'),
(54, 644, 210, 220, '0.00', '68.91', 1, 1, '2018-06-11 20:20:38'),
(54, 645, 220, 34, '0.00', '229.01', 1, 1, '2018-06-11 20:20:38'),
(54, 646, 230, 250, '0.00', '1333.20', 1, 1, '2018-06-11 20:20:38'),
(54, 647, 240, 88, '0.00', '561.70', 1, 1, '2018-06-11 20:20:38'),
(54, 648, 250, 200, '0.00', '502.84', 1, 1, '2018-06-11 20:20:38'),
(54, 649, 260, 1, '0.00', '1830.08', 1, 1, '2018-06-11 20:20:38'),
(54, 650, 270, 1, '0.00', '2768.64', 1, 1, '2018-06-11 20:20:38'),
(54, 651, 9, 1, '0.00', '980.39', 1, 1, '2018-06-11 20:20:38'),
(54, 652, 9, 1, '0.00', '990.10', 1, 1, '2018-06-11 20:20:38'),
(55, 653, 9, 1, '0.00', '1500.00', 1, 1, '2018-06-17 21:27:01'),
(55, 654, 15, 1, '0.00', '15000.00', 1, 1, '2018-06-17 21:27:01'),
(55, 655, 40, 2, '0.00', '2562.50', 1, 1, '2018-06-17 21:27:01'),
(55, 656, 50, 1, '0.00', '3050.00', 1, 1, '2018-06-17 21:27:01'),
(55, 657, 60, 75, '0.00', '145.00', 1, 1, '2018-06-17 21:27:01'),
(55, 658, 70, 50, '0.00', '145.00', 1, 1, '2018-06-17 21:27:01'),
(55, 659, 80, 15, '0.00', '125.00', 1, 1, '2018-06-17 21:27:01'),
(55, 660, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-17 21:27:01'),
(55, 661, 100, 10, '0.00', '300.00', 1, 1, '2018-06-17 21:27:01'),
(55, 662, 120, 200, '0.00', '25.00', 1, 1, '2018-06-17 21:27:01'),
(55, 663, 130, 35, '0.00', '1500.00', 1, 1, '2018-06-17 21:27:01'),
(55, 664, 140, 12, '0.00', '600.00', 1, 1, '2018-06-17 21:27:01'),
(55, 665, 150, 7, '0.00', '3000.00', 1, 1, '2018-06-17 21:27:01'),
(55, 666, 170, 2, '0.00', '2500.00', 1, 1, '2018-06-17 21:27:01'),
(55, 667, 180, 1, '0.00', '6500.00', 1, 1, '2018-06-17 21:27:01'),
(55, 668, 190, 220, '0.00', '25.00', 1, 1, '2018-06-17 21:27:01'),
(55, 669, 200, 220, '0.00', '35.00', 1, 1, '2018-06-17 21:27:01'),
(55, 670, 210, 220, '0.00', '55.00', 1, 1, '2018-06-17 21:27:01'),
(55, 671, 220, 34, '0.00', '200.00', 1, 1, '2018-06-17 21:27:01'),
(55, 672, 230, 250, '0.00', '1200.00', 1, 1, '2018-06-17 21:27:01'),
(55, 673, 240, 88, '0.00', '501.30', 1, 1, '2018-06-17 21:27:01'),
(55, 674, 250, 200, '0.00', '448.00', 1, 1, '2018-06-17 21:27:01'),
(55, 675, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-17 21:27:01'),
(55, 676, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-17 21:27:01'),
(56, 677, 9, 1, '0.00', '1500.00', 1, 1, '2018-06-17 21:28:20'),
(56, 678, 15, 1, '0.00', '15000.00', 1, 1, '2018-06-17 21:28:20'),
(56, 679, 40, 2, '0.00', '2562.50', 1, 1, '2018-06-17 21:28:20'),
(56, 680, 50, 1, '0.00', '3050.00', 1, 1, '2018-06-17 21:28:20'),
(56, 681, 60, 75, '0.00', '145.00', 1, 1, '2018-06-17 21:28:20'),
(56, 682, 70, 50, '0.00', '145.00', 1, 1, '2018-06-17 21:28:20'),
(56, 683, 80, 15, '0.00', '125.00', 1, 1, '2018-06-17 21:28:20'),
(56, 684, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-17 21:28:20'),
(56, 685, 100, 10, '0.00', '300.00', 1, 1, '2018-06-17 21:28:20'),
(56, 686, 120, 200, '0.00', '25.00', 1, 1, '2018-06-17 21:28:20'),
(56, 687, 130, 35, '0.00', '1500.00', 1, 1, '2018-06-17 21:28:20'),
(56, 688, 140, 12, '0.00', '600.00', 1, 1, '2018-06-17 21:28:20'),
(56, 689, 150, 7, '0.00', '3000.00', 1, 1, '2018-06-17 21:28:20'),
(56, 690, 170, 2, '0.00', '2500.00', 1, 1, '2018-06-17 21:28:20'),
(56, 691, 180, 1, '0.00', '6500.00', 1, 1, '2018-06-17 21:28:20'),
(56, 692, 190, 220, '0.00', '25.00', 1, 1, '2018-06-17 21:28:20'),
(56, 693, 200, 220, '0.00', '35.00', 1, 1, '2018-06-17 21:28:20'),
(56, 694, 210, 220, '0.00', '55.00', 1, 1, '2018-06-17 21:28:20'),
(56, 695, 220, 34, '0.00', '200.00', 1, 1, '2018-06-17 21:28:20'),
(56, 696, 230, 250, '0.00', '1200.00', 1, 1, '2018-06-17 21:28:20'),
(56, 697, 240, 88, '0.00', '501.30', 1, 1, '2018-06-17 21:28:20'),
(56, 698, 250, 200, '0.00', '448.00', 1, 1, '2018-06-17 21:28:20'),
(56, 699, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-17 21:28:20'),
(56, 700, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-17 21:28:20'),
(40, 701, 9, 1, '0.00', '2333.00', 1, 1, '2018-06-22 23:59:11'),
(40, 702, 9, 1, '0.00', '332.00', 1, 1, '2018-06-22 23:59:32'),
(57, 703, 9, 2, '200.00', '222.00', 1, 1, '2018-06-28 22:04:04'),
(57, 704, 15, 1, '0.00', '15150.00', 1, 1, '2018-06-28 22:04:04'),
(57, 705, 40, 4, '1000.00', '1500.00', 1, 1, '2018-06-28 22:04:04'),
(57, 706, 50, 1, '2000.00', '3080.50', 1, 1, '2018-06-28 22:04:04'),
(57, 707, 60, 75, '0.00', '146.45', 1, 1, '2018-06-28 22:04:04'),
(57, 708, 70, 50, '0.00', '146.45', 1, 1, '2018-06-28 22:04:04'),
(57, 709, 80, 15, '0.00', '126.25', 1, 1, '2018-06-28 22:04:04'),
(57, 710, 90, 1, '2000.00', '4545.00', 1, 1, '2018-06-28 22:04:04'),
(57, 711, 100, 10, '200.00', '303.00', 1, 1, '2018-06-28 22:04:04'),
(57, 712, 120, 200, '0.00', '25.25', 1, 1, '2018-06-28 22:04:04'),
(57, 713, 130, 35, '0.00', '1515.00', 1, 1, '2018-06-28 22:04:04'),
(57, 714, 140, 12, '0.00', '606.00', 1, 1, '2018-06-28 22:04:04'),
(57, 715, 150, 7, '0.00', '3030.00', 1, 1, '2018-06-28 22:04:04'),
(57, 716, 170, 2, '0.00', '2525.00', 1, 1, '2018-06-28 22:04:04'),
(57, 717, 180, 1, '0.00', '6565.00', 1, 1, '2018-06-28 22:04:04'),
(57, 718, 190, 220, '0.00', '25.25', 1, 1, '2018-06-28 22:04:04'),
(57, 719, 200, 220, '0.00', '35.35', 1, 1, '2018-06-28 22:04:04'),
(57, 720, 210, 220, '0.00', '55.55', 1, 1, '2018-06-28 22:04:04'),
(57, 721, 220, 34, '100.00', '202.00', 1, 1, '2018-06-28 22:04:04'),
(57, 722, 230, 250, '600.00', '1212.00', 1, 1, '2018-06-28 22:04:04'),
(57, 723, 240, 88, '300.00', '506.31', 1, 1, '2018-06-28 22:04:04'),
(57, 724, 250, 200, '200.00', '452.48', 1, 1, '2018-06-28 22:04:04'),
(57, 725, 260, 1, '0.00', '1666.50', 1, 1, '2018-06-28 22:04:04'),
(57, 726, 270, 1, '0.00', '2500.00', 0, 1, '2018-06-28 22:01:32'),
(15, 727, 9, 2, '2400.00', '2475.25', 1, 1, '2018-06-26 20:21:50'),
(15, 728, 40, 2, '2500.05', '2537.18', 1, 1, '2018-06-26 20:21:50'),
(15, 729, 10, 1, '750.00', '2396.04', 1, 1, '2018-06-26 20:21:50'),
(15, 730, 10, 2, '750.00', '2396.04', 1, 1, '2018-06-26 20:21:50'),
(53, 731, 40, 2, '2500.00', '2562.50', 1, 1, '2018-06-27 21:27:26'),
(57, 732, 40, 3, '3000.00', '3535.00', 1, 1, '2018-06-28 22:04:04'),
(57, 733, 70, 1, '95.00', '146.45', 1, 1, '2018-06-28 22:04:04'),
(57, 734, 80, 2, '50.00', '126.25', 1, 1, '2018-06-28 22:04:04'),
(57, 735, 120, 10, '20.00', '25.25', 1, 1, '2018-06-28 22:04:04'),
(59, 736, 9, 1, '500.00', '1441.46', 1, 1, '2018-06-30 14:35:45'),
(59, 737, 15, 1, '0.00', '14775.00', 1, 1, '2018-06-30 14:35:45'),
(59, 738, 40, 2, '1500.00', '2524.06', 1, 1, '2018-06-30 14:35:45'),
(59, 739, 50, 2, '0.00', '3004.25', 1, 1, '2018-06-30 14:35:45'),
(59, 740, 60, 75, '0.00', '142.83', 1, 1, '2018-06-30 14:35:45'),
(59, 741, 70, 50, '0.00', '142.83', 1, 1, '2018-06-30 14:35:45'),
(59, 742, 80, 15, '0.00', '123.13', 1, 1, '2018-06-30 14:35:45'),
(59, 743, 90, 1, '0.00', '4432.50', 1, 1, '2018-06-30 14:35:45'),
(59, 744, 100, 10, '0.00', '295.50', 1, 1, '2018-06-30 14:35:45'),
(59, 745, 120, 200, '0.00', '24.63', 1, 1, '2018-06-30 14:35:45'),
(59, 746, 130, 50, '0.00', '1477.50', 1, 1, '2018-06-30 14:36:41'),
(59, 747, 140, 12, '0.00', '591.00', 1, 1, '2018-06-30 14:35:45'),
(59, 748, 150, 7, '0.00', '3000.00', 0, 1, '2018-06-30 14:36:35'),
(59, 749, 170, 2, '0.00', '2462.50', 1, 1, '2018-06-30 14:35:45'),
(59, 750, 180, 1, '0.00', '6402.50', 1, 1, '2018-06-30 14:35:45'),
(59, 751, 190, 220, '0.00', '24.63', 1, 1, '2018-06-30 14:35:45'),
(59, 752, 200, 220, '0.00', '34.48', 1, 1, '2018-06-30 14:35:45'),
(59, 753, 210, 220, '0.00', '54.18', 1, 1, '2018-06-30 14:35:45'),
(59, 754, 220, 34, '0.00', '197.00', 1, 1, '2018-06-30 14:35:45'),
(59, 755, 230, 250, '0.00', '1200.00', 0, 1, '2018-06-30 14:36:33'),
(59, 756, 240, 88, '0.00', '501.30', 0, 1, '2018-06-30 14:36:32'),
(59, 757, 250, 200, '0.00', '441.28', 1, 1, '2018-06-30 14:35:45'),
(59, 758, 260, 1, '0.00', '1625.25', 1, 1, '2018-06-30 14:35:45'),
(59, 759, 270, 1, '0.00', '2462.50', 1, 1, '2018-06-30 14:35:45'),
(59, 760, 250, 500, '350.00', '448.00', 0, 1, '2018-06-30 14:36:25'),
(60, 761, 9, 1, '0.00', '1500.00', 1, 1, '2018-06-30 15:19:26'),
(60, 762, 15, 1, '0.00', '15000.00', 1, 1, '2018-06-30 15:19:26'),
(60, 763, 40, 2, '0.00', '2562.50', 1, 1, '2018-06-30 15:19:26'),
(60, 764, 50, 1, '0.00', '3050.00', 1, 1, '2018-06-30 15:19:26'),
(60, 765, 60, 75, '0.00', '145.00', 1, 1, '2018-06-30 15:19:26'),
(60, 766, 70, 50, '0.00', '145.00', 1, 1, '2018-06-30 15:19:26'),
(60, 767, 80, 15, '0.00', '125.00', 1, 1, '2018-06-30 15:19:26'),
(60, 768, 90, 1, '0.00', '4500.00', 1, 1, '2018-06-30 15:19:26'),
(60, 769, 100, 10, '0.00', '300.00', 1, 1, '2018-06-30 15:19:26'),
(60, 770, 120, 200, '0.00', '25.00', 1, 1, '2018-06-30 15:19:26'),
(60, 771, 130, 35, '0.00', '1500.00', 1, 1, '2018-06-30 15:19:26'),
(60, 772, 140, 12, '0.00', '600.00', 1, 1, '2018-06-30 15:19:26'),
(60, 773, 150, 7, '0.00', '3000.00', 1, 1, '2018-06-30 15:19:26'),
(60, 774, 170, 2, '0.00', '2500.00', 1, 1, '2018-06-30 15:19:26'),
(60, 775, 180, 1, '0.00', '6500.00', 1, 1, '2018-06-30 15:19:26'),
(60, 776, 190, 220, '0.00', '25.00', 1, 1, '2018-06-30 15:19:26'),
(60, 777, 200, 220, '0.00', '35.00', 1, 1, '2018-06-30 15:19:26'),
(60, 778, 210, 220, '0.00', '55.00', 1, 1, '2018-06-30 15:19:26'),
(60, 779, 220, 34, '0.00', '200.00', 1, 1, '2018-06-30 15:19:26'),
(60, 780, 230, 250, '0.00', '1200.00', 1, 1, '2018-06-30 15:19:26'),
(60, 781, 240, 88, '0.00', '501.30', 1, 1, '2018-06-30 15:19:26'),
(60, 782, 250, 200, '0.00', '448.00', 1, 1, '2018-06-30 15:19:26'),
(60, 783, 260, 1, '0.00', '1650.00', 1, 1, '2018-06-30 15:19:26'),
(60, 784, 270, 1, '0.00', '2500.00', 1, 1, '2018-06-30 15:19:26'),
(61, 785, 9, 1, '0.00', '10000.00', 1, 1, '2018-06-30 19:15:09'),
(62, 786, 9, 1, '5000.00', '10000.00', 1, 1, '2018-07-01 14:20:46'),
(63, 787, 9, 1, '5000.00', '10000.00', 1, 1, '2018-07-01 17:44:12'),
(64, 788, 10, 1, '1500.00', '2500.00', 1, 1, '2018-07-10 08:51:49'),
(66, 789, 10, 1, '750.00', '1500.00', 1, 1, '2018-07-20 09:50:56'),
(67, 790, 10, 1, '750.00', '1.00', 1, 1, '2018-07-06 11:56:20'),
(67, 791, 10, 1, '750.00', '1.00', 1, 1, '2018-07-06 12:08:57'),
(68, 792, 9, 1, '0.00', '10000.00', 1, 1, '2018-07-06 12:10:08'),
(68, 793, 10, 1, '750.00', '1.00', 0, 1, '2018-07-20 10:40:43'),
(69, 794, 9, 1, '0.00', '10000.00', 1, 1, '2018-07-06 12:11:21'),
(69, 795, 10, 1, '750.00', '1500.00', 1, 1, '2018-07-06 12:11:36');
INSERT INTO `quote_line` (`quote_id`, `id`, `bill_of_quantity_id`, `qty`, `cost`, `price`, `include`, `updated_by`, `updated_on`) VALUES
(70, 796, 10, 1, '750.00', '1500.00', 1, 1, '2018-07-06 12:42:19'),
(71, 797, 9, 1, '0.00', '10000.00', 1, 1, '2018-07-06 12:50:10'),
(71, 798, 10, 1, '750.00', '1500.00', 1, 1, '2018-07-06 12:50:23'),
(71, 799, 10, 1, '750.00', '1500.00', 1, 1, '2018-07-06 12:51:38'),
(71, 800, 10, 1, '750.00', '1500.00', 1, 1, '2018-07-06 12:56:02'),
(72, 801, 9, 1, '0.00', '10000.00', 1, 1, '2018-07-06 12:56:34'),
(73, 802, 9, 1, '0.00', '10000.00', 1, 1, '2018-07-06 12:57:13'),
(73, 803, 10, 1, '750.00', '1500.00', 1, 1, '2018-07-06 12:57:30'),
(74, 804, 9, 1, '0.00', '10000.00', 1, 1, '2018-07-06 14:51:57'),
(75, 805, 9, 1, '5000.00', '10000.00', 1, 1, '2018-07-06 14:56:10'),
(75, 806, 14, 1, '500.00', '1000.00', 1, 1, '2018-07-06 14:55:56'),
(75, 807, 2, 2, '500.00', '1000.00', 1, 1, '2018-07-06 16:34:06'),
(76, 808, 9, 2, '750.00', '1500.00', 1, 1, '2018-07-16 16:00:01'),
(76, 809, 15, 1, '0.00', '15000.00', 1, 1, '2018-07-11 06:25:33'),
(76, 810, 40, 2, '0.00', '2562.50', 1, 1, '2018-07-11 06:25:33'),
(76, 811, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-11 06:25:33'),
(76, 812, 60, 75, '0.00', '145.00', 1, 1, '2018-07-11 06:25:33'),
(76, 813, 70, 50, '0.00', '145.00', 1, 1, '2018-07-11 06:25:33'),
(76, 814, 80, 15, '0.00', '125.00', 1, 1, '2018-07-11 06:25:33'),
(76, 815, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-11 06:25:33'),
(76, 816, 100, 10, '0.00', '300.00', 1, 1, '2018-07-11 06:25:33'),
(76, 817, 120, 200, '0.00', '25.00', 1, 1, '2018-07-11 06:25:33'),
(76, 818, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-11 06:25:33'),
(76, 819, 140, 12, '0.00', '600.00', 1, 1, '2018-07-11 06:25:33'),
(76, 820, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-11 06:25:33'),
(76, 821, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-11 06:25:33'),
(76, 822, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-11 06:25:33'),
(76, 823, 190, 220, '0.00', '25.00', 1, 1, '2018-07-11 06:25:33'),
(76, 824, 200, 220, '0.00', '35.00', 1, 1, '2018-07-11 06:25:33'),
(76, 825, 210, 220, '0.00', '55.00', 1, 1, '2018-07-11 06:25:33'),
(76, 826, 220, 34, '0.00', '200.00', 1, 1, '2018-07-11 06:25:33'),
(76, 827, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-11 06:25:33'),
(76, 828, 240, 88, '0.00', '501.30', 1, 1, '2018-07-11 06:25:33'),
(76, 829, 250, 200, '0.00', '448.00', 1, 1, '2018-07-11 06:25:33'),
(76, 830, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-11 06:25:33'),
(76, 831, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-11 06:25:33'),
(77, 832, 2, 1, '1500.00', '2000.00', 1, 1, '2018-07-11 06:26:36'),
(78, 833, 1, 1, '1500.00', '3000.00', 1, 1, '2018-07-11 06:27:37'),
(79, 834, 9, 1, '0.00', '1500.00', 1, 1, '2018-07-11 06:28:03'),
(79, 835, 15, 1, '0.00', '15000.00', 1, 1, '2018-07-11 06:28:03'),
(79, 836, 40, 2, '0.00', '2562.50', 1, 1, '2018-07-11 06:28:03'),
(79, 837, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-11 06:28:03'),
(79, 838, 60, 75, '0.00', '145.00', 1, 1, '2018-07-11 06:28:03'),
(79, 839, 70, 50, '0.00', '145.00', 1, 1, '2018-07-11 06:28:03'),
(79, 840, 80, 15, '0.00', '125.00', 1, 1, '2018-07-11 06:28:03'),
(79, 841, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-11 06:28:03'),
(79, 842, 100, 10, '0.00', '300.00', 1, 1, '2018-07-11 06:28:03'),
(79, 843, 120, 200, '0.00', '25.00', 1, 1, '2018-07-11 06:28:03'),
(79, 844, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-11 06:28:03'),
(79, 845, 140, 12, '0.00', '600.00', 1, 1, '2018-07-11 06:28:03'),
(79, 846, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-11 06:28:03'),
(79, 847, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-11 06:28:03'),
(79, 848, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-11 06:28:03'),
(79, 849, 190, 220, '0.00', '25.00', 1, 1, '2018-07-11 06:28:03'),
(79, 850, 200, 220, '0.00', '35.00', 1, 1, '2018-07-11 06:28:03'),
(79, 851, 210, 220, '0.00', '55.00', 1, 1, '2018-07-11 06:28:03'),
(79, 852, 220, 34, '0.00', '200.00', 1, 1, '2018-07-11 06:28:03'),
(79, 853, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-11 06:28:03'),
(79, 854, 240, 88, '0.00', '501.30', 1, 1, '2018-07-11 06:28:03'),
(79, 855, 250, 200, '0.00', '448.00', 1, 1, '2018-07-11 06:28:03'),
(79, 856, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-11 06:28:03'),
(79, 857, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-11 06:28:03'),
(80, 858, 9, 1, '0.00', '1500.00', 1, 1, '2018-07-11 06:28:28'),
(80, 859, 15, 1, '0.00', '15000.00', 1, 1, '2018-07-11 06:28:28'),
(80, 860, 40, 2, '0.00', '2562.50', 1, 1, '2018-07-11 06:28:28'),
(80, 861, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-11 06:28:28'),
(80, 862, 60, 75, '0.00', '145.00', 1, 1, '2018-07-11 06:28:28'),
(80, 863, 70, 50, '0.00', '145.00', 1, 1, '2018-07-11 06:28:28'),
(80, 864, 80, 15, '0.00', '125.00', 1, 1, '2018-07-11 06:28:28'),
(80, 865, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-11 06:28:28'),
(80, 866, 100, 10, '0.00', '300.00', 1, 1, '2018-07-11 06:28:28'),
(80, 867, 120, 200, '0.00', '25.00', 1, 1, '2018-07-11 06:28:28'),
(80, 868, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-11 06:28:28'),
(80, 869, 140, 12, '0.00', '600.00', 1, 1, '2018-07-11 06:28:28'),
(80, 870, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-11 06:28:28'),
(80, 871, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-11 06:28:28'),
(80, 872, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-11 06:28:28'),
(80, 873, 190, 220, '0.00', '25.00', 1, 1, '2018-07-11 06:28:28'),
(80, 874, 200, 220, '0.00', '35.00', 1, 1, '2018-07-11 06:28:28'),
(80, 875, 210, 220, '0.00', '55.00', 1, 1, '2018-07-11 06:28:28'),
(80, 876, 220, 34, '0.00', '200.00', 1, 1, '2018-07-11 06:28:28'),
(80, 877, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-11 06:28:28'),
(80, 878, 240, 88, '0.00', '501.30', 1, 1, '2018-07-11 06:28:28'),
(80, 879, 250, 200, '0.00', '448.00', 1, 1, '2018-07-11 06:28:28'),
(80, 880, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-11 06:28:28'),
(80, 881, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-11 06:28:28'),
(81, 882, 9, 1, '0.00', '1500.00', 1, 1, '2018-07-11 06:29:22'),
(81, 883, 15, 1, '0.00', '15000.00', 1, 1, '2018-07-11 06:29:22'),
(81, 884, 40, 2, '0.00', '2562.50', 1, 1, '2018-07-11 06:29:22'),
(81, 885, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-11 06:29:22'),
(81, 886, 60, 75, '0.00', '145.00', 1, 1, '2018-07-11 06:29:22'),
(81, 887, 70, 50, '0.00', '145.00', 1, 1, '2018-07-11 06:29:22'),
(81, 888, 80, 15, '0.00', '125.00', 1, 1, '2018-07-11 06:29:22'),
(81, 889, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-11 06:29:22'),
(81, 890, 100, 10, '0.00', '300.00', 1, 1, '2018-07-11 06:29:22'),
(81, 891, 120, 200, '0.00', '25.00', 1, 1, '2018-07-11 06:29:22'),
(81, 892, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-11 06:29:22'),
(81, 893, 140, 12, '0.00', '600.00', 1, 1, '2018-07-11 06:29:22'),
(81, 894, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-11 06:29:22'),
(81, 895, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-11 06:29:22'),
(81, 896, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-11 06:29:22'),
(81, 897, 190, 220, '0.00', '25.00', 1, 1, '2018-07-11 06:29:22'),
(81, 898, 200, 220, '0.00', '35.00', 1, 1, '2018-07-11 06:29:22'),
(81, 899, 210, 220, '0.00', '55.00', 1, 1, '2018-07-11 06:29:22'),
(81, 900, 220, 34, '0.00', '200.00', 1, 1, '2018-07-11 06:29:22'),
(81, 901, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-11 06:29:22'),
(81, 902, 240, 88, '0.00', '501.30', 1, 1, '2018-07-11 06:29:22'),
(81, 903, 250, 200, '0.00', '448.00', 1, 1, '2018-07-11 06:29:22'),
(81, 904, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-11 06:29:22'),
(81, 905, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-11 06:29:22'),
(83, 906, 9, 2, '0.00', '1515.00', 1, 1, '2018-07-16 13:32:55'),
(83, 907, 15, 1, '0.00', '15150.00', 1, 1, '2018-07-16 13:32:48'),
(83, 908, 40, 2, '0.00', '2588.13', 1, 1, '2018-07-16 13:32:48'),
(83, 909, 50, 1, '0.00', '3080.50', 1, 1, '2018-07-16 13:32:48'),
(83, 910, 60, 75, '0.00', '146.45', 1, 1, '2018-07-16 13:32:48'),
(83, 911, 70, 50, '0.00', '146.45', 1, 1, '2018-07-16 13:32:48'),
(83, 912, 80, 15, '0.00', '126.25', 1, 1, '2018-07-16 13:32:48'),
(83, 913, 90, 1, '0.00', '4545.00', 1, 1, '2018-07-16 13:32:48'),
(83, 914, 100, 10, '0.00', '303.00', 1, 1, '2018-07-16 13:32:48'),
(83, 915, 120, 200, '0.00', '25.25', 1, 1, '2018-07-16 13:32:48'),
(83, 916, 130, 35, '0.00', '1515.00', 1, 1, '2018-07-16 13:32:48'),
(83, 917, 140, 12, '0.00', '606.00', 1, 1, '2018-07-16 13:32:48'),
(83, 918, 150, 7, '0.00', '3030.00', 1, 1, '2018-07-16 13:32:48'),
(83, 919, 170, 2, '0.00', '2525.00', 1, 1, '2018-07-16 13:32:48'),
(83, 920, 180, 1, '0.00', '6565.00', 1, 1, '2018-07-16 13:32:48'),
(83, 921, 190, 220, '0.00', '25.25', 1, 1, '2018-07-16 13:32:48'),
(83, 922, 200, 220, '0.00', '35.35', 1, 1, '2018-07-16 13:32:48'),
(83, 923, 210, 220, '0.00', '55.00', 1, 1, '2018-07-11 06:30:29'),
(83, 924, 220, 34, '0.00', '200.00', 1, 1, '2018-07-11 06:30:29'),
(83, 925, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-11 06:30:29'),
(83, 926, 240, 88, '0.00', '501.30', 1, 1, '2018-07-11 06:30:29'),
(83, 927, 250, 200, '0.00', '448.00', 1, 1, '2018-07-11 06:30:29'),
(83, 928, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-11 06:30:29'),
(83, 929, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-11 06:30:29'),
(84, 930, 9, 1, '0.00', '1500.00', 1, 1, '2018-07-11 06:31:04'),
(84, 931, 15, 1, '0.00', '15000.00', 1, 1, '2018-07-11 06:31:04'),
(84, 932, 40, 2, '0.00', '2562.50', 1, 1, '2018-07-11 06:31:04'),
(84, 933, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-11 06:31:04'),
(84, 934, 60, 75, '0.00', '145.00', 1, 1, '2018-07-11 06:31:04'),
(84, 935, 70, 50, '0.00', '145.00', 1, 1, '2018-07-11 06:31:04'),
(84, 936, 80, 15, '0.00', '125.00', 1, 1, '2018-07-11 06:31:04'),
(84, 937, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-11 06:31:04'),
(84, 938, 100, 10, '0.00', '300.00', 1, 1, '2018-07-11 06:31:04'),
(84, 939, 120, 200, '0.00', '25.00', 1, 1, '2018-07-11 06:31:04'),
(84, 940, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-11 06:31:04'),
(84, 941, 140, 12, '0.00', '600.00', 1, 1, '2018-07-11 06:31:04'),
(84, 942, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-11 06:31:04'),
(84, 943, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-11 06:31:04'),
(84, 944, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-11 06:31:04'),
(84, 945, 190, 220, '0.00', '25.00', 1, 1, '2018-07-11 06:31:04'),
(84, 946, 200, 220, '0.00', '35.00', 1, 1, '2018-07-11 06:31:04'),
(84, 947, 210, 220, '0.00', '55.00', 1, 1, '2018-07-11 06:31:04'),
(84, 948, 220, 34, '0.00', '200.00', 1, 1, '2018-07-11 06:31:04'),
(84, 949, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-11 06:31:04'),
(84, 950, 240, 88, '0.00', '501.30', 1, 1, '2018-07-11 06:31:04'),
(84, 951, 250, 200, '0.00', '448.00', 1, 1, '2018-07-11 06:31:04'),
(84, 952, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-11 06:31:04'),
(84, 953, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-11 06:31:04'),
(85, 954, 9, 1, '0.00', '1500.00', 1, 1, '2018-07-11 07:38:36'),
(85, 955, 15, 1, '0.00', '15000.00', 1, 1, '2018-07-11 07:38:36'),
(85, 956, 40, 2, '0.00', '2562.50', 1, 1, '2018-07-11 07:38:36'),
(85, 957, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-11 07:38:36'),
(85, 958, 60, 75, '0.00', '145.00', 1, 1, '2018-07-11 07:38:36'),
(85, 959, 70, 50, '0.00', '145.00', 1, 1, '2018-07-11 07:38:36'),
(85, 960, 80, 15, '0.00', '125.00', 1, 1, '2018-07-11 07:38:36'),
(85, 961, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-11 07:38:36'),
(85, 962, 100, 10, '0.00', '300.00', 1, 1, '2018-07-11 07:38:36'),
(85, 963, 120, 200, '0.00', '25.00', 1, 1, '2018-07-11 07:38:36'),
(85, 964, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-11 07:38:36'),
(85, 965, 140, 12, '0.00', '600.00', 1, 1, '2018-07-11 07:38:36'),
(85, 966, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-11 07:38:36'),
(85, 967, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-11 07:38:36'),
(85, 968, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-11 07:38:36'),
(85, 969, 190, 220, '0.00', '25.00', 1, 1, '2018-07-11 07:38:36'),
(85, 970, 200, 220, '0.00', '35.00', 1, 1, '2018-07-11 07:38:36'),
(85, 971, 210, 220, '0.00', '55.00', 1, 1, '2018-07-11 07:38:36'),
(85, 972, 220, 34, '0.00', '200.00', 1, 1, '2018-07-11 07:38:36'),
(85, 973, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-11 07:38:36'),
(85, 974, 240, 88, '0.00', '501.30', 1, 1, '2018-07-11 07:38:36'),
(85, 975, 250, 200, '0.00', '448.00', 1, 1, '2018-07-11 07:38:36'),
(85, 976, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-11 07:38:36'),
(85, 977, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-11 07:38:36'),
(70, 978, 4, 1, '100.00', '200.00', 1, 1, '2018-07-11 13:17:18'),
(70, 979, 15, 2, '500.00', '1000.00', 1, 1, '2018-07-11 13:17:39'),
(70, 980, 21, 2, '300.00', '1000.00', 1, 1, '2018-07-11 13:17:56'),
(87, 981, 9, 1, '0.00', '10000.00', 1, 1, '2018-07-11 13:21:34'),
(88, 982, 9, 1, '0.00', '10000.00', 1, 1, '2018-07-11 13:27:22'),
(89, 983, 9, 1, '5000.00', '9900.00', 1, 1, '2018-07-17 09:15:50'),
(89, 984, 14, 1, '3000.00', '3960.00', 1, 1, '2018-07-17 09:15:50'),
(88, 985, 2, 2, '450.00', '650.00', 1, 1, '2018-07-11 21:25:55'),
(88, 986, 2, 1, '300.00', '650.00', 0, 1, '2018-07-11 21:27:12'),
(88, 987, 14, 200, '85.00', '145.00', 1, 1, '2018-07-11 21:27:41'),
(88, 988, 14, 55, '85.00', '145.00', 1, 1, '2018-07-11 21:28:05'),
(90, 989, 2, 2, '450.00', '650.00', 1, 1, '2018-07-13 08:41:02'),
(91, 990, 2, 2, '450.00', '650.00', 1, 1, '2018-07-13 08:45:19'),
(92, 991, 2, 2, '450.00', '650.00', 1, 1, '2018-07-13 08:45:23'),
(93, 992, 10, 1, '750.00', '1537.50', 1, 1, '2018-07-20 09:51:36'),
(94, 993, 10, 1, '1500.00', '2562.50', 1, 1, '2018-07-20 09:53:28'),
(95, 994, 10, 1, '1500.00', '2562.50', 1, 1, '2018-07-20 10:05:05'),
(96, 995, 10, 1, '1500.00', '2562.50', 0, 1, '2018-07-20 10:13:49'),
(96, 996, 2, 2, '450.00', '650.00', 1, 1, '2018-07-20 10:13:42'),
(97, 997, 10, 1, '1500.00', '2562.50', 0, 1, '2018-07-20 10:14:01'),
(97, 998, 2, 2, '450.00', '650.00', 1, 1, '2018-07-20 10:14:01'),
(98, 999, 9, 1, '5000.00', '10250.00', 1, 1, '2018-07-20 11:02:13'),
(98, 1000, 10, 1, '750.00', '1.00', 0, 1, '2018-07-20 10:41:09'),
(99, 1001, 9, 1, '5000.00', '10506.25', 1, 1, '2018-07-20 11:02:44'),
(99, 1002, 10, 1, '750.00', '1.00', 0, 1, '2018-07-20 11:02:28'),
(100, 1003, 9, 1, '5000.00', '10506.25', 1, 1, '2018-07-20 11:05:21'),
(100, 1004, 10, 1, '750.00', '1.00', 0, 1, '2018-07-20 11:05:21'),
(101, 1005, 9, 1, '5000.00', '10768.91', 1, 1, '2018-07-20 11:06:30'),
(101, 1006, 10, 1, '750.00', '1.00', 0, 1, '2018-07-20 11:06:18'),
(102, 1007, 9, 1, '5000.00', '11038.13', 1, 1, '2018-07-20 11:07:35'),
(102, 1008, 10, 1, '750.00', '1.00', 0, 1, '2018-07-20 11:07:03'),
(103, 1009, 9, 1, '5000.00', '11314.08', 1, 1, '2018-07-20 11:09:12'),
(103, 1010, 10, 1, '750.00', '1.00', 0, 1, '2018-07-20 11:07:51'),
(104, 1011, 9, 1, '5000.00', '11314.08', 1, 1, '2018-07-20 11:09:52'),
(104, 1012, 10, 1, '750.00', '1.00', 0, 1, '2018-07-20 11:09:52'),
(106, 1013, 9, 1, '0.00', '10000.00', 1, 1, '2018-07-20 11:28:58'),
(106, 1014, 13, 1, '500.00', '1000.00', 1, 1, '2018-07-20 11:29:23'),
(107, 1015, 9, 1, '0.00', '10250.00', 1, 1, '2018-07-20 11:29:42'),
(107, 1016, 13, 1, '500.00', '1025.00', 1, 1, '2018-07-20 11:29:42'),
(108, 1017, 9, 1, '0.00', '10250.00', 1, 1, '2018-07-20 11:29:49'),
(108, 1018, 13, 1, '500.00', '1025.00', 1, 1, '2018-07-20 11:29:49'),
(109, 1019, 9, 1, '800.00', '1500.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1020, 15, 1, '7000.00', '15000.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1021, 40, 2, '1000.00', '2562.50', 1, 1, '2018-07-24 16:01:02'),
(109, 1022, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1023, 60, 75, '0.00', '145.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1024, 70, 50, '0.00', '145.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1025, 80, 15, '0.00', '125.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1026, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1027, 100, 10, '0.00', '300.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1028, 120, 200, '0.00', '25.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1029, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1030, 140, 12, '0.00', '600.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1031, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1032, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1033, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1034, 190, 220, '0.00', '25.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1035, 200, 220, '0.00', '35.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1036, 210, 220, '0.00', '55.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1037, 220, 34, '0.00', '200.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1038, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1039, 240, 88, '0.00', '501.30', 1, 1, '2018-07-24 16:01:02'),
(109, 1040, 250, 200, '0.00', '448.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1041, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1042, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1043, 3, 2, '1000.00', '2000.00', 1, 1, '2018-07-24 16:01:02'),
(109, 1044, 13, 1, '4000.00', '8000.00', 1, 1, '2018-07-24 16:01:02'),
(110, 1045, 9, 1, '800.00', '1500.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1046, 15, 1, '7000.00', '15000.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1047, 40, 2, '1000.00', '2562.50', 1, 1, '2018-07-25 06:47:19'),
(110, 1048, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1049, 60, 75, '0.00', '145.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1050, 70, 50, '0.00', '145.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1051, 80, 15, '0.00', '125.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1052, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1053, 100, 10, '0.00', '300.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1054, 120, 200, '0.00', '25.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1055, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1056, 140, 12, '0.00', '600.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1057, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1058, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1059, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1060, 190, 220, '0.00', '25.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1061, 200, 220, '0.00', '35.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1062, 210, 220, '0.00', '55.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1063, 220, 34, '0.00', '200.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1064, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1065, 240, 88, '0.00', '501.30', 1, 1, '2018-07-25 06:47:19'),
(110, 1066, 250, 200, '0.00', '448.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1067, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1068, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1069, 3, 2, '1000.00', '2000.00', 1, 1, '2018-07-25 06:47:19'),
(110, 1070, 13, 1, '4000.00', '8000.00', 1, 1, '2018-07-25 06:47:19'),
(111, 1071, 2, 1, '450.00', '650.00', 1, 1, '2018-07-25 06:58:07'),
(114, 1072, 9, 1, '800.00', '1500.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1073, 15, 1, '7000.00', '15000.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1074, 40, 2, '1000.00', '2562.51', 1, 1, '2018-07-25 13:02:34'),
(114, 1075, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1076, 60, 75, '0.00', '145.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1077, 70, 50, '0.00', '145.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1078, 80, 15, '0.00', '125.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1079, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1080, 100, 10, '0.00', '300.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1081, 120, 200, '0.00', '25.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1082, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1083, 140, 12, '0.00', '600.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1084, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1085, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1086, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1087, 190, 220, '0.00', '25.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1088, 200, 220, '0.00', '35.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1089, 210, 220, '0.00', '55.00', 1, 1, '2018-07-25 11:10:57'),
(114, 1090, 220, 34, '0.00', '200.00', 1, 1, '2018-07-25 11:10:57'),
(114, 1091, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-25 11:10:57'),
(114, 1092, 240, 88, '0.00', '501.30', 1, 1, '2018-07-25 11:10:57'),
(114, 1093, 250, 200, '0.00', '448.00', 1, 1, '2018-07-25 11:10:57'),
(114, 1094, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-25 11:10:57'),
(114, 1095, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-25 11:10:57'),
(114, 1096, 3, 2, '1500.00', '2000.00', 1, 1, '2018-07-25 13:02:34'),
(114, 1097, 13, 1, '4000.00', '8000.00', 1, 1, '2018-07-25 13:02:34'),
(115, 1098, 9, 1, '800.00', '1500.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1099, 15, 1, '7000.00', '15000.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1100, 40, 2, '1000.00', '2562.50', 1, 1, '2018-07-26 22:09:00'),
(115, 1101, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1102, 60, 75, '0.00', '145.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1103, 70, 50, '0.00', '145.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1104, 80, 15, '0.00', '125.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1105, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1106, 100, 10, '0.00', '300.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1107, 120, 200, '0.00', '25.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1108, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1109, 140, 12, '0.00', '600.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1110, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1111, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1112, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1113, 190, 220, '0.00', '25.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1114, 200, 220, '0.00', '35.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1115, 210, 220, '0.00', '55.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1116, 220, 34, '0.00', '200.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1117, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1118, 240, 88, '0.00', '501.30', 1, 1, '2018-07-26 22:09:00'),
(115, 1119, 250, 200, '0.00', '448.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1120, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1121, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1122, 3, 2, '1000.00', '2000.00', 1, 1, '2018-07-26 22:09:00'),
(115, 1123, 13, 1, '4000.00', '8000.00', 1, 1, '2018-07-26 22:09:00'),
(117, 1124, 9, 1, '0.00', '10000.00', 1, 1, '2018-07-27 05:54:18'),
(122, 1125, 9, 1, '800.00', '1500.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1126, 15, 1, '7000.00', '15000.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1127, 40, 2, '1000.00', '2562.50', 1, 1, '2018-07-27 12:02:09'),
(122, 1128, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1129, 60, 75, '0.00', '145.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1130, 70, 50, '0.00', '145.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1131, 80, 15, '0.00', '125.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1132, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1133, 100, 10, '0.00', '300.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1134, 120, 200, '0.00', '25.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1135, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1136, 140, 12, '0.00', '600.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1137, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1138, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1139, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1140, 190, 220, '0.00', '25.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1141, 200, 220, '0.00', '35.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1142, 210, 220, '0.00', '55.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1143, 220, 34, '0.00', '200.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1144, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1145, 240, 88, '0.00', '501.30', 1, 1, '2018-07-27 12:02:09'),
(122, 1146, 250, 200, '0.00', '448.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1147, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1148, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1149, 3, 2, '1000.00', '2000.00', 1, 1, '2018-07-27 12:02:09'),
(122, 1150, 13, 1, '4000.00', '8000.00', 1, 1, '2018-07-27 12:02:09'),
(123, 1151, 9, 1, '800.00', '1500.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1152, 15, 1, '7000.00', '15000.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1153, 40, 2, '1000.00', '2562.50', 1, 1, '2018-07-27 14:01:02'),
(123, 1154, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1155, 60, 75, '0.00', '145.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1156, 70, 50, '0.00', '145.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1157, 80, 15, '0.00', '125.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1158, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1159, 100, 10, '0.00', '300.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1160, 120, 200, '0.00', '25.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1161, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1162, 140, 12, '0.00', '600.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1163, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1164, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1165, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1166, 190, 220, '0.00', '25.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1167, 200, 220, '0.00', '35.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1168, 210, 220, '0.00', '55.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1169, 220, 34, '0.00', '200.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1170, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1171, 240, 88, '0.00', '501.30', 1, 1, '2018-07-27 14:01:02'),
(123, 1172, 250, 200, '0.00', '448.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1173, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1174, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1175, 3, 2, '1000.00', '2000.00', 1, 1, '2018-07-27 14:01:02'),
(123, 1176, 13, 1, '4000.00', '8000.00', 1, 1, '2018-07-27 14:01:02'),
(124, 1177, 9, 1, '800.00', '1500.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1178, 15, 1, '7000.00', '15000.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1179, 40, 2, '1000.00', '2562.50', 1, 1, '2018-07-27 14:05:41'),
(124, 1180, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1181, 60, 75, '0.00', '145.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1182, 70, 50, '0.00', '145.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1183, 80, 15, '0.00', '125.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1184, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1185, 100, 10, '0.00', '300.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1186, 120, 200, '0.00', '25.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1187, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1188, 140, 12, '0.00', '600.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1189, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1190, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1191, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1192, 190, 220, '0.00', '25.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1193, 200, 220, '0.00', '35.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1194, 210, 220, '0.00', '55.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1195, 220, 34, '0.00', '200.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1196, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1197, 240, 88, '0.00', '501.30', 1, 1, '2018-07-27 14:05:41'),
(124, 1198, 250, 200, '0.00', '448.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1199, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1200, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1201, 3, 2, '1000.00', '2000.00', 1, 1, '2018-07-27 14:05:41'),
(124, 1202, 13, 1, '4000.00', '8000.00', 1, 1, '2018-07-27 14:05:41'),
(126, 1203, 1, 2, '750.00', '1000.00', 1, 1, '2018-08-09 13:46:52'),
(127, 1204, 9, 1, '800.00', '1500.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1205, 15, 1, '7000.00', '15000.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1206, 40, 2, '1000.00', '2562.50', 1, 1, '2018-07-30 11:34:08'),
(127, 1207, 50, 1, '0.00', '3050.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1208, 60, 75, '0.00', '145.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1209, 70, 50, '0.00', '145.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1210, 80, 15, '0.00', '125.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1211, 90, 1, '0.00', '4500.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1212, 100, 10, '0.00', '300.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1213, 120, 200, '0.00', '25.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1214, 130, 35, '0.00', '1500.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1215, 140, 12, '0.00', '600.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1216, 150, 7, '0.00', '3000.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1217, 170, 2, '0.00', '2500.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1218, 180, 1, '0.00', '6500.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1219, 190, 220, '0.00', '25.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1220, 200, 220, '0.00', '35.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1221, 210, 220, '0.00', '55.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1222, 220, 34, '0.00', '200.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1223, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1224, 240, 88, '0.00', '501.30', 1, 1, '2018-07-30 11:34:08'),
(127, 1225, 250, 200, '0.00', '448.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1226, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1227, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1228, 3, 2, '1000.00', '2000.00', 1, 1, '2018-07-30 11:34:08'),
(127, 1229, 13, 1, '4000.00', '8000.00', 1, 1, '2018-07-30 11:34:08'),
(128, 1230, 1, 1, '750.00', '1000.00', 1, 1, '2018-07-30 13:35:37'),
(129, 1231, 10, 1, '1500.00', '2562.50', 1, 1, '2018-07-30 15:15:08'),
(130, 1232, 1, 1, '750.00', '1000.00', 1, 1, '2018-07-30 15:18:51'),
(131, 1233, 10, 1, '1500.00', '2562.50', 1, 1, '2018-07-30 15:20:07'),
(132, 1234, 10, 1, '1500.00', '2500.00', 1, 1, '2018-07-30 16:15:43'),
(138, 1235, 9, 1, '800.00', '1515.00', 1, 1, '2018-07-31 11:03:56'),
(138, 1236, 15, 1, '7000.00', '15150.00', 1, 1, '2018-07-31 11:03:56'),
(138, 1237, 40, 2, '1000.00', '2588.13', 1, 1, '2018-07-31 11:03:56'),
(138, 1238, 50, 1, '1500.00', '3080.50', 1, 1, '2018-07-31 11:06:30'),
(138, 1239, 60, 75, '120.00', '146.45', 1, 1, '2018-07-31 11:06:39'),
(138, 1240, 70, 50, '110.00', '146.45', 1, 1, '2018-07-31 11:06:42'),
(138, 1241, 80, 15, '100.00', '126.25', 1, 1, '2018-07-31 11:06:49'),
(138, 1242, 90, 1, '2000.00', '4545.00', 1, 1, '2018-07-31 11:06:55'),
(138, 1243, 100, 10, '100.00', '303.00', 1, 1, '2018-07-31 11:06:59'),
(138, 1244, 120, 200, '10.00', '25.25', 1, 1, '2018-07-31 11:07:03'),
(138, 1245, 130, 35, '800.00', '1515.00', 1, 1, '2018-07-31 11:07:20'),
(138, 1246, 140, 12, '400.00', '606.00', 1, 1, '2018-07-31 11:07:24'),
(138, 1247, 150, 7, '1000.00', '3030.00', 1, 1, '2018-07-31 11:07:27'),
(138, 1248, 170, 2, '1000.00', '2525.00', 1, 1, '2018-07-31 11:07:33'),
(138, 1249, 180, 1, '3000.00', '6565.00', 1, 1, '2018-07-31 11:07:37'),
(138, 1250, 190, 220, '10.00', '25.25', 1, 1, '2018-07-31 11:07:43'),
(138, 1251, 200, 220, '15.00', '35.35', 1, 1, '2018-07-31 11:07:49'),
(138, 1252, 210, 220, '0.00', '55.00', 1, 1, '2018-07-31 06:23:50'),
(138, 1253, 220, 34, '0.00', '200.00', 1, 1, '2018-07-31 06:23:50'),
(138, 1254, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-31 06:23:50'),
(138, 1255, 240, 88, '0.00', '501.30', 1, 1, '2018-07-31 06:23:50'),
(138, 1256, 250, 200, '0.00', '448.00', 1, 1, '2018-07-31 06:23:50'),
(138, 1257, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-31 06:23:50'),
(138, 1258, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-31 06:23:50'),
(138, 1259, 3, 2, '1000.00', '2020.00', 1, 1, '2018-07-31 11:03:56'),
(138, 1260, 13, 1, '4000.00', '8080.00', 1, 1, '2018-07-31 11:03:56'),
(139, 1261, 9, 1, '800.00', '1515.00', 1, 1, '2018-07-31 11:13:03'),
(139, 1262, 15, 1, '7000.00', '15150.00', 1, 1, '2018-07-31 11:13:03'),
(139, 1263, 40, 2, '1000.00', '2588.13', 1, 1, '2018-07-31 11:13:03'),
(139, 1264, 50, 1, '1500.00', '3080.50', 1, 1, '2018-07-31 11:13:03'),
(139, 1265, 60, 75, '120.00', '146.45', 1, 1, '2018-07-31 11:13:03'),
(139, 1266, 70, 50, '110.00', '146.45', 1, 1, '2018-07-31 11:13:03'),
(139, 1267, 80, 15, '100.00', '126.25', 1, 1, '2018-07-31 11:13:03'),
(139, 1268, 90, 1, '2000.00', '4545.00', 1, 1, '2018-07-31 11:13:03'),
(139, 1269, 100, 10, '100.00', '303.00', 1, 1, '2018-07-31 11:13:03'),
(139, 1270, 120, 200, '10.00', '25.25', 1, 1, '2018-07-31 11:13:03'),
(139, 1271, 130, 35, '800.00', '1100.00', 1, 1, '2018-07-31 11:13:38'),
(139, 1272, 140, 12, '400.00', '606.00', 1, 1, '2018-07-31 11:13:03'),
(139, 1273, 150, 7, '1000.00', '3030.00', 1, 1, '2018-07-31 11:13:03'),
(139, 1274, 170, 2, '1000.00', '2525.00', 1, 1, '2018-07-31 11:13:03'),
(139, 1275, 180, 1, '3000.00', '6565.00', 1, 1, '2018-07-31 11:13:03'),
(139, 1276, 190, 220, '10.00', '25.25', 1, 1, '2018-07-31 11:13:03'),
(139, 1277, 200, 220, '15.00', '35.35', 1, 1, '2018-07-31 11:13:03'),
(139, 1278, 210, 220, '0.00', '55.00', 1, 1, '2018-07-31 11:11:42'),
(139, 1279, 220, 34, '0.00', '200.00', 1, 1, '2018-07-31 11:11:42'),
(139, 1280, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-31 11:11:42'),
(139, 1281, 240, 88, '0.00', '501.30', 1, 1, '2018-07-31 11:11:42'),
(139, 1282, 250, 200, '0.00', '448.00', 1, 1, '2018-07-31 11:11:42'),
(139, 1283, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-31 11:11:42'),
(139, 1284, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-31 11:11:42'),
(139, 1285, 3, 2, '1000.00', '2020.00', 1, 1, '2018-07-31 11:13:03'),
(139, 1286, 13, 1, '4000.00', '5000.01', 1, 1, '2018-07-31 11:13:03'),
(140, 1287, 9, 1, '800.00', '1515.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1288, 15, 1, '7000.00', '15150.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1289, 40, 2, '1000.00', '2588.13', 1, 1, '2018-07-31 14:27:20'),
(140, 1290, 50, 1, '1500.00', '3080.50', 1, 1, '2018-07-31 14:27:20'),
(140, 1291, 60, 75, '120.00', '146.45', 1, 1, '2018-07-31 14:27:20'),
(140, 1292, 70, 50, '110.00', '146.45', 1, 1, '2018-07-31 14:27:20'),
(140, 1293, 80, 15, '100.00', '126.25', 1, 1, '2018-07-31 14:27:20'),
(140, 1294, 90, 1, '2000.00', '4545.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1295, 100, 10, '100.00', '303.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1296, 120, 200, '10.00', '25.25', 1, 1, '2018-07-31 14:27:20'),
(140, 1297, 130, 35, '800.00', '1100.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1298, 140, 12, '400.00', '606.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1299, 150, 7, '1000.00', '3030.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1300, 170, 2, '1000.00', '2525.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1301, 180, 1, '3000.00', '6565.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1302, 190, 220, '10.00', '25.25', 1, 1, '2018-07-31 14:27:20'),
(140, 1303, 200, 220, '15.00', '35.35', 1, 1, '2018-07-31 14:27:20'),
(140, 1304, 210, 220, '0.00', '55.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1305, 220, 34, '0.00', '200.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1306, 230, 250, '0.00', '1200.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1307, 240, 88, '0.00', '501.30', 1, 1, '2018-07-31 14:27:20'),
(140, 1308, 250, 200, '0.00', '448.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1309, 260, 1, '0.00', '1650.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1310, 270, 1, '0.00', '2500.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1311, 3, 2, '1000.00', '2020.00', 1, 1, '2018-07-31 14:27:20'),
(140, 1312, 13, 1, '4000.00', '5000.01', 1, 1, '2018-07-31 14:27:20'),
(141, 1313, 1, 1, '750.00', '1500.00', 1, 1, '2018-08-01 05:43:44'),
(141, 1314, 2, 1, '450.00', '650.00', 1, 1, '2018-08-01 05:59:10'),
(141, 1315, 14, 100, '85.00', '145.00', 1, 1, '2018-08-01 05:44:43'),
(141, 1316, 15, 150, '95.00', '145.00', 1, 1, '2018-08-01 05:44:59'),
(141, 1317, 27, 35, '50.00', '100.00', 1, 1, '2018-08-01 05:45:14'),
(141, 1318, 29, 55, '50.00', '150.00', 1, 1, '2018-08-01 05:58:37'),
(141, 1319, 54, 800, '100.00', '200.00', 1, 1, '2018-08-01 05:46:08'),
(126, 1320, 1, 1, '200.00', '400.00', 1, 1, '2018-08-09 13:47:32');

-- --------------------------------------------------------

--
-- Table structure for table `quote_status`
--

CREATE TABLE `quote_status` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `quote_status_id` int(3) NOT NULL,
  `description` varchar(255) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `quote_status`
--

INSERT INTO `quote_status` (`id`, `client_id`, `quote_status_id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 'Draft', 1, '2018-05-28 16:07:04'),
(2, 4, 2, 'saved', 18, '2018-05-16 16:19:33'),
(3, 4, 1, 'Draft', 18, '2018-05-17 06:21:47'),
(4, 4, 3, 'Cancelled', 18, '2018-05-28 13:09:38'),
(6, 1, 20, 'Finalized', 1, '2018-07-26 05:51:50'),
(7, 1, 30, 'Cancelled', 1, '2018-05-28 16:30:54'),
(8, 1, 40, 'Sent', 1, '2018-05-28 20:21:12'),
(9, 1, 50, 'Archived', 1, '2018-08-01 08:14:54');

-- --------------------------------------------------------

--
-- Table structure for table `sections`
--

CREATE TABLE `sections` (
  `section_id` int(3) NOT NULL,
  `client_id` int(11) NOT NULL,
  `description` varchar(50) NOT NULL,
  `folder_name` varchar(50) NOT NULL,
  `section_status_id` int(3) NOT NULL,
  `order_seq` int(3) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sections`
--

INSERT INTO `sections` (`section_id`, `client_id`, `description`, `folder_name`, `section_status_id`, `order_seq`, `updated_by`, `updated_on`) VALUES
(1, 1, 'Sections', 'sections', 1, 1, 1, '2018-04-12 08:40:13'),
(4, 1, 'Users & Roles', 'users', 1, 4, 1, '2018-07-18 07:33:11'),
(5, 1, 'User Statusses', 'user_status', 1, 5, 1, '2018-04-12 14:22:03'),
(6, 1, 'User Types', 'user_types', 1, 60, 1, '2018-04-12 14:22:27'),
(14, 1, 'User Access', 'user_access', 1, 140, 18, '2018-05-11 11:17:07'),
(18, 1, 'Bill of Quantities', 'bill_of_quantity', 1, 150, 1, '2018-05-06 10:41:48'),
(19, 1, 'Categories', 'boq_category', 1, 160, 1, '2018-05-28 21:53:52'),
(20, 1, 'Unit Of Measure', 'unit_of_measure', 1, 30, 1, '2018-05-06 12:04:29'),
(21, 1, 'Sub Categories', 'sub_category', 1, 35, 1, '2018-05-07 07:12:34'),
(23, 1, 'DB Users', 'db_users', 1, 3, 1, '2018-05-10 06:39:24'),
(24, 1, 'testclient section', 'testclients', 1, 1000, 1, '2018-05-10 11:09:54'),
(25, 1, 'Section Statusses', 'section_status', 1, 111, 1, '2018-05-10 11:25:10'),
(26, 4, 'Sections', 'sections', 1, 10, 18, '2018-05-10 20:52:55'),
(27, 4, 'Clients', 'client', 1, 20, 18, '2018-05-10 20:52:02'),
(28, 4, 'User Access', 'user_access', 1, 30, 18, '2018-05-10 20:57:43'),
(29, 4, 'Users', 'users', 1, 40, 18, '2018-05-10 21:09:27'),
(30, 4, 'User Statusses', 'user_status', 1, 50, 18, '2018-05-10 21:31:50'),
(31, 4, 'Bill of Quantities', 'bill_of_quantity', 1, 60, 18, '2018-05-11 05:56:07'),
(32, 4, 'Categories', 'boq_category', 1, 70, 18, '2018-05-11 05:57:10'),
(33, 4, 'DB Users', 'db_users', 1, 80, 18, '2018-05-11 05:58:06'),
(34, 4, 'Images', 'images', 1, 90, 18, '2018-05-11 05:58:53'),
(35, 4, 'Section Statusses', 'section_status', 1, 100, 18, '2018-05-11 05:59:35'),
(36, 4, 'Sub Categories', 'sub_category', 1, 110, 18, '2018-05-11 06:00:06'),
(37, 4, 'Unit Of Measure', 'unit_of_measure', 1, 120, 18, '2018-05-11 06:00:40'),
(38, 4, 'User Types', 'user_types', 1, 130, 18, '2018-05-11 06:01:45'),
(39, 4, 'Client Types', 'client_type', 1, 140, 18, '2018-05-11 06:07:06'),
(40, 4, 'Change Client Perspective', 'change_client_perspective', 1, 200, 18, '2018-05-11 14:58:41'),
(41, 1, 'Change Client Perspective', 'change_client_perspective', 1, 110, 1, '2018-05-12 13:21:29'),
(42, 4, 'Quote', 'quote', 1, 220, 1, '2018-05-15 09:15:22'),
(43, 1, 'Quote', 'quote', 1, 220, 1, '2018-05-15 10:56:28'),
(44, 1, 'Quote Status', 'quote_status', 1, 152, 1, '2018-05-28 13:20:36'),
(45, 1, 'Customers', 'customer', 1, 11, 1, '2018-05-28 21:52:57'),
(46, 1, 'Template', 'template', 1, 130, 1, '2018-05-29 08:51:47'),
(47, 1, 'Contacts', 'contact', 1, 170, 1, '2018-05-29 21:03:42'),
(48, 1, 'Addresses', 'address', 1, 180, 1, '2018-06-19 20:41:15'),
(49, 1, 'Category Notes', 'category_note', 1, 1010, 1, '2018-06-21 16:07:48'),
(50, 1, 'Payment Terms', 'payment_term', 1, 1020, 1, '2018-06-21 21:45:03'),
(51, 1, 'Header Notes', 'header_note', 1, 1030, 1, '2018-06-22 07:25:10'),
(52, 1, 'Footer Notes', 'footer_note', 1, 1040, 1, '2018-06-22 07:25:29'),
(53, 1, 'Clients', 'client', 1, 1050, 1, '2018-07-12 09:30:29'),
(54, 1, 'Comments', 'comment', 1, 1060, 1, '2018-07-17 13:02:57'),
(55, 1, 'Employee Types', 'employee_type', 1, 1070, 1, '2018-07-18 11:56:59'),
(56, 1, 'Jobs', 'job', 1, 1080, 1, '2018-07-18 12:52:16'),
(57, 1, 'Employees', 'employee', 1, 1090, 1, '2018-07-18 12:52:47'),
(58, 1, 'Time & Attendance', 'time_and_attendance', 1, 1100, 1, '2018-07-18 12:53:10'),
(59, 1, 'Job Notes', 'job_note', 1, 1110, 1, '2018-07-26 07:03:18'),
(60, 1, 'Job Comments', 'job_comment', 1, 1120, 1, '2018-07-30 07:07:13'),
(61, 1, 'Quote Settings', 'quote_cfg', 1, 1130, 1, '2018-08-01 07:32:40');

-- --------------------------------------------------------

--
-- Table structure for table `section_status`
--

CREATE TABLE `section_status` (
  `section_status_id` int(3) NOT NULL,
  `description` varchar(50) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `section_status`
--

INSERT INTO `section_status` (`section_status_id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 'Active', 1, '2018-04-12 08:35:28'),
(3, 'Inactive', 1, '2018-04-12 11:07:00');

-- --------------------------------------------------------

--
-- Table structure for table `sub_category`
--

CREATE TABLE `sub_category` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `category_id` int(3) NOT NULL,
  `sub_category_id` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sub_category`
--

INSERT INTO `sub_category` (`id`, `client_id`, `category_id`, `sub_category_id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 1, 10, 10, '1. SITE SETUP - P&G\'s - H&S - S&T', 20, '2018-07-03 22:00:00'),
(2, 1, 20, 10, 'Brick/Mortar/Doors/Structures', 20, '2018-07-03 22:00:00'),
(3, 1, 20, 20, 'Plumbing Demo', 20, '2018-07-03 22:00:00'),
(4, 1, 20, 30, 'Wall and Floor covering Demo', 20, '2018-07-03 22:00:00'),
(5, 1, 20, 40, 'Ceiling and Bulkhead Demo', 20, '2018-07-03 22:00:00'),
(6, 1, 20, 50, 'Electrical Demo', 20, '2018-07-03 22:00:00'),
(7, 1, 30, 10, 'Structural Building work', 20, '2018-07-03 22:00:00'),
(8, 1, 30, 20, 'Doors', 20, '2018-07-03 22:00:00'),
(9, 1, 30, 30, 'Glass and shopfronts', 20, '2018-07-03 22:00:00'),
(10, 1, 30, 40, 'Shop Painting and ceiling painting', 20, '2018-07-03 22:00:00'),
(11, 1, 30, 50, 'Holding cages', 20, '2018-07-03 22:00:00'),
(12, 1, 30, 60, 'Trenching', 20, '2018-07-03 22:00:00'),
(13, 1, 30, 70, 'Roofing work', 20, '2018-07-03 22:00:00'),
(14, 1, 40, 10, 'Plumbing/Sanitary/Drainage', 20, '2018-07-03 22:00:00'),
(15, 1, 50, 10, 'Tiles Supply', 20, '2018-07-03 22:00:00'),
(16, 1, 50, 20, 'Tiling Labour', 20, '2018-07-03 22:00:00'),
(17, 1, 50, 30, 'Carpeting and vinyl', 20, '2018-07-03 22:00:00'),
(18, 1, 50, 40, 'Recessed floors', 20, '2018-07-03 22:00:00'),
(19, 1, 50, 50, 'Floor resins', 20, '2018-07-03 22:00:00'),
(20, 1, 60, 10, 'Plug Points', 20, '2018-07-03 22:00:00'),
(21, 1, 70, 10, 'Ceiling and Bulkheads', 20, '2018-07-03 22:00:00'),
(22, 1, 80, 10, '8. OMISSIONS AND VO\'s', 20, '2018-07-03 22:00:00'),
(23, 1, 90, 10, '9. WATERPROOFING', 20, '2018-07-03 22:00:00');

-- --------------------------------------------------------

--
-- Table structure for table `template`
--

CREATE TABLE `template` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `created_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `template`
--

INSERT INTO `template` (`id`, `client_id`, `name`, `created_by`, `updated_by`, `created_on`, `updated_on`) VALUES
(16, 1, 'Superspar Template', 1, 1, '2018-05-29 09:58:38', '2018-05-29 12:11:47'),
(17, 1, 'Spar Template', 1, 1, '2018-05-29 10:21:41', '2018-05-29 10:21:41'),
(18, 1, 'Private Client Template', 1, 1, '2018-05-29 10:34:59', '2018-05-29 10:34:59'),
(19, 1, 'test', 1, 1, '2018-05-29 10:46:30', '2018-05-29 10:46:30'),
(23, 1, 'test1', 1, 1, '2018-05-30 07:09:32', '2018-05-30 07:09:32'),
(24, 1, 'tester 2', 1, 1, '2018-06-06 18:47:23', '2018-06-06 18:47:23'),
(25, 1, 'new template', 1, 1, '2018-06-06 19:25:45', '2018-06-06 19:25:45'),
(26, 1, 'No Template', 1, 1, '2018-07-01 09:33:50', '2018-07-01 09:33:50'),
(27, 1, 'test template', 1, 1, '2018-07-13 14:25:29', '2018-07-13 14:25:29'),
(28, 1, 'test template_copy', 1, 1, '2018-07-13 14:25:55', '2018-07-13 14:25:55'),
(29, 1, 'template1', 1, 1, '2018-07-18 17:44:51', '2018-07-18 17:44:51'),
(31, 1, 'test222', 1, 1, '2018-07-18 17:52:14', '2018-07-18 17:52:14'),
(32, 1, 'template_gooneys', 1, 1, '2018-07-31 16:51:39', '2018-07-31 16:51:39'),
(33, 1, 'test template112', 1, 1, '2018-07-31 17:00:55', '2018-07-31 17:00:55'),
(34, 1, 'tester 1234', 1, 1, '2018-07-31 17:03:45', '2018-07-31 17:03:45'),
(35, 1, 'qqqqq', 1, 1, '2018-07-31 17:05:04', '2018-07-31 17:05:04'),
(36, 1, 'loop', 1, 1, '2018-07-31 17:08:09', '2018-07-31 17:08:09'),
(37, 1, 'weert', 1, 1, '2018-07-31 17:09:15', '2018-07-31 17:09:15'),
(38, 1, 'aasvoel', 1, 1, '2018-07-31 17:24:38', '2018-07-31 17:24:38'),
(39, 1, 'baba', 1, 1, '2018-07-31 17:25:29', '2018-07-31 17:25:29');

-- --------------------------------------------------------

--
-- Table structure for table `template_line`
--

CREATE TABLE `template_line` (
  `template_id` int(11) NOT NULL,
  `id` int(11) NOT NULL,
  `bill_of_quantity_id` int(11) NOT NULL,
  `qty` int(11) NOT NULL,
  `cost` decimal(9,2) NOT NULL,
  `price` decimal(11,2) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `template_line`
--

INSERT INTO `template_line` (`template_id`, `id`, `bill_of_quantity_id`, `qty`, `cost`, `price`, `updated_by`, `updated_on`) VALUES
(17, 136, 9, 1, '800.00', '1500.00', 1, '2018-07-16 16:01:12'),
(17, 138, 15, 1, '7000.00', '15000.00', 1, '2018-07-16 16:01:25'),
(17, 139, 40, 2, '1000.00', '2562.50', 1, '2018-07-16 16:01:42'),
(17, 140, 50, 1, '0.00', '3050.00', 1, '2018-05-30 13:44:25'),
(17, 141, 60, 75, '0.00', '145.00', 1, '2018-05-30 13:44:39'),
(17, 142, 70, 50, '0.00', '145.00', 1, '2018-05-30 13:44:55'),
(17, 143, 80, 15, '0.00', '125.00', 1, '2018-05-30 13:45:08'),
(17, 144, 90, 1, '0.00', '4500.00', 1, '2018-05-30 13:45:22'),
(17, 145, 100, 10, '0.00', '300.00', 1, '2018-05-30 13:45:38'),
(17, 146, 120, 200, '0.00', '25.00', 1, '2018-05-30 13:45:52'),
(17, 147, 130, 35, '0.00', '1500.00', 1, '2018-05-30 13:46:20'),
(17, 148, 140, 12, '0.00', '600.00', 1, '2018-05-30 13:46:34'),
(17, 149, 150, 7, '0.00', '3000.00', 1, '2018-05-30 13:46:47'),
(17, 150, 170, 2, '0.00', '2500.00', 1, '2018-05-30 13:46:59'),
(17, 151, 180, 1, '0.00', '6500.00', 1, '2018-05-30 13:47:18'),
(17, 152, 190, 220, '0.00', '25.00', 1, '2018-05-30 13:47:30'),
(17, 153, 200, 220, '0.00', '35.00', 1, '2018-05-30 13:47:43'),
(17, 154, 210, 220, '0.00', '55.00', 1, '2018-05-30 13:47:54'),
(17, 155, 220, 34, '0.00', '200.00', 1, '2018-05-30 13:48:14'),
(17, 156, 230, 250, '0.00', '1200.00', 1, '2018-05-30 13:48:26'),
(17, 157, 240, 88, '0.00', '501.30', 1, '2018-05-30 13:48:44'),
(17, 158, 250, 200, '0.00', '448.00', 1, '2018-05-30 13:49:03'),
(17, 159, 260, 1, '0.00', '1650.00', 1, '2018-05-30 13:49:11'),
(17, 160, 270, 1, '0.00', '2500.00', 1, '2018-05-30 13:49:20'),
(25, 161, 9, 1, '0.00', '10000.00', 1, '2018-06-06 19:25:54'),
(17, 163, 3, 2, '1000.00', '2000.00', 1, '2018-07-16 16:00:55'),
(31, 166, 2, 3, '450.00', '650.00', 1, '2018-07-18 17:52:22'),
(17, 167, 13, 1, '4000.00', '8000.00', 1, '2018-07-19 14:11:37'),
(39, 168, 9, 1, '800.00', '1515.00', 1, '2018-07-31 17:25:29'),
(39, 169, 15, 1, '7000.00', '15150.00', 1, '2018-07-31 17:25:29'),
(39, 170, 40, 2, '1000.00', '2588.13', 1, '2018-07-31 17:25:29'),
(39, 171, 50, 1, '1500.00', '3080.50', 1, '2018-07-31 17:25:29'),
(39, 172, 60, 75, '120.00', '146.45', 1, '2018-07-31 17:25:29'),
(39, 173, 70, 50, '110.00', '146.45', 1, '2018-07-31 17:25:29'),
(39, 174, 80, 15, '100.00', '126.25', 1, '2018-07-31 17:25:29'),
(39, 175, 90, 1, '2000.00', '4545.00', 1, '2018-07-31 17:25:29'),
(39, 176, 100, 10, '100.00', '303.00', 1, '2018-07-31 17:25:29'),
(39, 177, 120, 200, '10.00', '25.25', 1, '2018-07-31 17:25:29'),
(39, 178, 130, 35, '800.00', '1100.00', 1, '2018-07-31 17:25:29'),
(39, 179, 140, 12, '400.00', '606.00', 1, '2018-07-31 17:25:29'),
(39, 180, 150, 7, '1000.00', '3030.00', 1, '2018-07-31 17:25:29'),
(39, 181, 170, 2, '1000.00', '2525.00', 1, '2018-07-31 17:25:29'),
(39, 182, 180, 1, '3000.00', '6565.00', 1, '2018-07-31 17:25:29'),
(39, 183, 190, 220, '10.00', '25.25', 1, '2018-07-31 17:25:29'),
(39, 184, 200, 220, '15.00', '35.35', 1, '2018-07-31 17:25:29'),
(39, 185, 210, 220, '0.00', '55.00', 1, '2018-07-31 17:25:29'),
(39, 186, 220, 34, '0.00', '200.00', 1, '2018-07-31 17:25:29'),
(39, 187, 230, 250, '0.00', '1200.00', 1, '2018-07-31 17:25:29'),
(39, 188, 240, 88, '0.00', '501.30', 1, '2018-07-31 17:25:29'),
(39, 189, 250, 200, '0.00', '448.00', 1, '2018-07-31 17:25:29'),
(39, 190, 260, 1, '0.00', '1650.00', 1, '2018-07-31 17:25:29'),
(39, 191, 270, 1, '0.00', '2500.00', 1, '2018-07-31 17:25:29'),
(39, 192, 3, 2, '1000.00', '2020.00', 1, '2018-07-31 17:25:29'),
(39, 193, 13, 1, '4000.00', '5000.01', 1, '2018-07-31 17:25:29');

-- --------------------------------------------------------

--
-- Table structure for table `time_and_attendance`
--

CREATE TABLE `time_and_attendance` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `job_id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `logged_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `in_out` tinyint(1) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `time_and_attendance`
--

INSERT INTO `time_and_attendance` (`id`, `client_id`, `job_id`, `employee_id`, `logged_time`, `in_out`, `updated_by`, `updated_on`) VALUES
(5, 1, 2, 2, '2018-07-20 07:30:00', 1, 1, '2018-08-10 16:19:58'),
(7, 1, 2, 2, '2018-07-20 14:30:00', 0, 1, '2018-07-20 20:04:27'),
(10, 1, 2, 2, '2018-07-19 06:30:00', 1, 1, '2018-07-20 20:05:40'),
(11, 1, 2, 2, '2018-07-19 14:00:00', 0, 1, '2018-08-10 16:19:51'),
(13, 1, 2, 2, '2018-07-20 21:00:00', 1, 1, '2018-08-10 16:20:05'),
(14, 1, 2, 2, '2018-07-17 11:15:00', 1, 1, '2018-08-10 16:15:49'),
(15, 1, 2, 3, '2018-07-16 06:30:00', 1, 1, '2018-07-23 16:46:25'),
(16, 1, 2, 3, '2018-07-16 10:00:00', 0, 1, '2018-08-10 12:03:28'),
(17, 1, 2, 2, '2018-07-23 05:00:00', 1, 1, '2018-08-10 16:43:11'),
(18, 1, 2, 2, '2018-07-23 16:23:00', 0, 1, '2018-08-03 13:13:18'),
(19, 1, 2, 2, '2018-07-24 05:12:00', 1, 1, '2018-08-03 13:18:34'),
(20, 1, 2, 2, '2018-07-24 15:34:00', 0, 1, '2018-08-03 13:18:34'),
(21, 1, 2, 2, '2018-07-25 05:18:00', 1, 1, '2018-08-10 12:08:17'),
(22, 1, 2, 2, '2018-07-25 10:21:00', 0, 1, '2018-08-10 11:59:04'),
(23, 1, 2, 2, '2018-07-25 10:44:00', 1, 1, '2018-08-10 11:58:23'),
(24, 1, 2, 2, '2018-07-25 11:30:00', 0, 1, '2018-08-03 13:25:25'),
(25, 1, 2, 2, '2018-07-25 11:49:00', 1, 1, '2018-08-10 09:40:28'),
(28, 1, 2, 2, '2018-07-25 13:57:00', 0, 1, '2018-08-10 11:21:32'),
(31, 1, 2, 3, '2018-08-13 11:00:00', 1, 1, '2018-08-10 12:02:54'),
(32, 1, 2, 3, '2018-08-13 10:30:00', 0, 1, '2018-08-06 07:33:35'),
(33, 1, 2, 3, '2018-07-16 10:30:00', 1, 1, '2018-08-10 12:01:56'),
(34, 1, 2, 3, '2018-07-16 15:34:00', 0, 1, '2018-08-06 09:05:13'),
(35, 1, 2, 2, '2018-07-17 14:30:00', 0, 1, '2018-08-08 13:17:25'),
(36, 1, 2, 2, '2018-07-16 05:00:00', 1, 1, '2018-08-10 16:15:24'),
(37, 1, 2, 2, '2018-07-16 15:30:00', 0, 1, '2018-08-08 13:18:48'),
(38, 1, 2, 2, '2018-07-16 21:00:00', 1, 1, '2018-08-10 16:17:19'),
(39, 1, 2, 2, '2018-07-17 04:30:00', 0, 1, '2018-08-08 13:20:01'),
(40, 1, 3, 3, '2018-07-17 05:14:00', 1, 1, '2018-08-10 17:00:07'),
(41, 1, 3, 3, '2018-07-17 15:32:00', 0, 1, '2018-08-10 12:04:33'),
(42, 1, 2, 2, '2018-07-26 06:02:00', 1, 1, '2018-08-10 12:20:36'),
(43, 1, 2, 2, '2018-07-26 15:21:00', 0, 1, '2018-08-10 12:20:36'),
(44, 1, 2, 2, '2018-07-18 07:30:00', 1, 1, '2018-08-10 16:17:58'),
(45, 1, 2, 2, '2018-07-18 15:30:00', 0, 1, '2018-08-10 16:55:02'),
(47, 1, 2, 2, '2018-07-21 01:30:00', 0, 1, '2018-08-10 16:17:35'),
(48, 1, 2, 2, '2018-07-19 13:00:00', 1, 1, '2018-08-10 16:19:28'),
(49, 1, 2, 2, '2018-07-19 10:00:00', 0, 1, '2018-08-10 16:19:34'),
(50, 1, 2, 3, '2018-07-18 06:30:00', 1, 1, '2018-08-10 16:59:51'),
(51, 1, 2, 3, '2018-07-18 15:30:00', 0, 1, '2018-08-10 16:59:51');

-- --------------------------------------------------------

--
-- Table structure for table `unit_of_measure`
--

CREATE TABLE `unit_of_measure` (
  `id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `uom_id` int(3) NOT NULL,
  `abbreviation` varchar(50) NOT NULL,
  `description` varchar(255) NOT NULL,
  `formula` varchar(255) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `unit_of_measure`
--

INSERT INTO `unit_of_measure` (`id`, `client_id`, `uom_id`, `abbreviation`, `description`, `formula`, `updated_by`, `updated_on`) VALUES
(1, 1, 10, 'sqm', 'Square Metre', 'm*m', 18, '2018-05-14 06:40:33'),
(2, 1, 20, 'LM', 'Linear Meter', 'm', 18, '2018-05-14 06:40:40'),
(3, 1, 30, 'm', 'meter', 'm', 18, '2018-05-14 06:40:46'),
(4, 1, 40, 'm3', 'Cubic metre', 'l*w*h', 18, '2018-05-14 06:40:53'),
(5, 1, 50, 'fixed', 'Fixed Cost', '', 18, '2018-05-14 06:40:59'),
(6, 1, 60, 'PC', 'Prime Cost Item', 'Variable', 18, '2018-05-14 06:41:06'),
(7, 1, 25, 'PS', 'Provisional Sum', 'Variable', 18, '2018-05-14 06:41:11'),
(9, 4, 10, 'sqm', 'Square Metre', 'm * m', 18, '2018-05-14 06:45:23'),
(10, 1, 70, 'mm', 'Milimetre', 'mm', 1, '2018-05-14 08:52:14'),
(11, 1, 80, 'Item', 'Item', 'ea', 20, '2018-07-04 15:47:08'),
(12, 1, 90, 'Qty', 'Quantity', '1', 20, '2018-07-04 15:48:03'),
(13, 1, 100, 'ea', 'Each', '1', 20, '2018-07-04 15:49:40');

-- --------------------------------------------------------

--
-- Table structure for table `user`
--

CREATE TABLE `user` (
  `user_id` int(3) NOT NULL,
  `client_id` int(11) NOT NULL,
  `status_id` int(3) NOT NULL,
  `name` varchar(25) NOT NULL,
  `surname` varchar(25) NOT NULL,
  `email_address` varchar(256) NOT NULL,
  `password` varbinary(160) NOT NULL,
  `user_type` int(3) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `user`
--

INSERT INTO `user` (`user_id`, `client_id`, `status_id`, `name`, `surname`, `email_address`, `password`, `user_type`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 'Francois', 'Oosthuizen', 'fjofrancois@gmail.com', 0xaebcabe07e1d0d20198b287d219dff1d, 11, 1, '2018-05-10 12:01:45'),
(17, 3, 1, 'Terliana', 'Wessels', 'production@houseofmaria.com', 0x07ccb7bdd595e03598400873575c9adc, 9, 1, '2018-04-14 11:29:04'),
(18, 4, 1, 'Frans', 'Oosthuizen', 'francois@obsystems.co.za', 0xc2457b7537fe578b4d6e0df3c89205ad, 11, 1, '2018-05-10 11:28:21'),
(19, 0, 1, 'Morne', 'Gerber', 'francois@houseofmaria.com', 0x07ccb7bdd595e03598400873575c9adc, 1, 1, '2018-05-31 10:05:25'),
(20, 1, 1, 'Morne', 'Gerber', 'francois@houseofmaria.com', 0x07ccb7bdd595e03598400873575c9adc, 1, 20, '2018-05-31 15:03:25');

-- --------------------------------------------------------

--
-- Table structure for table `user_access`
--

CREATE TABLE `user_access` (
  `id` int(5) NOT NULL,
  `client_id` int(11) NOT NULL,
  `user_type_id` int(3) NOT NULL,
  `section_id` int(3) NOT NULL,
  `access_level` char(5) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `user_access`
--

INSERT INTO `user_access` (`id`, `client_id`, `user_type_id`, `section_id`, `access_level`, `updated_by`, `updated_on`) VALUES
(2, 4, 1, 2, '10000', 1, '2018-04-23 06:15:53'),
(4, 1, 1, 4, '10000', 18, '2018-05-11 08:27:13'),
(5, 1, 1, 5, '10010', 18, '2018-05-11 08:26:55'),
(9, 1, 1, 6, '10010', 18, '2018-05-11 08:27:05'),
(10, 4, 1, 7, '10010', 1, '2018-04-19 10:40:30'),
(11, 4, 1, 8, '10000', 1, '2018-04-23 06:15:44'),
(12, 4, 1, 9, '10100', 1, '2018-04-19 10:27:34'),
(13, 0, 1, 10, '10000', 1, '2018-04-23 06:15:34'),
(14, 0, 1, 11, '10000', 1, '2018-04-23 06:15:26'),
(15, 0, 1, 12, '10010', 1, '2018-05-04 14:22:30'),
(17, 1, 10, 1, '00100', 18, '2018-05-11 08:27:42'),
(29, 0, 10, 2, '01011', 1, '2018-04-16 09:08:32'),
(30, 1, 1, 14, '10000', 18, '2018-05-11 08:26:43'),
(31, 0, 1, 15, '10000', 1, '2018-04-23 06:14:44'),
(33, 1, 9, 4, '00100', 18, '2018-05-11 08:27:22'),
(35, 0, 9, 7, '01110', 0, '2018-04-16 14:17:04'),
(36, 0, 9, 9, '01110', 0, '2018-04-16 14:17:21'),
(37, 0, 9, 10, '01110', 0, '2018-04-16 14:17:35'),
(38, 0, 9, 11, '00100', 0, '2018-04-16 14:17:47'),
(39, 0, 9, 12, '00010', 1, '2018-05-04 12:15:22'),
(41, 0, 9, 2, '00000', 1, '2018-04-23 11:14:37'),
(46, 0, 9, 8, '01100', 1, '2018-04-23 11:14:15'),
(52, 0, 9, 13, '01111', 17, '2018-04-17 08:36:19'),
(54, 0, 9, 15, '10000', 17, '2018-04-17 08:36:34'),
(55, 0, 1, 13, '10000', 1, '2018-04-23 06:15:06'),
(56, 0, 1, 16, '10000', 1, '2018-04-19 07:15:24'),
(57, 0, 1, 17, '00101', 1, '2018-04-19 10:51:59'),
(58, 1, 1, 1, '10000', 18, '2018-05-11 08:26:14'),
(59, 1, 1, 18, '10000', 18, '2018-05-11 08:25:27'),
(60, 1, 1, 19, '10000', 18, '2018-05-11 08:25:38'),
(61, 1, 1, 20, '10000', 18, '2018-05-11 08:26:33'),
(62, 1, 1, 21, '10000', 18, '2018-05-11 08:26:21'),
(65, 4, 11, 4, '10000', 18, '2018-05-11 08:29:44'),
(66, 4, 11, 6, '10000', 18, '2018-05-11 08:29:34'),
(67, 4, 11, 5, '10000', 18, '2018-05-11 08:29:25'),
(69, 4, 11, 1, '10000', 18, '2018-05-11 11:52:47'),
(70, 4, 11, 23, '10000', 18, '2018-05-11 08:28:23'),
(71, 4, 11, 22, '10000', 18, '2018-05-11 08:27:54'),
(72, 4, 11, 25, '10000', 18, '2018-05-11 08:28:34'),
(75, 4, 11, 28, '10000', 18, '2018-05-11 11:56:57'),
(90, 1, 11, 14, '10000', 18, '2018-05-11 16:16:58'),
(94, 1, 11, 20, '10000', 1, '2018-05-14 08:46:36'),
(95, 1, 11, 21, '10000', 1, '2018-05-14 09:49:11'),
(96, 1, 11, 19, '10000', 1, '2018-05-15 06:37:48'),
(97, 4, 11, 42, '10000', 18, '2018-05-17 06:57:49'),
(98, 1, 11, 43, '10000', 1, '2018-05-20 08:44:12'),
(99, 1, 11, 18, '10000', 1, '2018-05-23 08:52:19'),
(100, 1, 11, 44, '10000', 1, '2018-05-28 13:21:00'),
(101, 1, 11, 45, '10000', 1, '2018-05-28 21:53:13'),
(102, 1, 11, 46, '10000', 1, '2018-05-29 08:52:03'),
(103, 1, 11, 47, '10000', 1, '2018-05-29 21:03:57'),
(104, 1, 1, 47, '10000', 19, '2018-05-31 11:27:13'),
(105, 1, 1, 22, '10000', 19, '2018-05-31 11:27:58'),
(106, 1, 1, 45, '10000', 20, '2018-05-31 15:06:04'),
(107, 1, 1, 43, '10000', 20, '2018-05-31 15:10:11'),
(111, 1, 11, 48, '10000', 1, '2018-06-06 17:51:00'),
(113, 1, 11, 49, '10000', 1, '2018-06-21 16:08:11'),
(114, 1, 11, 50, '10000', 1, '2018-06-21 21:45:22'),
(115, 1, 11, 51, '10000', 1, '2018-06-22 07:25:48'),
(116, 1, 11, 52, '10000', 1, '2018-06-22 07:26:01'),
(117, 1, 11, 41, '10000', 1, '2018-07-12 09:26:45'),
(118, 1, 11, 53, '10000', 1, '2018-07-12 09:30:43'),
(119, 1, 11, 54, '10000', 1, '2018-07-17 13:03:13'),
(120, 1, 11, 55, '10000', 1, '2018-07-18 11:57:15'),
(121, 1, 11, 57, '10000', 1, '2018-07-18 12:53:32'),
(122, 1, 11, 58, '10000', 1, '2018-07-18 12:53:45'),
(123, 1, 11, 56, '10000', 1, '2018-07-18 12:54:09'),
(124, 1, 11, 59, '10000', 1, '2018-07-26 07:03:37'),
(125, 1, 11, 60, '10000', 1, '2018-07-30 07:07:34'),
(126, 1, 11, 61, '10000', 1, '2018-08-01 07:32:54');

-- --------------------------------------------------------

--
-- Table structure for table `user_status`
--

CREATE TABLE `user_status` (
  `id` int(3) NOT NULL,
  `description` varchar(50) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `user_status`
--

INSERT INTO `user_status` (`id`, `description`, `updated_by`, `updated_on`) VALUES
(1, 'active', 1, '2018-04-09 12:27:23'),
(2, 'inactive', 1, '2018-04-09 12:27:54');

-- --------------------------------------------------------

--
-- Table structure for table `user_type`
--

CREATE TABLE `user_type` (
  `user_type_id` int(3) NOT NULL,
  `user_type_description` varchar(50) NOT NULL,
  `updated_by` int(3) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `user_type`
--

INSERT INTO `user_type` (`user_type_id`, `user_type_description`, `updated_by`, `updated_on`) VALUES
(1, 'Admin', 1, '2018-04-12 08:50:44'),
(9, 'Manager', 1, '2018-04-14 11:26:23'),
(10, 'Operator', 1, '2018-04-14 11:27:37'),
(11, 'Super', 1, '2018-05-10 06:43:25');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `address`
--
ALTER TABLE `address`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_address_client_address_id_address_type` (`client_id`,`address_id`,`address_type`),
  ADD KEY `fk_address_type` (`client_id`,`address_type`);

--
-- Indexes for table `address_type`
--
ALTER TABLE `address_type`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_addr_type_client_address_type_id` (`client_id`,`address_type_id`);

--
-- Indexes for table `bank_detail`
--
ALTER TABLE `bank_detail`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `bill_of_quantities`
--
ALTER TABLE `bill_of_quantities`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_bill_of_quantities_client_id_cat_id_sub_cat_id_bil_of_qty_id` (`client_id`,`category_id`,`sub_category_id`,`bill_of_qty_id`);

--
-- Indexes for table `boq_categories`
--
ALTER TABLE `boq_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_boq_category_client_id_category_id` (`client_id`,`category_id`);

--
-- Indexes for table `category_notes`
--
ALTER TABLE `category_notes`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_category_notes_client_id_category_id_category_line_id` (`client_id`,`category_id`,`category_line_id`);

--
-- Indexes for table `client`
--
ALTER TABLE `client`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_client_type_id` (`client_type_id`);

--
-- Indexes for table `client_type`
--
ALTER TABLE `client_type`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `comment`
--
ALTER TABLE `comment`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `completed_project`
--
ALTER TABLE `completed_project`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `contact`
--
ALTER TABLE `contact`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_contact_client_contact` (`client_id`,`contact_id`),
  ADD KEY `fk_contact_contact_type` (`client_id`,`contact_type`);

--
-- Indexes for table `contact_type`
--
ALTER TABLE `contact_type`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_contact_type_client_id_contact_type_id_desc` (`client_id`,`contact_type_id`,`description`) USING BTREE;

--
-- Indexes for table `customer`
--
ALTER TABLE `customer`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_customer_client_id_name` (`client_id`,`name`),
  ADD KEY `fk_customer_address` (`client_id`,`address_id`),
  ADD KEY `fk_customer_template` (`client_id`,`preferred_template_id`),
  ADD KEY `fk_customer_contact` (`client_id`,`preferred_contact_id`),
  ADD KEY `fk_cust_cust_type` (`client_id`,`customer_type_id`);

--
-- Indexes for table `customer_type`
--
ALTER TABLE `customer_type`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_cust_type_client_id_cust_type_id_desc` (`client_id`,`customer_type_id`,`description`) USING BTREE;

--
-- Indexes for table `db_user`
--
ALTER TABLE `db_user`
  ADD PRIMARY KEY (`user_id`);

--
-- Indexes for table `employee`
--
ALTER TABLE `employee`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `employee_type`
--
ALTER TABLE `employee_type`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `footer_note`
--
ALTER TABLE `footer_note`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_footer_note_client_id_footer_note_id_footer_note_line_no` (`client_id`,`footer_note_id`,`footer_note_line_no`);

--
-- Indexes for table `header_note`
--
ALTER TABLE `header_note`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_header_note_client_id_customer_id_job_id` (`client_id`,`customer_id`,`job_id`);

--
-- Indexes for table `job`
--
ALTER TABLE `job`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `job_comment`
--
ALTER TABLE `job_comment`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_job_comment_client_id_customer_id_job_id` (`client_id`,`customer_id`,`job_id`);

--
-- Indexes for table `job_note`
--
ALTER TABLE `job_note`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_job_note_client_customer_job` (`client_id`,`customer_id`,`job_id`);

--
-- Indexes for table `payment_terms`
--
ALTER TABLE `payment_terms`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_payment_terms_client_id_customer_id_job_id` (`client_id`,`customer_id`,`job_id`);

--
-- Indexes for table `quote`
--
ALTER TABLE `quote`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_quote_client_id_customer_id_quote_no_revision_id` (`client_id`,`customer_id`,`quote_no`,`revision`) USING BTREE,
  ADD KEY `fk_status` (`client_id`,`status_id`);

--
-- Indexes for table `quote_cfg`
--
ALTER TABLE `quote_cfg`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `quote_line`
--
ALTER TABLE `quote_line`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_quote_line_quote_id_id` (`quote_id`,`id`);

--
-- Indexes for table `quote_status`
--
ALTER TABLE `quote_status`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_quote_status_client_status` (`client_id`,`quote_status_id`);

--
-- Indexes for table `sections`
--
ALTER TABLE `sections`
  ADD PRIMARY KEY (`section_id`),
  ADD UNIQUE KEY `idx_sections_client_id_section_id` (`client_id`,`section_id`) USING BTREE;

--
-- Indexes for table `section_status`
--
ALTER TABLE `section_status`
  ADD PRIMARY KEY (`section_status_id`);

--
-- Indexes for table `sub_category`
--
ALTER TABLE `sub_category`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_sub_category_client_id_category_id_sub_category_id` (`client_id`,`category_id`,`sub_category_id`) USING BTREE;

--
-- Indexes for table `template`
--
ALTER TABLE `template`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_template_client_id` (`client_id`,`id`);

--
-- Indexes for table `template_line`
--
ALTER TABLE `template_line`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_template_line_template_id_id` (`template_id`,`id`);

--
-- Indexes for table `time_and_attendance`
--
ALTER TABLE `time_and_attendance`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_time_and_attandance_client_id_employee_id_logged_time` (`client_id`,`employee_id`,`logged_time`);

--
-- Indexes for table `unit_of_measure`
--
ALTER TABLE `unit_of_measure`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_uom_client_id_uom_id` (`client_id`,`uom_id`);

--
-- Indexes for table `user`
--
ALTER TABLE `user`
  ADD PRIMARY KEY (`user_id`);

--
-- Indexes for table `user_access`
--
ALTER TABLE `user_access`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `idx_user_access_client_id_user_type_id_section_id` (`client_id`,`user_type_id`,`section_id`) USING BTREE;

--
-- Indexes for table `user_status`
--
ALTER TABLE `user_status`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user_type`
--
ALTER TABLE `user_type`
  ADD PRIMARY KEY (`user_type_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `address`
--
ALTER TABLE `address`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `address_type`
--
ALTER TABLE `address_type`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `bank_detail`
--
ALTER TABLE `bank_detail`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `bill_of_quantities`
--
ALTER TABLE `bill_of_quantities`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=214;

--
-- AUTO_INCREMENT for table `boq_categories`
--
ALTER TABLE `boq_categories`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `category_notes`
--
ALTER TABLE `category_notes`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `client`
--
ALTER TABLE `client`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `client_type`
--
ALTER TABLE `client_type`
  MODIFY `id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `comment`
--
ALTER TABLE `comment`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `completed_project`
--
ALTER TABLE `completed_project`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `contact`
--
ALTER TABLE `contact`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47;

--
-- AUTO_INCREMENT for table `contact_type`
--
ALTER TABLE `contact_type`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `customer`
--
ALTER TABLE `customer`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47;

--
-- AUTO_INCREMENT for table `customer_type`
--
ALTER TABLE `customer_type`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `db_user`
--
ALTER TABLE `db_user`
  MODIFY `user_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `employee`
--
ALTER TABLE `employee`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `employee_type`
--
ALTER TABLE `employee_type`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `footer_note`
--
ALTER TABLE `footer_note`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `header_note`
--
ALTER TABLE `header_note`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT for table `job`
--
ALTER TABLE `job`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=65;

--
-- AUTO_INCREMENT for table `job_comment`
--
ALTER TABLE `job_comment`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `job_note`
--
ALTER TABLE `job_note`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;

--
-- AUTO_INCREMENT for table `payment_terms`
--
ALTER TABLE `payment_terms`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `quote`
--
ALTER TABLE `quote`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=142;

--
-- AUTO_INCREMENT for table `quote_cfg`
--
ALTER TABLE `quote_cfg`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `quote_line`
--
ALTER TABLE `quote_line`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1321;

--
-- AUTO_INCREMENT for table `quote_status`
--
ALTER TABLE `quote_status`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `sections`
--
ALTER TABLE `sections`
  MODIFY `section_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=62;

--
-- AUTO_INCREMENT for table `section_status`
--
ALTER TABLE `section_status`
  MODIFY `section_status_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `sub_category`
--
ALTER TABLE `sub_category`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT for table `template`
--
ALTER TABLE `template`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=40;

--
-- AUTO_INCREMENT for table `template_line`
--
ALTER TABLE `template_line`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=194;

--
-- AUTO_INCREMENT for table `time_and_attendance`
--
ALTER TABLE `time_and_attendance`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=52;

--
-- AUTO_INCREMENT for table `unit_of_measure`
--
ALTER TABLE `unit_of_measure`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
  MODIFY `user_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- AUTO_INCREMENT for table `user_access`
--
ALTER TABLE `user_access`
  MODIFY `id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=127;

--
-- AUTO_INCREMENT for table `user_status`
--
ALTER TABLE `user_status`
  MODIFY `id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `user_type`
--
ALTER TABLE `user_type`
  MODIFY `user_type_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `address`
--
ALTER TABLE `address`
  ADD CONSTRAINT `fk_address_client` FOREIGN KEY (`client_id`) REFERENCES `client` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_address_type` FOREIGN KEY (`client_id`,`address_type`) REFERENCES `address_type` (`client_id`, `address_type_id`) ON UPDATE CASCADE;

--
-- Constraints for table `address_type`
--
ALTER TABLE `address_type`
  ADD CONSTRAINT `fk_address_type_client` FOREIGN KEY (`client_id`) REFERENCES `client` (`id`) ON UPDATE CASCADE;

--
-- Constraints for table `bill_of_quantities`
--
ALTER TABLE `bill_of_quantities`
  ADD CONSTRAINT `fk_boq_sub_category` FOREIGN KEY (`client_id`,`category_id`,`sub_category_id`) REFERENCES `sub_category` (`client_id`, `category_id`, `sub_category_id`) ON UPDATE CASCADE;

--
-- Constraints for table `category_notes`
--
ALTER TABLE `category_notes`
  ADD CONSTRAINT `fk_cat_notes_category` FOREIGN KEY (`client_id`,`category_id`) REFERENCES `boq_categories` (`client_id`, `category_id`) ON UPDATE CASCADE;

--
-- Constraints for table `contact`
--
ALTER TABLE `contact`
  ADD CONSTRAINT `fk_contact_client` FOREIGN KEY (`client_id`) REFERENCES `client` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_contact_contact_type` FOREIGN KEY (`client_id`,`contact_type`) REFERENCES `contact_type` (`client_id`, `contact_type_id`) ON UPDATE CASCADE;

--
-- Constraints for table `contact_type`
--
ALTER TABLE `contact_type`
  ADD CONSTRAINT `fk_contact_type_client` FOREIGN KEY (`client_id`) REFERENCES `client` (`id`) ON UPDATE CASCADE;

--
-- Constraints for table `customer`
--
ALTER TABLE `customer`
  ADD CONSTRAINT `fk_cust_cust_type` FOREIGN KEY (`client_id`,`customer_type_id`) REFERENCES `customer_type` (`client_id`, `customer_type_id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_customer_client` FOREIGN KEY (`client_id`) REFERENCES `client` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_customer_template` FOREIGN KEY (`client_id`,`preferred_template_id`) REFERENCES `template` (`client_id`, `id`) ON UPDATE CASCADE;

--
-- Constraints for table `quote`
--
ALTER TABLE `quote`
  ADD CONSTRAINT `fk_status` FOREIGN KEY (`client_id`,`status_id`) REFERENCES `quote_status` (`client_id`, `quote_status_id`) ON UPDATE CASCADE;

--
-- Constraints for table `quote_status`
--
ALTER TABLE `quote_status`
  ADD CONSTRAINT `fk_client` FOREIGN KEY (`client_id`) REFERENCES `client` (`id`) ON UPDATE CASCADE;

--
-- Constraints for table `sub_category`
--
ALTER TABLE `sub_category`
  ADD CONSTRAINT `FK_sub_category_boq_categories` FOREIGN KEY (`client_id`,`category_id`) REFERENCES `boq_categories` (`client_id`, `category_id`) ON UPDATE CASCADE;

--
-- Constraints for table `template_line`
--
ALTER TABLE `template_line`
  ADD CONSTRAINT `fk_template_line_template` FOREIGN KEY (`template_id`) REFERENCES `template` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
