-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `leftexty_pos`
--

DELIMITER $$
--
-- Functions
--
CREATE DEFINER=`root`@`localhost` FUNCTION `getAccountName` (`_id` INT, `_table_name` VARCHAR(255)) RETURNS VARCHAR(255) CHARSET utf8 NO SQL
BEGIN
            DECLARE GVALUE VARCHAR(60) CHARACTER SET utf8;
        	SELECT `bank_name`
        	INTO GVALUE
        	FROM `bank_account_profiles`
        	WHERE (`id` = _id);
        	RETURN GVALUE;
        END$$

DELIMITER ;

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

--
-- Table structure for table `account_details`
--

CREATE TABLE `account_details` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `ad_id` bigint(20) DEFAULT NULL,
  `ad_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ad_code_manual` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'manual code input by user which connected other software',
  `parent_id` int(11) DEFAULT NULL,
  `ad_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ad_address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ad_al2_id` bigint(20) DEFAULT NULL,
  `ad_code_id` bigint(20) DEFAULT NULL,
  `ad_flag` bigint(20) DEFAULT NULL,
  `is_receive_account` bigint(20) NOT NULL DEFAULT 0 COMMENT 'not receveable =0,receveable=1',
  `ad_mem_flg` bigint(20) DEFAULT NULL,
  `ad_ref_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ad_ref_cell_no` bigint(20) DEFAULT NULL,
  `ad_delivery_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ad_credit_limit` bigint(20) DEFAULT NULL,
  `ad_cust_type` bigint(20) NOT NULL DEFAULT 0 COMMENT 'credit=0,cash=1,cash/credit=2',
  `ad_td_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ad_mm_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ad_cust_code` bigint(20) DEFAULT NULL,
  `branch_id` bigint(20) DEFAULT NULL,
  `ad_target_qty` bigint(20) DEFAULT NULL,
  `ad_bin_nid_no` bigint(20) DEFAULT NULL,
  `ad_email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ad_nbr_list_type` int(11) NOT NULL DEFAULT 1 COMMENT 'type check by nbr list 1=register,2=non-register,3=listed',
  `ad_eff_date` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'created action by an user',
  `updated_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'updated action by an user',
  `permited_user` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'permited user id ',
  `status` tinyint(4) NOT NULL DEFAULT 1 COMMENT 'status 1 for active 0 for inactive',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `account_details`
--

INSERT INTO `account_details` (`id`, `ad_id`, `ad_code`, `ad_code_manual`, `parent_id`, `ad_name`, `name`, `address`, `phone`, `description`, `ad_address`, `ad_al2_id`, `ad_code_id`, `ad_flag`, `is_receive_account`, `ad_mem_flg`, `ad_ref_name`, `ad_ref_cell_no`, `ad_delivery_address`, `ad_credit_limit`, `ad_cust_type`, `ad_td_id`, `ad_mm_id`, `ad_cust_code`, `branch_id`, `ad_target_qty`, `ad_bin_nid_no`, `ad_email`, `ad_nbr_list_type`, `ad_eff_date`, `created_by`, `updated_by`, `permited_user`, `status`, `created_at`, `updated_at`) VALUES
(1, NULL, '1001', NULL, NULL, 'Cash and cash equivalents', 'Cash and cash equivalents', 'N/A', 'N/A', NULL, 'N/A', 13, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:26:13', '2021-01-01 13:26:13'),
(2, NULL, '1002', NULL, NULL, 'Cash on hand', 'Cash on hand', 'N/A', 'N/A', NULL, 'N/A', 14, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:26:59', '2021-01-01 13:26:59'),
(3, NULL, '1003', NULL, NULL, 'Bank', 'Bank', 'N/A', 'N/A', NULL, 'N/A', 13, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:27:51', '2021-01-01 13:27:51'),
(4, NULL, '1003', NULL, NULL, 'Client trust account', 'Client trust account', 'N/A', 'N/A', NULL, 'N/A', 15, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:28:26', '2021-01-01 13:28:26'),
(5, NULL, '1004', NULL, NULL, 'Cost of Goods Sold - COS', 'Cost of Goods Sold - COS', 'N/A', 'N/A', NULL, 'N/A', 86, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:37:25', '2021-01-01 13:37:25'),
(6, NULL, '1005', NULL, NULL, 'Inventory', 'Inventory', 'N/A', 'M/A', NULL, 'N/A', 6, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:38:15', '2021-01-01 13:38:15'),
(7, NULL, '1006', NULL, NULL, 'Opening Adjustment Account', 'Opening Adjustment Account', 'N/A', 'N/A', NULL, 'N/A', 122, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:41:53', '2021-01-01 13:41:53'),
(8, NULL, '1007', NULL, NULL, 'Sales', 'Sales', 'N/A', 'N/A', NULL, 'N/A', 68, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:44:17', '2021-01-01 13:44:17'),
(9, NULL, '1008', NULL, NULL, 'Sales discount', 'Sales discount', 'N/A', 'N/A', NULL, 'N/A', 123, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:54:19', '2021-01-01 13:54:19'),
(10, NULL, '1009', NULL, NULL, 'Vat Payable', 'Vat Payable', 'N/A', 'N/A', NULL, 'N/A', 124, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:57:51', '2021-01-01 13:57:51'),
(11, NULL, '1010', NULL, NULL, 'Vat Expense', 'Vat Expense', 'N/A', 'N/A', NULL, 'N/A', 125, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:58:28', '2021-01-01 13:58:28'),
(12, NULL, '1011', NULL, NULL, 'Walking Customer', 'Walking Customer', 'N/A', 'N/A', NULL, 'N/A', 1, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 14:03:12', '2021-01-01 14:03:12'),
(13, NULL, '1012', NULL, NULL, 'Unknown Supplier', 'Unknown Supplier', 'N/A', 'N/A', NULL, 'N/A', 40, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-01 14:04:38', '2021-01-01 14:04:38'),
(14, NULL, '5001', NULL, NULL, 'Vat input Account', 'Vat input Account', 'N/A', 'N/A', NULL, 'N/A', 126, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-03 19:31:55', '2021-01-03 19:31:55'),
(15, NULL, '2001', NULL, NULL, 'Sales Return', 'Sales Return', 'N/A', 'N/A', NULL, 'N/A', 68, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-13 19:25:51', '2021-01-13 19:25:51'),
(16, NULL, '4001', NULL, NULL, 'Purchase discount', 'Purchase discount', 'N/A', 'N/A', NULL, 'N/A', 79, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 1, '2021-01-15 13:38:10', '2021-01-15 13:38:10');

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

--
-- Table structure for table `account_heads`
--

CREATE TABLE `account_heads` (
  `id` bigint(20) UNSIGNED NOT NULL COMMENT 'auto increment id',
  `ah_id` bigint(20) NOT NULL COMMENT 'account head id',
  `ah_code` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'account head short code',
  `ah_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'account head name',
  `created_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'created action by an user',
  `updated_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'updated action by an user',
  `permited_user` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'permited user id ',
  `status` tinyint(4) NOT NULL DEFAULT 1 COMMENT 'status 1 for active 0 for inactive',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `account_heads`
--

INSERT INTO `account_heads` (`id`, `ah_id`, `ah_code`, `ah_name`, `created_by`, `updated_by`, `permited_user`, `status`, `created_at`, `updated_at`) VALUES
(1, 1, '01', 'Assets', NULL, NULL, NULL, 1, NULL, '2020-12-30 19:07:44'),
(2, 2, '02', 'Liabilities', NULL, NULL, NULL, 1, NULL, NULL),
(3, 3, '03', 'Income', NULL, NULL, NULL, 1, NULL, NULL),
(4, 4, '04', 'Expenses', NULL, NULL, NULL, 1, NULL, NULL),
(5, 5, '05', 'Capital', NULL, NULL, NULL, 1, NULL, NULL);

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

--
-- Table structure for table `account_ledgers`
--

CREATE TABLE `account_ledgers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `lg_id` bigint(20) DEFAULT NULL,
  `branch_id` int(11) DEFAULT NULL,
  `lg_voucher_date` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_voucher_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_particulars` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_ad_id` bigint(20) DEFAULT NULL,
  `lg_dr_amt` double(18,6) DEFAULT NULL,
  `lg_cr_amt` double(18,6) DEFAULT NULL,
  `lg_rollback_id` bigint(20) DEFAULT NULL,
  `lg_cid_id` bigint(20) DEFAULT NULL,
  `lg_data_flag` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_chq_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_chq_date` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_voucher_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_usr` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_naration` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_bill_ref` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_proj_id` bigint(20) DEFAULT NULL,
  `lg_trans_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_vd_sm_id` bigint(20) DEFAULT NULL,
  `lg_vd_id_item_id` bigint(20) DEFAULT NULL,
  `lg_vd_sd_id` bigint(20) DEFAULT NULL,
  `lg_vd_rm_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_inv` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_lc_mr` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lg_sm_inv_type` bigint(20) DEFAULT NULL COMMENT '0=invoice, 1=sample invoice',
  `lg_mm_id` bigint(20) DEFAULT NULL,
  `lg_td_id` bigint(20) DEFAULT NULL,
  `lg_bm_id` bigint(20) DEFAULT NULL,
  `created_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'created action by an user',
  `updated_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'updated action by an user',
  `permited_user` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'permited user id ',
  `status` tinyint(4) NOT NULL DEFAULT 1 COMMENT 'status 1 for active 0 for inactive',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `account_level_ones`
--

CREATE TABLE `account_level_ones` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ah_id` bigint(20) DEFAULT NULL,
  `code_id` bigint(20) DEFAULT NULL,
  `branch_id` int(11) DEFAULT NULL,
  `created_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'created action by an user',
  `updated_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'updated action by an user',
  `permited_user` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'permited user id ',
  `status` tinyint(4) NOT NULL DEFAULT 1 COMMENT 'status 1 for active 0 for inactive',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `account_level_ones`
--

INSERT INTO `account_level_ones` (`id`, `code`, `name`, `ah_id`, `code_id`, `branch_id`, `created_by`, `updated_by`, `permited_user`, `status`, `created_at`, `updated_at`) VALUES
(1, 'A-01', 'Accounts Receivable (A/R)', 1, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:54:16', '2021-01-01 11:54:16'),
(2, 'A-02', 'Current assets', 1, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:54:49', '2021-01-01 11:54:49'),
(3, 'A-03', 'Cash and cash equivalents', 1, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:55:12', '2021-01-01 11:55:12'),
(4, 'A-04', 'Fixed assets', 1, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:55:32', '2021-01-01 11:56:15'),
(5, 'A-05', 'Non-current assets', 1, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:56:38', '2021-01-01 11:56:38'),
(6, 'L-01', 'Accounts payable (A/P)', 2, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:57:15', '2021-01-01 11:57:15'),
(7, 'L-02', 'Credit Card', 2, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:58:12', '2021-01-01 11:58:12'),
(8, 'L-03', 'Current liabilities', 2, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:58:33', '2021-01-01 11:58:33'),
(9, 'L-04', 'Non-current liabilities', 2, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:58:54', '2021-01-01 11:58:54'),
(10, 'C-01', 'Owner\'s equity', 5, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:59:14', '2021-01-01 11:59:14'),
(11, 'I-01', 'Income', 3, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:59:34', '2021-01-01 11:59:34'),
(12, 'I-02', 'Other income', 3, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 11:59:51', '2021-01-01 11:59:51'),
(13, 'E-01', 'Cost of sales', 4, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:00:19', '2021-01-01 12:00:19'),
(14, 'E-02', 'Expenses', 4, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:00:43', '2021-01-01 12:00:43'),
(15, 'E-03', 'Other expense', 4, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:01:12', '2021-01-01 12:01:12');

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

--
-- Table structure for table `account_level_twos`
--

CREATE TABLE `account_level_twos` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `al2_id` bigint(20) DEFAULT NULL,
  `code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `al1_id` bigint(20) DEFAULT NULL,
  `code_id` bigint(20) DEFAULT NULL,
  `flag` bigint(20) DEFAULT NULL,
  `level_two_parent_id` bigint(20) DEFAULT NULL,
  `created_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'created action by an user',
  `updated_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'updated action by an user',
  `permited_user` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'permited user id ',
  `status` tinyint(4) NOT NULL DEFAULT 1 COMMENT 'status 1 for active 0 for inactive',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `account_level_twos`
--

INSERT INTO `account_level_twos` (`id`, `al2_id`, `code`, `name`, `al1_id`, `code_id`, `flag`, `level_two_parent_id`, `created_by`, `updated_by`, `permited_user`, `status`, `created_at`, `updated_at`) VALUES
(1, NULL, 'AR-01', 'Accounts Receivable (A/R)', 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:02:27', '2021-01-01 12:02:27'),
(2, NULL, 'CA-01', 'Allowance for bad debts', 2, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:03:14', '2021-01-01 12:03:14'),
(3, NULL, 'CA-02', 'Assets available for sale', 2, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:03:36', '2021-01-01 12:03:36'),
(4, NULL, 'CA-03', 'Development costs', 2, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:03:58', '2021-01-01 12:03:58'),
(5, NULL, 'CA-04', 'Employee cash advances', 2, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:04:21', '2021-01-01 12:04:21'),
(6, NULL, 'CA-05', 'Inventory', 2, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:04:39', '2021-01-01 12:04:39'),
(7, NULL, 'CA-06', 'Investments - Other', 2, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:05:00', '2021-01-01 12:05:00'),
(8, NULL, 'CA-07', 'Loans to officers', 2, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:05:23', '2021-01-01 12:05:23'),
(9, NULL, 'CA-08', 'Loans to others', 2, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:05:43', '2021-01-01 12:05:43'),
(10, NULL, 'CA-09', 'Other current assets', 2, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:06:07', '2021-01-01 12:06:07'),
(11, NULL, 'CA-10', 'Prepaid expenses', 2, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:06:29', '2021-01-01 12:06:29'),
(12, NULL, 'CASH-01', 'Bank', 3, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:07:10', '2021-01-01 12:07:10'),
(13, NULL, 'CASH-02', 'Cash and Cash Equivalents', 3, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:07:32', '2021-01-01 12:07:32'),
(14, NULL, 'CASH-03', 'Cash on hand', 3, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:11:03', '2021-01-01 12:12:49'),
(15, NULL, 'CASH-04', 'Client trust accounts', 3, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:11:29', '2021-01-01 12:13:00'),
(16, NULL, 'CASH-05', 'Money market', 3, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:11:53', '2021-01-01 12:13:10'),
(17, NULL, 'CASH-06', 'Rents held in trust', 3, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:12:39', '2021-01-01 12:12:39'),
(18, NULL, 'CASH-07', 'Savings', 3, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:13:35', '2021-01-01 12:13:35'),
(19, NULL, 'FA-01', 'Accumulated depletion', 4, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:14:15', '2021-01-01 12:14:15'),
(20, NULL, 'FA-02', 'Accumulated depreciation on property, plant and equipment', 4, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:14:41', '2021-01-01 12:14:41'),
(21, NULL, 'FA-03', 'Buildings', 4, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:15:01', '2021-01-01 12:15:01'),
(22, NULL, 'FA-06', 'Depletable assets', 4, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:15:24', '2021-01-01 12:19:01'),
(23, NULL, 'FA-07', 'Furniture and fixtures', 4, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:15:45', '2021-01-01 12:19:06'),
(24, NULL, 'FA-08', 'Land', 4, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:16:06', '2021-01-01 12:19:14'),
(25, NULL, 'FA-04', 'Buildings', 4, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:17:17', '2021-01-01 12:18:14'),
(26, NULL, 'FA-05', 'Machinery and equipment', 4, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:19:52', '2021-01-01 12:19:52'),
(27, NULL, 'FA-09', 'Other fixed asset', 4, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:20:15', '2021-01-01 12:20:15'),
(28, NULL, 'FA-10', 'Vehicles', 4, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:20:32', '2021-01-01 12:20:32'),
(29, NULL, 'NCA-01', 'Accumulated amortisation of non-current assets', 5, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:21:05', '2021-01-01 12:21:05'),
(30, NULL, 'NCA-02', 'Assets held for sale', 5, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:22:04', '2021-01-01 12:22:04'),
(31, NULL, 'NCA-03', 'Deferred tax', 5, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:22:28', '2021-01-01 12:22:28'),
(32, NULL, 'NCA-04', 'Goodwill', 5, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:22:46', '2021-01-01 12:22:46'),
(33, NULL, 'NCA-05', 'Intangible assets', 5, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:23:05', '2021-01-01 12:23:05'),
(34, NULL, 'NCA-06', 'Lease buyout', 5, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:23:23', '2021-01-01 12:23:23'),
(35, NULL, 'NCA-07', 'Licences', 5, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:23:40', '2021-01-01 12:23:40'),
(36, NULL, 'NCA-08', 'Long-term investments', 5, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:23:59', '2021-01-01 12:23:59'),
(37, NULL, 'NCA-09', 'Organizational costs', 5, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:24:26', '2021-01-01 12:24:26'),
(38, NULL, 'NCA-10', 'Other non-current assets', 5, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:24:45', '2021-01-01 12:24:45'),
(39, NULL, 'NCA-11', 'Security deposits', 5, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:25:04', '2021-01-01 12:25:04'),
(40, NULL, 'AP-01', 'Accounts Payable (A/P)', 6, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:25:33', '2021-01-01 12:25:33'),
(41, NULL, 'CC-01', 'Credit Card', 7, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:25:58', '2021-01-01 12:25:58'),
(42, NULL, 'CL-01', 'Accrued Liabilities', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:26:21', '2021-01-01 12:26:21'),
(43, NULL, 'CL-02', 'Client Trust accounts - liabilities', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:26:49', '2021-01-01 12:26:49'),
(44, NULL, 'CL-03', 'Current tax liability', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:27:08', '2021-01-01 12:27:08'),
(45, NULL, 'CL-04', 'Current portion of obligations under finance leases', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:27:29', '2021-01-01 12:27:29'),
(46, NULL, 'CL-05', 'Dividends payable', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:28:09', '2021-01-01 12:28:09'),
(47, NULL, 'CL-06', 'Income tax payable', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:28:28', '2021-01-01 12:28:28'),
(48, NULL, 'CL-07', 'Insurance payable', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:28:48', '2021-01-01 12:28:48'),
(49, NULL, 'CL-08', 'Line of credit', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:29:08', '2021-01-01 12:29:08'),
(50, NULL, 'CL-09', 'Loan payable', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:29:27', '2021-01-01 12:29:27'),
(51, NULL, 'CL-10', 'Other current liabilities', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:29:47', '2021-01-01 12:29:47'),
(52, NULL, 'CL-11', 'Payroll clearing', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:30:06', '2021-01-01 12:30:06'),
(53, NULL, 'CL-12', 'Payroll liabilities', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:30:28', '2021-01-01 12:30:28'),
(54, NULL, 'CL-13', 'Prepaid expenses payable', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:30:56', '2021-01-01 12:30:56'),
(55, NULL, 'CL-14', 'Rents in trust - liability', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:31:14', '2021-01-01 12:31:14'),
(56, NULL, 'CL-15', 'Sales and service tax payable', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:31:33', '2021-01-01 12:31:33'),
(57, NULL, 'NCL-01', 'Accrued holiday payable', 9, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:32:10', '2021-01-01 12:32:10'),
(58, NULL, 'NCL-02', 'Accrued Non-current liabilities', 9, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:32:30', '2021-01-01 12:32:30'),
(59, NULL, 'NCL-03', 'Liabilities related to assets held for sale', 9, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:32:54', '2021-01-01 12:32:54'),
(60, NULL, 'NCL-04', 'Long-term debt', 9, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:33:17', '2021-01-01 12:33:17'),
(61, NULL, 'NCL-05', 'Notes payable', 9, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:33:36', '2021-01-01 12:33:36'),
(62, NULL, 'NCL-06', 'Other non-current liabilities', 9, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:33:55', '2021-01-01 12:33:55'),
(63, NULL, 'NCL-07', 'Shareholder notes payable', 9, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:34:16', '2021-01-01 13:10:23'),
(64, NULL, 'OE-01', 'Capital', 10, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:35:07', '2021-01-01 12:35:07'),
(65, NULL, 'IN-01', 'Discounts/refunds given', 11, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:35:42', '2021-01-01 12:35:42'),
(66, NULL, 'IN-02', 'Non-profit income', 11, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:35:59', '2021-01-01 12:35:59'),
(67, NULL, 'IN-03', 'Other primary income', 11, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:36:18', '2021-01-01 12:36:18'),
(68, NULL, 'IN-04', 'Revenue - General', 11, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:36:40', '2021-01-01 12:36:40'),
(69, NULL, 'IN-05', 'Sales - retail', 11, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:37:02', '2021-01-01 12:37:02'),
(70, NULL, 'IN-06', 'Sales - wholesale', 11, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:37:24', '2021-01-01 12:37:24'),
(71, NULL, 'IN-07', 'Sales of product income', 11, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:37:45', '2021-01-01 12:37:45'),
(72, NULL, 'IN-08', 'Service/fee income', 11, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:38:02', '2021-01-01 12:38:02'),
(73, NULL, 'IN-09', 'Unapplied Cash Payment Income', 11, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:38:22', '2021-01-01 12:38:22'),
(74, NULL, 'OIN-01', 'Dividend income', 12, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:38:49', '2021-01-01 12:38:49'),
(75, NULL, 'OIN-02', 'Interest earned', 12, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:39:08', '2021-01-01 12:39:08'),
(76, NULL, 'OIN-03', 'Loss on disposal of assets', 12, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:39:26', '2021-01-01 12:39:26'),
(77, NULL, 'OIN-04', 'Other investment income', 12, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:39:46', '2021-01-01 12:39:46'),
(78, NULL, 'OIN-05', 'Other miscellaneous income', 12, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:40:07', '2021-01-01 12:40:07'),
(79, NULL, 'OIN-06', 'Other operating income', 12, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:40:26', '2021-01-01 12:40:26'),
(80, NULL, 'OIN-07', 'Tax-exempt interest', 12, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:40:45', '2021-01-01 12:40:45'),
(81, NULL, 'OIN-08', 'Unrealised loss on securities, net of tax', 12, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:41:08', '2021-01-01 12:41:08'),
(82, NULL, 'COS-01', 'Cost of labour - COS', 13, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:41:33', '2021-01-01 12:41:33'),
(83, NULL, 'COS-02', 'Equipment rental - COS', 13, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:41:54', '2021-01-01 12:41:54'),
(84, NULL, 'COS-03', 'Freight and delivery - COS', 13, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:42:17', '2021-01-01 12:42:17'),
(85, NULL, 'COS-04', 'Other costs of sales - COS', 13, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:42:37', '2021-01-01 12:42:37'),
(86, NULL, 'COS-05', 'Cost of Goods Sold - COS', 13, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:43:04', '2021-01-01 13:36:35'),
(87, NULL, 'EX-01', 'Advertising/promotional', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:43:34', '2021-01-01 12:43:34'),
(88, NULL, 'EX-02', 'Amortisation expense', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:43:51', '2021-01-01 12:43:51'),
(89, NULL, 'EX-03', 'Bad debt', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:53:12', '2021-01-01 12:53:12'),
(90, NULL, 'EX-04', 'Bank charges', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:53:32', '2021-01-01 12:53:32'),
(91, NULL, 'EX-05', 'Charitable contributions', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:53:50', '2021-01-01 12:53:50'),
(92, NULL, 'EX-06', 'Commissions and fees', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:54:10', '2021-01-01 12:54:10'),
(93, NULL, 'EX-07', 'Cost of labour', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:54:29', '2021-01-01 12:54:29'),
(94, NULL, 'EX-08', 'Dues and subscriptions', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:55:04', '2021-01-01 12:55:04'),
(95, NULL, 'EX-09', 'Equipment rental', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:55:28', '2021-01-01 12:55:28'),
(96, NULL, 'EX-10', 'Finance costs', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:55:49', '2021-01-01 12:55:49'),
(97, NULL, 'EX-11', 'Income tax expense', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:56:10', '2021-01-01 12:56:10'),
(98, NULL, 'EX-12', 'Insurance', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:56:27', '2021-01-01 12:56:27'),
(99, NULL, 'EX-13', 'Interest paid', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:56:47', '2021-01-01 12:56:47'),
(100, NULL, 'EX-14', 'Legal and professional fees', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:57:12', '2021-01-01 12:57:12'),
(101, NULL, 'EX-15', 'Loss on discontinued operations, net of tax', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:57:37', '2021-01-01 12:57:37'),
(102, NULL, 'EX-16', 'Management compensation', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:57:57', '2021-01-01 12:57:57'),
(103, NULL, 'EX-17', 'Meals and entertainment', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:58:18', '2021-01-01 12:58:18'),
(104, NULL, 'EX-18', 'Office/general administrative expenses', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:58:47', '2021-01-01 12:58:47'),
(105, NULL, 'EX-19', 'Other miscellaneous service cost', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:59:08', '2021-01-01 12:59:08'),
(106, NULL, 'EX-20', 'Other selling expenses', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:59:25', '2021-01-01 12:59:25'),
(107, NULL, 'EX-21', 'Payroll expenses', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 12:59:55', '2021-01-01 12:59:55'),
(108, NULL, 'EX-22', 'Rent or lease of buildings', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:00:14', '2021-01-01 13:00:14'),
(109, NULL, 'EX-23', 'Repair and maintenance', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:00:35', '2021-01-01 13:00:35'),
(110, NULL, 'EX-24', 'Shipping and delivery expense', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:00:54', '2021-01-01 13:00:54'),
(111, NULL, 'EX-25', 'Supplies & materials', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:01:18', '2021-01-01 13:01:18'),
(112, NULL, 'EX-26', 'Taxes Paid', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:01:39', '2021-01-01 13:01:39'),
(113, NULL, 'EX-27', 'Travel expenses - general and admin expenses', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:02:15', '2021-01-01 13:02:15'),
(114, NULL, 'EX-28', 'Travel expenses - selling expense', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:02:36', '2021-01-01 13:02:36'),
(115, NULL, 'EX-29', 'Unapplied Cash Bill Payment Expense', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:03:09', '2021-01-01 13:03:09'),
(116, NULL, 'EX-30', 'Utilities', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:03:30', '2021-01-01 13:03:30'),
(117, NULL, 'OEX-01', 'Amortisation', 15, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:04:03', '2021-01-01 13:04:03'),
(118, NULL, 'OEX-02', 'Depreciation', 15, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:04:26', '2021-01-01 13:04:26'),
(119, NULL, 'OEX-03', 'Exchange Gain or Loss', 15, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:04:46', '2021-01-01 13:04:46'),
(120, NULL, 'OEX-04', 'Other Expense', 15, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:05:05', '2021-01-01 13:05:05'),
(121, NULL, 'OEX-05', 'Penalties and settlements', 15, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:05:28', '2021-01-01 13:05:28'),
(122, NULL, 'OEX-06', 'Opening Adjustment Account', 9, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:41:11', '2021-01-01 13:41:11'),
(123, NULL, 'EX-31', 'Sales discount', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:53:35', '2021-01-01 13:53:35'),
(124, NULL, 'CL-16', 'Vat Payable', 8, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:56:05', '2021-01-01 13:56:05'),
(125, NULL, 'EX-32', 'Vat Expense', 14, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-01 13:56:51', '2021-01-01 13:56:51'),
(126, NULL, 'CA-11', 'Vat input Account', 2, NULL, NULL, NULL, NULL, NULL, NULL, 1, '2021-01-02 21:24:41', '2021-01-02 21:24:41');

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

--
-- Table structure for table `account_voucher_masters`
--

CREATE TABLE `account_voucher_masters` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `vm_id` bigint(20) DEFAULT NULL,
  `vm_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_id` int(11) DEFAULT NULL,
  `vm_date` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vm_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vm_naration` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vm_user` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vm_post_flag` bigint(20) DEFAULT NULL,
  `vm_bill_ref_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vm_bill_ref_date` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vm_no_id` bigint(20) DEFAULT NULL,
  `vm_cid_id` bigint(20) DEFAULT NULL,
  `vm_time` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vm_proj_id` bigint(20) DEFAULT NULL,
  `vm_amount` bigint(20) DEFAULT NULL,
  `vm_bm_id` bigint(20) DEFAULT NULL,
  `created_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'created action by an user',
  `updated_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'updated action by an user',
  `permited_user` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'permited user id ',
  `status` tinyint(4) NOT NULL DEFAULT 1 COMMENT 'status 1 for active 0 for inactive',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `account_voucher_masters`
--

INSERT INTO `account_voucher_masters` (`id`, `vm_id`, `vm_no`, `branch_id`, `vm_date`, `vm_type`, `vm_naration`, `vm_user`, `vm_post_flag`, `vm_bill_ref_no`, `vm_bill_ref_date`, `vm_no_id`, `vm_cid_id`, `vm_time`, `vm_proj_id`, `vm_amount`, `vm_bm_id`, `created_by`, `updated_by`, `permited_user`, `status`, `created_at`, `updated_at`) VALUES
(1, NULL, '2021-01', NULL, '2021-01-02', 'RV', 'Cash receive from CTA', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 500, NULL, NULL, NULL, NULL, 1, '2021-01-01 18:08:53', '2021-01-01 18:08:53'),
(2, NULL, '2021-02', NULL, '2021-01-02', 'RV', 'Cash Payment to Client Trust Account', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 5000, NULL, NULL, NULL, NULL, 1, '2021-01-01 19:10:14', '2021-01-01 19:10:14'),
(3, NULL, '2021-03', NULL, '2021-01-02', 'RV', 'Cash payment to Client trust Account', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 7000, NULL, NULL, NULL, NULL, 1, '2021-01-01 19:14:42', '2021-01-01 19:14:42'),
(4, NULL, '2021-04', NULL, '2021-01-02', 'JV', 'Cash payment', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 10000, NULL, NULL, NULL, NULL, 1, '2021-01-01 19:16:14', '2021-01-01 19:16:14'),
(8, NULL, '2021-05', NULL, '2021-01-03', 'JV', 'Sales', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 18000, NULL, NULL, NULL, NULL, 1, '2021-01-02 21:30:43', '2021-01-02 21:30:43'),
(9, NULL, '2021-06', NULL, '2021-01-03', 'JV', '', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 22500, NULL, NULL, NULL, NULL, 1, '2021-01-02 22:05:52', '2021-01-02 22:05:52'),
(10, NULL, '2021-07', NULL, '2021-01-04', 'JV', 'Murgi sales', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 11100, NULL, NULL, NULL, NULL, 1, '2021-01-02 22:12:48', '2021-01-02 22:12:48'),
(11, NULL, '2021-08', NULL, '2021-01-04', 'JV', 'sales note here', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 6750, NULL, NULL, NULL, NULL, 1, '2021-01-03 18:49:48', '2021-01-03 18:49:48'),
(12, NULL, '2021-09', NULL, '2021-01-05', 'JV', 'sales note', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 6750, NULL, NULL, NULL, NULL, 1, '2021-01-03 19:11:35', '2021-01-03 19:11:35'),
(13, NULL, '2021-10', NULL, '2021-01-04', 'JV', 'first sales', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 2250, NULL, NULL, NULL, NULL, 1, '2021-01-03 19:16:35', '2021-01-03 19:16:35'),
(14, NULL, '2021-11', NULL, '2021-01-04', 'JV', 'sales details', 'admin', 1, NULL, NULL, 35, NULL, NULL, NULL, 7083, NULL, NULL, NULL, NULL, 1, '2021-01-03 20:06:28', '2021-01-03 20:06:28'),
(15, NULL, '2021-12', NULL, '2021-01-04', 'JV', 'today seles', 'admin', 1, NULL, NULL, 36, NULL, NULL, NULL, 11250, NULL, NULL, NULL, NULL, 1, '2021-01-03 20:15:39', '2021-01-03 20:15:39'),
(16, NULL, '2021-13', NULL, '2021-01-04', 'JV', 'sales with sales discount', 'admin', 1, NULL, NULL, 37, NULL, NULL, NULL, 4611, NULL, NULL, NULL, NULL, 1, '2021-01-03 20:30:25', '2021-01-03 20:30:25'),
(17, NULL, '2021-14', NULL, '2021-01-05', 'JV', 'sales with walking customer', 'admin', 1, NULL, NULL, 38, NULL, NULL, NULL, 840, NULL, NULL, NULL, NULL, 1, '2021-01-03 21:29:11', '2021-01-03 21:29:11'),
(18, NULL, '2021-15', NULL, '2021-01-12', 'JV', 'note', 'admin', 1, NULL, NULL, 39, NULL, NULL, NULL, 4500, NULL, NULL, NULL, NULL, 1, '2021-01-12 14:00:16', '2021-01-12 14:00:16'),
(20, NULL, '2021-16', NULL, '2021-01-14 01:35:08', 'JV', 'sales return', 'admin', 1, NULL, NULL, 3, NULL, NULL, NULL, 2250, NULL, NULL, NULL, NULL, 1, '2021-01-13 19:35:08', '2021-01-13 19:35:08'),
(21, NULL, '2021-17', NULL, '2021-01-14 01:51:46', 'JV', 'sales return', 'admin', 1, NULL, NULL, 4, NULL, NULL, NULL, 2250, NULL, NULL, NULL, NULL, 1, '2021-01-13 19:51:46', '2021-01-13 19:51:46'),
(22, NULL, '2021-18', NULL, '2021-01-14 01:52:08', 'JV', 'return', 'admin', 1, NULL, NULL, 5, NULL, NULL, NULL, 2250, NULL, NULL, NULL, NULL, 1, '2021-01-13 19:52:08', '2021-01-13 19:52:08'),
(23, NULL, '2021-19', NULL, '2021-01-14', 'JV', 'sales', 'admin', 1, NULL, NULL, 40, NULL, NULL, NULL, 45360, NULL, NULL, NULL, NULL, 1, '2021-01-13 19:57:24', '2021-01-13 19:57:24'),
(24, NULL, '2021-20', NULL, '2021-01-14 01:57:48', 'JV', 'sales return', 'admin', 1, NULL, NULL, 6, NULL, NULL, NULL, 2610, NULL, NULL, NULL, NULL, 1, '2021-01-13 19:57:48', '2021-01-13 19:57:48'),
(25, NULL, '2021-21', NULL, '2021-01-14', 'RV', 'Cash received', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 5000, NULL, NULL, NULL, NULL, 1, '2021-01-13 20:12:02', '2021-01-13 20:12:02'),
(26, NULL, '2021-22', NULL, '2021-01-14', 'RV', 'dasfdsfdsaf', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 3804, NULL, NULL, NULL, NULL, 1, '2021-01-13 20:13:23', '2021-01-13 20:13:23'),
(27, NULL, '2021-23', NULL, '2021-01-14', 'RV', 'casdfsdfsdf', 'admin', 1, NULL, NULL, NULL, NULL, NULL, NULL, 3069, NULL, NULL, NULL, NULL, 1, '2021-01-13 20:17:06', '2021-01-13 20:17:06'),
(28, NULL, '2021-24', NULL, '2021-01-19', 'JV', 'return details', 'admin', 1, NULL, NULL, 13, NULL, NULL, NULL, 102500, NULL, NULL, NULL, NULL, 1, '2021-01-18 18:51:05', '2021-01-18 18:51:05'),
(29, NULL, '2021-25', NULL, '2021-01-19 02:04:55', 'JV', 'purchase return', 'admin', 1, NULL, NULL, 12, NULL, NULL, NULL, 500, NULL, NULL, NULL, NULL, 1, '2021-01-18 20:04:55', '2021-01-18 20:04:55'),
(30, NULL, '2021-26', NULL, '2021-01-19 02:08:51', 'JV', 'Fault product', 'admin', 1, NULL, NULL, 12, NULL, NULL, NULL, 700, NULL, NULL, NULL, NULL, 1, '2021-01-18 20:08:51', '2021-01-18 20:08:51'),
(31, NULL, '2021-27', NULL, '2021-01-19 02:30:23', 'JV', 'return by me', 'admin', 1, NULL, NULL, 0, NULL, NULL, NULL, 300, NULL, NULL, NULL, NULL, 1, '2021-01-18 20:30:23', '2021-01-18 20:30:23'),
(32, NULL, '2021-28', NULL, '2021-01-19 02:32:39', 'JV', 'fgbdsfd', 'admin', 1, NULL, NULL, 6, NULL, NULL, NULL, 400, NULL, NULL, NULL, NULL, 1, '2021-01-18 20:32:39', '2021-01-18 20:32:39');

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

--
-- Table structure for table `advance_paid_accounts`
--

CREATE TABLE `advance_paid_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `account_no` int(11) NOT NULL,
  `transection_no` int(11) DEFAULT NULL,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_date` datetime DEFAULT NULL,
  `debit` double(10,2) DEFAULT NULL,
  `credit` double(10,2) DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `advance_paid_person_profiles`
--

CREATE TABLE `advance_paid_person_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `advance_received_person_profiles`
--

CREATE TABLE `advance_received_person_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `advance_receive_accounts`
--

CREATE TABLE `advance_receive_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `account_no` int(11) NOT NULL,
  `transection_no` int(11) DEFAULT NULL,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_date` datetime DEFAULT NULL,
  `debit` double(10,2) DEFAULT NULL,
  `credit` double(10,2) DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `bank_accounts`
--

CREATE TABLE `bank_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `own_account_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_no` int(11) DEFAULT NULL,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_date` datetime DEFAULT NULL,
  `debit` double(10,2) DEFAULT NULL,
  `credit` double(10,2) DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bank_accounts`
--

INSERT INTO `bank_accounts` (`id`, `account_no`, `own_account_no`, `transection_no`, `ref_no`, `description`, `transection_date`, `debit`, `credit`, `status`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '2', NULL, 0, 'opening', 'Opening Balance', '2020-12-25 00:00:00', 6000.00, 0.00, 1, NULL, NULL, NULL, '2020-12-24 19:40:22', '2020-12-24 20:03:50'),
(2, '3', NULL, 0, 'opening', 'Opening Balance', '2020-12-25 00:00:00', 0.00, 50000.00, 1, NULL, NULL, NULL, '2020-12-24 19:40:46', '2020-12-24 20:09:33'),
(3, '1', NULL, NULL, 'cash', 'Found Transfer', '2020-12-25 14:56:05', 5000.00, NULL, 1, 1, NULL, NULL, '2020-12-25 08:56:05', '2020-12-25 08:56:05'),
(4, '2', NULL, NULL, NULL, 'receive', '2020-12-25 17:14:30', NULL, 500.00, 1, 1, NULL, NULL, '2020-12-25 11:14:30', '2020-12-25 11:14:30'),
(5, '1', NULL, NULL, 'bank', 'receive', '2020-12-25 17:14:30', 500.00, NULL, 1, 1, NULL, NULL, '2020-12-25 11:14:30', '2020-12-25 11:14:30'),
(6, '1', '2', NULL, 'mobile', 'hgfhf', '2020-12-25 20:08:27', 2123.00, NULL, 1, 1, NULL, NULL, '2020-12-25 14:08:27', '2020-12-25 14:08:27'),
(7, '2', '4', NULL, 'customer', 'Cash receive from sumon customer into jb-021455(jonota bank) account', '2020-12-25 23:56:22', 5000.00, NULL, 1, 1, NULL, NULL, '2020-12-25 17:56:22', '2020-12-25 17:56:22'),
(8, '2', '1', NULL, NULL, 'Bank to mobile bank', '2020-12-26 00:33:48', NULL, 120.00, 1, 1, NULL, NULL, '2020-12-25 18:33:48', '2020-12-25 18:33:48'),
(9, '1', NULL, NULL, 'supplier', 'Paid Mr. Sumon from DBBL-122535145', '2020-12-27 18:58:34', NULL, 5000.00, 1, 1, NULL, NULL, '2020-12-27 12:58:34', '2020-12-27 12:58:34'),
(10, '2', NULL, NULL, 'supplier', 'payment', '2020-12-28 01:41:56', NULL, 100000.00, 1, 1, NULL, NULL, '2020-12-27 19:41:56', '2020-12-27 19:41:56'),
(11, '2', NULL, NULL, 'supplier', 'paid from bank', '2020-12-28 01:49:08', NULL, 4000.00, 1, 1, NULL, NULL, '2020-12-27 19:49:08', '2020-12-27 19:49:08'),
(12, '1', NULL, NULL, 'supplier', 'amount  paid from bank account', '2020-12-28 17:31:47', NULL, 5000.00, 1, 1, NULL, NULL, '2020-12-28 11:31:47', '2020-12-28 11:31:47'),
(13, '1', NULL, NULL, 'supplier', 'paid', '2020-12-28 17:45:49', NULL, 8000.00, 1, 1, NULL, NULL, '2020-12-28 11:45:49', '2020-12-28 11:45:49'),
(14, '1', NULL, NULL, 'supplier', 'paid', '2020-12-28 17:56:10', NULL, 52750.00, 1, 1, NULL, NULL, '2020-12-28 11:56:10', '2020-12-28 11:56:10');

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

--
-- Table structure for table `bank_account_profiles`
--

CREATE TABLE `bank_account_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `bank_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_account` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bank_account_profiles`
--

INSERT INTO `bank_account_profiles` (`id`, `bank_name`, `bank_account`, `address`, `phone`, `description`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'DBBL', 'DBBL-01236547899', NULL, NULL, NULL, 1, NULL, '2020-12-24 19:24:13', '2020-12-24 19:24:13'),
(2, 'Jonota Bank', 'JB-021455', 'Dhaka', '01365478', 'Bank', 1, NULL, '2020-12-24 19:40:22', '2020-12-24 19:40:22'),
(3, 'Brack bank', 'BCR-541223', NULL, NULL, NULL, 1, NULL, '2020-12-24 19:40:46', '2020-12-24 19:40:46');

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

--
-- Table structure for table `capital_accounts`
--

CREATE TABLE `capital_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `account_no` int(11) NOT NULL,
  `transection_no` int(11) DEFAULT NULL,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_date` datetime DEFAULT NULL,
  `debit` double(10,2) DEFAULT NULL,
  `credit` double(10,2) DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `capital_accounts`
--

INSERT INTO `capital_accounts` (`id`, `account_no`, `transection_no`, `ref_no`, `description`, `transection_date`, `debit`, `credit`, `status`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 1, NULL, NULL, 'ljklj', '2020-10-23 20:16:17', NULL, 346250.00, 1, 1, NULL, NULL, '2020-10-23 14:16:17', '2020-10-23 14:16:17'),
(2, 1, NULL, NULL, 'Cash receive as capital', '2020-12-23 19:56:56', NULL, 50000.00, 1, 1, NULL, NULL, '2020-12-23 13:56:56', '2020-12-23 13:56:56'),
(3, 1, NULL, NULL, 'Capital', '2020-12-25 14:55:39', NULL, 50000.00, 1, 1, NULL, NULL, '2020-12-25 08:55:39', '2020-12-25 08:55:39'),
(4, 1, NULL, NULL, 'Withrow by jony', '2020-12-25 14:58:55', 6250.00, NULL, 1, 1, NULL, NULL, '2020-12-25 08:58:55', '2020-12-25 08:58:55'),
(5, 1, NULL, NULL, 'Receive From Owner', '2020-12-25 14:59:40', NULL, 6000.00, 1, 1, NULL, NULL, '2020-12-25 08:59:40', '2020-12-25 08:59:40');

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

--
-- Stand-in structure for view `cash_bank_mobilebank_payment_view`
-- (See below for the actual view)
--
CREATE TABLE `cash_bank_mobilebank_payment_view` (
`_table_name` varchar(20)
,`_prefex` varchar(3)
,`_id` int(10) unsigned
,`_transection_unique_id` varchar(14)
,`account_no` varchar(191)
,`own_account_no` varchar(255)
,`transection_no` varchar(191)
,`transection_date` datetime
,`debit` double(10,2)
,`credit` double(10,2)
,`description` varchar(191)
,`status` tinyint(4)
,`created_by` int(11)
,`ref_no` varchar(191)
);

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

--
-- Stand-in structure for view `cash_bank_mobilebank_view`
-- (See below for the actual view)
--
CREATE TABLE `cash_bank_mobilebank_view` (
`_table_name` varchar(20)
,`_prefex` varchar(3)
,`_id` int(10) unsigned
,`_transection_unique_id` varchar(14)
,`account_no` varchar(191)
,`own_account_no` varchar(255)
,`transection_no` varchar(191)
,`transection_date` datetime
,`debit` double(10,2)
,`credit` double(10,2)
,`description` varchar(191)
,`status` tinyint(4)
,`created_by` int(11)
,`ref_no` varchar(191)
);

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

--
-- Table structure for table `cash_books`
--

CREATE TABLE `cash_books` (
  `id` int(10) UNSIGNED NOT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `own_account_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `refeance_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_date` datetime DEFAULT NULL,
  `debit` double(10,2) NOT NULL,
  `credit` double(10,2) NOT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `person_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cash_books`
--

INSERT INTO `cash_books` (`id`, `account_no`, `own_account_no`, `refeance_no`, `transection_date`, `debit`, `credit`, `description`, `status`, `created_by`, `updated_by`, `person_type`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '6', NULL, '1', '2020-10-23 00:00:00', 0.00, 381000.00, NULL, 1, 1, NULL, 'supplier', NULL, '2020-10-23 13:13:51', '2020-10-23 13:13:51'),
(2, '3', NULL, '4', '2020-10-23 19:22:28', 11250.00, 0.00, 'Tk receive', 1, 1, NULL, 'customer', NULL, '2020-10-23 13:22:28', '2020-10-23 13:22:28'),
(3, '6', NULL, NULL, '2020-10-23 19:24:48', 5000.00, 0.00, 'Payment', 1, 1, NULL, 'supplier', NULL, '2020-10-23 13:24:48', '2020-10-23 13:24:48'),
(4, '4', NULL, '5', '2020-10-23 19:30:12', 5000.00, 0.00, 'receive', 1, 1, NULL, 'customer', NULL, '2020-10-23 13:30:12', '2020-10-23 13:30:12'),
(5, '4', NULL, NULL, '2020-10-23 19:30:36', 3500.00, 0.00, 'hjkhkj', 1, 1, NULL, 'customer', NULL, '2020-10-23 13:30:36', '2020-10-23 13:30:36'),
(6, '4', NULL, NULL, '2020-10-23 19:31:17', 10000.00, 0.00, 'Cash adavance', 1, 1, NULL, 'customer', NULL, '2020-10-23 13:31:17', '2020-10-23 13:31:17'),
(7, '1', NULL, NULL, '2020-10-23 20:16:17', 346250.00, 0.00, 'ljklj', 1, 1, NULL, 'capital', NULL, '2020-10-23 14:16:17', '2020-10-23 14:16:17'),
(8, '1', NULL, NULL, '2020-10-24 00:43:47', 0.00, 10000.00, 'Salary Paid', 1, 1, NULL, 'expense', NULL, '2020-10-23 18:43:47', '2020-10-23 18:43:47'),
(9, '2', NULL, '2', '2020-11-03 00:00:00', 0.00, 39000.00, NULL, 1, 1, NULL, 'supplier', NULL, '2020-11-02 18:05:13', '2020-11-02 18:05:13'),
(10, '2', NULL, '2', '2020-11-03 00:14:09', 0.00, 1000.00, 'afsfd', 1, 1, NULL, 'supplier', NULL, '2020-11-02 18:14:09', '2020-11-02 18:14:09'),
(11, '3', NULL, NULL, '2020-12-23 18:54:41', 2500.00, 0.00, 'Cash receive', 1, 1, NULL, 'supplier', NULL, '2020-12-23 12:54:41', '2020-12-23 12:54:41'),
(12, '3', NULL, '9', '2020-12-23 19:52:41', 6750.00, 0.00, NULL, 1, 1, NULL, 'customer', NULL, '2020-12-23 13:52:41', '2020-12-23 13:52:41'),
(13, '3', NULL, '10', '2020-12-23 19:55:07', 750.00, 0.00, 'Cash receive partially', 1, 1, NULL, 'customer', NULL, '2020-12-23 13:55:07', '2020-12-23 13:55:07'),
(14, '1', NULL, NULL, '2020-12-23 19:56:56', 50000.00, 0.00, 'Cash receive as capital', 1, 1, NULL, 'capital', NULL, '2020-12-23 13:56:56', '2020-12-23 13:56:56'),
(15, '1', NULL, NULL, '2020-12-25 14:55:39', 50000.00, 0.00, 'Capital', 1, 1, NULL, 'capital', NULL, '2020-12-25 08:55:39', '2020-12-25 08:55:39'),
(16, '1', NULL, NULL, '2020-12-25 14:56:05', 0.00, 5000.00, 'Found Transfer', 1, 1, NULL, 'bank', NULL, '2020-12-25 08:56:05', '2020-12-25 08:56:05'),
(17, '2', NULL, NULL, '2020-12-25 14:56:31', 0.00, 2500.00, 'Found Transfer', 1, 1, NULL, 'mobile', NULL, '2020-12-25 08:56:31', '2020-12-25 08:56:31'),
(18, '6', NULL, NULL, '2020-12-25 14:57:10', 0.00, 52000.00, 'Found Paid to Supplier', 1, 1, NULL, 'supplier', NULL, '2020-12-25 08:57:10', '2020-12-25 08:57:10'),
(19, '1', NULL, NULL, '2020-12-25 14:58:55', 0.00, 6250.00, 'Withrow by jony', 1, 1, NULL, 'capital', NULL, '2020-12-25 08:58:55', '2020-12-25 08:58:55'),
(20, '1', NULL, NULL, '2020-12-25 14:59:40', 6000.00, 0.00, 'Receive From Owner', 1, 1, NULL, 'capital', NULL, '2020-12-25 08:59:40', '2020-12-25 08:59:40'),
(21, '1', NULL, NULL, '2020-12-25 17:16:19', 0.00, 100.00, 'dsfsd', 1, 1, NULL, 'expense', NULL, '2020-12-25 11:16:19', '2020-12-25 11:16:19'),
(22, '1', NULL, NULL, '2020-12-25 17:16:51', 25.00, 0.00, 'dfsfsadf', 1, 1, NULL, 'expense', NULL, '2020-12-25 11:16:51', '2020-12-25 11:16:51'),
(23, '1', '4', NULL, '2020-12-25 20:10:54', 6500.00, 0.00, 'Cash receive in main cash account from supplier 4', 1, 1, NULL, 'supplier', NULL, '2020-12-25 14:10:54', '2020-12-25 14:10:54'),
(24, '2', 'cash', NULL, '2020-12-26 00:05:47', 0.00, 200.00, 'rocket', 1, 1, NULL, '', NULL, '2020-12-25 18:05:47', '2020-12-25 18:05:47'),
(25, '1', '4', '7', '2020-12-27 19:17:30', 250.00, 0.00, 'Partial Amount receive', 1, 1, NULL, 'customer', NULL, '2020-12-27 13:17:30', '2020-12-27 13:17:30'),
(26, '1', '3', '12', '2020-12-27 21:41:57', 4500.00, 0.00, NULL, 1, 1, NULL, 'customer', NULL, '2020-12-27 15:41:57', '2020-12-27 15:41:57'),
(27, '1', '3', NULL, '2020-12-28 17:28:00', 6000.00, 0.00, 'cash receive', 1, 1, NULL, 'supplier', NULL, '2020-12-28 11:28:00', '2020-12-28 11:28:00'),
(28, '4', NULL, NULL, '2020-12-28 17:28:34', 0.00, 6000.00, 'cash paid', 1, 1, NULL, 'supplier', NULL, '2020-12-28 11:28:34', '2020-12-28 11:28:34'),
(29, '4', NULL, NULL, '2020-12-28 17:29:23', 0.00, 10000.00, 'cash paid', 1, 1, NULL, 'supplier', NULL, '2020-12-28 11:29:23', '2020-12-28 11:29:23'),
(30, '1', '4', '6', '2020-12-28 17:30:30', 0.00, 10000.00, 'gfdffds fsdf sf', 1, 1, NULL, 'supplier', NULL, '2020-12-28 11:30:30', '2020-12-28 11:30:30'),
(31, '1', '4', '13', '2020-12-28 17:32:34', 22500.00, 0.00, 'fgasdf', 1, 1, NULL, 'customer', NULL, '2020-12-28 11:32:34', '2020-12-28 11:32:34'),
(32, '1', '4', '7', '2020-12-28 17:32:49', 1000.00, 0.00, 'vddfg', 1, 1, NULL, 'customer', NULL, '2020-12-28 11:32:49', '2020-12-28 11:32:49'),
(33, '1', '4', '14', '2020-12-28 17:33:03', 4500.00, 0.00, 'df sfsdf fdsf', 1, 1, NULL, 'customer', NULL, '2020-12-28 11:33:03', '2020-12-28 11:33:03'),
(34, '1', '4', '17', '2020-12-28 17:33:16', 2250.00, 0.00, 'fsdafs afds', 1, 1, NULL, 'customer', NULL, '2020-12-28 11:33:16', '2020-12-28 11:33:16'),
(35, '1', '7', NULL, '2020-12-28 17:49:59', 3000.00, 0.00, 'cash receive', 1, 1, NULL, 'customer', NULL, '2020-12-28 11:49:59', '2020-12-28 11:49:59'),
(36, '1', '7', NULL, '2020-12-28 17:50:37', 6000.00, 0.00, 'cash receive', 1, 1, NULL, 'customer', NULL, '2020-12-28 11:50:37', '2020-12-28 11:50:37'),
(37, '1', '9', '10', '2020-12-28 18:08:22', 0.00, 2250.00, 'cash paid', 1, 1, NULL, 'supplier', NULL, '2020-12-28 12:08:22', '2020-12-28 12:08:22');

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

--
-- Table structure for table `cash_profiles`
--

CREATE TABLE `cash_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `category_id` int(11) DEFAULT NULL,
  `transection_term_id` int(11) DEFAULT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cash_profiles`
--

INSERT INTO `cash_profiles` (`id`, `name`, `category_id`, `transection_term_id`, `address`, `phone`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Main Cash Book', 1, 0, 'Dhaka,Bangladesh', '', 1, NULL, NULL, NULL);

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

--
-- Table structure for table `costof_goods_sold_accounts`
--

CREATE TABLE `costof_goods_sold_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transection_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `debit` double(10,2) NOT NULL DEFAULT 0.00,
  `credit` double(10,2) NOT NULL DEFAULT 0.00,
  `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `costof_goods_sold_accounts`
--

INSERT INTO `costof_goods_sold_accounts` (`id`, `order_id`, `account_no`, `transection_date`, `debit`, `credit`, `note`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '4', '1', '2020-10-23 13:16:37', 9250.00, 0.00, NULL, 1, NULL, NULL, '2020-10-23 13:16:37', '2020-10-23 13:16:37'),
(2, '5', '2', '2020-10-23 13:17:43', 7840.00, 0.00, NULL, 1, NULL, NULL, '2020-10-23 13:17:43', '2020-10-23 13:17:43'),
(3, '6', '2', '2020-10-23 13:28:27', 5880.00, 0.00, NULL, 1, NULL, NULL, '2020-10-23 13:28:27', '2020-10-23 13:28:27'),
(4, '7', '1', '2020-10-23 13:33:02', 7400.00, 0.00, NULL, 1, NULL, NULL, '2020-10-23 13:33:02', '2020-10-23 13:33:02'),
(5, '8', '1', '2020-11-02 18:11:40', 3700.00, 0.00, NULL, 1, NULL, NULL, '2020-11-02 18:11:40', '2020-11-02 18:11:40'),
(6, '1', '1', '2020-11-02 18:12:39', 0.00, 1850.00, NULL, 1, NULL, NULL, '2020-11-02 18:12:39', '2020-11-02 18:12:39'),
(7, '9', '1', '2020-12-23 13:52:41', 5550.00, 0.00, NULL, 1, NULL, NULL, '2020-12-23 13:52:41', '2020-12-23 13:52:41'),
(8, '10', '1', '2020-12-23 13:54:33', 5550.00, 0.00, NULL, 1, NULL, NULL, '2020-12-23 13:54:33', '2020-12-23 13:54:33'),
(9, '11', '1', '2020-12-24 19:16:22', 9250.00, 0.00, NULL, 1, NULL, NULL, '2020-12-24 19:16:22', '2020-12-24 19:16:22'),
(10, '12', '2', '2020-12-27 15:41:57', 3920.00, 0.00, NULL, 1, NULL, NULL, '2020-12-27 15:41:57', '2020-12-27 15:41:57'),
(11, '13', '1', '2020-12-27 18:16:02', 18500.00, 0.00, NULL, 1, NULL, NULL, '2020-12-27 18:16:02', '2020-12-27 18:16:02'),
(12, '14', '2', '2020-12-27 18:18:34', 3920.00, 0.00, NULL, 1, NULL, NULL, '2020-12-27 18:18:34', '2020-12-27 18:18:34'),
(15, '17', '1', '2020-12-27 18:22:52', 1850.00, 0.00, NULL, 1, NULL, NULL, '2020-12-27 18:22:52', '2020-12-27 18:22:52'),
(16, '18', '1', '2020-12-28 11:49:27', 9250.00, 0.00, NULL, 1, NULL, NULL, '2020-12-28 11:49:27', '2020-12-28 11:49:27'),
(17, '19', '1', '2021-01-02 18:00:00', 5550.00, 0.00, NULL, 1, NULL, NULL, '2021-01-02 20:00:06', '2021-01-02 20:00:06'),
(18, '20', '1', '2021-01-02 18:00:00', 1850.00, 0.00, NULL, 1, NULL, NULL, '2021-01-02 20:07:33', '2021-01-02 20:07:33'),
(19, '21', '2', '2021-01-01 18:00:00', 1960.00, 0.00, NULL, 1, NULL, NULL, '2021-01-02 20:12:03', '2021-01-02 20:12:03'),
(21, '3', '2', '2021-01-13 19:35:08', 0.00, 1960.00, NULL, 1, NULL, NULL, '2021-01-13 19:35:08', '2021-01-13 19:35:08'),
(22, '4', '1', '2021-01-13 19:51:46', 0.00, 1850.00, NULL, 1, NULL, NULL, '2021-01-13 19:51:46', '2021-01-13 19:51:46'),
(23, '5', '1', '2021-01-13 19:52:08', 0.00, 1850.00, NULL, 1, NULL, NULL, '2021-01-13 19:52:08', '2021-01-13 19:52:08'),
(24, '40', '12', '2021-01-13 18:00:00', 300.00, 0.00, NULL, 1, NULL, NULL, '2021-01-13 19:57:24', '2021-01-13 19:57:24'),
(25, '40', '1', '2021-01-13 18:00:00', 37000.00, 0.00, NULL, 1, NULL, NULL, '2021-01-13 19:57:24', '2021-01-13 19:57:24'),
(26, '6', '12', '2021-01-13 19:57:48', 0.00, 300.00, NULL, 1, NULL, NULL, '2021-01-13 19:57:48', '2021-01-13 19:57:48'),
(27, '6', '1', '2021-01-13 19:57:48', 0.00, 1850.00, NULL, 1, NULL, NULL, '2021-01-13 19:57:48', '2021-01-13 19:57:48');

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

--
-- Table structure for table `customer_accounts`
--

CREATE TABLE `customer_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `account_no` int(11) NOT NULL,
  `transection_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_date` datetime DEFAULT NULL,
  `debit` double(10,2) DEFAULT NULL,
  `credit` double(10,2) DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `customer_accounts`
--

INSERT INTO `customer_accounts` (`id`, `account_no`, `transection_no`, `transection_date`, `debit`, `credit`, `description`, `status`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 3, '4', '2020-10-23 19:16:37', 11250.00, NULL, NULL, 1, 1, NULL, NULL, '2020-10-23 13:16:37', '2020-10-23 13:16:37'),
(2, 4, '5', '2020-10-23 19:17:43', 9000.00, NULL, NULL, 1, 1, NULL, NULL, '2020-10-23 13:17:43', '2020-10-23 13:17:43'),
(3, 3, '4', '2020-10-23 19:22:28', NULL, 11250.00, 'Tk receive', 1, 1, NULL, NULL, '2020-10-23 13:22:28', '2020-10-23 13:22:28'),
(4, 4, '6', '2020-10-23 19:28:27', 6750.00, NULL, NULL, 1, 1, NULL, NULL, '2020-10-23 13:28:27', '2020-10-23 13:28:27'),
(5, 4, '5', '2020-10-23 19:30:12', NULL, 5000.00, 'receive', 1, 1, NULL, NULL, '2020-10-23 13:30:12', '2020-10-23 13:30:12'),
(6, 4, NULL, '2020-10-23 19:30:36', NULL, 3500.00, 'hjkhkj', 1, 1, NULL, NULL, '2020-10-23 13:30:36', '2020-10-23 13:30:36'),
(7, 4, NULL, '2020-10-23 19:31:17', NULL, 10000.00, 'Cash adavance', 1, 1, NULL, NULL, '2020-10-23 13:31:17', '2020-10-23 13:31:17'),
(8, 4, '7', '2020-10-23 19:33:02', 9000.00, NULL, NULL, 1, 1, NULL, NULL, '2020-10-23 13:33:02', '2020-10-23 13:33:02'),
(9, 2, '8', '2020-11-03 00:11:40', 4500.00, NULL, NULL, 1, 1, NULL, NULL, '2020-11-02 18:11:40', '2020-11-02 18:11:40'),
(10, 2, '1', '2020-11-03 00:12:39', NULL, 2250.00, 'cash short', 1, 1, NULL, NULL, '2020-11-02 18:12:39', '2020-11-02 18:12:39'),
(11, 2, NULL, '2020-11-03 00:19:50', NULL, 350.00, 'adaldjs', 1, 1, NULL, NULL, '2020-11-02 18:19:50', '2020-11-02 18:19:50'),
(12, 3, '9', '2020-12-23 19:52:41', 6750.00, 6750.00, NULL, 1, 1, NULL, NULL, '2020-12-23 13:52:41', '2020-12-23 13:52:41'),
(13, 3, '10', '2020-12-23 19:54:33', 6750.00, NULL, NULL, 1, 1, NULL, NULL, '2020-12-23 13:54:33', '2020-12-23 13:54:33'),
(14, 3, '10', '2020-12-23 19:55:07', NULL, 750.00, 'Cash receive partially', 1, 1, NULL, NULL, '2020-12-23 13:55:07', '2020-12-23 13:55:07'),
(15, 3, '11', '2020-12-25 01:16:22', 11250.00, NULL, NULL, 1, 1, NULL, NULL, '2020-12-24 19:16:22', '2020-12-24 19:16:22'),
(16, 4, NULL, '2020-12-25 23:56:22', NULL, 5000.00, 'Cash receive from sumon customer into jb-021455(jonota bank) account', 1, 1, NULL, NULL, '2020-12-25 17:56:22', '2020-12-25 17:56:22'),
(17, 4, '7', '2020-12-27 19:17:30', NULL, 250.00, 'Partial Amount receive', 1, 1, NULL, NULL, '2020-12-27 13:17:30', '2020-12-27 13:17:30'),
(18, 3, '12', '2020-12-27 21:41:57', 4500.00, 4500.00, NULL, 1, 1, NULL, NULL, '2020-12-27 15:41:57', '2020-12-27 15:41:57'),
(19, 4, '13', '2020-12-28 00:16:02', 22500.00, NULL, NULL, 1, 1, NULL, NULL, '2020-12-27 18:16:02', '2020-12-27 18:16:02'),
(20, 4, '14', '2020-12-28 00:18:34', 4500.00, NULL, NULL, 1, 1, NULL, NULL, '2020-12-27 18:18:34', '2020-12-27 18:18:34'),
(21, 4, '17', '2020-12-28 00:22:52', 2250.00, NULL, 'Sales', 1, 1, NULL, NULL, '2020-12-27 18:22:52', '2020-12-27 18:22:52'),
(22, 4, '13', '2020-12-28 17:32:34', NULL, 22500.00, 'fgasdf', 1, 1, NULL, NULL, '2020-12-28 11:32:34', '2020-12-28 11:32:34'),
(23, 4, '7', '2020-12-28 17:32:49', NULL, 1000.00, 'vddfg', 1, 1, NULL, NULL, '2020-12-28 11:32:49', '2020-12-28 11:32:49'),
(24, 4, '14', '2020-12-28 17:33:03', NULL, 4500.00, 'df sfsdf fdsf', 1, 1, NULL, NULL, '2020-12-28 11:33:03', '2020-12-28 11:33:03'),
(25, 4, '17', '2020-12-28 17:33:16', NULL, 2250.00, 'fsdafs afds', 1, 1, NULL, NULL, '2020-12-28 11:33:16', '2020-12-28 11:33:16'),
(26, 7, '18', '2020-12-28 17:49:27', 11250.00, NULL, 'Sales due', 1, 1, NULL, NULL, '2020-12-28 11:49:27', '2020-12-28 11:49:27'),
(27, 7, NULL, '2020-12-28 17:49:59', NULL, 3000.00, 'cash receive', 1, 1, NULL, NULL, '2020-12-28 11:49:59', '2020-12-28 11:49:59'),
(28, 7, NULL, '2020-12-28 17:50:37', NULL, 6000.00, 'cash receive', 1, 1, NULL, NULL, '2020-12-28 11:50:37', '2020-12-28 11:50:37'),
(29, 2, '19', '2021-01-03 00:00:00', 6750.00, NULL, NULL, 1, 1, NULL, NULL, '2021-01-02 20:00:06', '2021-01-02 20:00:06'),
(30, 7, '20', '2021-01-03 00:00:00', 2250.00, NULL, NULL, 1, 1, NULL, NULL, '2021-01-02 20:07:33', '2021-01-02 20:07:33'),
(31, 2, '21', '2021-01-02 00:00:00', 2250.00, NULL, NULL, 1, 1, NULL, NULL, '2021-01-02 20:12:03', '2021-01-02 20:12:03');

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

--
-- Table structure for table `customer_categories`
--

CREATE TABLE `customer_categories` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `customer_categories`
--

INSERT INTO `customer_categories` (`id`, `name`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'general', 1, NULL, '2020-10-23 13:05:16', '2020-10-23 13:05:16'),
(2, 'special', 1, NULL, '2020-10-23 13:05:25', '2020-10-23 13:05:25');

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

--
-- Table structure for table `customer_profiles`
--

CREATE TABLE `customer_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `category_id` int(11) DEFAULT NULL,
  `transection_term_id` int(11) DEFAULT NULL,
  `common_id` int(11) DEFAULT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `customer_profiles`
--

INSERT INTO `customer_profiles` (`id`, `name`, `category_id`, `transection_term_id`, `common_id`, `address`, `phone`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(0, 'Walking Customer', NULL, NULL, NULL, NULL, '123456', 1, NULL, NULL, NULL),
(2, 'Md.Farhad Ali', 2, 2, 1, 'Kalam,Singra', '012456', 1, NULL, '2020-10-23 13:07:58', '2020-10-23 13:07:58'),
(3, 'Md.Sweet', 2, 2, 2, 'Joipurhat', '365478', 1, NULL, '2020-10-23 13:08:22', '2020-10-23 13:08:22'),
(4, 'Md.Sumon', 2, 2, 3, 'Moymonsing', '987456', 1, NULL, '2020-10-23 13:08:59', '2020-10-23 13:08:59'),
(5, 'Atapatu', 2, 1, 4, '', '012456987', 1, NULL, '2020-12-24 19:17:15', '2020-12-24 19:17:15'),
(6, 'Ranatunga', 1, 1, 5, '', '0175421', 1, NULL, '2020-12-24 19:17:42', '2020-12-24 19:17:42'),
(7, 'Mamun Ahmed', 2, 1, 6, 'Dhaka', '0175856562', 1, NULL, '2020-12-28 11:48:59', '2020-12-28 11:48:59');

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

--
-- Stand-in structure for view `customer_supplier_both_accounts`
-- (See below for the actual view)
--
CREATE TABLE `customer_supplier_both_accounts` (
`_type` varchar(8)
,`id` int(10) unsigned
,`account_no` int(11)
,`transection_no` varchar(191)
,`transection_date` datetime
,`description` varchar(191)
,`debit` double(10,2)
,`credit` double(10,2)
,`status` tinyint(4)
,`created_by` int(11)
,`updated_by` int(11)
,`deleted_at` timestamp
,`created_at` timestamp
,`updated_at` timestamp
);

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

--
-- Table structure for table `employee_accounts`
--

CREATE TABLE `employee_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transection_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_date` datetime DEFAULT NULL,
  `debit` double(10,2) NOT NULL DEFAULT 0.00,
  `credit` double(10,2) NOT NULL DEFAULT 0.00,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` int(11) DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `employee_positions`
--

CREATE TABLE `employee_positions` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `employee_profiles`
--

CREATE TABLE `employee_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `position_id` int(11) NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `expenses_accounts`
--

CREATE TABLE `expenses_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transection_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `debit` double(10,2) NOT NULL DEFAULT 0.00,
  `credit` double(10,2) NOT NULL DEFAULT 0.00,
  `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `expense_accounts`
--

CREATE TABLE `expense_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `account_no` int(11) NOT NULL,
  `transection_no` int(11) DEFAULT NULL,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_date` datetime DEFAULT NULL,
  `debit` double(10,2) DEFAULT NULL,
  `credit` double(10,2) DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expense_accounts`
--

INSERT INTO `expense_accounts` (`id`, `account_no`, `transection_no`, `ref_no`, `description`, `transection_date`, `debit`, `credit`, `status`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 1, NULL, '1', 'Salary Paid', '2020-10-24 00:43:47', 10000.00, NULL, 1, 1, NULL, NULL, '2020-10-23 18:43:47', '2020-10-23 18:43:47'),
(2, 1, NULL, NULL, 'dsfsd', '2020-12-25 17:16:19', 100.00, NULL, 1, 1, NULL, NULL, '2020-12-25 11:16:19', '2020-12-25 11:16:19'),
(3, 1, NULL, NULL, 'dfsfsadf', '2020-12-25 17:16:51', NULL, 25.00, 1, 1, NULL, NULL, '2020-12-25 11:16:51', '2020-12-25 11:16:51');

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

--
-- Table structure for table `expense_profiles`
--

CREATE TABLE `expense_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expense_profiles`
--

INSERT INTO `expense_profiles` (`id`, `name`, `description`, `phone`, `address`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Salary', NULL, NULL, NULL, 1, NULL, '2020-10-23 18:43:02', '2020-10-23 18:43:02');

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

--
-- Table structure for table `inventories`
--

CREATE TABLE `inventories` (
  `id` int(10) UNSIGNED NOT NULL,
  `product_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `reorder_label` double(10,2) NOT NULL DEFAULT 0.00,
  `target_label` double(10,2) NOT NULL DEFAULT 0.00,
  `min_reorder_qty` double(10,2) NOT NULL DEFAULT 0.00,
  `received` double(10,2) NOT NULL DEFAULT 0.00,
  `on_order` double(10,2) NOT NULL DEFAULT 0.00,
  `srinkage` double(10,2) NOT NULL DEFAULT 0.00,
  `shiped` double(10,2) NOT NULL DEFAULT 0.00,
  `allocated` double(10,2) NOT NULL DEFAULT 0.00,
  `initial_label` double(10,2) NOT NULL DEFAULT 0.00,
  `on_hand` double(10,2) NOT NULL DEFAULT 0.00,
  `sales_return` double(10,2) NOT NULL DEFAULT 0.00,
  `purchase_return` double(10,2) NOT NULL DEFAULT 0.00,
  `available` double(10,2) NOT NULL DEFAULT 0.00,
  `courent_label` double(10,2) NOT NULL DEFAULT 0.00,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inventories`
--

INSERT INTO `inventories` (`id`, `product_id`, `reorder_label`, `target_label`, `min_reorder_qty`, `received`, `on_order`, `srinkage`, `shiped`, `allocated`, `initial_label`, `on_hand`, `sales_return`, `purchase_return`, `available`, `courent_label`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '1', 50.00, 0.00, 0.00, 181.00, -4.00, 0.00, 0.00, 91.00, 0.00, 0.00, 0.00, 0.00, 90.00, 0.00, 1, NULL, '2020-10-23 13:10:38', '2021-01-13 19:57:48'),
(2, '2', 50.00, 0.00, 0.00, 171.00, -1.00, 0.00, 0.00, 20.00, 0.00, 0.00, 0.00, 0.00, 150.00, 0.00, 1, NULL, '2020-10-23 13:10:58', '2021-01-15 13:13:50'),
(3, '3', 20.00, 0.00, 10.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 1, NULL, '2020-10-23 13:11:18', '2020-10-23 13:11:18'),
(4, '4', 10.00, 0.00, 0.00, 650.00, 0.00, 0.00, 0.00, 104.00, 0.00, 0.00, 0.00, 0.00, 546.00, 0.00, 1, NULL, '2020-12-28 11:53:47', '2021-01-03 20:30:25'),
(5, '5', 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 1, NULL, '2021-01-03 21:15:29', '2021-01-03 21:15:29'),
(6, '6', 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 1, NULL, '2021-01-03 21:15:39', '2021-01-03 21:15:39'),
(7, '7', 0.00, 0.00, 0.00, 20.00, 0.00, 0.00, 0.00, 3.00, 0.00, 0.00, 0.00, 10.00, 7.00, 0.00, 1, NULL, '2021-01-03 21:15:48', '2021-01-18 20:30:23'),
(8, '8', 0.00, 0.00, 0.00, 20.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 20.00, 0.00, 1, NULL, '2021-01-03 21:15:55', '2021-01-03 21:15:55'),
(9, '9', 0.00, 0.00, 0.00, 82.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 5.00, 77.00, 0.00, 1, NULL, '2021-01-03 21:16:06', '2021-01-18 20:04:55'),
(10, '10', 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 1, NULL, '2021-01-03 21:16:15', '2021-01-03 21:16:15'),
(11, '11', 0.00, 0.00, 0.00, 21.00, 0.00, 0.00, 0.00, 2.00, 0.00, 0.00, 0.00, 0.00, 19.00, 0.00, 1, NULL, '2021-01-03 21:16:26', '2021-01-03 21:29:11'),
(12, '12', 0.00, 0.00, 0.00, 21.00, -3.00, 0.00, 0.00, 5.00, 0.00, 0.00, 0.00, 4.00, 12.00, 0.00, 1, NULL, '2021-01-03 21:16:35', '2021-01-18 20:32:39'),
(13, '13', 0.00, 0.00, 0.00, 20.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 20.00, 0.00, 1, NULL, '2021-01-03 21:16:44', '2021-01-03 21:16:44'),
(14, '14', 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 1, NULL, '2021-01-03 21:16:52', '2021-01-03 21:16:52');

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

--
-- Table structure for table `language_lines`
--

CREATE TABLE `language_lines` (
  `id` int(10) UNSIGNED NOT NULL,
  `group` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `key` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `text` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `ltm_translations`
--

CREATE TABLE `ltm_translations` (
  `id` int(10) UNSIGNED NOT NULL,
  `status` int(11) NOT NULL DEFAULT 0,
  `locale` varchar(191) COLLATE utf8mb4_bin NOT NULL,
  `group` varchar(191) COLLATE utf8mb4_bin NOT NULL,
  `key` text COLLATE utf8mb4_bin NOT NULL,
  `value` text COLLATE utf8mb4_bin DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;






INSERT INTO `ltm_translations` (`id`, `status`, `locale`, `group`, `key`, `value`, `created_at`, `updated_at`) VALUES
(2136, 0, 'en', '_json', 'label.Net Price_unit', NULL, '2020-10-27 15:22:06', '2020-10-27 15:22:06'),
(2137, 0, 'en', '_json', 'label.Net Cost Total', NULL, '2020-10-27 15:22:06', '2020-10-27 15:22:06'),
(2138, 0, 'en', '_json', 'label.Gross total', NULL, '2020-10-27 15:22:06', '2020-10-27 15:22:06'),
(2139, 0, 'en', '_json', 'label.Discount total', NULL, '2020-10-27 15:22:06', '2020-10-27 15:22:06'),
(2140, 0, 'en', '_json', 'label.Vat Total', NULL, '2020-10-27 15:22:06', '2020-10-27 15:22:06'),
(2141, 0, 'en', '_json', 'label.Net Amount', NULL, '2020-10-27 15:22:06', '2020-10-27 15:22:06'),
(2142, 0, 'en', '_json', 'label.Paid Amount', NULL, '2020-10-27 15:22:06', '2020-10-27 15:22:06'),
(2143, 0, 'en', '_json', 'label.Quick Sale', NULL, '2020-10-27 15:22:06', '2020-10-27 15:22:06'),
(2144, 0, 'en', '_json', 'label.Insert Total Pay Amount', NULL, '2020-10-27 15:22:06', '2020-10-27 15:22:06'),
(2145, 0, 'en', '_json', 'label.Created By', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2146, 0, 'en', '_json', 'label.Gross Total', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2147, 0, 'en', '_json', 'label.Discount Amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2148, 0, 'en', '_json', 'label.VAT Amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2149, 0, 'en', '_json', 'label.Net Total', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2150, 0, 'en', '_json', 'label.Product  Name', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2151, 0, 'en', '_json', 'label.Opening Item', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2152, 0, 'en', '_json', 'label.Ref. No', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2153, 0, 'en', '_json', 'label.VAT Total', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2154, 0, 'en', '_json', 'label.Add to inventory', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2155, 0, 'en', '_json', 'label.Create Order', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2156, 0, 'en', '_json', 'label.Order List', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2157, 0, 'en', '_json', 'label.Preorder Date', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2158, 0, 'en', '_json', 'label.Expected Delivery Date', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2159, 0, 'en', '_json', 'label.Product received from previous order', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2160, 0, 'en', '_json', 'label.Total Purchase', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2161, 0, 'en', '_json', 'label.Cash Purchase', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2162, 0, 'en', '_json', 'label.Total Cash Purchase', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2163, 0, 'en', '_json', 'label.Credit Purchase', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2164, 0, 'en', '_json', 'label.Total Payable Amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2165, 0, 'en', '_json', 'label.Credit Invoice (Purchase)', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2166, 0, 'en', '_json', 'label.Create New Order', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2167, 0, 'en', '_json', 'label.Order Id', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2168, 0, 'en', '_json', 'label.Return Amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2169, 0, 'en', '_json', 'label.Cash Received', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2170, 0, 'en', '_json', 'label.Created at', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2171, 0, 'en', '_json', 'label.view details', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2172, 0, 'en', '_json', 'label.Purchase Invoice Number', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2173, 0, 'en', '_json', 'label.Purchase Return Report', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2174, 0, 'en', '_json', 'label.Make Purchase', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2175, 0, 'en', '_json', 'label.Total Purchase Return', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2176, 0, 'en', '_json', 'label.Purchase Date', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2177, 0, 'en', '_json', 'label.Line Total', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2178, 0, 'en', '_json', 'label.Receive Amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2179, 0, 'en', '_json', 'label.Payable Amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2180, 0, 'en', '_json', 'label.Write Reson of Return', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2181, 0, 'en', '_json', 'label.Purchase Invoice No', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2182, 0, 'en', '_json', 'label.return Invoice No', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2183, 0, 'en', '_json', 'label.Pre Order', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2184, 0, 'en', '_json', 'label.Re Order Item List', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2185, 0, 'en', '_json', 'label.Unit Price', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2186, 0, 'en', '_json', 'label.Estimated Purchase Price', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2187, 0, 'en', '_json', 'label.Add To Order', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2188, 0, 'en', '_json', 'label.Gross Amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2189, 0, 'en', '_json', 'label.Payment Amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2190, 0, 'en', '_json', 'label.Run Report', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2191, 0, 'en', '_json', 'label.Order No', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2192, 0, 'en', '_json', 'label.Order Date', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2193, 0, 'en', '_json', 'label.Receivable Date', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2194, 0, 'en', '_json', 'label.View details', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2195, 0, 'en', '_json', 'label.Purchase return', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2196, 0, 'en', '_json', 'label.Net Purchase', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2197, 0, 'en', '_json', 'label.User wise Purchase', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2198, 0, 'en', '_json', 'label.Total Purchase Amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2199, 0, 'en', '_json', 'label.All Item Report', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2200, 0, 'en', '_json', 'label.Available Quantity', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2201, 0, 'en', '_json', 'label.Reorder Level', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2202, 0, 'en', '_json', 'label.Target Level', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2203, 0, 'en', '_json', 'label.Minimum Reorder Quantity', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2204, 0, 'en', '_json', 'label.On order', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2205, 0, 'en', '_json', 'label.Initial Level', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2206, 0, 'en', '_json', 'label.On hand', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2207, 0, 'en', '_json', 'label.Sales return', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2208, 0, 'en', '_json', 'label.Current Level', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2209, 0, 'en', '_json', 'label.Updated at', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2210, 0, 'en', '_json', 'label.For the year', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2211, 0, 'en', '_json', 'label.Account Title', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2212, 0, 'en', '_json', 'label.Investment (outside)', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2213, 0, 'en', '_json', 'label.Advanced received', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2214, 0, 'en', '_json', 'label.Net Profit / Loss', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2215, 0, 'en', '_json', 'label.Total Sales', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2216, 0, 'en', '_json', 'label.Today Total Sales', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2217, 0, 'en', '_json', 'label.Total Cash Sales', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2218, 0, 'en', '_json', 'label.Total Credit Sales', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2219, 0, 'en', '_json', 'label.Over Due Customer List', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2220, 0, 'en', '_json', 'label.no data found', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2221, 0, 'en', '_json', 'label.Gross Sales', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2222, 0, 'en', '_json', 'label.Net Sales', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2223, 0, 'en', '_json', 'label.Cost Of Goods Sold', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2224, 0, 'en', '_json', 'label.Gross Income', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2225, 0, 'en', '_json', 'label.Net Income', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2226, 0, 'en', '_json', 'label.User wise Cash DR', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2227, 0, 'en', '_json', 'label.User wise Cash CR', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2228, 0, 'en', '_json', 'label.Credit sales', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2229, 0, 'en', '_json', 'label.Credit Invoice (sales)', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2230, 0, 'en', '_json', 'label.Cash sales', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2231, 0, 'en', '_json', 'label.User wise Sales', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2232, 0, 'en', '_json', 'label.Available Items', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2233, 0, 'en', '_json', 'label.Srinkage Items', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2234, 0, 'en', '_json', 'label.Supplier Report', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2235, 0, 'en', '_json', 'label.Re-Order Item List', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2236, 0, 'en', '_json', 'label.Make Order', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2237, 0, 'en', '_json', 'label.Target Quantity', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2238, 0, 'en', '_json', 'label.Reorder Qty', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2239, 0, 'en', '_json', 'label.Set re-order label and target label', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2240, 0, 'en', '_json', 'label.Re order Lavel', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2241, 0, 'en', '_json', 'label.Target Lavel', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2242, 0, 'en', '_json', 'label.Re order Qty', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2243, 0, 'en', '_json', 'label.Re Order Qty', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2244, 0, 'en', '_json', 'label.Cost of goods sold', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2245, 0, 'en', '_json', 'label.Cost Ratio', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2246, 0, 'en', '_json', 'label.Contribution Margin Ration', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2247, 0, 'en', '_json', 'label.Cost ratio', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2248, 0, 'en', '_json', 'label.Srinkage Item', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2249, 0, 'en', '_json', 'label.Srinkage Quantity', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2250, 0, 'en', '_json', 'label.reorder if need', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2251, 0, 'en', '_json', 'label.Update Role', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2252, 0, 'en', '_json', 'label.User list', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2253, 0, 'en', '_json', 'label.Add Customer', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2254, 0, 'en', '_json', 'label.Sales Report (cash)', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2255, 0, 'en', '_json', 'label.Cash Sales', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2256, 0, 'en', '_json', 'label.product Id', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2257, 0, 'en', '_json', 'label.Credit Invoices (sales)', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2258, 0, 'en', '_json', 'label.Make Payment', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2259, 0, 'en', '_json', 'label.Credit Sales', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2260, 0, 'en', '_json', 'label.Total Received', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2261, 0, 'en', '_json', 'label.Total Due Amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2262, 0, 'en', '_json', 'label.Invoice List', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2263, 0, 'en', '_json', 'label.Search for products', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2264, 0, 'en', '_json', 'label.Start typing', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2265, 0, 'en', '_json', 'label.Scanning With Barcode', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2266, 0, 'en', '_json', 'label.Product Quantiry', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2267, 0, 'en', '_json', 'label.No available product', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2268, 0, 'en', '_json', 'label.Reprint Invoice', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2269, 0, 'en', '_json', 'label.Park Sale', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2270, 0, 'en', '_json', 'label.Discard Sale', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2271, 0, 'en', '_json', 'label.Pay amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2272, 0, 'en', '_json', 'label.Due amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2273, 0, 'en', '_json', 'label.Return amount', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2274, 0, 'en', '_json', 'label.Pre Order Sales Confirm', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2275, 0, 'en', '_json', 'label.Pre Order Invoice List', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2276, 0, 'en', '_json', 'label.Sale Confirm', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2277, 0, 'en', '_json', 'label.Sales Invoice List', NULL, '2020-10-27 15:22:07', '2020-10-27 15:22:07'),
(2278, 0, 'en', '_json', 'label.Sales Date', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2279, 0, 'en', '_json', 'label.Sales Price (unit)', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2280, 0, 'en', '_json', 'label.Refund Amount', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2281, 0, 'en', '_json', 'label.Sales Invoice Number', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2282, 0, 'en', '_json', 'label.Sales Return  Report', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2283, 0, 'en', '_json', 'label.Make sales', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2284, 0, 'en', '_json', 'label.Total Sales Return', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2285, 0, 'en', '_json', 'label.Return Invoice', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2286, 0, 'en', '_json', 'label.Sales Invoice No', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2287, 0, 'en', '_json', 'label.Sales Invoice', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2288, 0, 'en', '_json', 'label.Sales Report', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2289, 0, 'en', '_json', 'label.Initial Received', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2290, 0, 'en', '_json', 'label.Total Sales Amount', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2291, 0, 'en', '_json', 'label.Sales Preorder Invoice', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2292, 0, 'en', '_json', 'label.Total Amount', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2293, 0, 'en', '_json', 'label.Shipper Name', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2294, 0, 'en', '_json', 'label.Shop Name', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2295, 0, 'en', '_json', 'label.Enter shop name', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2296, 0, 'en', '_json', 'label.Enter email address', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2297, 0, 'en', '_json', 'label.Enter contact number', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2298, 0, 'en', '_json', 'label.Enter shop address', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2299, 0, 'en', '_json', 'label.Invoice layout', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2300, 0, 'en', '_json', 'label.Shop logo', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2301, 0, 'en', '_json', 'label.S.House Location Name', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2302, 0, 'en', '_json', 'label.Update Store House', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2303, 0, 'en', '_json', 'label.Store House Name', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2304, 0, 'en', '_json', 'label.Add Supplier', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2305, 0, 'en', '_json', 'label.Update Supplier', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2306, 0, 'en', '_json', 'label.Supplier Type', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2307, 0, 'en', '_json', 'label.Supplier Catgory', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2308, 0, 'en', '_json', 'label.Advance Paid', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2309, 0, 'en', '_json', 'label.account no', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2310, 0, 'en', '_json', 'label.Supplier Category Name', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2311, 0, 'en', '_json', 'label.Update Supplier Category', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2312, 0, 'en', '_json', 'label.Supplier category Name', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2313, 0, 'en', '_json', 'label.Overdue Supplier List', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2314, 0, 'en', '_json', 'label.Supplier Transection History', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2315, 0, 'en', '_json', 'label.Supplier Id / Name', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2316, 0, 'en', '_json', 'label.Supplier information', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2317, 0, 'en', '_json', 'label.Supplier Signature', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2318, 0, 'en', '_json', 'label.Trasaction Terms Name', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2319, 0, 'en', '_json', 'label.Update Transaction Terms', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2320, 0, 'en', '_json', 'label.Transaction Terms Name', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2321, 0, 'en', '_json', 'label.Mobile Bank  Account', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2322, 0, 'en', '_json', 'label.Payment Transection', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2323, 0, 'en', '_json', 'label.Fund Type', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2324, 0, 'en', '_json', 'label.Mobile Bank', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2325, 0, 'en', '_json', 'label.Receiver Category', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2326, 0, 'en', '_json', 'label.Receiver Account', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2327, 0, 'en', '_json', 'label.Receive Transection', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2328, 0, 'en', '_json', 'label.Receive To', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2329, 0, 'en', '_json', 'label.Account Type (Receive)', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2330, 0, 'en', '_json', 'label.Tax Rate', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2331, 0, 'en', '_json', 'label.Start Date', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2332, 0, 'en', '_json', 'label.Update VAT', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2333, 0, 'en', '_json', 'label.VAT Rate', NULL, '2020-10-27 15:22:08', '2020-10-27 15:22:08'),
(2334, 0, 'bn', 'label', 'sl', 'সিরিয়াল', '2020-10-27 15:23:36', '2020-12-28 13:04:19'),
(2335, 0, 'bn', 'label', 'phone', 'ফোন', '2020-10-27 15:23:57', '2020-12-28 13:04:19'),
(2336, 0, 'bn', 'label', 'no data found', 'কোনও ডেটা পাওয়া যায় নি', '2020-10-27 15:24:19', '2020-12-28 13:04:19'),
(2337, 0, 'bn', 'label', 'name', 'নাম', '2020-10-27 15:24:35', '2020-12-28 13:04:19'),
(2338, 0, 'bn', 'label', 'day_count', 'দিন গণনা', '2020-10-27 15:24:58', '2020-12-28 13:04:19'),
(2339, 0, 'bn', 'label', 'date', 'তারিখ', '2020-10-27 15:25:15', '2020-12-28 13:04:19'),
(2340, 0, 'bn', 'label', 'code', 'কোড', '2020-10-27 15:25:29', '2020-12-28 13:04:19'),
(2341, 0, 'bn', 'label', 'amount', 'পরিমাণ', '2020-10-27 15:25:50', '2020-12-28 13:04:19'),
(2342, 0, 'bn', 'label', 'address', 'ঠিকানা', '2020-10-27 15:26:17', '2020-12-28 13:04:19'),
(2343, 0, 'bn', 'label', 'Update Mobile Bank Account profile', 'মোবাইল ব্যাংক অ্যাকাউন্ট প্রোফাইল আপডেট করুন', '2020-10-27 15:26:47', '2020-12-28 13:04:19'),
(2344, 0, 'bn', 'label', 'Today Total Sales', 'আজ মোট বিক্রয়', '2020-10-27 15:27:10', '2020-12-28 13:04:19'),
(2345, 0, 'bn', 'label', 'TK', 'Tk', '2020-10-27 15:27:28', '2020-12-28 13:04:19'),
(2346, 0, 'bn', 'label', 'Over Due Customer List', 'ক্রেডিট গ্রাহক তালিকা', '2020-10-27 15:28:31', '2020-12-28 13:04:19'),
(2347, 0, 'bn', 'label', 'Mobile Bank Name', 'মোবাইল ব্যাংকের নাম', '2020-10-27 15:28:50', '2020-12-28 13:04:19'),
(2348, 0, 'bn', 'label', 'Mobile Bank Account Profile', 'মোবাইল ব্যাংক অ্যাকাউন্ট প্রোফাইল', '2020-10-27 15:29:03', '2020-12-28 13:04:19'),
(2349, 0, 'bn', 'label', 'Mobile Bank Account', 'মোবাইল ব্যাংক অ্যাকাউন্ট', '2020-10-27 15:29:20', '2020-12-28 13:04:19'),
(2350, 0, 'bn', 'label', 'Customer/Supplier Profile', 'গ্রাহক / সরবরাহকারী প্রোফাইল', '2020-10-27 15:29:45', '2020-12-28 13:04:19'),
(2351, 0, 'bn', 'label', 'Customer Supplier Both', 'গ্রাহক সরবরাহকারী উভয়', '2020-10-27 15:29:59', '2020-12-28 13:04:19'),
(2352, 0, 'en', 'label', 'Customer Supplier Both Account History', 'Customer Supplier Both Account History', '2020-12-23 14:00:03', '2020-12-28 13:04:19'),
(2353, 0, 'en', 'label', 'Customer-Supplier Both Report', 'Customer-Supplier Both Report', '2020-12-23 14:00:03', '2020-12-28 13:04:19'),
(2354, 0, 'en', '_json', 'label.Customer Supplier Both Account History', NULL, '2020-12-23 14:00:04', '2020-12-23 14:00:04'),
(2355, 0, 'en', '_json', 'label.Customer-Supplier Both Report', NULL, '2020-12-23 14:00:04', '2020-12-23 14:00:04'),
(2356, 0, 'bn', 'label', 'Payable', 'প্রদেয়', '2020-12-23 14:00:54', '2020-12-28 13:04:19'),
(2357, 0, 'bn', 'label', 'Customer-Supplier Both Report', 'গ্রাহক-সরবরাহকারী উভয় রিপোর্ট', '2020-12-23 14:04:12', '2020-12-28 13:04:19'),
(2358, 0, 'en', 'label', 'Opening Balance', 'Opening Balance', '2020-12-28 12:47:50', '2020-12-28 13:04:19'),
(2359, 0, 'en', 'label', 'Bank Loan', 'Bank loan', '2020-12-28 12:47:50', '2020-12-28 13:04:19'),
(2360, 0, 'en', 'label', 'Today Total', 'Today Total', '2020-12-28 12:47:50', '2020-12-28 13:04:19'),
(2361, 0, 'en', 'label', 'receive_transection_list', 'Payment received transaction list', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2362, 0, 'en', 'label', 'payment_transection_list', 'Payment transection list', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2363, 0, 'en', 'label', 'Cash Account', 'Cash Account', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2364, 0, 'en', 'label', 'Payment Transection List', 'Payment Transaction List', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2365, 0, 'en', 'label', 'Transection NO', 'Transaction No', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2366, 0, 'en', 'label', 'From which it has been taken', 'Taken from that account', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2367, 0, 'en', 'label', 'Taken into account', 'Taking money into that account', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2368, 0, 'en', 'label', 'receive by', 'গ্রহীতা', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2369, 0, 'en', 'label', 'Payment Voucher', 'Payment Voucher', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2370, 0, 'en', 'label', 'Print Time', 'Print Time', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2371, 0, 'en', 'label', 'Paid From ', 'Payable from account', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2372, 0, 'en', 'label', 'In word', 'In word', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2373, 0, 'en', 'label', 'signature', 'Signature', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2374, 0, 'en', 'label', 'Receive Voucher', 'Payment Receive Voucher', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2375, 0, 'en', 'label', 'Money Receipt', 'Money Receipt Voucher', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2376, 0, 'en', 'label', 'Receive Account ', 'Receivable Account', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2377, 0, 'en', 'label', 'Payment Receive Transection ', 'Payment Receive Transection', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2378, 0, 'en', 'label', 'Receive Transection List', 'Receive Transaction List', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2379, 0, 'en', 'label', 'From which it has been given', 'Pay from that account', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2380, 0, 'en', 'label', 'Given into account', 'Given into account', '2020-12-28 12:47:51', '2020-12-28 13:04:19'),
(2381, 0, 'en', '_json', 'label.Opening Balance', NULL, '2020-12-28 12:47:51', '2020-12-28 12:47:51'),
(2382, 0, 'en', '_json', 'label.Bank Loan', NULL, '2020-12-28 12:47:52', '2020-12-28 12:47:52'),
(2383, 0, 'en', '_json', 'label.Today Total', NULL, '2020-12-28 12:47:52', '2020-12-28 12:47:52'),
(2384, 0, 'en', '_json', 'label.Cash Account', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2385, 0, 'en', '_json', 'label.Payment Transection List', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2386, 0, 'en', '_json', 'label.Transection NO', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2387, 0, 'en', '_json', 'label.From which it has been taken', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2388, 0, 'en', '_json', 'label.Taken into account', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2389, 0, 'en', '_json', 'label.receive by', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2390, 0, 'en', '_json', 'label.Payment Voucher', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2391, 0, 'en', '_json', 'label.Print Time', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2392, 0, 'en', '_json', 'label.Paid From ', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2393, 0, 'en', '_json', 'label.In word', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2394, 0, 'en', '_json', 'label.Receive Voucher', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2395, 0, 'en', '_json', 'label.Money Receipt', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2396, 0, 'en', '_json', 'label.Receive Account ', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2397, 0, 'en', '_json', 'label.Payment Receive Transection ', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2398, 0, 'en', '_json', 'label.Receive Transection List', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2399, 0, 'en', '_json', 'label.From which it has been given', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2400, 0, 'en', '_json', 'label.Given into account', NULL, '2020-12-28 12:47:53', '2020-12-28 12:47:53'),
(2401, 0, 'bn', 'label', 'Bank Loan', 'ব্যাংক ঋণ', '2020-12-28 12:48:44', '2020-12-28 13:04:19'),
(2402, 0, 'bn', 'label', 'Cash Account', 'নগদ হিসাব', '2020-12-28 12:49:00', '2020-12-28 13:04:19'),
(2403, 0, 'bn', 'label', 'Customer Supplier Both Account History', 'গ্রাহক সরবরাহকারী উভয় অ্যাকাউন্টের ইতিহাস', '2020-12-28 12:49:47', '2020-12-28 13:04:19'),
(2404, 0, 'bn', 'label', 'From which it has been given', 'যে একাউন্ট থেকে প্রদান', '2020-12-28 12:50:39', '2020-12-28 13:04:19'),
(2405, 0, 'bn', 'label', 'From which it has been taken', 'যে একাউন্ট থেকে গ্রহণ', '2020-12-28 12:51:03', '2020-12-28 13:04:19'),
(2406, 0, 'bn', 'label', 'Given into account', 'অ্যাকাউন্টে দেওয়া হয়েছে', '2020-12-28 12:51:39', '2020-12-28 13:04:19'),
(2407, 0, 'bn', 'label', 'In word', 'কথায় :', '2020-12-28 12:52:52', '2020-12-28 13:04:19'),
(2408, 0, 'bn', 'label', 'Money Receipt', 'মানি রিসিপ্ট ভাউচার', '2020-12-28 12:53:22', '2020-12-28 13:04:19'),
(2409, 0, 'bn', 'label', 'Opening Balance', 'উদ্বোধন ব্যালেন্স', '2020-12-28 12:53:51', '2020-12-28 13:04:19'),
(2410, 0, 'bn', 'label', 'Paid From', 'অ্যাকাউন্ট থেকে প্রদেয়', '2020-12-28 12:54:51', '2020-12-28 13:04:19'),
(2411, 0, 'bn', 'label', 'Payment Transection List', 'অর্থ প্রদানের তালিকা', '2020-12-28 12:55:28', '2020-12-28 13:04:19'),
(2412, 0, 'bn', 'label', 'Payment Receive Transection', 'অর্থ প্রাপ্তি লেনদেন', '2020-12-28 12:56:24', '2020-12-28 13:04:19'),
(2413, 0, 'bn', 'label', 'Payment Voucher', 'পরিশোধ রশীদ', '2020-12-28 12:56:47', '2020-12-28 13:04:19'),
(2414, 0, 'bn', 'label', 'Print Time', 'মুদ্রণের সময়', '2020-12-28 12:57:03', '2020-12-28 13:04:19'),
(2415, 0, 'bn', 'label', 'Receive Account', 'প্রাপ্তিযোগ্য অ্যাকাউন্ট', '2020-12-28 12:57:30', '2020-12-28 13:04:19'),
(2416, 0, 'bn', 'label', 'Receive Transection List', 'পেমেন্ট প্রাপ্তি লেনদেনের তালিকা', '2020-12-28 12:58:11', '2020-12-28 13:04:19'),
(2417, 0, 'bn', 'label', 'Receive Voucher', 'পেমেন্ট রিসিভ ভাউচার', '2020-12-28 12:59:04', '2020-12-28 13:04:19'),
(2418, 0, 'bn', 'label', 'Taken into account', 'যে একাউন্টে টাকা গ্রহণ', '2020-12-28 13:00:43', '2020-12-28 13:04:19'),
(2419, 0, 'bn', 'label', 'Today Total', 'আজ মোট', '2020-12-28 13:01:18', '2020-12-28 13:04:19'),
(2420, 0, 'bn', 'label', 'Transection NO', 'লেনদেন নাম্বার', '2020-12-28 13:01:32', '2020-12-28 13:04:19'),
(2421, 0, 'bn', 'label', 'payment_transection_list', 'অর্থ লেনদেনের তালিকা', '2020-12-28 13:02:03', '2020-12-28 13:04:19'),
(2422, 0, 'bn', 'label', 'receive by', 'Recipient', '2020-12-28 13:02:59', '2020-12-28 13:04:19'),
(2423, 0, 'bn', 'label', 'receive_transection_list', 'পেমেন্ট প্রাপ্ত লেনদেনের তালিকা', '2020-12-28 13:03:33', '2020-12-28 13:04:19'),
(2424, 0, 'bn', 'label', 'signature', 'স্বাক্ষর', '2020-12-28 13:03:56', '2020-12-28 13:04:19');

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

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_04_02_193005_create_translations_table', 1),
(2, '2014_05_09_054104_create_roles_table', 1),
(3, '2014_06_12_000000_create_users_table', 1),
(4, '2014_06_12_100000_create_password_resets_table', 1),
(5, '2014_07_09_055338_create_role_users_table', 1),
(6, '2018_04_06_093842_create_employee_positions_table', 1),
(7, '2018_04_06_093914_create_employee_profiles_table', 1),
(8, '2018_04_06_093956_create_customer_categories_table', 1),
(9, '2018_04_06_094416_create_transaction_terms_table', 1),
(10, '2018_04_06_094505_create_customer_profiles_table', 1),
(11, '2018_04_06_094551_create_supplier_categories_table', 1),
(12, '2018_04_06_094615_create_supplier_profiles_table', 1),
(13, '2018_04_06_094804_create_store_house_locations_table', 1),
(14, '2018_04_06_094841_create_product_store_locations_table', 1),
(15, '2018_04_06_094930_create_product_categories_table', 1),
(16, '2018_04_06_095155_create_product_sales_offers_table', 1),
(17, '2018_04_06_095221_create_product_sales_discounts_table', 1),
(18, '2018_04_06_095248_create_product_taxes_table', 1),
(19, '2018_04_06_095451_create_product_quantity_measurements_table', 1),
(20, '2018_04_06_095531_create_product_profiles_table', 1),
(21, '2018_04_06_100149_create_purchase_orders_table', 1),
(22, '2018_04_06_100608_create_product_s_p_r_types_table', 1),
(23, '2018_04_06_100643_create_cash_books_table', 1),
(24, '2018_04_06_101553_create_inventories_table', 1),
(25, '2018_04_13_121307_create_purchase_details_table', 1),
(26, '2018_04_13_121835_create_sales_orders_table', 1),
(27, '2018_04_13_122004_create_sales_details_table', 1),
(28, '2018_04_13_122405_create_product_price_lists_table', 1),
(29, '2018_04_13_171211_create_shipper_profiles_table', 1),
(30, '2018_04_21_085219_create_customer_accounts_table', 1),
(31, '2018_04_22_153326_create_supplier_accounts_table', 1),
(32, '2018_04_27_053051_create_sales_discount_accounts_table', 1),
(33, '2018_04_27_081045_create_vat_accounts_table', 1),
(34, '2018_04_27_081243_create_sales_accounts_table', 1),
(35, '2018_04_27_081441_create_purchase_accounts_table', 1),
(36, '2018_04_27_081620_create_expenses_accounts_table', 1),
(37, '2018_04_27_081756_create_costof_goods_sold_accounts_table', 1),
(38, '2018_04_27_082446_create_sales_prices_table', 1),
(39, '2018_04_29_182211_create_employee_accounts_table', 1),
(40, '2018_05_11_110251_create_modules_table', 1),
(41, '2018_05_12_101712_create_purchase_temp_tables_table', 1),
(42, '2018_05_17_214954_create_sales_temtables_table', 1),
(43, '2018_05_23_160428_create_purchase_discount_accounts_table', 1),
(44, '2018_06_01_153844_create_owner_profiles_table', 1),
(45, '2018_06_01_153926_create_capital_accounts_table', 1),
(46, '2018_06_02_133951_create_expense_profiles_table', 1),
(47, '2018_06_02_134009_create_expense_accounts_table', 1),
(48, '2018_06_09_064839_create_sales_retrun_orders_table', 1),
(49, '2018_06_29_170230_create_shops_table', 1),
(50, '2018_06_30_162716_create_purchase_vat_accounts_table', 1),
(51, '2018_07_07_210351_create_advance_received_person_profiles_table', 1),
(52, '2018_07_07_210907_create_advance_receive_accounts_table', 1),
(53, '2018_07_07_210953_create_advance_paid_person_profiles_table', 1),
(54, '2018_07_07_211013_create_advance_paid_accounts_table', 1),
(55, '2018_07_07_211147_create_bank_account_profiles_table', 1),
(56, '2018_07_07_211241_create_bank_accounts_table', 1),
(57, '2018_07_07_211527_create_mobile_bank_accounts_profiles_table', 1),
(58, '2018_07_07_211540_create_mobile_bank_accounts_table', 1),
(59, '2018_08_03_185422_create_purchase_return_orders_table', 1),
(60, '2019_07_08_215035_create_language_lines_table', 1),
(61, '2020_10_22_000006_create_vendor_profiles_table', 1),
(62, '2020_12_25_192237_create_cash_profiles_table', 2),
(63, '2020_12_26_005746_create_cash_bank_mobilebank_view', 3),
(64, '2020_12_29_232949_create_account_heads_table', 4),
(65, '2020_12_30_004632_create_account_ledgers_table', 4),
(66, '2020_12_30_004655_create_account_level_ones_table', 4),
(67, '2020_12_30_004717_create_account_level_twos_table', 4),
(68, '2020_12_30_012655_create_account_details_table', 5),
(69, '2021_01_01_200203_create_setting_options_table', 6),
(70, '2021_01_01_230345_create_account_voucher_masters_table', 7);

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

--
-- Table structure for table `mobile_bank_accounts`
--

CREATE TABLE `mobile_bank_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `own_account_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_no` int(11) DEFAULT NULL,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_date` datetime DEFAULT NULL,
  `debit` double(10,2) DEFAULT NULL,
  `credit` double(10,2) DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mobile_bank_accounts`
--

INSERT INTO `mobile_bank_accounts` (`id`, `account_no`, `own_account_no`, `transection_no`, `ref_no`, `description`, `transection_date`, `debit`, `credit`, `status`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '1', '1', NULL, 'customer', 'adaldjs', '2020-11-03 00:19:50', 350.00, NULL, 1, 1, NULL, NULL, '2020-11-02 18:19:50', '2020-11-02 18:19:50'),
(2, '1', '1', NULL, 'supplier', 'cash paid', '2020-12-23 18:56:02', NULL, 300.00, 1, 1, NULL, NULL, '2020-12-23 12:56:02', '2020-12-23 12:56:02'),
(3, '1', '1', 0, 'opening', 'Opening Balance', '2020-12-25 00:00:00', 5000.00, 0.00, 1, NULL, NULL, NULL, '2020-12-24 20:41:12', '2020-12-24 20:41:12'),
(4, '3', '1', 0, 'opening', 'Opening Balance', '2020-12-25 00:00:00', 2500.00, 0.00, 1, NULL, NULL, NULL, '2020-12-24 20:45:12', '2020-12-24 20:45:12'),
(5, '2', '1', NULL, 'cash', 'Found Transfer', '2020-12-25 14:56:31', 2500.00, NULL, 1, 1, NULL, NULL, '2020-12-25 08:56:31', '2020-12-25 08:56:31'),
(6, '2', '1', NULL, NULL, 'paid', '2020-12-25 17:14:48', NULL, 100.00, 1, 1, NULL, NULL, '2020-12-25 11:14:48', '2020-12-25 11:14:48'),
(7, '2', '1', NULL, 'mobile', 'paid', '2020-12-25 17:14:48', 100.00, NULL, 1, 1, NULL, NULL, '2020-12-25 11:14:48', '2020-12-25 11:14:48'),
(8, '3', '2', NULL, 'supplier', 'cash', '2020-12-25 17:39:42', 25000.00, NULL, 1, 1, NULL, NULL, '2020-12-25 11:39:42', '2020-12-25 11:39:42'),
(9, '1', '2', NULL, NULL, 'hgfhf', '2020-12-25 20:08:27', NULL, 2123.00, 1, 1, NULL, NULL, '2020-12-25 14:08:27', '2020-12-25 14:08:27'),
(10, '2', '1', NULL, 'cash', 'rocket', '2020-12-26 00:05:47', 200.00, NULL, 1, 1, NULL, NULL, '2020-12-25 18:05:47', '2020-12-25 18:05:47'),
(11, '2', '1', NULL, 'bank', 'Bank to mobile bank', '2020-12-26 00:33:48', 120.00, NULL, 1, 1, NULL, NULL, '2020-12-25 18:33:48', '2020-12-25 18:33:48'),
(12, '2', '6', NULL, 'supplier', 'note', '2020-12-27 19:01:54', NULL, 2500.00, 1, 1, NULL, NULL, '2020-12-27 13:01:54', '2020-12-27 13:01:54');

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

--
-- Table structure for table `mobile_bank_accounts_profiles`
--

CREATE TABLE `mobile_bank_accounts_profiles` (
  `id` int(11) NOT NULL,
  `bank_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `bank_account` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mobile_bank_accounts_profiles`
--

INSERT INTO `mobile_bank_accounts_profiles` (`id`, `bank_name`, `bank_account`, `address`, `phone`, `description`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'DBBL', '12365478', 'k', '31335', NULL, 1, NULL, '2020-10-27 15:17:27', '2020-12-24 20:39:44'),
(2, 'Rocket', 'Rocket-01756256562', 'dhaka', '0175625652', '', 1, NULL, '2020-12-24 20:44:19', '2020-12-24 20:44:19'),
(3, 'Nogod', 'Ng-01758254121', NULL, NULL, NULL, 1, NULL, '2020-12-24 20:45:03', '2020-12-24 20:45:12');

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

--
-- Table structure for table `modules`
--

CREATE TABLE `modules` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `owner_profiles`
--

CREATE TABLE `owner_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `owner_profiles`
--

INSERT INTO `owner_profiles` (`id`, `name`, `address`, `image`, `phone`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Jony', NULL, NULL, '13131', 1, NULL, '2020-10-23 14:15:55', '2020-10-23 14:15:55');

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

--
-- Table structure for table `password_resets`
--

CREATE TABLE `password_resets` (
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_categories`
--

CREATE TABLE `product_categories` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_categories`
--

INSERT INTO `product_categories` (`id`, `name`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'feed', 1, NULL, '2020-10-23 13:09:24', '2020-10-23 13:09:24'),
(2, 'medicine', 1, NULL, '2020-10-23 13:09:31', '2020-10-23 13:09:31'),
(3, 'hen', 1, NULL, '2020-10-23 13:09:48', '2020-10-23 13:09:48');

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

--
-- Table structure for table `product_price_lists`
--

CREATE TABLE `product_price_lists` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `product_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` int(11) NOT NULL,
  `barcode` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cost_price` double(10,2) NOT NULL DEFAULT 0.00,
  `sales_price` double(10,2) NOT NULL DEFAULT 0.00,
  `qty` double(10,2) NOT NULL DEFAULT 0.00,
  `discount_rate` double(10,2) NOT NULL DEFAULT 0.00,
  `vat_rate` double(10,2) NOT NULL DEFAULT 0.00,
  `manufacture_date` date DEFAULT NULL,
  `expired_date` date DEFAULT NULL,
  `store_house_id` int(11) DEFAULT NULL,
  `purchase_details_ref` int(11) DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_price_lists`
--

INSERT INTO `product_price_lists` (`id`, `order_id`, `product_id`, `employee_id`, `barcode`, `name`, `cost_price`, `sales_price`, `qty`, `discount_rate`, `vat_rate`, `manufacture_date`, `expired_date`, `store_house_id`, `purchase_details_ref`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '1', '1', 1, NULL, 'Aman Boiler Feed', 1850.00, 2250.00, 13.00, 0.00, 0.00, NULL, NULL, NULL, 1, 1, NULL, '2020-10-23 13:13:51', '2021-01-13 19:57:48'),
(2, '1', '2', 1, NULL, 'Aman Layer Feed', 1960.00, 2250.00, 80.00, 0.00, 0.00, NULL, NULL, NULL, 2, 1, NULL, '2020-10-23 13:13:51', '2021-01-15 13:13:50'),
(3, '2', '1', 1, NULL, 'Aman Boiler Feed', 2018.25, 2000.00, 20.00, 10.00, 15.00, NULL, NULL, NULL, 3, 1, NULL, '2020-11-02 18:05:13', '2020-11-02 18:05:13'),
(4, '4', '1', 1, NULL, 'Aman Boiler Feed', 1950.00, 2500.00, 10.00, 0.00, 0.00, NULL, NULL, NULL, 5, 1, NULL, '2020-11-03 14:28:36', '2020-11-03 14:28:36'),
(5, '5', '1', 1, NULL, 'Aman Boiler Feed', 1850.00, 1950.00, 50.00, 0.00, 0.00, NULL, NULL, NULL, 6, 1, NULL, '2020-12-27 19:25:48', '2020-12-27 19:25:48'),
(6, '6', '2', 1, NULL, 'Aman Layer Feed', 1750.00, 1900.00, 30.00, 0.00, 0.00, NULL, NULL, NULL, 7, 1, NULL, '2020-12-27 19:28:55', '2020-12-27 19:28:55'),
(7, '7', '1', 1, NULL, 'Aman Boiler Feed', 1750.00, 1800.00, 1.00, 0.00, 0.00, NULL, NULL, NULL, 8, 1, NULL, '2020-12-27 19:30:35', '2020-12-27 19:30:35'),
(8, '9', '2', 1, NULL, 'Aman Layer Feed', 2500.00, 2550.00, 1.00, 0.00, 0.00, NULL, NULL, NULL, 10, 1, NULL, '2020-12-27 19:32:16', '2020-12-27 19:32:16'),
(9, '10', '4', 1, NULL, 'Boiler Murgi', 110.00, 111.00, 396.00, 0.00, 0.00, NULL, NULL, NULL, 11, 1, NULL, '2020-12-28 11:54:11', '2021-01-03 20:29:44'),
(10, '11', '4', 1, NULL, 'Boiler Murgi', 105.00, 107.00, 150.00, 0.00, 0.00, NULL, NULL, NULL, 12, 1, NULL, '2020-12-28 12:28:35', '2020-12-28 12:28:35'),
(11, '12', '9', 1, NULL, 'china', 100.00, 120.00, 26.00, 0.00, 0.00, NULL, NULL, NULL, 13, 1, NULL, '2021-01-03 21:18:48', '2021-01-18 20:04:55'),
(12, '12', '9', 1, NULL, 'china', 100.00, 120.00, 31.00, 0.00, 0.00, NULL, NULL, NULL, 14, 1, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(13, '12', '12', 1, NULL, 'kalam', 100.00, 120.00, 15.00, 0.00, 0.00, NULL, NULL, NULL, 15, 1, NULL, '2021-01-03 21:18:48', '2021-01-18 20:32:39'),
(14, '12', '13', 1, NULL, 'kalibari', 100.00, 120.00, 20.00, 0.00, 0.00, NULL, NULL, NULL, 16, 1, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(15, '12', '8', 1, NULL, 'india', 100.00, 120.00, 20.00, 0.00, 0.00, NULL, NULL, NULL, 17, 1, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(16, '12', '9', 1, NULL, 'china', 100.00, 120.00, 20.00, 0.00, 0.00, NULL, NULL, NULL, 18, 1, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(17, '12', '7', 1, NULL, 'japan', 100.00, 120.00, 7.00, 0.00, 0.00, NULL, NULL, NULL, 19, 1, NULL, '2021-01-03 21:18:49', '2021-01-18 20:30:23'),
(18, '12', '11', 1, NULL, 'pakistan', 100.00, 120.00, 18.00, 0.00, 0.00, NULL, NULL, NULL, 20, 1, NULL, '2021-01-03 21:18:49', '2021-01-03 21:21:05'),
(19, '13', '11', 1, NULL, 'pakistan', 12500.00, 13000.00, 1.00, 0.00, 0.00, NULL, NULL, NULL, 21, 1, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05'),
(20, '13', '2', 1, NULL, 'Aman Layer Feed', 2250.00, 2450.00, 20.00, 0.00, 0.00, NULL, NULL, NULL, 22, 1, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05'),
(21, '13', '2', 1, NULL, 'Aman Layer Feed', 2328.75, 2450.00, 20.00, 10.00, 15.00, NULL, NULL, NULL, 23, 1, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05');

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

--
-- Table structure for table `product_profiles`
--

CREATE TABLE `product_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `Product_category_id` int(11) NOT NULL,
  `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mesurement_id` int(11) NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `manufacturedCompany` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_profiles`
--

INSERT INTO `product_profiles` (`id`, `name`, `Product_category_id`, `image`, `mesurement_id`, `description`, `manufacturedCompany`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Aman Boiler Feed', 1, NULL, 1, 'N/A', 'N/A', 1, NULL, '2020-10-23 13:10:38', '2020-10-23 13:10:38'),
(2, 'Aman Layer Feed', 1, NULL, 1, 'N/A', 'N/A', 1, NULL, '2020-10-23 13:10:58', '2020-10-23 13:10:58'),
(3, 'CP Starter', 1, NULL, 1, 'N/A', 'N/A', 1, NULL, '2020-10-23 13:11:18', '2020-10-23 13:11:18'),
(4, 'Boiler Murgi', 3, NULL, 2, 'fsda', 'fsd', 1, NULL, '2020-12-28 11:53:47', '2020-12-28 11:53:47'),
(5, 'samsun', 2, NULL, 4, 'fdsaf', 'N/A', 1, NULL, '2021-01-03 21:15:29', '2021-01-03 21:15:29'),
(6, 'nokia', 3, NULL, 4, 'fsda', 'N/A', 1, NULL, '2021-01-03 21:15:39', '2021-01-03 21:15:39'),
(7, 'japan', 2, NULL, 4, 'N/A', 'N/A', 1, NULL, '2021-01-03 21:15:48', '2021-01-03 21:15:48'),
(8, 'india', 3, NULL, 4, 'fdsa', 'N/A', 1, NULL, '2021-01-03 21:15:55', '2021-01-03 21:15:55'),
(9, 'china', 3, NULL, 4, 'fsd', 'N/A', 1, NULL, '2021-01-03 21:16:06', '2021-01-03 21:16:06'),
(10, 'turki', 2, NULL, 4, 'dfsaf', 'N/A', 1, NULL, '2021-01-03 21:16:15', '2021-01-03 21:16:15'),
(11, 'pakistan', 2, NULL, 4, 'fsda', 'N/A', 1, NULL, '2021-01-03 21:16:26', '2021-01-03 21:16:26'),
(12, 'kalam', 3, NULL, 4, 'fds', 'N/A', 1, NULL, '2021-01-03 21:16:35', '2021-01-03 21:16:35'),
(13, 'kalibari', 3, NULL, 3, 'f', 'N/A', 1, NULL, '2021-01-03 21:16:44', '2021-01-03 21:16:44'),
(14, 'napa', 3, NULL, 4, 'fsdf', 'N/A', 1, NULL, '2021-01-03 21:16:52', '2021-01-03 21:16:52');

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

--
-- Table structure for table `product_quantity_measurements`
--

CREATE TABLE `product_quantity_measurements` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_quantity_measurements`
--

INSERT INTO `product_quantity_measurements` (`id`, `name`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '50kg bag', 1, NULL, '2020-10-23 13:06:14', '2020-10-23 13:06:14'),
(2, 'pcs', 1, NULL, '2020-10-23 13:06:19', '2020-10-23 13:06:19'),
(3, '25 kg bag', 1, NULL, '2020-10-23 13:06:26', '2020-10-23 13:06:26'),
(4, 'boatel', 1, NULL, '2020-10-23 13:06:45', '2020-10-23 13:06:45');

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

--
-- Table structure for table `product_sales_discounts`
--

CREATE TABLE `product_sales_discounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `discount_rate` double(8,2) NOT NULL,
  `start_date` datetime NOT NULL,
  `end_date` datetime NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_sales_offers`
--

CREATE TABLE `product_sales_offers` (
  `id` int(10) UNSIGNED NOT NULL,
  `offer_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` datetime NOT NULL,
  `end_date` datetime NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_store_locations`
--

CREATE TABLE `product_store_locations` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `store_house_id` int(11) NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_s_p_r_types`
--

CREATE TABLE `product_s_p_r_types` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_taxes`
--

CREATE TABLE `product_taxes` (
  `id` int(10) UNSIGNED NOT NULL,
  `tax_rate` double(8,2) NOT NULL,
  `start_date` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `end_date` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `purchase_accounts`
--

CREATE TABLE `purchase_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transection_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `ref_no` int(11) DEFAULT NULL,
  `debit` double(10,2) NOT NULL DEFAULT 0.00,
  `credit` double(10,2) NOT NULL DEFAULT 0.00,
  `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_accounts`
--

INSERT INTO `purchase_accounts` (`id`, `order_id`, `account_no`, `transection_date`, `ref_no`, `debit`, `credit`, `note`, `type`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '1', '6', '2020-10-22 18:00:00', NULL, 381000.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-10-23 13:13:51', '2020-10-23 13:13:51'),
(2, '2', '2', '2020-11-02 18:00:00', NULL, 39000.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-11-02 18:05:13', '2020-11-02 18:05:13'),
(3, '4', '2', '2020-11-02 18:00:00', NULL, 19500.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-11-03 14:28:36', '2020-11-03 14:28:36'),
(4, '5', '4', '2020-12-27 18:00:00', NULL, 92500.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:25:48', '2020-12-27 19:25:48'),
(5, '6', '4', '2020-12-27 18:00:00', NULL, 52500.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:28:55', '2020-12-27 19:28:55'),
(6, '7', '4', '2020-12-27 18:00:00', NULL, 1750.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:30:35', '2020-12-27 19:30:35'),
(7, '9', '4', '2020-12-27 18:00:00', NULL, 2500.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:32:16', '2020-12-27 19:32:16'),
(8, '10', '9', '2020-12-27 18:00:00', NULL, 55000.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-28 11:54:11', '2020-12-28 11:54:11'),
(9, '11', '9', '2020-12-27 18:00:00', NULL, 15750.00, 0.00, 'Murgi purchase', NULL, 1, NULL, NULL, '2020-12-28 12:28:35', '2020-12-28 12:28:35'),
(10, '12', '4', '2021-01-03 18:00:00', NULL, 18300.00, 0.00, 'fsadfdsafdsafdsa fsdafdsf', NULL, 1, NULL, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(11, '13', '13', '2021-01-18 18:00:00', NULL, 102500.00, 0.00, 'return details', NULL, 1, NULL, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05'),
(12, '12', '4', '2021-01-18 20:04:55', NULL, 0.00, 500.00, NULL, NULL, 1, NULL, NULL, '2021-01-18 20:04:55', '2021-01-18 20:04:55'),
(13, '12', '4', '2021-01-18 20:08:51', NULL, 0.00, 700.00, NULL, NULL, 1, NULL, NULL, '2021-01-18 20:08:51', '2021-01-18 20:08:51'),
(14, '12', '4', '2021-01-18 20:30:23', NULL, 0.00, 300.00, NULL, NULL, 1, NULL, NULL, '2021-01-18 20:30:23', '2021-01-18 20:30:23'),
(15, '12', '4', '2021-01-18 20:32:39', NULL, 0.00, 400.00, NULL, NULL, 1, NULL, NULL, '2021-01-18 20:32:39', '2021-01-18 20:32:39');

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

--
-- Table structure for table `purchase_details`
--

CREATE TABLE `purchase_details` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `product_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `qty` double(10,2) NOT NULL,
  `l_gross_cost_price` double(10,2) NOT NULL,
  `price` double(10,2) NOT NULL,
  `vat_rate` double(10,2) DEFAULT NULL,
  `discount_rate` double(10,2) DEFAULT NULL,
  `line_total` double(10,2) NOT NULL,
  `return_ref` int(11) DEFAULT NULL,
  `preorder_ref` int(11) DEFAULT NULL,
  `return_order_id` int(11) DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_details`
--

INSERT INTO `purchase_details` (`id`, `order_id`, `product_id`, `qty`, `l_gross_cost_price`, `price`, `vat_rate`, `discount_rate`, `line_total`, `return_ref`, `preorder_ref`, `return_order_id`, `note`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '1', '1', 100.00, 185000.00, 1850.00, NULL, NULL, 185000.00, NULL, NULL, NULL, NULL, 1, NULL, '2020-10-23 13:13:51', '2020-10-23 13:13:51'),
(2, '1', '2', 100.00, 196000.00, 1960.00, NULL, NULL, 196000.00, NULL, NULL, NULL, NULL, 1, NULL, '2020-10-23 13:13:51', '2020-10-23 13:13:51'),
(3, '2', '1', 20.00, 39000.00, 2018.25, 15.00, 10.00, 40365.00, NULL, NULL, NULL, NULL, 1, NULL, '2020-11-02 18:05:13', '2020-11-02 18:05:13'),
(4, '3', '1', 10.00, 19500.00, 1950.00, 0.00, 0.00, 19500.00, NULL, NULL, NULL, NULL, 0, NULL, '2020-11-02 18:07:35', '2020-11-02 18:07:35'),
(5, '4', '1', 10.00, 19500.00, 1950.00, 0.00, 0.00, 19500.00, NULL, NULL, NULL, NULL, 1, NULL, '2020-11-03 14:28:36', '2020-11-03 14:28:36'),
(6, '5', '1', 50.00, 92500.00, 1850.00, NULL, NULL, 92500.00, NULL, NULL, NULL, NULL, 1, NULL, '2020-12-27 19:25:48', '2020-12-27 19:25:48'),
(7, '6', '2', 30.00, 52500.00, 1750.00, NULL, NULL, 52500.00, NULL, NULL, NULL, NULL, 1, NULL, '2020-12-27 19:28:55', '2020-12-27 19:28:55'),
(8, '7', '1', 1.00, 1750.00, 1750.00, 0.00, 0.00, 1750.00, NULL, NULL, NULL, NULL, 1, NULL, '2020-12-27 19:30:35', '2020-12-27 19:30:35'),
(9, '8', '2', 10.00, 25000.00, 2500.00, 0.00, 0.00, 25000.00, NULL, NULL, NULL, NULL, 0, NULL, '2020-12-27 19:30:58', '2020-12-27 19:30:58'),
(10, '9', '2', 1.00, 2500.00, 2500.00, 0.00, 0.00, 2500.00, NULL, NULL, NULL, NULL, 1, NULL, '2020-12-27 19:32:16', '2020-12-27 19:32:16'),
(11, '10', '4', 500.00, 55000.00, 110.00, NULL, NULL, 55000.00, NULL, NULL, NULL, NULL, 1, NULL, '2020-12-28 11:54:11', '2020-12-28 11:54:11'),
(12, '11', '4', 150.00, 15750.00, 105.00, NULL, NULL, 15750.00, NULL, NULL, NULL, NULL, 1, NULL, '2020-12-28 12:28:35', '2020-12-28 12:28:35'),
(13, '12', '9', 31.00, 3100.00, 100.00, 0.00, 0.00, 3100.00, NULL, NULL, NULL, NULL, 1, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(14, '12', '9', 31.00, 3100.00, 100.00, 0.00, 0.00, 3100.00, NULL, NULL, NULL, NULL, 1, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(15, '12', '12', 21.00, 2100.00, 100.00, 0.00, 0.00, 2100.00, NULL, NULL, NULL, NULL, 1, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(16, '12', '13', 20.00, 2000.00, 100.00, NULL, NULL, 2000.00, NULL, NULL, NULL, NULL, 1, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(17, '12', '8', 20.00, 2000.00, 100.00, NULL, NULL, 2000.00, NULL, NULL, NULL, NULL, 1, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(18, '12', '9', 20.00, 2000.00, 100.00, NULL, NULL, 2000.00, NULL, NULL, NULL, NULL, 1, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(19, '12', '7', 20.00, 2000.00, 100.00, NULL, NULL, 2000.00, NULL, NULL, NULL, NULL, 1, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(20, '12', '11', 20.00, 2000.00, 100.00, NULL, NULL, 2000.00, NULL, NULL, NULL, NULL, 1, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(21, '13', '11', 1.00, 12500.00, 12500.00, 0.00, 0.00, 12500.00, NULL, NULL, NULL, NULL, 1, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05'),
(22, '13', '2', 20.00, 45000.00, 2250.00, 0.00, 0.00, 45000.00, NULL, NULL, NULL, NULL, 1, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05'),
(23, '13', '2', 20.00, 45000.00, 2328.75, 15.00, 10.00, 46575.00, NULL, NULL, NULL, NULL, 1, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05'),
(24, '12', '9', 5.00, 500.00, 0.00, 0.00, 0.00, 500.00, 13, NULL, NULL, NULL, 0, NULL, '2021-01-18 20:04:55', '2021-01-18 20:04:55'),
(25, '12', '7', 7.00, 700.00, 100.00, 0.00, 0.00, 700.00, 19, NULL, NULL, NULL, 0, NULL, '2021-01-18 20:08:51', '2021-01-18 20:08:51'),
(26, '12', '7', 3.00, 300.00, 100.00, 0.00, 0.00, 300.00, 19, NULL, 0, NULL, 0, NULL, '2021-01-18 20:30:23', '2021-01-18 20:30:23'),
(27, '12', '12', 4.00, 400.00, 100.00, 0.00, 0.00, 400.00, 15, NULL, 6, NULL, 0, NULL, '2021-01-18 20:32:39', '2021-01-18 20:32:39');

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

--
-- Table structure for table `purchase_discount_accounts`
--

CREATE TABLE `purchase_discount_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transection_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `debit` double(10,2) NOT NULL DEFAULT 0.00,
  `credit` double(10,2) NOT NULL DEFAULT 0.00,
  `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_discount_accounts`
--

INSERT INTO `purchase_discount_accounts` (`id`, `order_id`, `account_no`, `transection_date`, `debit`, `credit`, `note`, `type`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '1', '1', '2020-10-22 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-10-23 13:13:51', '2020-10-23 13:13:51'),
(2, '1', '2', '2020-10-22 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-10-23 13:13:51', '2020-10-23 13:13:51'),
(3, '2', '1', '2020-11-02 18:00:00', 0.00, 3900.00, NULL, NULL, 1, NULL, NULL, '2020-11-02 18:05:13', '2020-11-02 18:05:13'),
(4, '4', '1', '2020-11-02 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-11-03 14:28:36', '2020-11-03 14:28:36'),
(5, '5', '1', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:25:48', '2020-12-27 19:25:48'),
(6, '6', '2', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:28:55', '2020-12-27 19:28:55'),
(7, '7', '1', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:30:35', '2020-12-27 19:30:35'),
(8, '9', '2', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:32:16', '2020-12-27 19:32:16'),
(9, '10', '4', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-28 11:54:11', '2020-12-28 11:54:11'),
(10, '11', '4', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-28 12:28:35', '2020-12-28 12:28:35'),
(11, '12', '9', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(12, '12', '9', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(13, '12', '12', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(14, '12', '13', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(15, '12', '8', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(16, '12', '9', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(17, '12', '7', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(18, '12', '11', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(19, '13', '11', '2021-01-18 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05'),
(20, '13', '2', '2021-01-18 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05'),
(21, '13', '2', '2021-01-18 18:00:00', 0.00, 4500.00, NULL, NULL, 1, NULL, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05');

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

--
-- Table structure for table `purchase_orders`
--

CREATE TABLE `purchase_orders` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `supplier_Id` int(11) NOT NULL,
  `return_ref` int(11) DEFAULT NULL,
  `preorder_ref` int(11) DEFAULT NULL,
  `order_date` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gross_amount` double(10,2) NOT NULL DEFAULT 0.00,
  `net_amount` double(10,2) NOT NULL DEFAULT 0.00,
  `payment_amount` double(10,2) NOT NULL DEFAULT 0.00,
  `initial_payment` double(10,2) NOT NULL DEFAULT 0.00,
  `gross_discount` double(10,2) NOT NULL DEFAULT 0.00,
  `transection_type` int(11) NOT NULL,
  `order_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pre_order_status` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `expected_delivery_date` datetime DEFAULT NULL,
  `gross_vat_amount` double(10,2) NOT NULL DEFAULT 0.00,
  `employee_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `purchase_return` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_orders`
--

INSERT INTO `purchase_orders` (`id`, `order_id`, `supplier_Id`, `return_ref`, `preorder_ref`, `order_date`, `ref_no`, `gross_amount`, `net_amount`, `payment_amount`, `initial_payment`, `gross_discount`, `transection_type`, `order_type`, `pre_order_status`, `expected_delivery_date`, `gross_vat_amount`, `employee_id`, `purchase_return`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '', 6, NULL, NULL, '2020-10-23', NULL, 381000.00, 381000.00, 381000.00, 381000.00, 0.00, 1, 'purchase', 'done', NULL, 0.00, '1', NULL, 1, NULL, '2020-10-23 13:13:51', '2020-10-23 13:13:51'),
(2, '', 2, NULL, NULL, '2020-11-03', NULL, 39000.00, 40365.00, 40000.00, 39000.00, 3900.00, 1, 'purchase', 'done', NULL, 5265.00, '1', NULL, 1, NULL, '2020-11-02 18:05:13', '2020-11-02 18:14:09'),
(3, '', 2, NULL, NULL, '2020-11-03', NULL, 19500.00, 19500.00, 0.00, 0.00, 0.00, 1, 'pre_order', 'pre', '2020-11-03 00:00:00', 0.00, '1', NULL, 1, NULL, '2020-11-02 18:07:35', '2020-11-02 18:07:35'),
(4, '', 2, NULL, 3, '2020-11-03', NULL, 19500.00, 19500.00, 0.00, 0.00, 0.00, 1, 'purchase', 'done', NULL, 0.00, '1', NULL, 1, NULL, '2020-11-03 14:28:36', '2020-11-03 14:28:36'),
(5, '', 4, NULL, NULL, '2020-12-28', NULL, 92500.00, 92500.00, 92500.00, 0.00, 0.00, 1, 'purchase', 'done', NULL, 0.00, '1', NULL, 1, NULL, '2020-12-27 19:25:48', '2020-12-27 19:25:48'),
(6, '', 4, NULL, NULL, '2020-12-28', NULL, 52500.00, 52500.00, 20000.00, 0.00, 0.00, 1, 'purchase', 'done', NULL, 0.00, '1', NULL, 1, NULL, '2020-12-27 19:28:55', '2020-12-28 11:30:30'),
(7, '', 4, NULL, 231321, '2020-12-28', NULL, 1750.00, 1750.00, 0.00, 0.00, 0.00, 1, 'purchase', 'done', NULL, 0.00, '1', NULL, 1, NULL, '2020-12-27 19:30:35', '2020-12-27 19:30:35'),
(8, '', 4, NULL, NULL, '2020-12-28', NULL, 25000.00, 25000.00, 0.00, 0.00, 0.00, 1, 'pre_order', 'pre', '2020-12-28 00:00:00', 0.00, '1', NULL, 1, NULL, '2020-12-27 19:30:58', '2020-12-27 19:30:58'),
(9, '', 4, NULL, 8, '2020-12-28', NULL, 2500.00, 2500.00, 0.00, 0.00, 0.00, 1, 'purchase', 'done', NULL, 0.00, '1', NULL, 1, NULL, '2020-12-27 19:32:16', '2020-12-27 19:32:16'),
(10, '', 9, NULL, NULL, '2020-12-28', NULL, 55000.00, 55000.00, 55000.00, 0.00, 0.00, 1, 'purchase', 'done', NULL, 0.00, '1', NULL, 1, NULL, '2020-12-28 11:54:11', '2020-12-28 12:08:22'),
(11, '', 9, NULL, NULL, '2020-12-28', NULL, 15750.00, 15750.00, 0.00, 0.00, 0.00, 1, 'purchase', 'done', NULL, 0.00, '1', NULL, 1, NULL, '2020-12-28 12:28:35', '2020-12-28 12:28:35'),
(12, '', 4, 6, NULL, '2021-01-04', NULL, 18300.00, 18300.00, 0.00, 0.00, 0.00, 1, 'purchase', 'done', NULL, 0.00, '1', '400', 1, NULL, '2021-01-03 21:18:48', '2021-01-18 20:32:39'),
(13, '', 13, NULL, NULL, '2021-01-19', NULL, 102500.00, 104075.00, 0.00, 0.00, 4500.00, 1, 'purchase', 'done', NULL, 6075.00, '1', NULL, 1, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05');

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

--
-- Table structure for table `purchase_retrun_orders`
--

CREATE TABLE `purchase_retrun_orders` (
  `id` int(10) UNSIGNED NOT NULL,
  `return_order_id` int(11) NOT NULL,
  `return_supplier_Id` int(11) NOT NULL,
  `return_order_date` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `return_gross_amount` double(10,2) NOT NULL,
  `return_return_amount` double(10,2) NOT NULL DEFAULT 0.00,
  `return_amount_received_supplier` double(10,2) NOT NULL DEFAULT 0.00,
  `return_gross_discount` double(10,2) NOT NULL DEFAULT 0.00,
  `return_return_ref` int(11) DEFAULT NULL,
  `return_transection_type` int(11) NOT NULL,
  `return_order_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `return_gross_vat_amount` double(10,2) NOT NULL DEFAULT 0.00,
  `return_employee_id` int(11) NOT NULL,
  `purchase_return_due` double(10,2) NOT NULL DEFAULT 0.00,
  `return_note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_retrun_orders`
--

INSERT INTO `purchase_retrun_orders` (`id`, `return_order_id`, `return_supplier_Id`, `return_order_date`, `return_gross_amount`, `return_return_amount`, `return_amount_received_supplier`, `return_gross_discount`, `return_return_ref`, `return_transection_type`, `return_order_type`, `return_gross_vat_amount`, `return_employee_id`, `purchase_return_due`, `return_note`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 12, 4, '2021-01-19 02:04:55', 500.00, 500.00, 0.00, 0.00, NULL, 1, 'purchase_return', 0.00, 1, 500.00, 'purchase return', 1, NULL, '2021-01-18 20:04:55', '2021-01-18 20:04:55'),
(2, 12, 4, '2021-01-19 02:08:51', 700.00, 700.00, 0.00, 0.00, NULL, 1, 'purchase_return', 0.00, 1, 700.00, 'Fault product', 1, NULL, '2021-01-18 20:08:51', '2021-01-18 20:08:51'),
(4, 12, 4, '2021-01-19 02:30:23', 300.00, 300.00, 0.00, 0.00, NULL, 1, 'purchase_return', 0.00, 1, 300.00, 'return by me', 1, NULL, '2021-01-18 20:30:23', '2021-01-18 20:30:23'),
(6, 12, 4, '2021-01-19 02:32:39', 400.00, 400.00, 0.00, 0.00, NULL, 1, 'purchase_return', 0.00, 1, 400.00, 'fgbdsfd', 1, NULL, '2021-01-18 20:32:39', '2021-01-18 20:32:39');

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

--
-- Table structure for table `purchase_temp_tables`
--

CREATE TABLE `purchase_temp_tables` (
  `id` int(10) UNSIGNED NOT NULL,
  `product_id` int(11) NOT NULL,
  `barcode` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `qty` double(10,2) NOT NULL DEFAULT 0.00,
  `cost_price` double(10,2) NOT NULL DEFAULT 0.00,
  `sales_price` double(10,2) NOT NULL DEFAULT 0.00,
  `vat_rate` double(10,2) DEFAULT NULL,
  `discount_rate` double(10,2) DEFAULT NULL,
  `employee_id` int(11) NOT NULL,
  `status` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `purchase_vat_accounts`
--

CREATE TABLE `purchase_vat_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transection_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `debit` double(10,2) NOT NULL DEFAULT 0.00,
  `credit` double(10,2) NOT NULL DEFAULT 0.00,
  `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_vat_accounts`
--

INSERT INTO `purchase_vat_accounts` (`id`, `order_id`, `account_no`, `transection_date`, `debit`, `credit`, `note`, `type`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '1', '1', '2020-10-22 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-10-23 13:13:51', '2020-10-23 13:13:51'),
(2, '1', '2', '2020-10-22 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-10-23 13:13:51', '2020-10-23 13:13:51'),
(3, '2', '1', '2020-11-02 18:00:00', 5265.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-11-02 18:05:13', '2020-11-02 18:05:13'),
(4, '4', '1', '2020-11-02 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-11-03 14:28:36', '2020-11-03 14:28:36'),
(5, '5', '1', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:25:48', '2020-12-27 19:25:48'),
(6, '6', '2', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:28:55', '2020-12-27 19:28:55'),
(7, '7', '1', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:30:35', '2020-12-27 19:30:35'),
(8, '9', '2', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 19:32:16', '2020-12-27 19:32:16'),
(9, '10', '4', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-28 11:54:11', '2020-12-28 11:54:11'),
(10, '11', '4', '2020-12-27 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-28 12:28:35', '2020-12-28 12:28:35'),
(11, '12', '9', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(12, '12', '9', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(13, '12', '12', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(14, '12', '13', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:48', '2021-01-03 21:18:48'),
(15, '12', '8', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(16, '12', '9', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(17, '12', '7', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(18, '12', '11', '2021-01-03 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(19, '13', '11', '2021-01-18 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05'),
(20, '13', '2', '2021-01-18 18:00:00', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05'),
(21, '13', '2', '2021-01-18 18:00:00', 6075.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-18 18:51:05', '2021-01-18 18:51:05');

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

--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `permissions` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` (`id`, `name`, `slug`, `permissions`, `created_at`, `updated_at`) VALUES
(1, 'admin', 'admin', '{\"supplier_menu\":true,\"supplier_add\":true,\"supplier_edit\":true,\"supplier_delete\":true,\"supplier_view\":true,\"shop_menu\":true,\"shop_add\":true,\"shop_edit\":true,\"shop_delete\":true,\"shop_view\":true,\"shipper_menu\":true,\"shipper_add\":true,\"shipper_edit\":true,\"shipper_delete\":true,\"shipper_view\":true,\"sales_menu\":true,\"sales_add\":true,\"sales_edit\":true,\"sales_delete\":true,\"sales_view\":true,\"role_menu\":true,\"role_add\":true,\"role_edit\":true,\"role_delete\":true,\"role_view\":true,\"report_menu\":true,\"report_add\":true,\"report_edit\":true,\"report_delete\":true,\"report_view\":true,\"purchase_menu\":true,\"purchase_add\":true,\"purchase_edit\":true,\"purchase_delete\":true,\"purchase_view\":true,\"product_menu\":true,\"product_add\":true,\"product_edit\":true,\"product_delete\":true,\"product_view\":true,\"module_menu\":true,\"module_add\":true,\"module_edit\":true,\"module_delete\":true,\"module_view\":true,\"inventory_menu\":true,\"inventory_add\":true,\"inventory_edit\":true,\"inventory_delete\":true,\"inventory_view\":true,\"expense_menu\":true,\"expense_add\":true,\"expense_edit\":true,\"expense_delete\":true,\"expense_view\":true,\"employee_menu\":true,\"employee_add\":true,\"employee_edit\":true,\"employee_delete\":true,\"employee_view\":true,\"customer-report_menu\":true,\"customer-report_add\":true,\"customer-report_edit\":true,\"customer-report_delete\":true,\"customer-report_view\":true,\"customer_menu\":true,\"customer_add\":true,\"customer_edit\":true,\"customer_delete\":true,\"customer_view\":true,\"cash_menu\":true,\"cash_add\":true,\"cash_edit\":true,\"cash_delete\":true,\"cash_view\":true,\"capital_menu\":true,\"capital_add\":true,\"capital_edit\":true,\"capital_delete\":true,\"capital_view\":true}', NULL, '2020-12-29 18:22:33'),
(2, 'Accountant', 'accountant', '{\"module_menu\":true,\"module_add\":true,\"module_edit\":true,\"module_delete\":true,\"module_view\":true,\"role_menu\":true,\"role_add\":true,\"role_edit\":true,\"role_delete\":true,\"role_view\":true,\"customer-report_menu\":true,\"customer-report_add\":true,\"customer-report_edit\":true,\"customer-report_delete\":true,\"customer-report_view\":true,\"cash_menu\":true,\"cash_add\":true,\"cash_edit\":true,\"cash_delete\":true,\"cash_view\":true,\"capital_menu\":true,\"capital_add\":true,\"capital_edit\":true,\"capital_delete\":true,\"capital_view\":true,\"expense_menu\":true,\"expense_add\":true,\"expense_edit\":true,\"expense_delete\":true,\"expense_view\":true,\"inventory_menu\":true,\"inventory_add\":true,\"inventory_edit\":true,\"inventory_delete\":true,\"inventory_view\":true,\"product_menu\":true,\"product_add\":true,\"product_edit\":true,\"product_delete\":true,\"product_view\":true,\"purchase_menu\":true,\"purchase_add\":true,\"purchase_edit\":true,\"purchase_delete\":true,\"purchase_view\":true,\"sales_menu\":true,\"sales_add\":true,\"sales_edit\":true,\"sales_delete\":true,\"sales_view\":true,\"employee_menu\":true,\"employee_add\":true,\"employee_edit\":true,\"employee_delete\":true,\"employee_view\":true,\"supplier_menu\":true,\"supplier_add\":true,\"supplier_edit\":true,\"supplier_delete\":true,\"supplier_view\":true,\"customer_menu\":true,\"customer_add\":true,\"customer_edit\":true,\"customer_delete\":true,\"customer_view\":true,\"report_menu\":true,\"report_add\":true,\"report_edit\":true,\"report_delete\":true,\"report_view\":true,\"shipper_menu\":true,\"shipper_add\":true,\"shipper_edit\":true,\"shipper_delete\":true,\"shipper_view\":true,\"shop_menu\":true,\"shop_add\":true,\"shop_edit\":true,\"shop_delete\":true,\"shop_view\":true}', '2020-10-28 16:17:43', '2020-10-28 16:17:43');

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

--
-- Table structure for table `role_users`
--

CREATE TABLE `role_users` (
  `user_id` int(10) UNSIGNED NOT NULL,
  `role_id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_users`
--

INSERT INTO `role_users` (`user_id`, `role_id`, `created_at`, `updated_at`) VALUES
(1, 1, NULL, NULL),
(2, 2, NULL, NULL);

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

--
-- Table structure for table `sales_accounts`
--

CREATE TABLE `sales_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `offer_id` int(11) DEFAULT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transection_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `debit` double(10,2) NOT NULL DEFAULT 0.00,
  `credit` double(10,2) NOT NULL DEFAULT 0.00,
  `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ref_no` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sales_accounts`
--

INSERT INTO `sales_accounts` (`id`, `order_id`, `offer_id`, `account_no`, `transection_date`, `debit`, `credit`, `note`, `ref_no`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '4', NULL, '3', '2020-10-23 13:16:37', 0.00, 11250.00, NULL, NULL, 1, NULL, NULL, '2020-10-23 13:16:37', '2020-10-23 13:16:37'),
(2, '5', NULL, '4', '2020-10-23 13:17:43', 0.00, 9000.00, 'Sales on Credit', NULL, 1, NULL, NULL, '2020-10-23 13:17:43', '2020-10-23 13:17:43'),
(3, '6', NULL, '4', '2020-10-23 13:28:27', 0.00, 6750.00, 'Sales', NULL, 1, NULL, NULL, '2020-10-23 13:28:27', '2020-10-23 13:28:27'),
(4, '7', NULL, '4', '2020-10-23 13:33:02', 0.00, 9000.00, 'sales', NULL, 1, NULL, NULL, '2020-10-23 13:33:02', '2020-10-23 13:33:02'),
(5, '8', NULL, '2', '2020-11-02 18:11:40', 0.00, 4500.00, NULL, NULL, 1, NULL, NULL, '2020-11-02 18:11:40', '2020-11-02 18:11:40'),
(6, '1', NULL, '2', '2020-11-02 18:12:39', 2250.00, 0.00, 'cash short', NULL, 1, NULL, NULL, '2020-11-02 18:12:39', '2020-11-02 18:12:39'),
(7, '9', NULL, '3', '2020-12-23 13:52:41', 0.00, 6750.00, NULL, NULL, 1, NULL, NULL, '2020-12-23 13:52:41', '2020-12-23 13:52:41'),
(8, '10', NULL, '3', '2020-12-23 13:54:33', 0.00, 6750.00, NULL, NULL, 1, NULL, NULL, '2020-12-23 13:54:33', '2020-12-23 13:54:33'),
(9, '11', NULL, '3', '2020-12-24 19:16:22', 0.00, 11250.00, NULL, NULL, 1, NULL, NULL, '2020-12-24 19:16:22', '2020-12-24 19:16:22'),
(10, '12', NULL, '3', '2020-12-27 15:41:57', 0.00, 4500.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 15:41:57', '2020-12-27 15:41:57'),
(11, '13', NULL, '4', '2020-12-27 18:16:02', 0.00, 22500.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 18:16:02', '2020-12-27 18:16:02'),
(12, '14', NULL, '4', '2020-12-27 18:18:34', 0.00, 4500.00, 'Sales', NULL, 1, NULL, NULL, '2020-12-27 18:18:34', '2020-12-27 18:18:34'),
(15, '17', NULL, '4', '2020-12-27 18:22:52', 0.00, 2250.00, 'Sales', NULL, 1, NULL, NULL, '2020-12-27 18:22:52', '2020-12-27 18:22:52'),
(16, '18', NULL, '7', '2020-12-28 11:49:27', 0.00, 11250.00, 'Sales due', NULL, 1, NULL, NULL, '2020-12-28 11:49:27', '2020-12-28 11:49:27'),
(17, '19', NULL, '2', '2021-01-02 18:00:00', 0.00, 6750.00, NULL, NULL, 1, NULL, NULL, '2021-01-02 20:00:06', '2021-01-02 20:00:06'),
(18, '20', NULL, '7', '2021-01-02 18:00:00', 0.00, 2250.00, NULL, NULL, 1, NULL, NULL, '2021-01-02 20:07:33', '2021-01-02 20:07:33'),
(19, '21', NULL, '2', '2021-01-01 18:00:00', 0.00, 2250.00, NULL, NULL, 1, NULL, NULL, '2021-01-02 20:12:03', '2021-01-02 20:12:03');

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

--
-- Table structure for table `sales_details`
--

CREATE TABLE `sales_details` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `lot_no` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `unique_barcode` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `qty` double(10,2) NOT NULL,
  `sales_price` double(10,2) NOT NULL,
  `vat_rate` double(10,2) NOT NULL DEFAULT 0.00,
  `discount_rate` double(10,2) NOT NULL DEFAULT 0.00,
  `line_total` double(10,2) NOT NULL DEFAULT 0.00,
  `cost_line_total` double(10,2) NOT NULL DEFAULT 0.00,
  `return_ref` int(11) DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sales_details`
--

INSERT INTO `sales_details` (`id`, `order_id`, `lot_no`, `product_id`, `unique_barcode`, `qty`, `sales_price`, `vat_rate`, `discount_rate`, `line_total`, `cost_line_total`, `return_ref`, `status`, `note`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '4', 1, 1, NULL, 5.00, 2250.00, 0.00, 0.00, 11250.00, 0.00, NULL, 1, '', NULL, '2020-10-23 13:16:37', '2020-10-23 13:16:37'),
(2, '5', 1, 2, NULL, 4.00, 2250.00, 0.00, 0.00, 9000.00, 0.00, NULL, 1, '', NULL, '2020-10-23 13:17:43', '2020-10-23 13:17:43'),
(3, '6', 1, 2, NULL, 3.00, 2250.00, 0.00, 0.00, 6750.00, 0.00, NULL, 1, '', NULL, '2020-10-23 13:28:27', '2020-10-23 13:28:27'),
(4, '7', 1, 1, NULL, 4.00, 2250.00, 0.00, 0.00, 9000.00, 0.00, NULL, 1, '', NULL, '2020-10-23 13:33:02', '2020-10-23 13:33:02'),
(5, '8', 1, 1, NULL, 2.00, 2250.00, 0.00, 0.00, 4500.00, 0.00, NULL, 1, '', NULL, '2020-11-02 18:11:40', '2020-11-02 18:11:40'),
(6, '8', 1, 1, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, 8, 0, NULL, NULL, '2020-11-02 18:12:39', '2020-11-02 18:12:39'),
(7, '9', 1, 1, NULL, 3.00, 2250.00, 0.00, 0.00, 6750.00, 0.00, NULL, 1, '', NULL, '2020-12-23 13:52:41', '2020-12-23 13:52:41'),
(8, '10', 1, 1, NULL, 3.00, 2250.00, 0.00, 0.00, 6750.00, 0.00, NULL, 1, '', NULL, '2020-12-23 13:54:33', '2020-12-23 13:54:33'),
(9, '11', 1, 1, NULL, 5.00, 2250.00, 0.00, 0.00, 11250.00, 0.00, NULL, 1, '', NULL, '2020-12-24 19:16:22', '2020-12-24 19:16:22'),
(10, '12', 1, 2, NULL, 2.00, 2250.00, 0.00, 0.00, 4500.00, 0.00, NULL, 1, '', NULL, '2020-12-27 15:41:57', '2020-12-27 15:41:57'),
(11, '13', 1, 1, NULL, 10.00, 2250.00, 0.00, 0.00, 22500.00, 0.00, NULL, 1, '', NULL, '2020-12-27 18:16:02', '2020-12-27 18:16:02'),
(12, '14', 1, 2, NULL, 2.00, 2250.00, 0.00, 0.00, 4500.00, 0.00, NULL, 1, '', NULL, '2020-12-27 18:18:34', '2020-12-27 18:18:34'),
(15, '17', 1, 1, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, NULL, 1, '', NULL, '2020-12-27 18:22:52', '2020-12-27 18:22:52'),
(16, '18', 1, 1, NULL, 5.00, 2250.00, 0.00, 0.00, 11250.00, 0.00, NULL, 1, '', NULL, '2020-12-28 11:49:27', '2020-12-28 11:49:27'),
(17, '19', 1, 1, NULL, 3.00, 2250.00, 0.00, 0.00, 6750.00, 0.00, NULL, 1, '', NULL, '2021-01-02 20:00:06', '2021-01-02 20:00:06'),
(18, '20', 1, 1, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, NULL, 1, '', NULL, '2021-01-02 20:07:33', '2021-01-02 20:07:33'),
(19, '21', 1, 2, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, NULL, 1, '', NULL, '2021-01-02 20:12:03', '2021-01-02 20:12:03'),
(41, '29', 1, 2, NULL, 3.00, 2250.00, 0.00, 0.00, 6750.00, 0.00, NULL, 1, '', NULL, '2021-01-02 21:30:43', '2021-01-02 21:30:43'),
(42, '29', 1, 1, NULL, 2.00, 2250.00, 0.00, 0.00, 4500.00, 0.00, NULL, 1, '', NULL, '2021-01-02 21:30:43', '2021-01-02 21:30:43'),
(43, '29', 1, 1, NULL, 3.00, 2250.00, 0.00, 10.00, 6750.00, 0.00, NULL, 1, '', NULL, '2021-01-02 21:30:43', '2021-01-02 21:30:43'),
(44, '30', 1, 1, NULL, 10.00, 2250.00, 0.00, 0.00, 22500.00, 0.00, NULL, 1, '', NULL, '2021-01-02 22:05:52', '2021-01-02 22:05:52'),
(45, '31', 10, 4, NULL, 100.00, 111.00, 0.00, 0.00, 11100.00, 0.00, NULL, 1, '', NULL, '2021-01-02 22:12:48', '2021-01-02 22:12:48'),
(46, '32', 1, 1, NULL, 1.00, 2250.00, 0.00, 1.00, 2250.00, 0.00, NULL, 1, '', NULL, '2021-01-03 18:49:47', '2021-01-03 18:49:47'),
(47, '32', 1, 1, NULL, 2.00, 2250.00, 0.00, 0.00, 4500.00, 0.00, NULL, 1, '', NULL, '2021-01-03 18:49:47', '2021-01-03 18:49:47'),
(48, '33', 1, 1, NULL, 3.00, 2250.00, 0.00, 1.00, 6750.00, 0.00, NULL, 1, '', NULL, '2021-01-03 19:11:35', '2021-01-03 19:11:35'),
(49, '34', 1, 1, NULL, 1.00, 2250.00, 0.00, 1.00, 2250.00, 0.00, NULL, 1, '', NULL, '2021-01-03 19:16:35', '2021-01-03 19:16:35'),
(50, '35', 1, 2, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, NULL, 1, '', NULL, '2021-01-03 20:06:28', '2021-01-03 20:06:28'),
(51, '35', 10, 4, NULL, 3.00, 111.00, 0.00, 0.00, 333.00, 0.00, NULL, 1, '', NULL, '2021-01-03 20:06:28', '2021-01-03 20:06:28'),
(52, '35', 1, 1, NULL, 2.00, 2250.00, 0.00, 0.00, 4500.00, 0.00, NULL, 1, '', NULL, '2021-01-03 20:06:28', '2021-01-03 20:06:28'),
(53, '36', 1, 2, NULL, 3.00, 2250.00, 0.00, 0.00, 6750.00, 0.00, NULL, 1, '', NULL, '2021-01-03 20:15:39', '2021-01-03 20:15:39'),
(54, '36', 1, 1, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, NULL, 1, '', NULL, '2021-01-03 20:15:39', '2021-01-03 20:15:39'),
(55, '36', 1, 1, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, NULL, 1, '', NULL, '2021-01-03 20:15:39', '2021-01-03 20:15:39'),
(56, '37', 1, 2, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, NULL, 1, '', NULL, '2021-01-03 20:30:25', '2021-01-03 20:30:25'),
(57, '37', 1, 1, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, NULL, 1, '', NULL, '2021-01-03 20:30:25', '2021-01-03 20:30:25'),
(58, '37', 10, 4, NULL, 1.00, 111.00, 0.00, 0.00, 111.00, 0.00, NULL, 1, '', NULL, '2021-01-03 20:30:25', '2021-01-03 20:30:25'),
(59, '38', 12, 11, NULL, 1.00, 120.00, 0.00, 0.00, 120.00, 0.00, NULL, 1, '', NULL, '2021-01-03 21:29:11', '2021-01-03 21:29:11'),
(60, '38', 12, 11, NULL, 1.00, 120.00, 0.00, 0.00, 120.00, 0.00, NULL, 1, '', NULL, '2021-01-03 21:29:11', '2021-01-03 21:29:11'),
(61, '38', 12, 12, NULL, 1.00, 120.00, 0.00, 0.00, 120.00, 0.00, NULL, 1, '', NULL, '2021-01-03 21:29:11', '2021-01-03 21:29:11'),
(62, '38', 12, 12, NULL, 1.00, 120.00, 0.00, 0.00, 120.00, 0.00, NULL, 1, '', NULL, '2021-01-03 21:29:11', '2021-01-03 21:29:11'),
(63, '38', 12, 7, NULL, 3.00, 120.00, 0.00, 0.00, 360.00, 0.00, NULL, 1, '', NULL, '2021-01-03 21:29:11', '2021-01-03 21:29:11'),
(64, '39', 1, 1, NULL, 2.00, 2250.00, 0.00, 0.00, 4500.00, 0.00, NULL, 1, '', NULL, '2021-01-12 14:00:16', '2021-01-12 14:00:16'),
(66, '12', 1, 2, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, 12, 0, NULL, NULL, '2021-01-13 19:35:08', '2021-01-13 19:35:08'),
(67, '39', 1, 1, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, 39, 0, NULL, NULL, '2021-01-13 19:51:46', '2021-01-13 19:51:46'),
(68, '39', 1, 1, NULL, 1.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, 39, 0, NULL, NULL, '2021-01-13 19:52:08', '2021-01-13 19:52:08'),
(69, '40', 12, 12, NULL, 3.00, 120.00, 0.00, 0.00, 360.00, 0.00, NULL, 1, '', NULL, '2021-01-13 19:57:24', '2021-01-13 19:57:24'),
(70, '40', 1, 1, NULL, 20.00, 2250.00, 0.00, 0.00, 45000.00, 0.00, NULL, 1, '', NULL, '2021-01-13 19:57:24', '2021-01-13 19:57:24'),
(71, '40', 12, 12, NULL, 3.00, 120.00, 0.00, 0.00, 360.00, 0.00, 6, 0, NULL, NULL, '2021-01-13 19:57:48', '2021-01-13 19:57:48'),
(72, '40', 1, 1, NULL, 1.00, 2250.00, 0.00, 0.00, 360.00, 0.00, 6, 0, NULL, NULL, '2021-01-13 19:57:48', '2021-01-13 19:57:48');

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

--
-- Table structure for table `sales_discount_accounts`
--

CREATE TABLE `sales_discount_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `offer_id` int(11) DEFAULT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transection_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `debit` double(10,2) NOT NULL DEFAULT 0.00,
  `credit` double(10,2) NOT NULL DEFAULT 0.00,
  `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sales_discount_accounts`
--

INSERT INTO `sales_discount_accounts` (`id`, `order_id`, `offer_id`, `account_no`, `transection_date`, `debit`, `credit`, `note`, `created_by`, `updated_by`, `created_at`, `updated_at`) VALUES
(1, '4', NULL, '1', '2020-10-23 13:16:37', 0.00, 0.00, NULL, 1, NULL, '2020-10-23 13:16:37', '2020-10-23 13:16:37'),
(2, '5', NULL, '2', '2020-10-23 13:17:43', 0.00, 0.00, NULL, 1, NULL, '2020-10-23 13:17:43', '2020-10-23 13:17:43'),
(3, '6', NULL, '2', '2020-10-23 13:28:27', 0.00, 0.00, NULL, 1, NULL, '2020-10-23 13:28:27', '2020-10-23 13:28:27'),
(4, '7', NULL, '1', '2020-10-23 13:33:02', 0.00, 0.00, NULL, 1, NULL, '2020-10-23 13:33:02', '2020-10-23 13:33:02'),
(5, '8', NULL, '1', '2020-11-02 18:11:40', 0.00, 0.00, NULL, 1, NULL, '2020-11-02 18:11:40', '2020-11-02 18:11:40'),
(6, '1', NULL, '1', '2020-11-02 18:12:39', 0.00, 0.00, NULL, 1, NULL, '2020-11-02 18:12:39', '2020-11-02 18:12:39'),
(7, '9', NULL, '1', '2020-12-23 13:52:41', 0.00, 0.00, NULL, 1, NULL, '2020-12-23 13:52:41', '2020-12-23 13:52:41'),
(8, '10', NULL, '1', '2020-12-23 13:54:33', 0.00, 0.00, NULL, 1, NULL, '2020-12-23 13:54:33', '2020-12-23 13:54:33'),
(9, '11', NULL, '1', '2020-12-24 19:16:22', 0.00, 0.00, NULL, 1, NULL, '2020-12-24 19:16:22', '2020-12-24 19:16:22'),
(10, '12', NULL, '2', '2020-12-27 15:41:57', 0.00, 0.00, NULL, 1, NULL, '2020-12-27 15:41:57', '2020-12-27 15:41:57'),
(11, '13', NULL, '1', '2020-12-27 18:16:02', 0.00, 0.00, NULL, 1, NULL, '2020-12-27 18:16:02', '2020-12-27 18:16:02'),
(12, '14', NULL, '2', '2020-12-27 18:18:34', 0.00, 0.00, NULL, 1, NULL, '2020-12-27 18:18:34', '2020-12-27 18:18:34'),
(13, '17', NULL, '1', '2020-12-27 18:22:52', 0.00, 0.00, NULL, 1, NULL, '2020-12-27 18:22:52', '2020-12-27 18:22:52'),
(14, '18', NULL, '1', '2020-12-28 11:49:27', 0.00, 0.00, NULL, 1, NULL, '2020-12-28 11:49:27', '2020-12-28 11:49:27'),
(15, '19', NULL, '1', '2021-01-02 18:00:00', 0.00, 0.00, NULL, 1, NULL, '2021-01-02 20:00:06', '2021-01-02 20:00:06'),
(16, '20', NULL, '1', '2021-01-02 18:00:00', 0.00, 0.00, NULL, 1, NULL, '2021-01-02 20:07:33', '2021-01-02 20:07:33'),
(17, '21', NULL, '2', '2021-01-01 18:00:00', 0.00, 0.00, NULL, 1, NULL, '2021-01-02 20:12:03', '2021-01-02 20:12:03');

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

--
-- Table structure for table `sales_orders`
--

CREATE TABLE `sales_orders` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_Id` int(11) NOT NULL,
  `order_date` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `gross_amount` double(10,2) NOT NULL,
  `payment_amount` double(10,2) NOT NULL DEFAULT 0.00,
  `receive_amount_from_custome` double(10,2) NOT NULL DEFAULT 0.00,
  `initial_received` double(10,2) NOT NULL DEFAULT 0.00,
  `due_amount` double(10,2) NOT NULL DEFAULT 0.00,
  `return_amount` double(10,2) NOT NULL DEFAULT 0.00,
  `gross_discount` double(10,2) NOT NULL DEFAULT 0.00,
  `gross_total_cost` double(10,2) NOT NULL DEFAULT 0.00,
  `return_ref` int(11) DEFAULT NULL,
  `transection_type` int(11) NOT NULL,
  `order_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pre_order_status` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `expected_delivery_date` datetime DEFAULT NULL,
  `gross_vat_amount` double NOT NULL DEFAULT 0,
  `employee_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `purchase_return` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sales_orders`
--

INSERT INTO `sales_orders` (`id`, `order_id`, `customer_Id`, `order_date`, `gross_amount`, `payment_amount`, `receive_amount_from_custome`, `initial_received`, `due_amount`, `return_amount`, `gross_discount`, `gross_total_cost`, `return_ref`, `transection_type`, `order_type`, `pre_order_status`, `expected_delivery_date`, `gross_vat_amount`, `employee_id`, `purchase_return`, `note`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(4, 'c94bfcae40728ad68e78ad614df7d86b', 3, '2020-10-23 19:16:37', 11250.00, 11250.00, 11250.00, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-10-23 13:16:37', '2020-10-23 13:22:28'),
(5, '2cbd49b1f85d0416b29ede39a05e6a5c', 4, '2020-10-23 19:17:43', 9000.00, 9000.00, 9000.00, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-10-23 13:17:43', '2020-10-23 13:30:12'),
(6, '66c432fd6f734a514834a8d6074f371e', 4, '2020-10-23 19:28:27', 6750.00, 6750.00, 6750.00, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-10-23 13:28:27', '2020-10-23 13:28:27'),
(7, 'c5d0eb53ad93925776edea01b675a7df', 4, '2020-10-23 19:33:02', 9000.00, 9000.00, 9000.00, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-10-23 13:33:02', '2020-12-28 11:32:49'),
(8, '8f3f6e628ddf3f6b58d73335089c86f0', 2, '2020-11-03 00:11:40', 4500.00, 4500.00, 350.00, 0.00, 1900.00, 2250.00, 0.00, 0.00, 1, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-11-02 18:11:40', '2020-11-02 18:12:39'),
(9, '65bf905cea57fbb8ac8631da4485ebaf', 3, '2020-12-23 19:52:41', 6750.00, 6750.00, 6750.00, 6750.00, 0.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-12-23 13:52:41', '2020-12-23 13:52:41'),
(10, 'cfe15f3c508d510c947b8d1e1c6b79da', 3, '2020-12-23 19:54:33', 6750.00, 6750.00, 750.00, 0.00, 6000.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-12-23 13:54:33', '2020-12-23 13:55:07'),
(11, 'bc8353bb55e0feed7b5d1cd18f08e34e', 3, '2020-12-25 01:16:22', 11250.00, 11250.00, 0.00, 0.00, 11250.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-12-24 19:16:22', '2020-12-24 19:16:22'),
(12, 'a3a44ac01bc2b468dd0800328a8c62ba', 3, '2020-12-27 21:41:57', 4500.00, 4500.00, 4500.00, 4500.00, 0.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-12-27 15:41:57', '2020-12-27 15:41:57'),
(13, '5849ec3ecb00b57a345b01ff820d9dac', 4, '2020-12-28 00:16:02', 22500.00, 22500.00, 22500.00, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-12-27 18:16:02', '2020-12-28 11:32:34'),
(14, '777a9cbe8911db7ce2e5b49d79c4c301', 4, '2020-12-28 00:18:34', 4500.00, 4500.00, 4500.00, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-12-27 18:18:34', '2020-12-28 11:33:03'),
(17, 'c75f5b673247c157aa620523ca33d65c', 4, '2020-12-28 00:22:52', 2250.00, 2250.00, 2250.00, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-12-27 18:22:52', '2020-12-28 11:33:16'),
(18, '6097fbf67a974043e941177fc37c0847', 7, '2020-12-28 17:49:27', 11250.00, 11250.00, 9000.00, 0.00, 2250.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2020-12-28 11:49:27', '2020-12-28 11:49:27'),
(19, '32a590b0ae1c10ee0bf7139e8a60e9db', 2, '2021-01-03', 6750.00, 6750.00, 0.00, 0.00, 6750.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-02 20:00:06', '2021-01-02 20:00:06'),
(20, '32a590b0ae1c10ee0bf7139e8a60e9db', 7, '2021-01-03', 2250.00, 2250.00, 0.00, 0.00, 2250.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-02 20:07:33', '2021-01-02 20:07:33'),
(21, 'e51c7857f1a504e7d7d388e910ff3656', 2, '2021-01-02', 2250.00, 2250.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-02 20:12:03', '2021-01-02 20:12:03'),
(29, '32a590b0ae1c10ee0bf7139e8a60e9db', 3, '2021-01-03', 18000.00, 17325.00, 325.00, 325.00, 17000.00, 0.00, 675.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-02 21:30:43', '2021-01-02 21:30:43'),
(30, '32a590b0ae1c10ee0bf7139e8a60e9db', 12, '2021-01-03', 22500.00, 22500.00, 0.00, 0.00, 22500.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-02 22:05:52', '2021-01-02 22:05:52'),
(31, 'dbb489c32e1a1cec41f917a6232ce471', 12, '2021-01-04', 11100.00, 11100.00, 0.00, 0.00, 11100.00, 0.00, 0.00, 0.00, NULL, 1, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-02 22:12:48', '2021-01-02 22:12:48'),
(32, 'dbb489c32e1a1cec41f917a6232ce471', 12, '2021-01-04', 6750.00, 6700.00, 6700.00, 6700.00, 0.00, 0.00, 77.50, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-03 18:49:47', '2021-01-03 18:49:47'),
(33, 'e768f043105067cfe6ec8e992e45a2a6', 13, '2021-01-05', 6750.00, 6000.50, 2500.00, 2500.00, 3500.50, 0.00, 749.50, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-03 19:11:35', '2021-01-03 19:11:35'),
(34, 'dbb489c32e1a1cec41f917a6232ce471', 13, '2021-01-04', 2250.00, 2200.00, 2200.00, 2200.00, 0.00, 0.00, 50.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-03 19:16:35', '2021-01-03 19:16:35'),
(35, 'dbb489c32e1a1cec41f917a6232ce471', 13, '2021-01-04', 7083.00, 4583.00, 0.00, 0.00, 4583.00, 0.00, 2500.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-03 20:06:28', '2021-01-03 20:06:28'),
(36, 'dbb489c32e1a1cec41f917a6232ce471', 12, '2021-01-04', 11250.00, 11000.00, 11000.00, 11000.00, 0.00, 0.00, 250.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-03 20:15:39', '2021-01-03 20:15:39'),
(37, 'dbb489c32e1a1cec41f917a6232ce471', 13, '2021-01-04', 4611.00, 4600.00, 0.00, 0.00, 4600.00, 0.00, 11.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-03 20:30:25', '2021-01-03 20:30:25'),
(38, 'e768f043105067cfe6ec8e992e45a2a6', 12, '2021-01-05', 840.00, 840.00, 840.00, 840.00, 0.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-03 21:29:11', '2021-01-03 21:29:11'),
(39, 'b72c373dadfe84a5fb9213776e3a805e', 13, '2021-01-12', 4500.00, 4500.00, 0.00, 0.00, 4500.00, 0.00, 0.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-12 14:00:16', '2021-01-12 14:00:16'),
(40, '4590abd819d72ec4357f0d5dfaa980e6', 13, '2021-01-14', 45360.00, 45300.00, 0.00, 0.00, 45300.00, 0.00, 60.00, 0.00, NULL, 2, 'sales', '0', NULL, 0, '1', NULL, NULL, 1, NULL, '2021-01-13 19:57:24', '2021-01-13 19:57:24');

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

--
-- Table structure for table `sales_prices`
--

CREATE TABLE `sales_prices` (
  `id` int(10) UNSIGNED NOT NULL,
  `product_id` int(11) DEFAULT NULL,
  `barcode` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `price` double(10,2) NOT NULL,
  `unique_price` int(11) NOT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sales_prices`
--

INSERT INTO `sales_prices` (`id`, `product_id`, `barcode`, `price`, `unique_price`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 1, NULL, 1250.00, 0, NULL, NULL, NULL, '2020-10-23 13:10:38', '2020-10-23 13:10:38'),
(2, 2, NULL, 0.00, 0, NULL, NULL, NULL, '2020-10-23 13:10:58', '2020-10-23 13:10:58'),
(3, 3, NULL, 0.00, 0, NULL, NULL, NULL, '2020-10-23 13:11:18', '2020-10-23 13:11:18'),
(4, 4, NULL, 0.00, 0, NULL, NULL, NULL, '2020-12-28 11:53:47', '2020-12-28 11:53:47'),
(5, 5, NULL, 0.00, 0, NULL, NULL, NULL, '2021-01-03 21:15:29', '2021-01-03 21:15:29'),
(6, 6, NULL, 0.00, 0, NULL, NULL, NULL, '2021-01-03 21:15:39', '2021-01-03 21:15:39'),
(7, 7, NULL, 0.00, 0, NULL, NULL, NULL, '2021-01-03 21:15:48', '2021-01-03 21:15:48'),
(8, 8, NULL, 0.00, 0, NULL, NULL, NULL, '2021-01-03 21:15:55', '2021-01-03 21:15:55'),
(9, 9, NULL, 0.00, 0, NULL, NULL, NULL, '2021-01-03 21:16:06', '2021-01-03 21:16:06'),
(10, 10, NULL, 0.00, 0, NULL, NULL, NULL, '2021-01-03 21:16:15', '2021-01-03 21:16:15'),
(11, 11, NULL, 0.00, 0, NULL, NULL, NULL, '2021-01-03 21:16:26', '2021-01-03 21:16:26'),
(12, 12, NULL, 0.00, 0, NULL, NULL, NULL, '2021-01-03 21:16:35', '2021-01-03 21:16:35'),
(13, 13, NULL, 0.00, 0, NULL, NULL, NULL, '2021-01-03 21:16:44', '2021-01-03 21:16:44'),
(14, 14, NULL, 0.00, 0, NULL, NULL, NULL, '2021-01-03 21:16:52', '2021-01-03 21:16:52');

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

--
-- Table structure for table `sales_retrun_orders`
--

CREATE TABLE `sales_retrun_orders` (
  `id` int(10) UNSIGNED NOT NULL,
  `return_order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `return_customer_Id` int(11) NOT NULL,
  `return_order_date` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `return_gross_amount` double(10,2) NOT NULL,
  `return_return_amount` double(10,2) NOT NULL DEFAULT 0.00,
  `return_amount_paid_customer` double(10,2) NOT NULL DEFAULT 0.00,
  `return_gross_discount` double(10,2) NOT NULL DEFAULT 0.00,
  `return_return_ref` int(11) DEFAULT NULL,
  `return_transection_type` int(11) NOT NULL,
  `return_order_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `return_gross_vat_amount` double NOT NULL DEFAULT 0,
  `return_employee_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `return_purchase_return` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `return_note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sales_retrun_orders`
--

INSERT INTO `sales_retrun_orders` (`id`, `return_order_id`, `return_customer_Id`, `return_order_date`, `return_gross_amount`, `return_return_amount`, `return_amount_paid_customer`, `return_gross_discount`, `return_return_ref`, `return_transection_type`, `return_order_type`, `return_gross_vat_amount`, `return_employee_id`, `return_purchase_return`, `return_note`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'bc5bcfe68e7e0b16c59e2492fe1f04f5', 2, '2020-11-03 00:12:39', 2250.00, 2250.00, 0.00, 0.00, 8, 1, NULL, 0, '1', NULL, 'cash short', 1, NULL, '2020-11-02 18:12:39', '2020-11-02 18:12:39'),
(3, '578946f6fe05bccfa487d7aeb8716382', 3, '2021-01-14 01:35:08', 2250.00, 2250.00, 2250.00, 0.00, 12, 1, NULL, 0, '1', NULL, 'sales return', 1, NULL, '2021-01-13 19:35:08', '2021-01-13 19:35:08'),
(4, 'd1864a9548d7627deb22307dc8c84eb7', 13, '2021-01-14 01:51:46', 2250.00, 2250.00, 0.00, 0.00, 39, 1, NULL, 0, '1', NULL, 'sales return', 1, NULL, '2021-01-13 19:51:46', '2021-01-13 19:51:46'),
(5, '8b839e2cb6e8e18022c771dfeea990a9', 13, '2021-01-14 01:52:08', 2250.00, 2250.00, 0.00, 0.00, 39, 1, NULL, 0, '1', NULL, 'return', 1, NULL, '2021-01-13 19:52:08', '2021-01-13 19:52:08'),
(6, '06c131d92b4f942685f1b8f40a3d4e53', 13, '2021-01-14 01:57:48', 2610.00, 2610.00, 0.00, 0.00, 40, 1, NULL, 0, '1', NULL, 'sales return', 1, NULL, '2021-01-13 19:57:48', '2021-01-13 19:57:48');

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

--
-- Table structure for table `sales_temtables`
--

CREATE TABLE `sales_temtables` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `barcode` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `qty` double(10,2) NOT NULL DEFAULT 0.00,
  `cost_price` double(10,2) NOT NULL DEFAULT 0.00,
  `sales_price` double(10,2) NOT NULL DEFAULT 0.00,
  `vat_rate` double(10,2) DEFAULT NULL,
  `discount_rate` double(10,2) DEFAULT NULL,
  `employee_id` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sales_temtables`
--

INSERT INTO `sales_temtables` (`id`, `order_id`, `product_id`, `barcode`, `name`, `qty`, `cost_price`, `sales_price`, `vat_rate`, `discount_rate`, `employee_id`, `created_at`, `updated_at`) VALUES
(44, 1, 2, NULL, 'Aman Layer Feed', 1.00, 1960.00, 2250.00, 0.00, 0.00, 1, '2021-01-15 13:13:50', '2021-01-15 13:13:50');

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

--
-- Table structure for table `setting_options`
--

CREATE TABLE `setting_options` (
  `id` int(10) UNSIGNED NOT NULL,
  `s_date` int(11) NOT NULL DEFAULT 1,
  `s_vat` int(11) NOT NULL DEFAULT 1,
  `s_discount_row` int(11) NOT NULL DEFAULT 1,
  `s_discount_total` int(11) NOT NULL DEFAULT 1,
  `s_sales_ledger` int(11) NOT NULL DEFAULT 8,
  `s_amount_receive_ledger` int(11) NOT NULL DEFAULT 0,
  `s_cost_goods_ledger` int(11) NOT NULL DEFAULT 5,
  `s_inventory_ledger` int(11) NOT NULL DEFAULT 5,
  `s_invoice_due_show` int(11) NOT NULL DEFAULT 0,
  `s_default_customer` int(11) NOT NULL DEFAULT 12,
  `s_discount_ledger` int(11) NOT NULL DEFAULT 123,
  `s_vatpayable_ledger` int(11) DEFAULT 124,
  `s_default_cash_ledger` int(11) NOT NULL DEFAULT 14,
  `s_default_vat_input_ledger` int(11) NOT NULL DEFAULT 126,
  `s_default_sales_return` int(11) NOT NULL DEFAULT 15,
  `p_default_discount_account` int(11) NOT NULL DEFAULT 16 COMMENT 'Default Purchase discocunt Account',
  `vat_expense_account` int(11) DEFAULT 11 COMMENT 'Default vat Expense Account',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `setting_options`
--

INSERT INTO `setting_options` (`id`, `s_date`, `s_vat`, `s_discount_row`, `s_discount_total`, `s_sales_ledger`, `s_amount_receive_ledger`, `s_cost_goods_ledger`, `s_inventory_ledger`, `s_invoice_due_show`, `s_default_customer`, `s_discount_ledger`, `s_vatpayable_ledger`, `s_default_cash_ledger`, `s_default_vat_input_ledger`, `s_default_sales_return`, `p_default_discount_account`, `vat_expense_account`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 1, 1, 8, 2, 5, 6, 0, 12, 9, 10, 2, 14, 15, 16, NULL, NULL, NULL);

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

--
-- Table structure for table `shipper_profiles`
--

CREATE TABLE `shipper_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `shops`
--

CREATE TABLE `shops` (
  `id` int(10) UNSIGNED NOT NULL,
  `shop_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shop_email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shop_phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shop_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `invoice_layout` int(11) NOT NULL DEFAULT 1,
  `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `shops`
--

INSERT INTO `shops` (`id`, `shop_name`, `shop_email`, `shop_phone`, `shop_address`, `invoice_layout`, `image`, `created_at`, `updated_at`) VALUES
(1, 'Bedhu Traders', 'farhadali0507@gmail.com', '01756256562', 'Mirpur 10, Dhaka, Bangladesh', 1, '42e6677305bffe03528dd835279003f0.jpeg', NULL, '2020-12-29 18:29:41');

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

--
-- Table structure for table `store_house_locations`
--

CREATE TABLE `store_house_locations` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` int(11) NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `supplier_accounts`
--

CREATE TABLE `supplier_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `account_no` int(11) NOT NULL,
  `transection_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transection_date` datetime DEFAULT NULL,
  `debit` double(10,2) DEFAULT NULL,
  `credit` double(10,2) DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `supplier_accounts`
--

INSERT INTO `supplier_accounts` (`id`, `account_no`, `transection_no`, `ref_no`, `description`, `transection_date`, `debit`, `credit`, `status`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 5, 'opening', NULL, NULL, '2020-10-23 00:00:00', NULL, 0.00, 1, NULL, NULL, NULL, '2020-10-23 13:12:33', '2020-10-23 13:12:33'),
(2, 6, 'opening', NULL, NULL, '2020-10-23 00:00:00', NULL, 0.00, 1, NULL, NULL, NULL, '2020-10-23 13:12:50', '2020-10-23 13:12:50'),
(3, 6, '1', NULL, NULL, '2020-10-23 00:00:00', 381000.00, 381000.00, 1, 1, NULL, NULL, '2020-10-23 13:13:51', '2020-10-23 13:13:51'),
(4, 6, NULL, NULL, 'Payment', '2020-10-23 19:24:48', NULL, 5000.00, 1, 1, NULL, NULL, '2020-10-23 13:24:48', '2020-10-23 13:24:48'),
(5, 2, '2', NULL, NULL, '2020-11-03 00:00:00', 39000.00, 40365.00, 1, 1, NULL, NULL, '2020-11-02 18:05:13', '2020-11-02 18:05:13'),
(6, 2, '2', NULL, 'afsfd', '2020-11-03 00:14:09', 1000.00, NULL, 1, 1, NULL, NULL, '2020-11-02 18:14:09', '2020-11-02 18:14:09'),
(7, 2, '4', NULL, NULL, '2020-11-03 00:00:00', NULL, 19500.00, 1, 1, NULL, NULL, '2020-11-03 14:28:36', '2020-11-03 14:28:36'),
(8, 3, NULL, NULL, 'Cash receive', '2020-12-23 18:54:41', NULL, 2500.00, 1, 1, NULL, NULL, '2020-12-23 12:54:41', '2020-12-23 12:54:41'),
(9, 3, NULL, NULL, 'cash paid', '2020-12-23 18:56:02', 300.00, NULL, 1, 1, NULL, NULL, '2020-12-23 12:56:02', '2020-12-23 12:56:02'),
(10, 6, NULL, NULL, 'Found Paid to Supplier', '2020-12-25 14:57:10', 52000.00, NULL, 1, 1, NULL, NULL, '2020-12-25 08:57:10', '2020-12-25 08:57:10'),
(11, 3, NULL, NULL, 'cash', '2020-12-25 17:39:42', NULL, 25000.00, 1, 1, NULL, NULL, '2020-12-25 11:39:42', '2020-12-25 11:39:42'),
(12, 4, NULL, NULL, 'Cash receive in main cash account from supplier 4', '2020-12-25 20:10:54', NULL, 6500.00, 1, 1, NULL, NULL, '2020-12-25 14:10:54', '2020-12-25 14:10:54'),
(13, 4, NULL, NULL, 'Paid Mr. Sumon from DBBL-122535145', '2020-12-27 18:58:34', 5000.00, NULL, 1, 1, NULL, NULL, '2020-12-27 12:58:34', '2020-12-27 12:58:34'),
(14, 6, NULL, NULL, 'note', '2020-12-27 19:01:54', 2500.00, NULL, 1, 1, NULL, NULL, '2020-12-27 13:01:54', '2020-12-27 13:01:54'),
(15, 4, '5', NULL, NULL, '2020-12-28 00:00:00', NULL, 92500.00, 1, 1, NULL, NULL, '2020-12-27 19:25:48', '2020-12-27 19:25:48'),
(16, 4, '6', NULL, NULL, '2020-12-28 00:00:00', NULL, 52500.00, 1, 1, NULL, NULL, '2020-12-27 19:28:55', '2020-12-27 19:28:55'),
(17, 4, '7', NULL, NULL, '2020-12-28 00:00:00', NULL, 1750.00, 1, 1, NULL, NULL, '2020-12-27 19:30:35', '2020-12-27 19:30:35'),
(18, 4, '9', NULL, NULL, '2020-12-28 00:00:00', NULL, 2500.00, 1, 1, NULL, NULL, '2020-12-27 19:32:16', '2020-12-27 19:32:16'),
(19, 4, NULL, NULL, 'payment', '2020-12-28 01:41:56', 100000.00, NULL, 1, 1, NULL, NULL, '2020-12-27 19:41:56', '2020-12-27 19:41:56'),
(20, 4, NULL, NULL, 'paid from bank', '2020-12-28 01:49:08', 4000.00, NULL, 1, 1, NULL, NULL, '2020-12-27 19:49:08', '2020-12-27 19:49:08'),
(21, 3, NULL, NULL, 'cash receive', '2020-12-28 17:28:00', NULL, 6000.00, 1, 1, NULL, NULL, '2020-12-28 11:28:00', '2020-12-28 11:28:00'),
(22, 4, NULL, NULL, 'cash paid', '2020-12-28 17:28:34', 6000.00, NULL, 1, 1, NULL, NULL, '2020-12-28 11:28:34', '2020-12-28 11:28:34'),
(23, 4, NULL, NULL, 'cash paid', '2020-12-28 17:29:23', 10000.00, NULL, 1, 1, NULL, NULL, '2020-12-28 11:29:23', '2020-12-28 11:29:23'),
(24, 4, '6', NULL, 'gfdffds fsdf sf', '2020-12-28 17:30:30', 10000.00, NULL, 1, 1, NULL, NULL, '2020-12-28 11:30:30', '2020-12-28 11:30:30'),
(25, 3, NULL, NULL, 'amount  paid from bank account', '2020-12-28 17:31:47', 5000.00, NULL, 1, 1, NULL, NULL, '2020-12-28 11:31:47', '2020-12-28 11:31:47'),
(26, 3, NULL, NULL, 'paid', '2020-12-28 17:45:49', 8000.00, NULL, 1, 1, NULL, NULL, '2020-12-28 11:45:49', '2020-12-28 11:45:49'),
(27, 9, '10', NULL, NULL, '2020-12-28 00:00:00', NULL, 55000.00, 1, 1, NULL, NULL, '2020-12-28 11:54:11', '2020-12-28 11:54:11'),
(28, 9, NULL, NULL, 'paid', '2020-12-28 17:56:10', 52750.00, NULL, 1, 1, NULL, NULL, '2020-12-28 11:56:10', '2020-12-28 11:56:10'),
(29, 9, '10', NULL, 'cash paid', '2020-12-28 18:08:22', 2250.00, NULL, 1, 1, NULL, NULL, '2020-12-28 12:08:22', '2020-12-28 12:08:22'),
(30, 9, '11', NULL, 'Murgi purchase', '2020-12-28 00:00:00', NULL, 15750.00, 1, 1, NULL, NULL, '2020-12-28 12:28:35', '2020-12-28 12:28:35'),
(31, 10, 'opening', NULL, NULL, '2021-01-04 00:00:00', NULL, 0.00, 1, NULL, NULL, NULL, '2021-01-03 21:18:40', '2021-01-03 21:18:40'),
(32, 4, '12', NULL, 'fsadfdsafdsafdsa fsdafdsf', '2021-01-04 00:00:00', NULL, 18300.00, 1, 1, NULL, NULL, '2021-01-03 21:18:49', '2021-01-03 21:18:49'),
(33, 4, '12', NULL, 'purchase return', '2021-01-19 02:04:55', 500.00, NULL, 1, 1, NULL, NULL, '2021-01-18 20:04:55', '2021-01-18 20:04:55'),
(34, 4, '12', NULL, 'Fault product', '2021-01-19 02:08:51', 700.00, NULL, 1, 1, NULL, NULL, '2021-01-18 20:08:51', '2021-01-18 20:08:51'),
(35, 4, '12', NULL, 'return by me', '2021-01-19 02:30:23', 300.00, NULL, 1, 1, NULL, NULL, '2021-01-18 20:30:23', '2021-01-18 20:30:23'),
(36, 4, '12', NULL, 'fgbdsfd', '2021-01-19 02:32:39', 400.00, NULL, 1, 1, NULL, NULL, '2021-01-18 20:32:39', '2021-01-18 20:32:39');

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

--
-- Table structure for table `supplier_categories`
--

CREATE TABLE `supplier_categories` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `supplier_categories`
--

INSERT INTO `supplier_categories` (`id`, `name`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'general', 1, NULL, '2020-10-23 13:11:43', '2020-10-23 13:11:43'),
(2, 'special', 1, NULL, '2020-10-23 13:11:49', '2020-10-23 13:11:49');

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

--
-- Table structure for table `supplier_profiles`
--

CREATE TABLE `supplier_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `category_id` int(11) NOT NULL,
  `transection_term_id` int(11) NOT NULL,
  `common_id` int(11) DEFAULT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `supplier_profiles`
--

INSERT INTO `supplier_profiles` (`id`, `name`, `category_id`, `transection_term_id`, `common_id`, `address`, `image`, `phone`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(0, 'Opening Stock', 0, 0, NULL, NULL, NULL, '123456', 1, NULL, NULL, NULL),
(2, 'Md.Farhad Ali', 2, 2, 1, 'Kalam,Singra', NULL, '012456', 1, NULL, '2020-10-23 13:07:58', '2020-10-23 13:07:58'),
(3, 'Md.Sweet', 2, 2, 2, 'Joipurhat', NULL, '365478', 1, NULL, '2020-10-23 13:08:22', '2020-10-23 13:08:22'),
(4, 'Md.Sumon', 2, 2, 3, 'Moymonsing', NULL, '987456', 1, NULL, '2020-10-23 13:08:59', '2020-10-23 13:08:59'),
(5, 'Cp Company', 2, 1, NULL, NULL, NULL, '98745', 1, NULL, '2020-10-23 13:12:33', '2020-10-23 13:12:33'),
(6, 'AMan Feed Company', 2, 2, NULL, NULL, NULL, '85412', 1, NULL, '2020-10-23 13:12:50', '2020-10-23 13:12:50'),
(7, 'Atapatu', 2, 1, 4, '', NULL, '012456987', 1, NULL, '2020-12-24 19:17:15', '2020-12-24 19:17:15'),
(8, 'Ranatunga', 1, 1, 5, '', NULL, '0175421', 1, NULL, '2020-12-24 19:17:42', '2020-12-24 19:17:42'),
(9, 'Mamun Ahmed', 2, 1, 6, 'Dhaka', NULL, '0175856562', 1, NULL, '2020-12-28 11:48:59', '2020-12-28 11:48:59'),
(10, 'fdsf', 1, 1, NULL, NULL, NULL, 'fsdf', 1, NULL, '2021-01-03 21:18:40', '2021-01-03 21:18:40');

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

--
-- Table structure for table `transaction_terms`
--

CREATE TABLE `transaction_terms` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transaction_terms`
--

INSERT INTO `transaction_terms` (`id`, `name`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'cash', 1, NULL, '2020-10-23 13:05:43', '2020-10-23 13:05:43'),
(2, 'credit', 1, NULL, '2020-10-23 13:05:49', '2020-10-23 13:05:49');

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

--
-- Table structure for table `vat_accounts`
--

CREATE TABLE `vat_accounts` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transection_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `debit` double(10,2) NOT NULL DEFAULT 0.00,
  `credit` double(10,2) NOT NULL DEFAULT 0.00,
  `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vat_accounts`
--

INSERT INTO `vat_accounts` (`id`, `order_id`, `account_no`, `transection_date`, `debit`, `credit`, `note`, `type`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '4', '1', '2020-10-23 13:16:37', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-10-23 13:16:37', '2020-10-23 13:16:37'),
(2, '5', '2', '2020-10-23 13:17:43', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-10-23 13:17:43', '2020-10-23 13:17:43'),
(3, '6', '2', '2020-10-23 13:28:27', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-10-23 13:28:27', '2020-10-23 13:28:27'),
(4, '7', '1', '2020-10-23 13:33:02', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-10-23 13:33:02', '2020-10-23 13:33:02'),
(5, '8', '1', '2020-11-02 18:11:40', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-11-02 18:11:40', '2020-11-02 18:11:40'),
(6, '1', '1', '2020-11-02 18:12:39', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-11-02 18:12:39', '2020-11-02 18:12:39'),
(7, '9', '1', '2020-12-23 13:52:41', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-23 13:52:41', '2020-12-23 13:52:41'),
(8, '10', '1', '2020-12-23 13:54:33', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-23 13:54:33', '2020-12-23 13:54:33'),
(9, '11', '1', '2020-12-24 19:16:22', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-24 19:16:22', '2020-12-24 19:16:22'),
(10, '12', '2', '2020-12-27 15:41:57', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 15:41:57', '2020-12-27 15:41:57'),
(11, '13', '1', '2020-12-27 18:16:02', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 18:16:02', '2020-12-27 18:16:02'),
(12, '14', '2', '2020-12-27 18:18:34', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 18:18:34', '2020-12-27 18:18:34'),
(13, '17', '1', '2020-12-27 18:22:52', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-27 18:22:52', '2020-12-27 18:22:52'),
(14, '18', '1', '2020-12-28 11:49:27', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2020-12-28 11:49:27', '2020-12-28 11:49:27'),
(15, '19', '1', '2021-01-02 20:00:06', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-02 20:00:06', '2021-01-02 20:00:06'),
(16, '20', '1', '2021-01-02 20:07:33', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-02 20:07:33', '2021-01-02 20:07:33'),
(17, '21', '2', '2021-01-02 20:12:03', 0.00, 0.00, NULL, NULL, 1, NULL, NULL, '2021-01-02 20:12:03', '2021-01-02 20:12:03');

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

--
-- Table structure for table `vendor_profiles`
--

CREATE TABLE `vendor_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `category_id` int(11) DEFAULT NULL,
  `transection_term_id` int(11) DEFAULT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vendor_profiles`
--

INSERT INTO `vendor_profiles` (`id`, `name`, `category_id`, `transection_term_id`, `address`, `phone`, `status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Md.Farhad Ali', 2, 2, 'Kalam,Singra', '012456', 1, NULL, '2020-10-23 13:07:58', '2020-10-23 13:07:58'),
(2, 'Md.Sweet', 2, 2, 'Joipurhat', '365478', 1, NULL, '2020-10-23 13:08:22', '2020-10-23 13:08:22'),
(3, 'Md.Sumon', 2, 2, 'Moymonsing', '987456', 1, NULL, '2020-10-23 13:08:59', '2020-10-23 13:08:59'),
(4, 'Atapatu', 2, 1, '', '012456987', 1, NULL, '2020-12-24 19:17:15', '2020-12-24 19:17:15'),
(5, 'Ranatunga', 1, 1, '', '0175421', 1, NULL, '2020-12-24 19:17:42', '2020-12-24 19:17:42'),
(6, 'Mamun Ahmed', 2, 1, 'Dhaka', '0175856562', 1, NULL, '2020-12-28 11:48:59', '2020-12-28 11:48:59');

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

--
-- Structure for view `cash_bank_mobilebank_payment_view`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `cash_bank_mobilebank_payment_view`  AS  select `t4`.`_table_name` AS `_table_name`,`t4`.`_prefex` AS `_prefex`,`t4`.`_id` AS `_id`,concat(`t4`.`_prefex`,'-',`t4`.`_id`) AS `_transection_unique_id`,`t4`.`account_no` AS `account_no`,`t4`.`own_account_no` AS `own_account_no`,`t4`.`transection_no` AS `transection_no`,`t4`.`transection_date` AS `transection_date`,`t4`.`debit` AS `debit`,`t4`.`credit` AS `credit`,`t4`.`description` AS `description`,`t4`.`status` AS `status`,`t4`.`created_by` AS `created_by`,`t4`.`ref_no` AS `ref_no` from (select 'cash_books' AS `_table_name`,'CBA' AS `_prefex`,`t1`.`id` AS `_id`,`t1`.`account_no` AS `account_no`,`t1`.`own_account_no` AS `own_account_no`,`t1`.`refeance_no` AS `transection_no`,`t1`.`transection_date` AS `transection_date`,ifnull(`t1`.`debit`,0) AS `debit`,ifnull(`t1`.`credit`,0) AS `credit`,`t1`.`description` AS `description`,`t1`.`status` AS `status`,`t1`.`created_by` AS `created_by`,`t1`.`person_type` AS `ref_no` from `cash_books` `t1` where ifnull(`t1`.`credit`,0) > 0 union all select 'mobile_bank_accounts' AS `_table_name`,'MBA' AS `_prefex`,`t1`.`id` AS `_id`,`t1`.`account_no` AS `account_no`,`t1`.`own_account_no` AS `own_account_no`,`t1`.`transection_no` AS `transection_no`,`t1`.`transection_date` AS `transection_date`,ifnull(`t1`.`debit`,0) AS `debit`,ifnull(`t1`.`credit`,0) AS `credit`,`t1`.`description` AS `description`,`t1`.`status` AS `status`,`t1`.`created_by` AS `created_by`,`t1`.`ref_no` AS `ref_no` from `mobile_bank_accounts` `t1` where ifnull(`t1`.`credit`,0) > 0 union all select 'bank_accounts' AS `_table_name`,'BA' AS `_prefex`,`t1`.`id` AS `_id`,`t1`.`account_no` AS `account_no`,`t1`.`own_account_no` AS `own_account_no`,`t1`.`transection_no` AS `transection_no`,`t1`.`transection_date` AS `transection_date`,ifnull(`t1`.`debit`,0) AS `debit`,ifnull(`t1`.`credit`,0) AS `credit`,`t1`.`description` AS `description`,`t1`.`status` AS `status`,`t1`.`created_by` AS `created_by`,`t1`.`ref_no` AS `ref_no` from `bank_accounts` `t1` where ifnull(`t1`.`credit`,0) > 0) `t4` order by `t4`.`transection_date` desc ;

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

--
-- Structure for view `cash_bank_mobilebank_view`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `cash_bank_mobilebank_view`  AS  select `t4`.`_table_name` AS `_table_name`,`t4`.`_prefex` AS `_prefex`,`t4`.`_id` AS `_id`,concat(`t4`.`_prefex`,'-',`t4`.`_id`) AS `_transection_unique_id`,`t4`.`account_no` AS `account_no`,`t4`.`own_account_no` AS `own_account_no`,`t4`.`transection_no` AS `transection_no`,`t4`.`transection_date` AS `transection_date`,`t4`.`debit` AS `debit`,`t4`.`credit` AS `credit`,`t4`.`description` AS `description`,`t4`.`status` AS `status`,`t4`.`created_by` AS `created_by`,`t4`.`ref_no` AS `ref_no` from (select 'cash_books' AS `_table_name`,'CBA' AS `_prefex`,`t1`.`id` AS `_id`,`t1`.`account_no` AS `account_no`,`t1`.`own_account_no` AS `own_account_no`,`t1`.`refeance_no` AS `transection_no`,`t1`.`transection_date` AS `transection_date`,ifnull(`t1`.`debit`,0) AS `debit`,ifnull(`t1`.`credit`,0) AS `credit`,`t1`.`description` AS `description`,`t1`.`status` AS `status`,`t1`.`created_by` AS `created_by`,`t1`.`person_type` AS `ref_no` from `cash_books` `t1` where ifnull(`t1`.`debit`,0) > 0 union all select 'mobile_bank_accounts' AS `_table_name`,'MBA' AS `_prefex`,`t1`.`id` AS `_id`,`t1`.`account_no` AS `account_no`,`t1`.`own_account_no` AS `own_account_no`,`t1`.`transection_no` AS `transection_no`,`t1`.`transection_date` AS `transection_date`,ifnull(`t1`.`debit`,0) AS `debit`,ifnull(`t1`.`credit`,0) AS `credit`,`t1`.`description` AS `description`,`t1`.`status` AS `status`,`t1`.`created_by` AS `created_by`,`t1`.`ref_no` AS `ref_no` from `mobile_bank_accounts` `t1` where ifnull(`t1`.`debit`,0) > 0 union all select 'bank_accounts' AS `_table_name`,'BA' AS `_prefex`,`t1`.`id` AS `_id`,`t1`.`account_no` AS `account_no`,`t1`.`own_account_no` AS `own_account_no`,`t1`.`transection_no` AS `transection_no`,`t1`.`transection_date` AS `transection_date`,ifnull(`t1`.`debit`,0) AS `debit`,ifnull(`t1`.`credit`,0) AS `credit`,`t1`.`description` AS `description`,`t1`.`status` AS `status`,`t1`.`created_by` AS `created_by`,`t1`.`ref_no` AS `ref_no` from `bank_accounts` `t1` where ifnull(`t1`.`debit`,0) > 0) `t4` order by `t4`.`transection_date` desc ;

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

--
-- Structure for view `customer_supplier_both_accounts`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `customer_supplier_both_accounts`  AS  select 'supplier' AS `_type`,`supplier_accounts`.`id` AS `id`,`supplier_accounts`.`account_no` AS `account_no`,`supplier_accounts`.`transection_no` AS `transection_no`,`supplier_accounts`.`transection_date` AS `transection_date`,`supplier_accounts`.`description` AS `description`,`supplier_accounts`.`debit` AS `debit`,`supplier_accounts`.`credit` AS `credit`,`supplier_accounts`.`status` AS `status`,`supplier_accounts`.`created_by` AS `created_by`,`supplier_accounts`.`updated_by` AS `updated_by`,`supplier_accounts`.`deleted_at` AS `deleted_at`,`supplier_accounts`.`created_at` AS `created_at`,`supplier_accounts`.`updated_at` AS `updated_at` from `supplier_accounts` union all select 'customer' AS `_type`,`customer_accounts`.`id` AS `id`,`customer_accounts`.`account_no` AS `account_no`,`customer_accounts`.`transection_no` AS `transection_no`,`customer_accounts`.`transection_date` AS `transection_date`,`customer_accounts`.`description` AS `description`,`customer_accounts`.`debit` AS `debit`,`customer_accounts`.`credit` AS `credit`,`customer_accounts`.`status` AS `status`,`customer_accounts`.`created_by` AS `created_by`,`customer_accounts`.`updated_by` AS `updated_by`,`customer_accounts`.`deleted_at` AS `deleted_at`,`customer_accounts`.`created_at` AS `created_at`,`customer_accounts`.`updated_at` AS `updated_at` from `customer_accounts` ;

--
-- Indexes for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `employee_profiles`
--
ALTER TABLE `employee_profiles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `employee_profiles_email_unique` (`email`);

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
  ADD KEY `password_resets_email_index` (`email`);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_slug_unique` (`slug`);

--
-- Indexes for table `role_users`
--
ALTER TABLE `role_users`
  ADD UNIQUE KEY `role_users_user_id_role_id_unique` (`user_id`,`role_id`),
  ADD KEY `role_users_role_id_foreign` (`role_id`);

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

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

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

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

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

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

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

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

--
-- Indexes for table `shipper_profiles`
--
ALTER TABLE `shipper_profiles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `shipper_profiles_email_unique` (`email`);

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `account_details`
--
ALTER TABLE `account_details`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `account_heads`
--
ALTER TABLE `account_heads`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'auto increment id', AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `account_ledgers`
--
ALTER TABLE `account_ledgers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `account_level_ones`
--
ALTER TABLE `account_level_ones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `account_level_twos`
--
ALTER TABLE `account_level_twos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=127;

--
-- AUTO_INCREMENT for table `account_voucher_masters`
--
ALTER TABLE `account_voucher_masters`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;

--
-- AUTO_INCREMENT for table `advance_paid_accounts`
--
ALTER TABLE `advance_paid_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `advance_paid_person_profiles`
--
ALTER TABLE `advance_paid_person_profiles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `advance_received_person_profiles`
--
ALTER TABLE `advance_received_person_profiles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `advance_receive_accounts`
--
ALTER TABLE `advance_receive_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `bank_accounts`
--
ALTER TABLE `bank_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `bank_account_profiles`
--
ALTER TABLE `bank_account_profiles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `capital_accounts`
--
ALTER TABLE `capital_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `cash_books`
--
ALTER TABLE `cash_books`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;

--
-- AUTO_INCREMENT for table `cash_profiles`
--
ALTER TABLE `cash_profiles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `costof_goods_sold_accounts`
--
ALTER TABLE `costof_goods_sold_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;

--
-- AUTO_INCREMENT for table `customer_accounts`
--
ALTER TABLE `customer_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;

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

--
-- AUTO_INCREMENT for table `customer_profiles`
--
ALTER TABLE `customer_profiles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `employee_accounts`
--
ALTER TABLE `employee_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `employee_positions`
--
ALTER TABLE `employee_positions`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `employee_profiles`
--
ALTER TABLE `employee_profiles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `expenses_accounts`
--
ALTER TABLE `expenses_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `expense_accounts`
--
ALTER TABLE `expense_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `expense_profiles`
--
ALTER TABLE `expense_profiles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `inventories`
--
ALTER TABLE `inventories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `language_lines`
--
ALTER TABLE `language_lines`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `ltm_translations`
--
ALTER TABLE `ltm_translations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2425;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=71;

--
-- AUTO_INCREMENT for table `mobile_bank_accounts`
--
ALTER TABLE `mobile_bank_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

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

--
-- AUTO_INCREMENT for table `modules`
--
ALTER TABLE `modules`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `owner_profiles`
--
ALTER TABLE `owner_profiles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `product_categories`
--
ALTER TABLE `product_categories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `product_price_lists`
--
ALTER TABLE `product_price_lists`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- AUTO_INCREMENT for table `product_profiles`
--
ALTER TABLE `product_profiles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `product_quantity_measurements`
--
ALTER TABLE `product_quantity_measurements`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `product_sales_discounts`
--
ALTER TABLE `product_sales_discounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `product_sales_offers`
--
ALTER TABLE `product_sales_offers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `product_store_locations`
--
ALTER TABLE `product_store_locations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `product_s_p_r_types`
--
ALTER TABLE `product_s_p_r_types`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `product_taxes`
--
ALTER TABLE `product_taxes`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `purchase_accounts`
--
ALTER TABLE `purchase_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `purchase_details`
--
ALTER TABLE `purchase_details`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;

--
-- AUTO_INCREMENT for table `purchase_discount_accounts`
--
ALTER TABLE `purchase_discount_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- AUTO_INCREMENT for table `purchase_orders`
--
ALTER TABLE `purchase_orders`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `purchase_retrun_orders`
--
ALTER TABLE `purchase_retrun_orders`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `purchase_temp_tables`
--
ALTER TABLE `purchase_temp_tables`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- AUTO_INCREMENT for table `purchase_vat_accounts`
--
ALTER TABLE `purchase_vat_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

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

--
-- AUTO_INCREMENT for table `sales_accounts`
--
ALTER TABLE `sales_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `sales_details`
--
ALTER TABLE `sales_details`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=73;

--
-- AUTO_INCREMENT for table `sales_discount_accounts`
--
ALTER TABLE `sales_discount_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `sales_orders`
--
ALTER TABLE `sales_orders`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;

--
-- AUTO_INCREMENT for table `sales_prices`
--
ALTER TABLE `sales_prices`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `sales_retrun_orders`
--
ALTER TABLE `sales_retrun_orders`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `sales_temtables`
--
ALTER TABLE `sales_temtables`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=45;

--
-- AUTO_INCREMENT for table `setting_options`
--
ALTER TABLE `setting_options`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `shipper_profiles`
--
ALTER TABLE `shipper_profiles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `shops`
--
ALTER TABLE `shops`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `store_house_locations`
--
ALTER TABLE `store_house_locations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `supplier_accounts`
--
ALTER TABLE `supplier_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37;

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

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

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

--
-- AUTO_INCREMENT for table `vat_accounts`
--
ALTER TABLE `vat_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `vendor_profiles`
--
ALTER TABLE `vendor_profiles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `role_users`
--
ALTER TABLE `role_users`
  ADD CONSTRAINT `role_users_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
COMMIT;

