-- Table structure for table `documents`
--

CREATE TABLE `documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `project_id` int(10) unsigned DEFAULT NULL,
  `vendor_id` int(10) unsigned DEFAULT NULL,
  `url` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `preview` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `disk` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `hash` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `size` int(10) unsigned DEFAULT NULL,
  `width` int(10) unsigned DEFAULT NULL,
  `height` int(10) unsigned DEFAULT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT '0',
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `documentable_id` int(10) unsigned NOT NULL,
  `documentable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `documents_company_id_index` (`company_id`),
  KEY `documents_documentable_id_documentable_type_deleted_at_index` (`documentable_id`,`documentable_type`,`deleted_at`),
  CONSTRAINT `documents_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `documents`
--


--
-- Table structure for table `e_invoicing_logs`
--

CREATE TABLE `e_invoicing_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `legal_entity_id` int(10) unsigned NOT NULL,
  `license_key` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `direction` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sent',
  `notes` text COLLATE utf8mb4_unicode_ci,
  `counter` int(11) NOT NULL DEFAULT '0',
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `e_invoicing_logs_legal_entity_id_index` (`legal_entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `e_invoicing_logs`
--


--
-- Table structure for table `e_invoicing_tokens`
--

CREATE TABLE `e_invoicing_tokens` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `license` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_key` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `e_invoicing_tokens_token_unique` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `e_invoicing_tokens`
--


--
-- Table structure for table `elastic_migrations`
--

CREATE TABLE `elastic_migrations` (
  `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL,
  PRIMARY KEY (`migration`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `elastic_migrations`
--


--
-- Table structure for table `expense_categories`
--

CREATE TABLE `expense_categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `color` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#fff',
  `bank_category_id` int(10) unsigned DEFAULT NULL,
  `sync` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `expense_categories_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `expense_categories_company_id_index` (`company_id`),
  CONSTRAINT `expense_categories_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expense_categories`
--

INSERT INTO `expense_categories` (`id`, `user_id`, `company_id`, `name`, `created_at`, `updated_at`, `deleted_at`, `is_deleted`, `color`, `bank_category_id`, `sync`) VALUES (1,1,1,'Utility','2025-08-21 17:15:58.592563','2025-08-21 17:15:58.592563',NULL,0,'#2F7DC3',NULL,NULL),(2,1,1,'Licensing','2025-08-21 17:16:39.116847','2025-08-21 17:16:39.116847',NULL,0,'#2F7DC3',NULL,NULL),(3,1,1,'Service Fees','2025-08-21 17:17:27.451607','2025-08-21 17:17:27.451607',NULL,0,'#2F7DC3',NULL,NULL),(4,1,1,'Fuel','2025-08-21 18:44:11.981226','2025-08-21 18:44:11.981226',NULL,0,'',NULL,NULL);

--
-- Table structure for table `expenses`
--

CREATE TABLE `expenses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `vendor_id` int(10) unsigned DEFAULT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `invoice_id` int(10) unsigned DEFAULT NULL,
  `client_id` int(10) unsigned DEFAULT NULL,
  `bank_id` int(10) unsigned DEFAULT NULL,
  `invoice_currency_id` int(10) unsigned DEFAULT NULL,
  `currency_id` int(10) unsigned DEFAULT NULL,
  `category_id` int(10) unsigned DEFAULT NULL,
  `payment_type_id` int(10) unsigned DEFAULT NULL,
  `recurring_expense_id` int(10) unsigned DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `amount` decimal(20,6) NOT NULL,
  `foreign_amount` decimal(20,6) NOT NULL,
  `exchange_rate` decimal(20,6) NOT NULL DEFAULT '1.000000',
  `tax_name1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate1` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate2` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name3` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate3` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `date` date DEFAULT NULL,
  `payment_date` date DEFAULT NULL,
  `private_notes` text COLLATE utf8mb4_unicode_ci,
  `public_notes` text COLLATE utf8mb4_unicode_ci,
  `transaction_reference` text COLLATE utf8mb4_unicode_ci,
  `should_be_invoiced` tinyint(1) NOT NULL DEFAULT '0',
  `invoice_documents` tinyint(1) NOT NULL DEFAULT '1',
  `transaction_id` bigint(20) unsigned DEFAULT NULL,
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `project_id` int(10) unsigned DEFAULT NULL,
  `tax_amount1` decimal(20,6) NOT NULL DEFAULT '1.000000',
  `tax_amount2` decimal(20,6) NOT NULL DEFAULT '1.000000',
  `tax_amount3` decimal(20,6) NOT NULL DEFAULT '1.000000',
  `uses_inclusive_taxes` tinyint(1) NOT NULL DEFAULT '0',
  `calculate_tax_by_amount` tinyint(1) NOT NULL DEFAULT '0',
  `e_invoice` mediumtext COLLATE utf8mb4_unicode_ci,
  `sync` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `expenses_company_id_number_unique` (`company_id`,`number`),
  KEY `expenses_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `expenses_user_id_foreign` (`user_id`),
  KEY `expenses_company_id_index` (`company_id`),
  KEY `expenses_invoice_id_deleted_at_index` (`invoice_id`,`deleted_at`),
  CONSTRAINT `expenses_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `expenses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expenses`
--


--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `failed_jobs`
--


--
-- Table structure for table `gateway_types`
--

CREATE TABLE `gateway_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `alias` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `gateway_types`
--

INSERT INTO `gateway_types` (`id`, `alias`, `name`) VALUES (1,'credit_card','Credit Card'),(2,'bank_transfer','Bank Transfer'),(3,'paypal','PayPal'),(4,'crypto','Crypto'),(5,'dwolla','Dwolla'),(6,'custom1','Custom'),(7,'alipay','Alipay'),(8,'sofort','Sofort'),(9,'sepa','SEPA'),(10,'gocardless','GoCardless'),(11,'apple_pay','Apple Pay'),(12,'custom2','Custom'),(13,'custom3','Custom'),(14,'credit','Credit');

--
-- Table structure for table `gateways`
--

CREATE TABLE `gateways` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `key` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `provider` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `visible` tinyint(1) NOT NULL DEFAULT '1',
  `sort_order` int(10) unsigned NOT NULL DEFAULT '10000',
  `site_url` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_offsite` tinyint(1) NOT NULL DEFAULT '0',
  `is_secure` tinyint(1) NOT NULL DEFAULT '0',
  `fields` longtext COLLATE utf8mb4_unicode_ci,
  `default_gateway_type_id` int(10) unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `gateways_key_unique` (`key`)
) ENGINE=InnoDB AUTO_INCREMENT=66 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `gateways`
--

INSERT INTO `gateways` (`id`, `name`, `key`, `provider`, `visible`, `sort_order`, `site_url`, `is_offsite`, `is_secure`, `fields`, `default_gateway_type_id`, `created_at`, `updated_at`) VALUES (1,'Authorize.Net','3b6621f970ab18887c4f6dca78d3f8bb','Authorize',1,5,'http://reseller.authorize.net/application/?id=5560364',0,0,'\"{\\\"apiLoginId\\\":\\\"\\\",\\\"transactionKey\\\":\\\"\\\", \\\"signatureKey\\\":\\\"\\\",\\\"testMode\\\":false,\\\"developerMode\\\":false,\\\"liveEndpoint\\\":\\\"https:\\\\\\/\\\\\\/api2.authorize.net\\\\\\/xml\\\\\\/v1\\\\\\/request.api\\\",\\\"developerEndpoint\\\":\\\"https:\\\\\\/\\\\\\/apitest.authorize.net\\\\\\/xml\\\\\\/v1\\\\\\/request.api\\\"}\\n\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(2,'CardSave','46c5c1fed2c43acf4f379bae9c8b9f76','CardSave',0,10000,'',0,0,'\"{\\\"merchantId\\\":\\\"\\\",\\\"password\\\":\\\"\\\"}\\n\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(3,'Eway Rapid','944c20175bbe6b9972c05bcfe294c2c7','Eway',1,10000,'',1,0,'\"{\\\"apiKey\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"publicApiKey\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(4,'FirstData Connect','4e0ed0d34552e6cb433506d1ac03a418','FirstData_Connect',0,10000,'',0,0,'\"{\\\"storeId\\\":\\\"\\\",\\\"sharedSecret\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(5,'Migs ThreeParty','513cdc81444c87c4b07258bc2858d3fa','Migs_ThreeParty',0,10000,'',0,0,'\"{\\\"merchantId\\\":\\\"\\\",\\\"merchantAccessCode\\\":\\\"\\\",\\\"secureHash\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(6,'Migs TwoParty','99c2a271b5088951334d1302e038c01a','Migs_TwoParty',0,10000,'',0,0,'\"{\\\"merchantId\\\":\\\"\\\",\\\"merchantAccessCode\\\":\\\"\\\",\\\"secureHash\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(7,'Mollie','1bd651fb213ca0c9d66ae3c336dc77e8','Mollie',1,8,'',1,0,'\"{\\\"apiKey\\\":\\\"\\\",\\\"profileId\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(8,'MultiSafepay','c3dec814e14cbd7d86abd92ce6789f8c','MultiSafepay',0,10000,'',0,0,'\"{\\\"accountId\\\":\\\"\\\",\\\"siteId\\\":\\\"\\\",\\\"siteCode\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(9,'Netaxept','070dffc5ca94f4e66216e44028ebd52d','Netaxept',0,10000,'',0,0,'\"{\\\"merchantId\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(10,'NetBanx','334d419939c06bd99b4dfd8a49243f0f','NetBanx',0,10000,'',0,0,'\"{\\\"accountNumber\\\":\\\"\\\",\\\"storeId\\\":\\\"\\\",\\\"storePassword\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(11,'PayFast','d6814fc83f45d2935e7777071e629ef9','PayFast',1,10000,'',1,0,'\"{\\\"merchantId\\\":\\\"\\\",\\\"merchantKey\\\":\\\"\\\",\\\"pdtKey\\\":\\\"\\\",\\\"passphrase\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(12,'Payflow Pro','0d97c97d227f91c5d0cb86d01e4a52c9','Payflow_Pro',0,10000,'',0,0,'\"{\\\"username\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"vendor\\\":\\\"\\\",\\\"partner\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(13,'PaymentExpress PxPay','a66b7062f4c8212d2c428209a34aa6bf','PaymentExpress_PxPay',0,10000,'',0,0,'\"{\\\"username\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"pxPostUsername\\\":\\\"\\\",\\\"pxPostPassword\\\":\\\"\\\",\\\"testMode\\\":false}\"',3,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(14,'PaymentExpress PxPost','7e6fc08b89467518a5953a4839f8baba','PaymentExpress_PxPost',0,10000,'',0,0,'\"{\\\"username\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"testMode\\\":false}\"',3,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(15,'PayPal Express','38f2c48af60c7dd69e04248cbb24c36e','PayPal_Express',1,4,'https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-api-run',1,0,'\"{\\\"username\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"signature\\\":\\\"\\\",\\\"testMode\\\":false,\\\"solutionType\\\":[\\\"Sole\\\",\\\"Mark\\\"],\\\"landingPage\\\":[\\\"Billing\\\",\\\"Login\\\"],\\\"brandName\\\":\\\"\\\",\\\"headerImageUrl\\\":\\\"\\\",\\\"logoImageUrl\\\":\\\"\\\",\\\"borderColor\\\":\\\"\\\"}\"',3,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(16,'PayPal Pro','80af24a6a69f5c0bbec33e930ab40665','PayPal_Pro',0,10000,'',0,0,'\"{\\\"username\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"signature\\\":\\\"\\\",\\\"testMode\\\":false}\"',3,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(17,'Pin','0749cb92a6b36c88bd9ff8aabd2efcab','Pin',0,10000,'',0,0,'\"{\\\"secretKey\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(18,'SagePay Direct','4c8f4e5d0f353a122045eb9a60cc0f2d','SagePay_Direct',0,10000,'https://applications.sagepay.com/apply/2C02C252-0F8A-1B84-E10D-CF933EFCAA99',0,0,'\"{\\\"vendor\\\":\\\"\\\",\\\"testMode\\\":false,\\\"referrerId\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(19,'SecurePay DirectPost','8036a5aadb2bdaafb23502da8790b6a2','SecurePay_DirectPost',0,10000,'',0,0,'\"{\\\"merchantId\\\":\\\"\\\",\\\"transactionPassword\\\":\\\"\\\",\\\"testMode\\\":false,\\\"enable_ach\\\":\\\"\\\",\\\"enable_sofort\\\":\\\"\\\",\\\"enable_apple_pay\\\":\\\"\\\",\\\"enable_alipay\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(20,'Stripe','d14dd26a37cecc30fdd65700bfb55b23','Stripe',1,1,'https://dashboard.stripe.com/account/apikeys',0,0,'\"{\\\"publishableKey\\\":\\\"\\\",\\\"apiKey\\\":\\\"\\\",\\\"appleDomainVerification\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(21,'TargetPay Direct eBanking','d14dd26a37cdcc30fdd65700bfb55b23','TargetPay_Directebanking',0,10000,'',0,0,'\"{\\\"subAccountId\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(22,'TargetPay Ideal','ea3b328bd72d381387281c3bd83bd97c','TargetPay_Ideal',0,10000,'',0,0,'\"{\\\"subAccountId\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(23,'TargetPay Mr Cash','a0035fc0d87c4950fb82c73e2fcb825a','TargetPay_Mrcash',0,10000,'',0,0,'\"{\\\"subAccountId\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(24,'TwoCheckout','16dc1d3c8a865425421f64463faaf768','TwoCheckout',0,10000,'https://www.2checkout.com/referral?r=2c37ac2298',1,0,'\"{\\\"accountNumber\\\":\\\"\\\",\\\"secretWord\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(25,'WorldPay','43e639234f660d581ddac725ba7bcd29','WorldPay',0,10000,'',0,0,'\"{\\\"installationId\\\":\\\"\\\",\\\"accountId\\\":\\\"\\\",\\\"secretWord\\\":\\\"\\\",\\\"callbackPassword\\\":\\\"\\\",\\\"testMode\\\":false,\\\"noLanguageMenu\\\":false,\\\"fixContact\\\":false,\\\"hideContact\\\":false,\\\"hideCurrency\\\":false,\\\"signatureFields\\\":\\\"instId:amount:currency:cartId\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(26,'moolah','2f71dc17b0158ac30a7ae0839799e888','AuthorizeNet_AIM',0,10000,'',0,0,'\"{\\\"apiLoginId\\\":\\\"\\\",\\\"transactionKey\\\":\\\"\\\",\\\"testMode\\\":false,\\\"developerMode\\\":false,\\\"liveEndpoint\\\":\\\"https:\\\\\\/\\\\\\/api2.authorize.net\\\\\\/xml\\\\\\/v1\\\\\\/request.api\\\",\\\"developerEndpoint\\\":\\\"https:\\\\\\/\\\\\\/apitest.authorize.net\\\\\\/xml\\\\\\/v1\\\\\\/request.api\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(27,'Alipay','733998ee4760b10f11fb48652571e02c','Alipay_Express',0,10000,'',0,0,'\"{\\\"partner\\\":\\\"\\\",\\\"key\\\":\\\"\\\",\\\"signType\\\":\\\"MD5\\\",\\\"inputCharset\\\":\\\"utf-8\\\",\\\"transport\\\":\\\"http\\\",\\\"paymentType\\\":1,\\\"itBPay\\\":\\\"1d\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(28,'Buckaroo','6312879223e49c5cf92e194646bdee8f','Buckaroo_CreditCard',0,10000,'',0,0,'\"{\\\"websiteKey\\\":\\\"\\\",\\\"secretKey\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(29,'Coinbase','106ef7e7da9062b0df363903b455711c','Coinbase',0,10000,'',1,0,'\"{\\\"apiKey\\\":\\\"\\\",\\\"secret\\\":\\\"\\\",\\\"accountId\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(30,'DataCash','e9a38f0896b5b82d196be3b7020c8664','DataCash',0,10000,'',0,0,'\"{\\\"merchantId\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(31,'Pacnet','0da4e18ed44a5bd5c8ec354d0ab7b301','Pacnet',0,10000,'',0,0,'\"{\\\"username\\\":\\\"\\\",\\\"sharedSecret\\\":\\\"\\\",\\\"paymentRoutingNumber\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(32,'Realex','d3979e62eb603fbdf1c78fe3a8ba7009','Realex_Remote',0,10000,'',0,0,'\"{\\\"merchantId\\\":\\\"\\\",\\\"account\\\":\\\"\\\",\\\"secret\\\":\\\"\\\",\\\"3dSecure\\\":0}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(33,'Sisow','557d98977e7ec02dfa53de4b69b335be','Sisow',0,10000,'',0,0,'\"{\\\"shopId\\\":\\\"\\\",\\\"merchantId\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(34,'Skrill','54dc60c869a7322d87efbec5c0c25805','Skrill',0,10000,'',1,0,'\"{\\\"email\\\":\\\"\\\",\\\"notifyUrl\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(35,'BitPay','e4a02f0a4b235eb5e9e294730703bb74','BitPay',0,7,'https://bitpay.com/dashboard/signup',1,0,'\"{\\\"apiKey\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(36,'AGMS','1b3c6f3ccfea4f5e7eadeae188cccd7f','Agms',0,10000,'',0,0,'\"{\\\"username\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"apiKey\\\":\\\"\\\",\\\"accountNumber\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(37,'Barclays','7cba6ce5c125f9cb47ea8443ae671b68','BarclaysEpdq\\Essential',0,10000,'',0,0,'\"{\\\"clientId\\\":\\\"\\\",\\\"testMode\\\":false,\\\"language\\\":\\\"en_US\\\",\\\"callbackMethod\\\":\\\"POST\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(38,'Cardgate','b98cfa5f750e16cee3524b7b7e78fbf6','Cardgate',0,10000,'',0,0,'\"{\\\"merchantId\\\":\\\"\\\",\\\"language\\\":\\\"nl\\\",\\\"apiKey\\\":\\\"\\\",\\\"siteId\\\":\\\"\\\",\\\"notifyUrl\\\":\\\"\\\",\\\"returnUrl\\\":\\\"\\\",\\\"cancelUrl\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(39,'Checkout.com','3758e7f7c6f4cecf0f4f348b9a00f456','CheckoutCom',1,10000,'',0,0,'\"{\\\"secretApiKey\\\":\\\"\\\",\\\"publicApiKey\\\":\\\"\\\",\\\"testMode\\\":false,\\\"threeds\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(40,'Creditcall','cbc7ef7c99d31ec05492fbcb37208263','Creditcall',0,10000,'',0,0,'\"{\\\"terminalId\\\":\\\"\\\",\\\"transactionKey\\\":\\\"\\\",\\\"testMode\\\":false,\\\"verifyCvv\\\":true,\\\"verifyAddress\\\":false,\\\"verifyZip\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(41,'Cybersource','e186a98d3b079028a73390bdc11bdb82','Cybersource',0,10000,'',0,0,'\"{\\\"profileId\\\":\\\"\\\",\\\"secretKey\\\":\\\"\\\",\\\"accessKey\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(42,'ecoPayz','761040aca40f685d1ab55e2084b30670','Ecopayz',0,10000,'',0,0,'\"{\\\"merchantId\\\":\\\"\\\",\\\"merchantPassword\\\":\\\"\\\",\\\"merchantAccountNumber\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(43,'Fasapay','1b2cef0e8c800204a29f33953aaf3360','Fasapay',0,10000,'',0,0,'\"\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(44,'Komoju','7ea2d40ecb1eb69ef8c3d03e5019028a','Komoju',0,10000,'',0,0,'\"{\\\"apiKey\\\":\\\"\\\",\\\"accountId\\\":\\\"\\\",\\\"paymentMethod\\\":\\\"credit_card\\\",\\\"testMode\\\":false,\\\"locale\\\":\\\"en\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(45,'Paysafecard','70ab90cd6c5c1ab13208b3cef51c0894','Paysafecard',0,10000,'',0,0,'\"{\\\"username\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(46,'Paytrace','bbd736b3254b0aabed6ad7fda1298c88','Paytrace',1,10000,'',0,0,'\"{\\\"username\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"integratorId\\\":\\\"\\\",\\\"testMode\\\":false,\\\"endpoint\\\":\\\"https:\\\\\\/\\\\\\/paytrace.com\\\\\\/api\\\\\\/default.pay\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(47,'Secure Trading','231cb401487b9f15babe04b1ac4f7a27','SecureTrading',0,10000,'',0,0,'\"{\\\"siteReference\\\":\\\"\\\",\\\"username\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"applyThreeDSecure\\\":false,\\\"accountType\\\":\\\"ECOM\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(48,'SecPay','bad8699d581d9fa040e59c0bb721a76c','SecPay',0,10000,'',0,0,'\"{\\\"mid\\\":\\\"\\\",\\\"vpnPswd\\\":\\\"\\\",\\\"remotePswd\\\":\\\"\\\",\\\"usageType\\\":\\\"\\\",\\\"confirmEmail\\\":\\\"\\\",\\\"testStatus\\\":\\\"true\\\",\\\"mailCustomer\\\":\\\"true\\\",\\\"additionalOptions\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(49,'WePay','8fdeed552015b3c7b44ed6c8ebd9e992','WePay',0,3,'',0,0,'\"{\\\"accountId\\\":\\\"\\\",\\\"accessToken\\\":\\\"\\\",\\\"type\\\":\\\"goods\\\",\\\"testMode\\\":false,\\\"feePayer\\\":\\\"payee\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(50,'Braintree','f7ec488676d310683fb51802d076d713','Braintree',1,3,'',0,0,'\"{\\\"merchantId\\\":\\\"\\\",\\\"merchantAccountId\\\":\\\"\\\",\\\"publicKey\\\":\\\"\\\",\\\"privateKey\\\":\\\"\\\",\\\"testMode\\\":false,\\\"threeds\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(51,'FirstData Payeezy','30334a52fb698046572c627ca10412e8','FirstData_Payeezy',0,10000,'',0,0,'\"{\\\"gatewayId\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"keyId\\\":\\\"\\\",\\\"hmac\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(52,'GoCardless','b9886f9257f0c6ee7c302f1c74475f6c','GoCardless',1,9,'',1,0,'\"{\\\"accessToken\\\":\\\"\\\",\\\"webhookSecret\\\":\\\"\\\", \\\"verifyBankAccount\\\":false, \\\"testMode\\\":true}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(53,'PagSeguro','ef498756b54db63c143af0ec433da803','PagSeguro',0,10000,'',0,0,'\"{\\\"email\\\":\\\"\\\",\\\"token\\\":\\\"\\\",\\\"sandbox\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(54,'PAYMILL','ca52f618a39367a4c944098ebf977e1c','Paymill',0,10000,'',0,0,'\"{\\\"apiKey\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(55,'Custom','54faab2ab6e3223dbe848b1686490baa','Custom',1,21,'',1,0,'\"{\\\"name\\\":\\\"\\\",\\\"text\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(57,'Square','65faab2ab6e3223dbe848b1686490baz','Square',1,21,'',0,0,'\"{\\\"accessToken\\\":\\\"\\\",\\\"applicationId\\\":\\\"\\\",\\\"locationId\\\":\\\"\\\",\\\"signatureKey\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(58,'Razorpay','hxd6gwg3ekb9tb3v9lptgx1mqyg69zu9','Razorpay',1,21,'',0,0,'\"{\\\"apiKey\\\":\\\"\\\",\\\"apiSecret\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(59,'Forte','kivcvjexxvdiyqtj3mju5d6yhpeht2xs','Forte',1,21,'https://www.forte.net/',0,0,'\"{\\\"testMode\\\":false,\\\"apiLoginId\\\":\\\"\\\",\\\"apiAccessId\\\":\\\"\\\",\\\"secureKey\\\":\\\"\\\",\\\"authOrganizationId\\\":\\\"\\\",\\\"organizationId\\\":\\\"\\\",\\\"locationId\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(60,'PayPal REST','80af24a6a691230bbec33e930ab40665','PayPal_Rest',1,10000,'https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-api-run',0,0,'\"{\\\"clientId\\\":\\\"\\\",\\\"secret\\\":\\\"\\\",\\\"signature\\\":\\\"\\\",\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(61,'PayPal Platform','80af24a6a691230bbec33e930ab40666','PayPal_PPCP',0,10000,'https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-api-run',0,0,'\"{\\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(62,'BTCPay','vpyfbmdrkqcicpkjqdusgjfluebftuva','BTCPay',1,10000,'https://docs.btcpayserver.org/InvoiceNinja/',0,0,'\"{\\\"btcpayUrl\\\":\\\"\\\", \\\"apiKey\\\":\\\"\\\", \\\"storeId\\\":\\\"\\\", \\\"webhookSecret\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(63,'Rotessa','91be24c7b792230bced33e930ac61676','Rotessa',1,22,'https://rotessa.com',0,0,'\"{\\\"apiKey\\\":\\\"\\\", \\\"testMode\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(64,'CBA PowerBoard','b67581d804dbad1743b61c57285142ad','CBAPowerBoard',1,26,'',0,0,'\"{\\\"publicKey\\\":\\\"\\\", \\\"secretKey\\\":\\\"\\\", \\\"testMode\\\":false, \\\"gatewayId\\\":\\\"\\\", \\\"amex\\\":false, \\\"ausbc\\\":false, \\\"discover\\\":false, \\\"japcb\\\":false, \\\"laser\\\":false, \\\"mastercard\\\":true, \\\"solo\\\":false, \\\"visa\\\":true, \\\"visa_white\\\":false}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582'),(65,'Blockonomics','wbhf02us6owgo7p4nfjd0ymssdshks4d','Blockonomics',1,27,'https://help.blockonomics.co/a/solutions/articles/33000291849',0,0,'\"{\\\"apiKey\\\":\\\"\\\"}\"',1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582');

--
-- Table structure for table `group_settings`
--

CREATE TABLE `group_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `settings` mediumtext COLLATE utf8mb4_unicode_ci,
  `is_default` tinyint(1) NOT NULL DEFAULT '0',
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `group_settings_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  CONSTRAINT `group_settings_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `group_settings`
--

INSERT INTO `group_settings` (`id`, `company_id`, `user_id`, `name`, `settings`, `is_default`, `deleted_at`, `created_at`, `updated_at`, `is_deleted`) VALUES (1,1,1,'Khedir','{\"currency_id\":\"19\",\"language_id\":\"1\",\"timezone_id\":\"92\",\"date_format_id\":\"4\"}',0,NULL,'2025-08-21 22:05:39.110041','2025-08-21 22:09:32.217977',0),(2,1,1,'Alif','{\"entity\":\"App\\\\Models\\\\Client\"}',0,NULL,'2025-08-21 22:06:56.374061','2025-08-21 22:06:56.651477',0);

--
-- Table structure for table `industries`
--

CREATE TABLE `industries` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `industries`
--

INSERT INTO `industries` (`id`, `name`) VALUES (1,'Accounting & Legal'),(2,'Advertising'),(3,'Aerospace'),(4,'Agriculture'),(5,'Automotive'),(6,'Banking & Finance'),(7,'Biotechnology'),(8,'Broadcasting'),(9,'Business Services'),(10,'Commodities & Chemicals'),(11,'Communications'),(12,'Computers & Hightech'),(13,'Defense'),(14,'Energy'),(15,'Entertainment'),(16,'Government'),(17,'Healthcare & Life Sciences'),(18,'Insurance'),(19,'Manufacturing'),(20,'Marketing'),(21,'Media'),(22,'Nonprofit & Higher Ed'),(23,'Pharmaceuticals'),(24,'Professional Services & Consulting'),(25,'Real Estate'),(26,'Retail & Wholesale'),(27,'Sports'),(28,'Transportation'),(29,'Travel & Luxury'),(30,'Other'),(31,'Photography'),(32,'Construction'),(33,'Restaurant & Catering');

--
-- Table structure for table `invoice_invitations`
--

CREATE TABLE `invoice_invitations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `client_contact_id` int(10) unsigned NOT NULL,
  `invoice_id` int(10) unsigned NOT NULL,
  `key` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transaction_reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email_error` mediumtext COLLATE utf8mb4_unicode_ci,
  `signature_base64` text COLLATE utf8mb4_unicode_ci,
  `signature_date` datetime DEFAULT NULL,
  `sent_date` datetime DEFAULT NULL,
  `viewed_date` datetime DEFAULT NULL,
  `opened_date` datetime DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `signature_ip` text COLLATE utf8mb4_unicode_ci,
  `email_status` enum('delivered','bounced','spam') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `can_sign` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `invoice_invitations_client_contact_id_invoice_id_unique` (`client_contact_id`,`invoice_id`),
  KEY `invoice_invitations_user_id_foreign` (`user_id`),
  KEY `invoice_invitations_company_id_foreign` (`company_id`),
  KEY `invoice_invitations_deleted_at_invoice_id_company_id_index` (`deleted_at`,`invoice_id`,`company_id`),
  KEY `invoice_invitations_invoice_id_index` (`invoice_id`),
  KEY `invoice_invitations_message_id_index` (`message_id`),
  KEY `invoice_invitations_key_deleted_at_index` (`key`,`deleted_at`),
  CONSTRAINT `invoice_invitations_client_contact_id_foreign` FOREIGN KEY (`client_contact_id`) REFERENCES `client_contacts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `invoice_invitations_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `invoice_invitations_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `invoices` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `invoice_invitations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `invoice_invitations`
--

INSERT INTO `invoice_invitations` (`id`, `company_id`, `user_id`, `client_contact_id`, `invoice_id`, `key`, `transaction_reference`, `message_id`, `email_error`, `signature_base64`, `signature_date`, `sent_date`, `viewed_date`, `opened_date`, `created_at`, `updated_at`, `deleted_at`, `signature_ip`, `email_status`, `can_sign`) VALUES (3,1,1,3,3,'fRn8LEr23LwwIEDO4TyMotJUgizStYrD',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:24:48.880493','2025-08-21 18:24:48.880493',NULL,NULL,NULL,0),(4,1,1,3,4,'H6dy5EcwP885APbOzIvA1gsWQmRBKqog',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:24:51.521405','2025-08-21 18:24:51.521405',NULL,NULL,NULL,0),(5,1,1,5,5,'FSbixq22AFezGyPNQ8O3fAJ0GaAMlsKl',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:24:53.053837','2025-08-21 18:24:53.053837',NULL,NULL,NULL,0),(6,1,1,5,6,'FiAy3Sfoimky0Wv5SQvgsfQru9rWXZsv',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:24:54.166591','2025-08-21 18:24:54.166591',NULL,NULL,NULL,0),(7,1,1,5,7,'jfp6lqFcrewlRxoQnooRq8ResESvnGsk',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:24:55.277920','2025-08-21 18:24:55.277920',NULL,NULL,NULL,0),(8,1,1,5,8,'nB9SHIGLCQqBnRfij4Or1CUa5S2UsmMW',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:24:57.476127','2025-08-21 18:24:57.476127',NULL,NULL,NULL,0),(9,1,1,3,9,'4yrf8oOHtXJX3MufMZ8z0Y0SfxSBt0oh',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:24:58.713784','2025-08-21 18:24:58.713784',NULL,NULL,NULL,0),(10,1,1,5,10,'o0LgRR3qWsHv7VAM0Au63e575VTsu6ws',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:00.001129','2025-08-21 18:25:00.001129',NULL,NULL,NULL,0),(11,1,1,3,11,'2AhakPXP2mtueqtvzfV1Z2k8wGh9afao',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:01.222518','2025-08-21 18:25:01.222518',NULL,NULL,NULL,0),(12,1,1,6,12,'oxE3zE8dt2DPepJLTAtIolSp4W8mRI3j',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:04.210734','2025-08-21 18:25:04.210734',NULL,NULL,NULL,0),(13,1,1,7,13,'I8gsiVnnvfBeaItbX3faVCG3FfKa6Vi1',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:05.272807','2025-08-21 18:25:05.272807',NULL,NULL,NULL,0),(14,1,1,8,14,'PttdkAUno57nynRz5aBB4sJ8jTPEBN00',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:06.309138','2025-08-21 18:25:06.309138',NULL,NULL,NULL,0),(15,1,1,9,15,'gygflPcXmQBT7tjjysNhhAE417Qao6GU',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:07.576711','2025-08-21 18:25:07.576711',NULL,NULL,NULL,0),(16,1,1,10,16,'8s9NMI5HCmR6nvhGDNDWEfv6LR9fWsc3',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:09.494043','2025-08-21 18:25:09.494043',NULL,NULL,NULL,0),(17,1,1,9,17,'xQ3ayU2IHR7EXTXInwWidxOniJmdd9QU',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:10.715717','2025-08-21 18:25:10.715717',NULL,NULL,NULL,0),(18,1,1,11,18,'B0ZQUeQVM3NHwktyiHLfahDzW60m2GfE',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:11.877559','2025-08-21 18:25:11.877559',NULL,NULL,NULL,0),(19,1,1,6,19,'udJJB3U5zel87h47LphpTIgiJI6ULFQN',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:14.526088','2025-08-21 18:25:14.526088',NULL,NULL,NULL,0),(20,1,1,8,20,'Zz05qxubCgZwWDjuDOw1I7s2PNteKfFa',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:16.263133','2025-08-21 18:25:16.263133',NULL,NULL,NULL,0),(21,1,1,12,21,'9N5YCmqF8qYnIQBNd3DVtmPhifPcOB2t',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:17.455277','2025-08-21 18:25:17.455277',NULL,NULL,NULL,0),(22,1,1,10,22,'SoKwyAyfpzoF7whamUe1PqCwUZDnHqdA',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:19.101597','2025-08-21 18:25:19.101597',NULL,NULL,NULL,0),(23,1,1,13,23,'qfve9ABfo2FMHGOz6w7uNMjB48rbOgTu',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:21.648955','2025-08-21 18:25:21.648955',NULL,NULL,NULL,0),(24,1,1,14,24,'cOXS2lhjNuIt0HyBuAd0KkxkIlgJicc2',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:23.066174','2025-08-21 18:25:23.066174',NULL,NULL,NULL,0),(25,1,1,15,25,'WgaPizCEOByGfjitB668tg8sfjvy6vHi',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:24.227010','2025-08-21 18:25:24.227010',NULL,NULL,NULL,0),(26,1,1,16,26,'QMRSwKD9bUJBGndGdTC2FQIJeLTKpCzD',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:25.620621','2025-08-21 18:25:25.620621',NULL,NULL,NULL,0),(27,1,1,17,27,'g825Hz8beUaZuwdbixziHuWLy0W5wdcC',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:28.562541','2025-08-21 18:25:28.562541',NULL,NULL,NULL,0),(28,1,1,17,28,'08a8jh5Ma6u3mc8uphEb327S8BXBH8g4',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:29.844376','2025-08-21 18:25:29.844376',NULL,NULL,NULL,0),(29,1,1,5,29,'aqsJ9oyPp7QettdPVMPC5Jz56JAphbbu',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:31.041034','2025-08-21 18:25:31.041034',NULL,NULL,NULL,0),(30,1,1,23,30,'z0n9GC3Oq0CYuvfdMqRjaHYdDXXhJyFb',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-21 18:25:35.584597','2025-08-21 18:25:35.584597',NULL,NULL,NULL,0),(31,1,1,24,31,'HnmaYE1tnj1Hi7GycHLu44S4Y13cTCKu',NULL,NULL,'','',NULL,NULL,'2025-09-10 08:45:50',NULL,'2025-08-21 18:25:37.999551','2025-09-10 00:45:50.047373',NULL,NULL,NULL,0),(32,1,1,24,32,'nqtTpIZ3zZF7vT76mqSXp3Cze1aZjL3d',NULL,NULL,'','',NULL,NULL,'2025-08-22 03:00:28',NULL,'2025-08-21 18:25:39.520153','2025-08-21 19:00:28.491932',NULL,NULL,NULL,0),(33,1,1,5,33,'d73cwfYzxrTGwtU9H8WfXln7iIvdiFWt',NULL,NULL,'','',NULL,'2025-08-22 03:18:59',NULL,NULL,'2025-08-21 19:18:47.368910','2025-08-21 19:18:59.073851',NULL,NULL,NULL,0),(34,1,1,23,34,'6D9P8EX1o044Cl3qKEOSfQCI2scNRhph',NULL,NULL,'','',NULL,NULL,NULL,NULL,'2025-08-22 05:58:35.573130','2025-08-22 05:58:35.573130',NULL,NULL,NULL,0),(35,1,1,23,35,'HeayX2KEkmOQferRgPSju5GYD7jrzSNE',NULL,NULL,'','',NULL,'2025-08-22 14:08:01',NULL,NULL,'2025-08-22 06:03:33.088992','2025-08-22 06:08:01.116893',NULL,NULL,NULL,0);

--
-- Table structure for table `invoices`
--

CREATE TABLE `invoices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `client_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `status_id` int(10) unsigned NOT NULL,
  `project_id` int(10) unsigned DEFAULT NULL,
  `vendor_id` int(10) unsigned DEFAULT NULL,
  `recurring_id` int(10) unsigned DEFAULT NULL,
  `design_id` int(10) unsigned DEFAULT NULL,
  `number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `discount` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `is_amount_discount` tinyint(1) NOT NULL DEFAULT '0',
  `po_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `last_sent_date` date DEFAULT NULL,
  `due_date` datetime DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `line_items` mediumtext COLLATE utf8mb4_unicode_ci,
  `backup` mediumtext COLLATE utf8mb4_unicode_ci,
  `footer` text COLLATE utf8mb4_unicode_ci,
  `public_notes` text COLLATE utf8mb4_unicode_ci,
  `private_notes` text COLLATE utf8mb4_unicode_ci,
  `terms` text COLLATE utf8mb4_unicode_ci,
  `tax_name1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate1` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate2` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name3` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate3` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `total_taxes` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `uses_inclusive_taxes` tinyint(1) NOT NULL DEFAULT '0',
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `next_send_date` datetime DEFAULT NULL,
  `custom_surcharge1` decimal(20,6) DEFAULT NULL,
  `custom_surcharge2` decimal(20,6) DEFAULT NULL,
  `custom_surcharge3` decimal(20,6) DEFAULT NULL,
  `custom_surcharge4` decimal(20,6) DEFAULT NULL,
  `custom_surcharge_tax1` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax2` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax3` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax4` tinyint(1) NOT NULL DEFAULT '0',
  `exchange_rate` decimal(20,6) NOT NULL DEFAULT '1.000000',
  `amount` decimal(20,6) NOT NULL,
  `balance` decimal(20,6) NOT NULL,
  `partial` decimal(20,6) DEFAULT NULL,
  `partial_due_date` datetime DEFAULT NULL,
  `last_viewed` datetime DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `reminder1_sent` date DEFAULT NULL,
  `reminder2_sent` date DEFAULT NULL,
  `reminder3_sent` date DEFAULT NULL,
  `reminder_last_sent` date DEFAULT NULL,
  `auto_bill_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `paid_to_date` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `subscription_id` int(10) unsigned DEFAULT NULL,
  `auto_bill_tries` smallint(6) NOT NULL DEFAULT '0',
  `is_proforma` tinyint(1) NOT NULL DEFAULT '0',
  `tax_data` mediumtext COLLATE utf8mb4_unicode_ci,
  `e_invoice` mediumtext COLLATE utf8mb4_unicode_ci,
  `sync` text COLLATE utf8mb4_unicode_ci,
  `gateway_fee` decimal(13,6) NOT NULL DEFAULT '0.000000',
  `location_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `invoices_company_id_number_unique` (`company_id`,`number`),
  KEY `invoices_user_id_foreign` (`user_id`),
  KEY `invoices_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `invoices_client_id_index` (`client_id`),
  KEY `invoices_company_id_index` (`company_id`),
  KEY `invoices_recurring_id_index` (`recurring_id`),
  KEY `invoices_status_id_balance_index` (`status_id`,`balance`),
  KEY `invoices_project_id_deleted_at_index` (`project_id`,`deleted_at`),
  KEY `invoices_location_id_foreign` (`location_id`),
  CONSTRAINT `invoices_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `invoices_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `invoices_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `locations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `invoices_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `invoices`
--

INSERT INTO `invoices` (`id`, `client_id`, `user_id`, `assigned_user_id`, `company_id`, `status_id`, `project_id`, `vendor_id`, `recurring_id`, `design_id`, `number`, `discount`, `is_amount_discount`, `po_number`, `date`, `last_sent_date`, `due_date`, `is_deleted`, `line_items`, `backup`, `footer`, `public_notes`, `private_notes`, `terms`, `tax_name1`, `tax_rate1`, `tax_name2`, `tax_rate2`, `tax_name3`, `tax_rate3`, `total_taxes`, `uses_inclusive_taxes`, `custom_value1`, `custom_value2`, `custom_value3`, `custom_value4`, `next_send_date`, `custom_surcharge1`, `custom_surcharge2`, `custom_surcharge3`, `custom_surcharge4`, `custom_surcharge_tax1`, `custom_surcharge_tax2`, `custom_surcharge_tax3`, `custom_surcharge_tax4`, `exchange_rate`, `amount`, `balance`, `partial`, `partial_due_date`, `last_viewed`, `created_at`, `updated_at`, `deleted_at`, `reminder1_sent`, `reminder2_sent`, `reminder3_sent`, `reminder_last_sent`, `auto_bill_enabled`, `paid_to_date`, `subscription_id`, `auto_bill_tries`, `is_proforma`, `tax_data`, `e_invoice`, `sync`, `gateway_fee`, `location_id`) VALUES (3,3,1,NULL,1,4,NULL,NULL,NULL,5,'0013',0.000000,1,'','2018-10-01',NULL,'2018-11-01 00:00:00',0,'[{\"quantity\":1,\"cost\":350,\"product_key\":\"Domain & Hosting Renewal TepatConsult.com\",\"notes\":\"Renewal For 1 Year - tepatconsult.com Web-Base File Sharing Unlimited Email Web-Base Email Access SPAM Assassin Virus Protection Monthly Bandwidth 50 GB Multiple Domain Hosting Up To 5 Domain Disk Space 10 GB Server Hosting Location : Malaysia\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":350,\"gross_line_total\":350,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,350.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:24:48.757601','2025-08-21 18:24:50.481072',NULL,NULL,NULL,NULL,NULL,0,350.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(4,3,1,NULL,1,4,NULL,NULL,NULL,5,'R25354I-873554',0.000000,1,'37718','2019-09-30',NULL,'2019-10-31 00:00:00',0,'[{\"quantity\":1,\"cost\":350,\"product_key\":\"Domain & Hosting Renewal\",\"notes\":\"Renewal For 1 Year - tepatconsult.com Web-Base File Sharing Unlimited Email Web-Base Email Access SPAM Assassin Virus Protection Monthly Bandwidth 50 GB Multiple Domain Hosting Up To 5 Domain Disk Space 10 GB Server Hosting Location : Malaysia\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":350,\"gross_line_total\":350,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,350.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:24:51.432148','2025-08-21 18:24:52.397143',NULL,NULL,NULL,NULL,NULL,0,350.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(5,5,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873555',0.000000,1,'','2019-10-13',NULL,'2019-11-12 00:00:00',0,'[{\"quantity\":1,\"cost\":2,\"product_key\":\"Testing\",\"notes\":\"Testing\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":2,\"gross_line_total\":2,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,2.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:24:52.930755','2025-08-21 18:24:53.764960',NULL,NULL,NULL,NULL,NULL,0,2.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(6,5,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873558',0.000000,1,'','2019-10-20',NULL,'2019-11-19 00:00:00',0,'[{\"quantity\":1,\"cost\":12,\"product_key\":\"Testing\",\"notes\":\"Testing\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":12,\"gross_line_total\":12,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,12.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:24:54.068401','2025-08-21 18:24:54.837962',NULL,NULL,NULL,NULL,NULL,0,12.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(7,5,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873559',0.000000,1,'','2019-10-20',NULL,'2019-11-19 00:00:00',0,'[{\"quantity\":1,\"cost\":4,\"product_key\":\"Testing\",\"notes\":\"Testing\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":4,\"gross_line_total\":4,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,4.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:24:55.194985','2025-08-21 18:24:56.584052',NULL,NULL,NULL,NULL,NULL,0,4.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(8,5,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873560',0.000000,1,'','2019-10-21',NULL,'2019-11-19 00:00:00',0,'[{\"quantity\":1,\"cost\":7.9000000000000003552713678800500929355621337890625,\"product_key\":\"Testing\",\"notes\":\"Testing\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":7.9000000000000003552713678800500929355621337890625,\"gross_line_total\":7.9000000000000003552713678800500929355621337890625,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,7.900000,0.000000,NULL,NULL,NULL,'2025-08-21 18:24:57.333634','2025-08-21 18:24:58.283174',NULL,NULL,NULL,NULL,NULL,0,7.900000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(9,3,1,NULL,1,3,NULL,NULL,NULL,5,'25354I-873563',10.000000,1,'','2021-09-01',NULL,'2021-09-30 00:00:00',0,'[{\"quantity\":1,\"cost\":388.8899999999999863575794734060764312744140625,\"product_key\":\"Domain & Hosting Renewal\",\"notes\":\"Renewal For 1 Year - tepatconsult.com Web-Base File Sharing Unlimited Email Web-Base Email Access SPAM Assassin Virus Protection Monthly Bandwidth 50 GB Multiple Domain Hosting Up To 5 Domain Disk Space 10 GB Server Hosting Location : Malaysia\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":388.8899999999999863575794734060764312744140625,\"gross_line_total\":388.8899999999999863575794734060764312744140625,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,378.900000,28.900000,NULL,NULL,NULL,'2025-08-21 18:24:58.624271','2025-08-21 18:24:59.546373',NULL,NULL,NULL,NULL,NULL,0,350.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(10,5,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873564',0.000000,1,'','2021-08-19',NULL,'2021-09-18 00:00:00',0,'[{\"quantity\":1,\"cost\":3.729999999999999982236431605997495353221893310546875,\"product_key\":\"Testing\",\"notes\":\"Testing\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":3.729999999999999982236431605997495353221893310546875,\"gross_line_total\":3.729999999999999982236431605997495353221893310546875,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,3.750000,0.000000,NULL,NULL,NULL,'2025-08-21 18:24:59.851693','2025-08-22 05:09:09.764642',NULL,NULL,NULL,NULL,NULL,0,3.750000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(11,3,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873565',0.000000,1,'','2020-09-24',NULL,'2020-09-24 00:00:00',0,'[{\"quantity\":1,\"cost\":355,\"product_key\":\"Domain & Hosting Renewal\",\"notes\":\"Renewal For 1 Year - tepatconsult.com Web-Base File Sharing Unlimited Email Web-Base Email Access SPAM Assassin Virus Protection Monthly Bandwidth 50 GB Multiple Domain Hosting Up To 5 Domain Disk Space 10 GB Server Hosting Location : Malaysia\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":355,\"gross_line_total\":355,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,355.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:01.139817','2025-08-21 18:25:03.757267',NULL,NULL,NULL,NULL,NULL,0,355.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(12,6,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873570',0.000000,1,'','2021-09-09',NULL,'2021-10-09 00:00:00',0,'[{\"quantity\":1,\"cost\":70,\"product_key\":\"Basic Mandarin for kids: Beginners Module 1 (MAN0201)\",\"notes\":\"- Age 10-12 years old - Duration: 5 Months (1 hour per week) - Medium: Google Meet, Cisco Webex - Payment For Month:- September - Student\'s Name: Muhammad Rayyan bin Mohamad Zulfadhli Session :- Saturday 9:30am- 10:30am (MAN0201)\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":70,\"gross_line_total\":70,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":1,\"cost\":30,\"product_key\":\"\",\"notes\":\"Manual (with postage)\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":30,\"gross_line_total\":30,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,100.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:04.121194','2025-08-21 18:25:04.840876',NULL,NULL,NULL,NULL,NULL,0,100.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(13,7,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873571',0.000000,1,'','2021-09-09',NULL,'2021-10-09 00:00:00',0,'[{\"quantity\":1,\"cost\":350,\"product_key\":\"Basic Mandarin for kids: Beginners Module 1 (MAN0201)\",\"notes\":\"- Age 10-12 years old - Duration: 5 Months (1 hour per week) - Medium: Google Meet, Cisco Webex - Payment For Month:- September 2021-January 2022 - Student\'s Name: Ahmad Syafiq bin Ahmad Sallehuddin Session :- Saturday 9:30am- 10:30am (MAN0201)\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":350,\"gross_line_total\":350,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":1,\"cost\":30,\"product_key\":\"\",\"notes\":\"Manual (with postage)\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":30,\"gross_line_total\":30,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,380.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:05.175274','2025-08-21 18:25:05.895631',NULL,NULL,NULL,NULL,NULL,0,380.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(14,8,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873572',0.000000,1,'','2021-09-09',NULL,'2021-10-09 00:00:00',0,'[{\"quantity\":1,\"cost\":70,\"product_key\":\"Basic Mandarin for kids: Beginners Module 1 (MAN0101)\",\"notes\":\"- Age 7-9 years old - Duration: 5 Months (1 hour per week) - Medium: Google Meet, Cisco Webex - Payment For Month: September 2021 - Student\'s Name: Nur Maisarah bte Asri Session :- Saturday 11:30am- 12:30pm (MAN0101)\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":70,\"gross_line_total\":70,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":1,\"cost\":30,\"product_key\":\"\",\"notes\":\"Manual (with postage)\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":30,\"gross_line_total\":30,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,100.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:06.211593','2025-08-21 18:25:06.973854',NULL,NULL,NULL,NULL,NULL,0,100.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(15,9,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873573',0.000000,1,'','2021-09-09',NULL,'2021-10-09 00:00:00',0,'[{\"quantity\":1,\"cost\":70,\"product_key\":\"Basic Mandarin for kids: Beginners Module 1 (MAN0101)\",\"notes\":\"- Age 7-9 years old - Duration: 5 Months (1 hour per week) - Medium: Google Meet, Cisco Webex - Payment For Month: September 2021 - Student\'s Name: Iris Sophia Session :- Saturday 11:30am- 12:30pm (MAN0101)\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":70,\"gross_line_total\":70,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":1,\"cost\":30,\"product_key\":\"\",\"notes\":\"Manual (with postage)\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":30,\"gross_line_total\":30,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,100.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:07.315268','2025-08-21 18:25:09.097140',NULL,NULL,NULL,NULL,NULL,0,100.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(16,10,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873574',0.000000,1,'','2021-09-09',NULL,'2021-10-09 00:00:00',0,'[{\"quantity\":1,\"cost\":70,\"product_key\":\"Basic Mandarin for kids: Beginners Module 1 (MAN0102)\",\"notes\":\"- Age 7-9 years old - Duration: 5 Months (1 hour per week) - Medium: Google Meet, Cisco Webex - Payment For Month: September 2021 - Student\'s Name: Ainul Aisyah Session :- Sunday 11:30am- 12:30pm (MAN0102)\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":70,\"gross_line_total\":70,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":1,\"cost\":22,\"product_key\":\"\",\"notes\":\"Manual\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":22,\"gross_line_total\":22,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,92.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:09.404300','2025-08-21 18:25:10.208737',NULL,NULL,NULL,NULL,NULL,0,92.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(17,9,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873580',0.000000,1,'','2021-10-12',NULL,'2021-11-11 00:00:00',0,'[{\"quantity\":1,\"cost\":70,\"product_key\":\"MAN301\",\"notes\":\"ELEMENTARY MANDARIN\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":70,\"gross_line_total\":70,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,70.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:10.592307','2025-08-21 18:25:11.489410',NULL,NULL,NULL,NULL,NULL,0,70.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(18,11,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873581',0.000000,1,'','2021-10-12',NULL,'2021-11-11 00:00:00',0,'[{\"quantity\":1,\"cost\":100,\"product_key\":\"MAN402\",\"notes\":\"SRJKC YEAR 2\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":100,\"gross_line_total\":100,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,100.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:11.786405','2025-08-21 18:25:13.035497',NULL,NULL,NULL,NULL,NULL,0,100.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(19,6,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873582',0.000000,1,'','2021-10-12',NULL,'2021-11-11 00:00:00',0,'[{\"quantity\":1,\"cost\":70,\"product_key\":\"MAN101\",\"notes\":\"BASIC MANDARIN FOR KIDS 1\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":70,\"gross_line_total\":70,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,70.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:14.139311','2025-08-21 18:25:15.865765',NULL,NULL,NULL,NULL,NULL,0,70.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(20,8,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873583',0.000000,1,'','2021-10-12',NULL,'2021-11-11 00:00:00',0,'[{\"quantity\":1,\"cost\":70,\"product_key\":\"MAN101\",\"notes\":\"BASIC MANDARIN FOR KIDS 1\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":70,\"gross_line_total\":70,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,70.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:16.170580','2025-08-21 18:25:16.979953',NULL,NULL,NULL,NULL,NULL,0,70.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(21,12,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873584',0.000000,1,'','2021-10-12',NULL,'2021-11-11 00:00:00',0,'[{\"quantity\":1,\"cost\":70,\"product_key\":\"MAN101\",\"notes\":\"BASIC MANDARIN FOR KIDS 1\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":70,\"gross_line_total\":70,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":1,\"cost\":30,\"product_key\":\"\",\"notes\":\"MANDARIN BOOK + POSTAGE\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":30,\"gross_line_total\":30,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,100.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:17.305172','2025-08-21 18:25:18.391863',NULL,NULL,NULL,NULL,NULL,0,100.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(22,10,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873585',0.000000,1,'','2021-10-12',NULL,'2021-11-11 00:00:00',0,'[{\"quantity\":1,\"cost\":70,\"product_key\":\"MAN101\",\"notes\":\"BASIC MANDARIN FOR KIDS 1\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":70,\"gross_line_total\":70,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":1,\"cost\":23,\"product_key\":\"\",\"notes\":\"MANDARIN BOOK + POSTAGE\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":23,\"gross_line_total\":23,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,93.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:18.946693','2025-08-21 18:25:21.115158',NULL,NULL,NULL,NULL,NULL,0,93.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(23,13,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873586',0.000000,1,'','2021-10-12',NULL,'2021-11-11 00:00:00',0,'[{\"quantity\":1,\"cost\":140,\"product_key\":\"MAN101\",\"notes\":\"BASIC MANDARIN FOR KIDS 1\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":140,\"gross_line_total\":140,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','September & October Fees','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,140.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:21.544080','2025-08-21 18:25:22.517409',NULL,NULL,NULL,NULL,NULL,0,140.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(24,14,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873587',0.000000,1,'','2021-09-09',NULL,'2021-10-09 00:00:00',0,'[{\"quantity\":1,\"cost\":140,\"product_key\":\"MAN101\",\"notes\":\"BASIC MANDARIN FOR KIDS 1 (2 STUDENTS)\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":140,\"gross_line_total\":140,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":2,\"cost\":30,\"product_key\":\"\",\"notes\":\"MANDARIN BOOK + POSTAGE\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":60,\"gross_line_total\":60,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','September Fees','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,200.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:22.890331','2025-08-21 18:25:23.775846',NULL,NULL,NULL,NULL,NULL,0,200.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(25,15,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873589',0.000000,1,'','2021-09-11',NULL,'2021-10-11 00:00:00',0,'[{\"quantity\":1,\"cost\":70,\"product_key\":\"MAN101\",\"notes\":\"BASIC MANDARIN FOR KIDS 1\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":70,\"gross_line_total\":70,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":1,\"cost\":22,\"product_key\":\"\",\"notes\":\"MANDARIN BOOK\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":22,\"gross_line_total\":22,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','September fee','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,92.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:24.138663','2025-08-21 18:25:24.932548',NULL,NULL,NULL,NULL,NULL,0,92.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(26,16,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873591',0.000000,1,'','2021-10-12',NULL,'2021-11-20 00:00:00',0,'[{\"quantity\":1,\"cost\":290,\"product_key\":\"MAN101\",\"notes\":\"BASIC MANDARIN FOR KIDS 1 (3 Copies Manual + Courier)\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":290,\"gross_line_total\":290,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,290.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:25.337720','2025-08-21 18:25:28.097637',NULL,NULL,NULL,NULL,NULL,0,290.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(27,17,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873592',0.000000,1,'','2020-05-12',NULL,'2020-05-12 00:00:00',0,'[{\"quantity\":1,\"cost\":2619,\"product_key\":\"HP Laptop Notebook 15s-fq2513TU Gold (15.6\\\"\\/1366x768\\/Intel Core i3-1115G4\\/512 GB PCIe NVMe M.2 SSD\\/Intel UHD Graphics)\",\"notes\":\"Operating system Windows 10 Home Single Language 64 Processor Intel\\u00ae Core\\u2122 i3-1115G4 (up to 4.1 GHz with Intel\\u00ae Turbo Boost Technology, 6 MB L3 cache, 2 cores) Chipset Intel\\u00ae Integrated SoC Form factor Standard laptop MEMORY Memory 8 GB DDR4-2666 MHz RAM (1 x 8 GB) STORAGE Hard drive description 512 GB PCIe\\u00ae NVMe\\u2122 M.2 SSD Storage type SSD Optical drive Optical drive not included DISPLAY AND GRAPHICS Display 15.6\\\" diagonal, HD (1366 x 768), micro-edge, BrightView, 250 nits, 45% NTSC Graphics Intel\\u00ae UHD Graphics\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":2619,\"gross_line_total\":2619,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,2619.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:28.446487','2025-08-21 18:25:29.354312',NULL,NULL,NULL,NULL,NULL,0,2619.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(28,17,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873609',0.000000,1,'','2023-04-08',NULL,'2023-04-08 00:00:00',0,'[{\"quantity\":1,\"cost\":2410,\"product_key\":\"Computer\",\"notes\":\"HONOR MagicBook X15 2022\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":2410,\"gross_line_total\":2410,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,2410.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:29.729163','2025-08-21 18:25:30.546784',NULL,NULL,NULL,NULL,NULL,0,2410.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(29,5,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873610',0.000000,1,'','2024-08-22',NULL,'2024-09-20 00:00:00',0,'[{\"quantity\":7,\"cost\":1,\"product_key\":\"Testing\",\"notes\":\"Testing\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":7,\"gross_line_total\":7,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,7.000000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:30.863229','2025-08-21 18:25:34.044878',NULL,NULL,NULL,NULL,NULL,0,7.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(30,23,1,NULL,1,2,NULL,NULL,NULL,5,'25354I-873611',0.000000,1,'','2024-09-19',NULL,'2024-10-11 00:00:00',0,'[{\"quantity\":1,\"cost\":4000,\"product_key\":\"Latitude 3440 Laptop\",\"notes\":\"12th Gen Intel\\u00ae Core\\u2122 i5-1235U (12 MB cache, 10 cores, 12 threads, up to 4.4 GHz Turbo) Windows 11 Pro, English Integrated Intel\\u00ae Iris\\u00ae Xe or UHD Graphics for i5-1235U Processor 14\\\", FHD 1920x1080, 60Hz, WVA\\/IPS, Non-Touch, Anti-Glare, 250 nit, NTSC 45%, FHD Camera, WLAN 8 GB: 1 x 8 GB, DDR4, 3200 MT\\/s 512GB, M.2 2230, QLC PCIe Gen 4 NVMe Intel\\u00ae Wi-Fi 6E AX211, 2x2, 802.11ax, Bluetooth\\u00ae wireless card Stereo speakers with Waves MaxxAudio\\u00ae Pro, Realtek ALC3204 Audio Controller, 2 W x 2 = 4 W total 1 USB 3.2 Gen 2 Type-C\\u00ae port with DisplayPort Alt mode\\/Power Delivery 2 USB 3.2 Gen 1 port 1 USB 3.2 Gen 1 port with PowerShare 1 HDMI 1.4 port 1 universal audio port 1 power-adapter port 1 RJ-45 Ethernet port\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":4000,\"gross_line_total\":4000,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":1,\"cost\":0,\"product_key\":\"Warranty\",\"notes\":\"Manufacturer Warranty\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":0,\"gross_line_total\":0,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,4000.000000,4000.000000,NULL,'2025-08-22 00:00:00',NULL,'2025-08-21 18:25:35.190766','2025-08-21 18:25:37.704002',NULL,NULL,NULL,NULL,NULL,0,0.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(31,24,1,NULL,1,4,NULL,NULL,NULL,5,'25354I-873612',0.000000,1,'','2025-06-10',NULL,'2025-07-10 00:00:00',0,'[{\"quantity\":1016,\"cost\":0.34999999999999997779553950749686919152736663818359375,\"product_key\":\"CPA\",\"notes\":\"Fun gamers club NG MTN#1038\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":355.6000000000000227373675443232059478759765625,\"gross_line_total\":355.6000000000000227373675443232059478759765625,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":1009,\"cost\":0.34999999999999997779553950749686919152736663818359375,\"product_key\":\"CPA\",\"notes\":\"Fun gamers club NG MTN#1038\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":353.1499999999999772626324556767940521240234375,\"gross_line_total\":353.1499999999999772626324556767940521240234375,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,708.750000,0.000000,NULL,NULL,NULL,'2025-08-21 18:25:37.833180','2025-09-10 00:45:51.634027',NULL,NULL,NULL,NULL,NULL,0,708.750000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(32,24,1,NULL,1,2,NULL,NULL,NULL,5,'25354I-873613',0.000000,1,'','2025-07-19',NULL,'2025-08-18 00:00:00',0,'[{\"quantity\":2073,\"cost\":0.34999999999999997779553950749686919152736663818359375,\"product_key\":\"CPA\",\"notes\":\"Fun gamers club NG MTN#1038\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":725.549999999999954525264911353588104248046875,\"gross_line_total\":725.549999999999954525264911353588104248046875,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":2424,\"cost\":0.34999999999999997779553950749686919152736663818359375,\"product_key\":\"CPA\",\"notes\":\"9jakids trivia NG MTN#1047\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":848.3999999999999772626324556767940521240234375,\"gross_line_total\":848.3999999999999772626324556767940521240234375,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":16631,\"cost\":0.34999999999999997779553950749686919152736663818359375,\"product_key\":\"CPA\",\"notes\":\"E-Limu NG MTN#1046\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":5820.850000000000363797880709171295166015625,\"gross_line_total\":5820.850000000000363797880709171295166015625,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"},{\"quantity\":0,\"cost\":0.34999999999999997779553950749686919152736663818359375,\"product_key\":\"CPA\",\"notes\":\"Wheel of Fortune MTN#1000\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"product_cost\":0,\"sort_id\":\"0\",\"line_total\":0,\"gross_line_total\":0,\"tax_amount\":0,\"date\":\"\",\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','E-Limu NG MTN (Ref: #1046): A 10% discount has been applied to the total service amount. Original amount: USD 5,820.85 Discounted amount (after 10% deduction): USD 5,238.77','','<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>','',0.000000,'',0.000000,'',0.000000,0.000000,0,'','','','',NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,7394.800000,7394.800000,NULL,'2025-08-22 00:00:00',NULL,'2025-08-21 18:25:39.440635','2025-09-10 00:45:00.601261',NULL,NULL,NULL,NULL,NULL,0,0.000000,NULL,0,0,NULL,NULL,NULL,0.000000,NULL),(33,5,1,NULL,1,4,NULL,NULL,NULL,5,'873614',0.000000,1,NULL,'2025-08-22',NULL,'2025-09-21 00:00:00',0,'[{\"_id\":\"38246f78-c298-4031-84e4-093317540d31\",\"quantity\":10,\"cost\":1,\"product_key\":\"Testing\",\"product_cost\":1,\"notes\":\"Testing\",\"discount\":0,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"sort_id\":\"0\",\"line_total\":10,\"tax_amount\":0,\"gross_line_total\":10,\"date\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p>This is a computer generated document. No signature is required.</p>','',NULL,'<p>- Card payment are accepted upon request.</p>\n<p>Please Transfer To:<br>Bank Name                         : Malayan Banking Bhd<br>Account Name                   : MOBTEL HUB<br>Bank Account Number     : 564548148577<br>Swift Code                          : MBBEMYKL</p>\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com</p>',NULL,0.000000,NULL,0.000000,NULL,0.000000,0.000000,0,NULL,NULL,NULL,NULL,NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,10.000000,0.000000,NULL,NULL,NULL,'2025-08-21 19:18:47.039612','2025-08-21 19:21:29.519944',NULL,NULL,NULL,NULL,NULL,0,10.000000,NULL,0,0,NULL,'[]',NULL,0.000000,NULL),(34,23,1,NULL,1,1,NULL,NULL,NULL,5,'873615_Deleted',0.000000,1,NULL,'2025-08-22',NULL,NULL,1,'[{\"_id\":\"7bc7f670-e875-4edb-a133-70d8cc5a36d8\",\"quantity\":20,\"cost\":1,\"product_key\":\"Testing\",\"product_cost\":1,\"notes\":\"Testing\",\"discount\":10,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"sort_id\":\"0\",\"line_total\":10,\"tax_amount\":0,\"gross_line_total\":10,\"date\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p><span style=\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\">This is a computer generated document. No signature is required.</span></p>','',NULL,'<p><span style=\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\">- Card payment are accepted upon request.</span></p>\n<p><span style=\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\">Please Transfer To :<br><br>Bank Name                   : Malayan Banking Bhd<br>Account Name              : MOBTEL HUB<br>Bank Account Number  : 564548148577<br>Swift Code                    : MBBEMYKL<br><br></span><span style=\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\">Please send to us payment advice at khediryaakub@mobtelhub.com</span></p>',NULL,0.000000,NULL,0.000000,NULL,0.000000,0.000000,0,NULL,NULL,NULL,NULL,NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,10.000000,0.000000,0.000000,NULL,NULL,'2025-08-22 05:58:35.313006','2025-08-22 06:01:48.158214','2025-08-22 06:01:47.701161',NULL,NULL,NULL,NULL,0,0.000000,NULL,0,0,NULL,'[]',NULL,0.000000,NULL),(35,23,1,3,1,4,NULL,NULL,NULL,5,'25354I-873615',0.000000,1,NULL,'2025-08-22',NULL,'2025-09-22 00:00:00',0,'[{\"_id\":\"f2805bfb-b2bd-4f95-bac0-c77658d20ba2\",\"quantity\":20,\"cost\":1,\"product_key\":\"Testing\",\"product_cost\":1,\"notes\":\"Testing\",\"discount\":10,\"is_amount_discount\":true,\"tax_name1\":\"\",\"tax_rate1\":0,\"tax_name2\":\"\",\"tax_rate2\":0,\"tax_name3\":\"\",\"tax_rate3\":0,\"sort_id\":\"0\",\"line_total\":10,\"tax_amount\":0,\"gross_line_total\":10,\"date\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"type_id\":\"1\",\"tax_id\":\"1\",\"net_cost\":0,\"task_id\":\"\",\"expense_id\":\"\",\"unit_code\":\"C62\"}]',NULL,'<p><span style=\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\">This is a computer generated document. No signature is required.</span></p>',NULL,NULL,'<p><span style=\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\">- Card payment are accepted upon request.</span></p><p><span style=\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\">Please Transfer To :<br><br>Bank Name                   : Malayan Banking Bhd<br>Account Name              : MOBTEL HUB<br>Bank Account Number  : 564548148577<br>Swift Code                    : MBBEMYKL<br><br></span><span style=\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\">Please send to us payment advice at khediryaakub@mobtelhub.com</span></p>',NULL,0.000000,NULL,0.000000,NULL,0.000000,0.000000,0,NULL,NULL,NULL,NULL,NULL,0.000000,0.000000,0.000000,0.000000,0,0,0,0,1.000000,10.000000,0.000000,NULL,NULL,NULL,'2025-08-22 06:03:32.861292','2025-08-22 06:16:40.582071',NULL,NULL,NULL,NULL,NULL,0,10.000000,NULL,0,0,NULL,'[]',NULL,0.000000,NULL);

--
-- Table structure for table `job_batches`
--

CREATE TABLE `job_batches` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_jobs` int(11) NOT NULL,
  `pending_jobs` int(11) NOT NULL,
  `failed_jobs` int(11) NOT NULL,
  `failed_job_ids` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `options` mediumtext COLLATE utf8mb4_unicode_ci,
  `cancelled_at` int(11) DEFAULT NULL,
  `created_at` int(11) NOT NULL,
  `finished_at` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `job_batches`
--


--
-- Table structure for table `jobs`
--

CREATE TABLE `jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `queue` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `attempts` tinyint(3) unsigned NOT NULL,
  `reserved_at` int(10) unsigned DEFAULT NULL,
  `available_at` int(10) unsigned NOT NULL,
  `created_at` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `jobs_queue_index` (`queue`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `jobs`
--


--
-- Table structure for table `languages`
--

CREATE TABLE `languages` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `locale` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `languages`
--

INSERT INTO `languages` (`id`, `name`, `locale`) VALUES (1,'English - United States','en'),(2,'Italian','it'),(3,'German','de'),(4,'French','fr'),(5,'Portuguese - Brazilian','pt_BR'),(6,'Dutch','nl'),(7,'Spanish','es'),(8,'Norwegian','nb_NO'),(9,'Danish','da'),(10,'Japanese','ja'),(11,'Swedish','sv'),(12,'Spanish - Spain','es_ES'),(13,'French - Canada','fr_CA'),(14,'Lithuanian','lt'),(15,'Polish','pl'),(16,'Czech','cs'),(17,'Croatian','hr'),(18,'Albanian','sq'),(19,'Greek','el'),(20,'English - United Kingdom','en_GB'),(21,'Portuguese - Portugal','pt_PT'),(22,'Slovenian','sl'),(23,'Finnish','fi'),(24,'Romanian','ro'),(25,'Turkish - Turkey','tr_TR'),(26,'Thai','th'),(27,'Macedonian','mk_MK'),(28,'Chinese - Taiwan','zh_TW'),(29,'Russian (Russia)','ru_RU'),(30,'Arabic','ar'),(31,'Persian','fa'),(32,'Latvian','lv_LV'),(33,'Serbian','sr'),(34,'Slovak','sk'),(35,'Estonian','et'),(36,'Bulgarian','bg'),(37,'Hebrew','he'),(38,'Khmer','km_KH'),(39,'Hungarian','hu'),(40,'French - Swiss','fr_CH'),(41,'Lao','lo_LA'),(42,'Vietnamese','vi'),(43,'Catalan','ca'),(44,'Afrikaans','af_ZA'),(45,'Indonesian','id_ID');

--
-- Table structure for table `licenses`
--

CREATE TABLE `licenses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `first_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `license_key` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_claimed` tinyint(1) DEFAULT NULL,
  `transaction_reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `product_id` int(10) unsigned DEFAULT NULL,
  `recurring_invoice_id` bigint(20) unsigned DEFAULT NULL,
  `e_invoice_quota` int(10) unsigned DEFAULT NULL,
  `is_flagged` tinyint(1) NOT NULL DEFAULT '0',
  `entities` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `licenses_license_key_unique` (`license_key`),
  KEY `licenses_e_invoice_quota_index` (`e_invoice_quota`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `licenses`
--


--
-- Table structure for table `locations`
--

CREATE TABLE `locations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `client_id` int(10) unsigned DEFAULT NULL,
  `vendor_id` int(10) unsigned DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `postal_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_shipping_location` tinyint(1) NOT NULL DEFAULT '0',
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `country_id` int(10) unsigned DEFAULT NULL,
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `tax_data` mediumtext COLLATE utf8mb4_unicode_ci,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `locations_client_id_index` (`client_id`),
  KEY `locations_vendor_id_index` (`vendor_id`),
  KEY `locations_company_id_index` (`company_id`),
  CONSTRAINT `locations_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `locations_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `locations_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `vendors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `locations`
--


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

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

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

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES (1,'2014_10_12_100000_create_password_resets_table',1),(2,'2014_10_13_000000_create_users_table',1),(3,'2019_11_10_115926_create_failed_jobs_table',1),(4,'2020_03_05_123315_create_jobs_table',1),(5,'2020_04_08_234530_add_is_deleted_column_to_company_tokens_table',1),(6,'2020_05_13_035355_add_google_refresh_token_to_users_table',1),(7,'2020_07_05_084934_company_too_large_attribute',1),(8,'2020_07_08_065301_add_token_id_to_activity_table',1),(9,'2020_07_21_112424_update_enabled_modules_value',1),(10,'2020_07_28_104218_shop_token',1),(11,'2020_08_04_080851_add_is_deleted_to_group_settings',1),(12,'2020_08_11_221627_add_is_deleted_flag_to_client_gateway_token_table',1),(13,'2020_08_13_095946_remove_photo_design',1),(14,'2020_08_13_212702_add_reminder_sent_fields_to_entity_tables',1),(15,'2020_08_18_140557_add_is_public_to_documents_table',1),(16,'2020_09_22_205113_id_number_fields_for_missing_entities',1),(17,'2020_09_27_215800_update_gateway_table_visible_column',1),(18,'2020_10_11_211122_vendor_schema_update',1),(19,'2020_10_12_204517_project_number_column',1),(20,'2020_10_14_201320_project_ids_to_entities',1),(21,'2020_10_19_101823_project_name_unique_removal',1),(22,'2020_10_21_222738_expenses_nullable_assigned_user',1),(23,'2020_10_22_204900_company_table_fields',1),(24,'2020_10_27_021751_tasks_invoice_documents',1),(25,'2020_10_28_224711_status_sort_order',1),(26,'2020_10_28_225022_assigned_user_tasks_table',1),(27,'2020_10_29_001541_vendors_phone_column',1),(28,'2020_10_29_093836_change_start_time_column_type',1),(29,'2020_10_29_204434_tasks_table_project_nullable',1),(30,'2020_10_29_210402_change_default_show_tasks_table',1),(31,'2020_10_30_084139_change_expense_currency_id_column',1),(32,'2020_11_01_031750_drop_migrating_column',1),(33,'2020_11_03_200345_company_gateway_fields_refactor',1),(34,'2020_11_08_212050_custom_fields_for_payments_table',1),(35,'2020_11_12_104413_company_gateway_rename_column',1),(36,'2020_11_15_203755_soft_delete_paymentables',1),(37,'2020_12_14_114722_task_fields',1),(38,'2020_12_17_104033_add_enable_product_discount_field_to_companies_table',1),(39,'2020_12_20_005609_change_products_table_cost_resolution',1),(40,'2020_12_23_220648_remove_null_values_in_countries_table',1),(41,'2021_01_03_215053_update_canadian_dollar_symbol',1),(42,'2021_01_05_013203_improve_decimal_resolution',1),(43,'2021_01_07_023350_update_singapore_dollar_symbol',1),(44,'2021_01_08_093324_expenses_table_additional_fields',1),(45,'2021_01_11_092056_fix_company_settings_url',1),(46,'2021_01_17_040331_change_custom_surcharge_column_type',1),(47,'2021_01_23_044502_scheduler_is_running_check',1),(48,'2021_01_24_052645_add_paid_to_date_column',1),(49,'2021_01_25_095351_add_number_field_to_clients_and_vendors',1),(50,'2021_01_29_121502_add_permission_changed_timestamp',1),(51,'2021_02_15_214724_additional_company_properties',1),(52,'2021_02_19_212722_email_last_confirmed_email_address_users_table',1),(53,'2021_02_25_205901_enum_invitations_email_status',1),(54,'2021_02_27_091713_add_invoice_task_datelog_property',1),(55,'2021_03_03_230941_add_has_password_field_to_user_table',1),(56,'2021_03_08_123729_create_billing_subscriptions_table',1),(57,'2021_03_08_205030_add_russian_lang',1),(58,'2021_03_09_132242_add_currency_id_to_billing_subscriptions_table',1),(59,'2021_03_18_113704_change_2fa_column_from_varchar_to_text',1),(60,'2021_03_19_221024_add_unique_constraints_on_all_entities',1),(61,'2021_03_20_033751_add_invoice_id_to_client_subscriptions_table',1),(62,'2021_03_23_233844_add_nullable_constraint_to_recurring_invoice_id',1),(63,'2021_03_25_082025_refactor_billing_scriptions_table',1),(64,'2021_03_26_201148_add_price_column_to_subscriptions_table',1),(65,'2021_04_01_093128_modify_column_on_subscriptions_table',1),(66,'2021_04_05_115345_add_trial_duration_to_accounts_table',1),(67,'2021_04_05_213802_add_rest_fields_to_webhooks_table',1),(68,'2021_04_06_131028_create_licenses_table',1),(69,'2021_04_12_095424_stripe_connect_gateway',1),(70,'2021_04_13_013424_add_subscription_id_to_activities_table',1),(71,'2021_04_22_110240_add_property_to_checkout_gateway_config',1),(72,'2021_04_29_085418_add_number_years_active_to_company_users_table',1),(73,'2021_05_03_152940_make_braintree_provider_visible',1),(74,'2021_05_04_231430_add_task_property_to_companies_table',1),(75,'2021_05_05_014713_activate_we_pay',1),(76,'2021_05_10_041528_add_recurring_invoice_id_to_activities_table',1),(77,'2021_05_27_105157_add_tech_design',1),(78,'2021_05_30_100933_make_documents_assigned_user_nullable',1),(79,'2021_06_10_221012_add_ninja_portal_column_to_accounts_table',1),(80,'2021_06_24_095942_payments_table_currency_nullable',1),(81,'2021_07_10_085821_activate_payfast_payment_driver',1),(82,'2021_07_19_074503_set_invoice_task_datelog_true_in_companies_table',1),(83,'2021_07_20_095537_activate_paytrace_payment_driver',1),(84,'2021_07_21_213344_change_english_languages_tables',1),(85,'2021_07_21_234227_activate_eway_payment_driver',1),(86,'2021_08_03_115024_activate_mollie_payment_driver',1),(87,'2021_08_05_235942_add_zelle_payment_type',1),(88,'2021_08_07_222435_add_markdown_enabled_column_to_companies_table',1),(89,'2021_08_10_034407_add_more_languages',1),(90,'2021_08_14_054458_square_payment_driver',1),(91,'2021_08_18_220124_use_comma_as_decimal_place_companies_table',1),(92,'2021_08_23_101529_recurring_expenses_schema',1),(93,'2021_08_25_093105_report_include_drafts_in_companies_table',1),(94,'2021_09_05_101209_update_braintree_gateway',1),(95,'2021_09_20_233053_set_square_test_mode_boolean',1),(96,'2021_09_23_100629_add_currencies',1),(97,'2021_09_24_201319_add_mollie_bank_transfer_to_payment_types',1),(98,'2021_09_24_211504_add_kbc_to_payment_types',1),(99,'2021_09_24_213858_add_bancontact_to_payment_types',1),(100,'2021_09_28_154647_activate_gocardless_payment_driver',1),(101,'2021_09_29_190258_add_required_client_registration_fields',1),(102,'2021_10_04_134908_add_ideal_to_payment_types',1),(103,'2021_10_06_044800_updated_bold_and_modern_designs',1),(104,'2021_10_07_141737_razorpay',1),(105,'2021_10_07_155410_add_hosted_page_to_payment_types',1),(106,'2021_10_15_00000_stripe_payment_gateways',1),(107,'2021_10_16_135200_add_direct_debit_to_payment_types',1),(108,'2021_10_19_142200_add_gateway_type_for_direct_debit',1),(109,'2021_10_20_005529_add_filename_to_backups_table',1),(110,'2021_11_08_131308_onboarding',1),(111,'2021_11_09_115919_update_designs',1),(112,'2021_11_10_184847_add_is_migrate_column_to_accounts_table',1),(113,'2021_11_11_163121_add_instant_bank_transfer',1),(114,'2021_12_20_095542_add_serbian_language_translations',1),(115,'2022_01_02_022421_add_slovak_language',1),(116,'2022_01_06_061231_add_app_domain_id_to_gateways_table',1),(117,'2022_01_18_004856_add_estonian_language',1),(118,'2022_01_19_085907_add_platform_column_to_accounts_table',1),(119,'2022_01_19_232436_add_kyd_currency',1),(120,'2022_01_27_223617_add_client_count_to_accounts_table',1),(121,'2022_02_06_091629_add_client_currency_conversion_to_companies_table',1),(122,'2022_02_25_015411_update_stripe_apple_domain_config',1),(123,'2022_03_09_053508_transaction_events',1),(124,'2022_03_24_090728_markdown_email_enabled_wysiwyg_editor',1),(125,'2022_03_29_014025_reverse_apple_domain_for_hosted',1),(126,'2022_04_14_121548_forte_payment_gateway',1),(127,'2022_04_22_115838_client_settings_parse_for_types',1),(128,'2022_04_26_032252_convert_custom_fields_column_from_varchar_to_text',1),(129,'2022_05_08_004937_heal_stripe_gateway_configuration',1),(130,'2022_05_12_56879_add_stripe_klarna',1),(131,'2022_05_16_224917_add_auto_bill_tries_to_invoices_table',1),(132,'2022_05_18_055442_update_custom_value_four_columns',1),(133,'2022_05_18_162152_create_scheduled_jobs_table',1),(134,'2022_05_18_162443_create_schedulers_table',1),(135,'2022_05_23_050754_drop_redundant_column_show_production_description_dropdown',1),(136,'2022_05_28_234651_create_purchase_orders_table',1),(137,'2022_05_30_181109_drop_scheduled_jobs_table',1),(138,'2022_05_30_184320_add_job_related_fields_to_schedulers_table',1),(139,'2022_05_31_101504_inventory_management_schema',1),(140,'2022_06_01_215859_set_recurring_client_timestamp',1),(141,'2022_06_01_224339_create_purchase_order_invitations_table',1),(142,'2022_06_10_030503_set_account_flag_for_react',1),(143,'2022_06_16_025156_add_react_switching_flag',1),(144,'2022_06_17_082627_change_refresh_token_column_size',1),(145,'2022_06_21_104350_fixes_for_description_in_pdf_designs',1),(146,'2022_06_22_090547_set_oauth_expiry_column',1),(147,'2022_06_24_141018_upgrade_failed_jobs_table',1),(148,'2022_06_30_000126_add_flag_to_accounts_table',1),(149,'2022_07_06_080127_add_purchase_order_to_expense',1),(150,'2022_07_09_235510_add_index_to_payment_hash',1),(151,'2022_07_12_45766_add_matomo',1),(152,'2022_07_18_033756_fixes_for_date_formats_table_react',1),(153,'2022_07_21_023805_add_hebrew_language',1),(154,'2022_07_26_091216_add_sms_verification_to_hosted_account',1),(155,'2022_07_28_232340_enabled_expense_tax_rates_to_companies_table',1),(156,'2022_07_29_091235_correction_for_companies_table_types',1),(157,'2022_08_05_023357_bank_integration',1),(158,'2022_08_11_011534_licenses_table_for_self_host',1),(159,'2022_08_24_215917_invoice_task_project_companies_table',1),(160,'2022_08_26_232500_add_email_status_column_to_purchase_order_invitations_table',1),(161,'2022_08_28_210111_add_index_to_payments_table',1),(162,'2022_09_05_024719_update_designs_for_tech_template',1),(163,'2022_09_07_101731_add_reporting_option_to_companies_table',1),(164,'2022_09_21_012417_add_threeds_to_braintree',1),(165,'2022_09_30_235337_add_idempotency_key_to_payments',1),(166,'2022_10_05_205645_add_indexes_to_client_hash',1),(167,'2022_10_06_011344_add_key_to_products',1),(168,'2022_10_07_065455_add_key_to_company_tokens_table',1),(169,'2022_10_10_070137_add_documentable_index',1),(170,'2022_10_27_044909_add_user_sms_verification_code',1),(171,'2022_11_02_063742_add_verified_number_flag_to_users_table',1),(172,'2022_11_04_013539_disabled_upstream_bank_integrations_table',1),(173,'2022_11_06_215526_drop_html_backups_column_from_backups_table',1),(174,'2022_11_13_034143_bank_transaction_rules_table',1),(175,'2022_11_16_093535_calmness_design',1),(176,'2022_11_22_215618_lock_tasks_when_invoiced',1),(177,'2022_11_30_063229_add_payment_id_to_bank_transaction_table',1),(178,'2022_12_07_024625_add_properties_to_companies_table',1),(179,'2022_12_14_004639_vendor_currency_update',1),(180,'2022_12_20_063038_set_proforma_invoice_type',1),(181,'2023_01_12_125540_set_auto_bill_on_regular_invoice_setting',1),(182,'2022_16_12_54687_add_stripe_bacs',2),(183,'2023_01_27_023127_update_design_templates',2),(184,'2023_02_02_062938_add_additional_required_fields_gateways',2),(185,'2023_02_05_042351_add_foreign_key_for_vendors',2),(186,'2023_02_07_114011_add_additional_product_fields',2),(187,'2023_02_14_064135_create_react_settings_column_company_user_table',2),(188,'2023_02_28_064453_update_designs',2),(189,'2023_02_28_200056_add_visible_prop_to_companies_table',2),(190,'2023_03_09_121033_add_payment_balance_to_clients_table',2),(191,'2023_03_10_100629_add_currencies',2),(192,'2023_03_13_156872_add_e_invoice_type_to_clients_table',2),(193,'2023_03_17_012309_add_proforma_flag_for_recurring_invoices',2),(194,'2023_03_21_053933_tax_calculations_for_invoices',2),(195,'2023_03_24_054758_add_client_is_exempt_from_taxes',2),(196,'2023_04_20_215159_drop_e_invoice_type_column',2),(197,'2023_04_27_045639_add_kmher_language',2),(198,'2023_05_03_023956_add_shopify_user_id',2),(199,'2023_05_15_103212_e_invoice_ssl_storage',2),(200,'2023_06_04_064713_project_and_task_columns_for_company_model',2),(201,'2023_06_13_220252_add_hungarian_translations',2),(202,'2023_06_20_123355_add_paypal_rest_payment_driver',2),(203,'2023_07_06_063512_update_designs',2),(204,'2023_07_08_000314_add_french_swiss_translations',2),(205,'2023_07_12_074829_add_thai_baht_currency_symbol',2),(206,'2023_07_18_214607_add_start_date_column_to_tasks',2),(207,'2023_07_22_234329_change_currency_format_for_indonesian_rupiah',2),(208,'2023_08_06_070205_create_view_dashboard_permission_migration',2),(209,'2023_08_08_212710_add_signature_ip_address_to_purchase_order_invitations',2),(210,'2023_08_09_224955_add_nicaragua_currency',2),(211,'2023_09_11_003230_add_client_and_company_classifications',2),(212,'2023_09_21_042010_add_template_flag_to_designs_table',2),(213,'2023_10_01_102220_add_language_id_to_users_table',2),(214,'2023_10_08_092508_add_refund_meta_and_category_to_payments_table',2),(215,'2023_10_10_083024_add_ariary_currency',2),(216,'2023_10_15_204204_add_paypal_ppcp',2),(217,'2023_10_18_061415_add_user_notification_suppression',2),(218,'2023_11_26_082959_add_bank_integration_id',2),(219,'2023_11_27_095042_add_hash_and_meta_columns_to_tasks_table',2),(220,'2023_11_30_042431_2023_11_30_add_payment_visibility',2),(221,'2024_01_09_084515_product_cost_field_population',2),(222,'2024_01_10_071427_normalize_product_cost_types',2),(223,'2024_01_10_155555_add_bank_transaction_nordigen_field',2),(224,'2024_01_12_073629_laos_currency_translation',2),(225,'2024_01_29_080555_2024_01_29_update_timezones_naming',2),(226,'2024_02_06_204031_correction_for_krw_currency',2),(227,'2024_02_16_011055_smtp_configuration',2),(228,'2024_02_28_180250_add_steps_to_subscriptions',2),(229,'2024_03_07_195116_add_tax_data_to_quotes',2),(230,'2024_03_14_201844_adjust_discount_column_max_resolution',2),(231,'2024_03_24_200109_new_currencies_03_24',2),(232,'2024_04_24_064301_optional_display_required_fields_payment_gateways',2),(233,'2024_05_02_030103_2024_05_02_update_timezones',2),(234,'2024_05_03_145535_btcpay_gateway',2),(235,'2024_05_19_215103_2024_05_20_einvoice_columns',2),(236,'2024_05_26_210407_2024_05_28_kwd_precision',2),(237,'2024_06_02_083543_2024_06_01_add_einvoice_to_client_table',2),(238,'2024_06_04_123926_2024_06_04_fixes_for_btc_migration',2),(239,'2024_06_08_043343_2024_06_08__i_s_k_currency_precision',2),(240,'2024_06_19_015127_2024_06_19_referral_meta_data',2),(241,'2023_12_10_110951_inbound_mail_parsing',3),(242,'2024_06_11_231143_add_rotessa_gateway',3),(243,'2024_06_23_040253_2024-06-23_indexesforinvoiceid_payment_hashes',3),(244,'2024_07_10_043241_2024_07_10_invoice_id_index_on_projects_table',3),(245,'2024_07_16_231556_2024_07_17_add_dubai_timezone',3),(246,'2024_07_29_235430_2024_30_07_tax_model_migration',3),(247,'2024_08_02_144614_alter_companies_quickbooks',3),(248,'2024_08_04_225558_tax_model_migration_v2',3),(249,'2024_08_21_001832_add_einvoice_option_license',3),(250,'2024_08_26_055523_add_qb_product_hash',3),(251,'2024_08_27_230111_blockonomics_gateway',3),(252,'2024_09_06_042040_cba_powerboard',3),(253,'2024_09_15_022436_add_autonomous_es_regions',3),(254,'2024_09_16_221343_add_remaining_cycles_to_subscriptions',3),(255,'2024_09_21_062105_2024_09_21_add_vn_lang',3),(256,'2024_09_22_084749_2024_09_23_add_sync_column_for_qb',3),(257,'2024_09_29_221552_add_gateway_fee_column',4),(258,'2024_10_03_235524_add_is_tax_exempt_vendors_table',5),(259,'2019_15_12_112000_create_elastic_migrations_table',6),(260,'2024_10_08_034355_add_account_e_invoice_quota',6),(261,'2024_10_09_220533_invoice_gateway_fee',6),(262,'2024_10_11_151650_create_e_invoice_tokens_table',6),(263,'2024_10_11_153311_add_e_invoicing_token',6),(264,'2024_10_14_214658_add_routing_id_to_vendors_table',6),(265,'2024_10_18_211558_updated_currencies',6),(266,'2024_11_11_043923_kill_switch_licenses_table',6),(267,'2024_11_19_020259_add_entity_set_to_licenses_table',6),(268,'2024_11_21_011625_add_e_invoicing_logs_table',6),(269,'2024_11_28_054808_add_referral_earning_column_to_users_table',6),(270,'2024_12_18_023826_2024_12_18_enforce_tax_data_model',6),(271,'2025_01_08_024611_2025_01_07_design_updates',6),(272,'2025_01_15_222249_2025_01_16_zim_currency_change',6),(273,'2025_01_18_012550_2025_01_16_wst_currency',6),(274,'2025_01_22_013047_2025_01_22_add_verification_setting_to_gocardless',6),(275,'2025_02_12_000757_change_inr_currency_symbol',6),(276,'2025_02_12_035916_create_sync_column_for_payments',6),(277,'2025_02_16_213917_add_e_invoice_column_to_recurring_invoices_table',6),(278,'2025_02_20_224129_entity_location_schema',6),(279,'2025_03_09_084919_add_payment_unapplied_pdf_variabels',6),(280,'2025_03_11_044138_update_blockonomics_help_url',6),(281,'2025_03_13_073151_update_blockonomics',6),(282,'2025_03_21_032428_add_sync_column_for_quotes',6),(283,'2025_04_29_225412_add_guiler_currency',6),(284,'2025_05_14_035605_add_signature_key_to_auth_net',6),(285,'2025_05_31_055839_add_docuninja_num_users',6),(286,'2025_06_02_233158_update_date_format_for_d_m_y',6),(287,'2025_07_20_044138_update_blockonomics_site_url',6),(288,'2025_08_05_023807_add_date_period_to_transaction_events_table',6),(289,'2025_08_31_224356_additional_languages_af_ca_id',7),(290,'2025_08_07_045606_add_verifactu_table',8),(291,'2025_09_09_044144_add_can_sign_flag_to_client_contacts_table',8),(292,'2025_11_06_042112_add_sync_column_to_purchase_orders_table',8),(293,'2026_01_28_214929_add_sync_column_to_expenses_table',8),(294,'2026_01_28_232511_add_income_account_id_to_products_table',8);

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

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

--
-- Dumping data for table `password_resets`
--

INSERT INTO `password_resets` (`email`, `token`, `created_at`) VALUES ('khediryaakub@mobtelhub.com','$2y$10$rLCmNCbl0lbkg2ir.W/I9O.6IhEHC.R.5jB4TB//1Ez7hiTCZn7Me','2025-09-23 17:01:00');

--
-- Table structure for table `payment_hashes`
--

CREATE TABLE `payment_hashes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `hash` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `fee_total` decimal(16,4) NOT NULL,
  `fee_invoice_id` int(10) unsigned DEFAULT NULL,
  `data` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_hashes_payment_id_foreign` (`payment_id`),
  KEY `payment_hashes_hash_index` (`hash`),
  KEY `payment_hashes_fee_invoice_id_index` (`fee_invoice_id`),
  CONSTRAINT `payment_hashes_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `payments` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_hashes`
--

INSERT INTO `payment_hashes` (`id`, `hash`, `fee_total`, `fee_invoice_id`, `data`, `payment_id`, `created_at`, `updated_at`) VALUES (1,'6ivUaU2HT2Rg68jBoPYmbdBP5kY6Iv9Q',0.0000,32,'{\"invoices\":[{\"invoice_id\":\"W4QbYKezqM\",\"amount\":7394.8000000000001818989403545856475830078125,\"formatted_amount\":\"7,394.80\",\"formatted_currency\":\"$7,394.80\",\"number\":\"25354I-873613\",\"date\":\"19-July-2025\",\"due_date\":\"18-August-2025\",\"terms\":\"<p>- Card payment are accepted upon request.<\\/p>\\n<p>Please Transfer To:<br>Bank Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : Malayan Banking Bhd<br>Account Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MOBTEL HUB<br>Bank Account Number \\u00a0 \\u00a0 : 564548148577<br>Swift Code \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0: MBBEMYKL<\\/p>\\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com<\\/p>\",\"invoice_number\":\"25354I-873613\",\"additional_info\":\"\"}],\"credits\":0,\"amount_with_fee\":7394.8000000000001818989403545856475830078125,\"pre_payment\":false,\"frequency_id\":false,\"remaining_cycles\":false,\"is_recurring\":false,\"amount\":7394.8000000000001818989403545856475830078125,\"orderID\":\"1D324805EW997002E\"}',NULL,'2025-08-21 18:59:49.000000','2025-08-21 18:59:50.000000'),(2,'86TlNAh0zUUZ4Ci71P9pQ1JtaTjsLTQt',0.0000,32,'{\"invoices\":[{\"invoice_id\":\"W4QbYKezqM\",\"amount\":7394.8000000000001818989403545856475830078125,\"formatted_amount\":\"7,394.80\",\"formatted_currency\":\"$7,394.80\",\"number\":\"25354I-873613\",\"date\":\"19-July-2025\",\"due_date\":\"18-August-2025\",\"terms\":\"<p>- Card payment are accepted upon request.<\\/p>\\n<p>Please Transfer To:<br>Bank Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : Malayan Banking Bhd<br>Account Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MOBTEL HUB<br>Bank Account Number \\u00a0 \\u00a0 : 564548148577<br>Swift Code \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0: MBBEMYKL<\\/p>\\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com<\\/p>\",\"invoice_number\":\"25354I-873613\",\"additional_info\":\"\"}],\"credits\":0,\"amount_with_fee\":7394.8000000000001818989403545856475830078125,\"pre_payment\":false,\"frequency_id\":false,\"remaining_cycles\":false,\"is_recurring\":false,\"amount\":7394.8000000000001818989403545856475830078125,\"orderID\":\"08Y00439SR7761142\"}',NULL,'2025-08-21 19:00:45.000000','2025-08-21 19:00:46.000000'),(3,'WnopqK67TbGoRwOvPpS11hSVlzrVr2SS',0.0000,32,'{\"invoices\":[{\"invoice_id\":\"W4QbYKezqM\",\"amount\":7394.8000000000001818989403545856475830078125,\"formatted_amount\":\"7,394.80\",\"formatted_currency\":\"$7,394.80\",\"number\":\"25354I-873613\",\"date\":\"19-July-2025\",\"due_date\":\"18-August-2025\",\"terms\":\"<p>- Card payment are accepted upon request.<\\/p>\\n<p>Please Transfer To:<br>Bank Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : Malayan Banking Bhd<br>Account Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MOBTEL HUB<br>Bank Account Number \\u00a0 \\u00a0 : 564548148577<br>Swift Code \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0: MBBEMYKL<\\/p>\\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com<\\/p>\",\"invoice_number\":\"25354I-873613\",\"additional_info\":\"\"}],\"credits\":0,\"amount_with_fee\":7394.8000000000001818989403545856475830078125,\"pre_payment\":false,\"frequency_id\":false,\"remaining_cycles\":false,\"is_recurring\":false}',NULL,'2025-08-21 19:01:06.000000','2025-08-21 19:01:06.000000'),(4,'8zmD6NnpfuEKhGfNVtieerxTHAB9hqDk',0.0000,32,'{\"invoices\":[{\"invoice_id\":\"W4QbYKezqM\",\"amount\":7394.8000000000001818989403545856475830078125,\"formatted_amount\":\"7,394.80\",\"formatted_currency\":\"$7,394.80\",\"number\":\"25354I-873613\",\"date\":\"19-July-2025\",\"due_date\":\"18-August-2025\",\"terms\":\"<p>- Card payment are accepted upon request.<\\/p>\\n<p>Please Transfer To:<br>Bank Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : Malayan Banking Bhd<br>Account Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MOBTEL HUB<br>Bank Account Number \\u00a0 \\u00a0 : 564548148577<br>Swift Code \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0: MBBEMYKL<\\/p>\\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com<\\/p>\",\"invoice_number\":\"25354I-873613\",\"additional_info\":\"\"}],\"credits\":0,\"amount_with_fee\":7394.8000000000001818989403545856475830078125,\"pre_payment\":false,\"frequency_id\":false,\"remaining_cycles\":false,\"is_recurring\":false}',NULL,'2025-08-21 19:01:36.000000','2025-08-21 19:01:36.000000'),(5,'jZzBzQzPQmTmrIgfLw9fIeuwoNEv7Tgc',0.0000,33,'{\"invoices\":[{\"invoice_id\":\"joQeZJepZV\",\"amount\":10,\"formatted_amount\":\"10.00\",\"formatted_currency\":\"RM10.00\",\"number\":\"873614\",\"date\":\"22-August-2025\",\"due_date\":\"21-September-2025\",\"terms\":\"<p>- Card payment are accepted upon request.<\\/p>\\n<p>Please Transfer To:<br>Bank Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : Malayan Banking Bhd<br>Account Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MOBTEL HUB<br>Bank Account Number \\u00a0 \\u00a0 : 564548148577<br>Swift Code \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0: MBBEMYKL<\\/p>\\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com<\\/p>\",\"invoice_number\":\"873614\",\"additional_info\":\"\"}],\"credits\":0,\"amount_with_fee\":10,\"pre_payment\":false,\"frequency_id\":false,\"remaining_cycles\":false,\"is_recurring\":false,\"stripe_amount\":1000,\"company_gateway_id\":\"2\",\"payment_hash\":\"jZzBzQzPQmTmrIgfLw9fIeuwoNEv7Tgc\",\"payment_intent\":\"pi_3RylVeLTMjZUPdCC1A2qhULd\",\"payment_intent_client_secret\":\"pi_3RylVeLTMjZUPdCC1A2qhULd_secret_olUsGj1Hc1ksawxoqLfe8lCt8\",\"payment_method_id\":\"22\",\"redirect_status\":\"succeeded\"}',29,'2025-08-21 19:19:22.000000','2025-08-21 19:21:28.000000'),(6,'dLdAOoFvaVHOzasZ2hsLNY2h2Bx4lT2w',0.0000,10,'{\"invoices\":[{\"invoice_id\":\"gl9avmeG1v\",\"amount\":0.0200000000000000004163336342344337026588618755340576171875,\"formatted_amount\":\"0.02\",\"formatted_currency\":\"RM0.02\",\"number\":\"25354I-873564\",\"date\":\"19-August-2021\",\"due_date\":\"18-September-2021\",\"terms\":\"<p>- Card payment are accepted upon request.<\\/p>\\n<p>Please Transfer To:<br>Bank Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : Malayan Banking Bhd<br>Account Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MOBTEL HUB<br>Bank Account Number \\u00a0 \\u00a0 : 564548148577<br>Swift Code \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0: MBBEMYKL<\\/p>\\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com<\\/p>\",\"invoice_number\":\"25354I-873564\",\"additional_info\":\"\"}],\"credits\":0,\"amount_with_fee\":0.0200000000000000004163336342344337026588618755340576171875,\"pre_payment\":false,\"frequency_id\":false,\"remaining_cycles\":false,\"is_recurring\":false,\"amount\":0.0200000000000000004163336342344337026588618755340576171875,\"orderID\":\"6M797184CB930614M\"}',NULL,'2025-08-21 21:44:23.000000','2025-08-21 21:44:24.000000'),(7,'yYmUupygNK7zUSvKSyccLfTLL3bj69NH',0.0000,35,'{\"invoices\":[{\"invoice_id\":\"yJrb2KdWLD\",\"amount\":10,\"formatted_amount\":\"10.00\",\"formatted_currency\":\"RM10.00\",\"number\":\"25354I-873615\",\"date\":\"22-August-2025\",\"due_date\":\"22-September-2025\",\"terms\":\"<p><span style=\\\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\\\">- Card payment are accepted upon request.<\\/span><\\/p><p><span style=\\\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\\\">Please Transfer To :<br><br>Bank Name\\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0: Malayan Banking Bhd<br>Account Name\\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MOBTEL HUB<br>Bank Account Number\\u00a0 : 564548148577<br>Swift Code\\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MBBEMYKL<br><br><\\/span><span style=\\\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\\\">Please send to us payment advice at khediryaakub@mobtelhub.com<\\/span><\\/p>\",\"invoice_number\":\"25354I-873615\",\"additional_info\":\"2025-08-22\"}],\"credits\":0,\"amount_with_fee\":10,\"pre_payment\":false,\"frequency_id\":false,\"remaining_cycles\":false,\"is_recurring\":false}',NULL,'2025-08-22 06:09:04.000000','2025-08-22 06:09:04.000000'),(8,'4YA0wJ71mn3WEtCzYv0piP4KO7YpnCUa',0.0000,35,'{\"invoices\":[{\"invoice_id\":\"yJrb2KdWLD\",\"amount\":10,\"formatted_amount\":\"10.00\",\"formatted_currency\":\"RM10.00\",\"number\":\"25354I-873615\",\"date\":\"22-August-2025\",\"due_date\":\"22-September-2025\",\"terms\":\"<p><span style=\\\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\\\">- Card payment are accepted upon request.<\\/span><\\/p><p><span style=\\\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\\\">Please Transfer To :<br><br>Bank Name\\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0: Malayan Banking Bhd<br>Account Name\\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MOBTEL HUB<br>Bank Account Number\\u00a0 : 564548148577<br>Swift Code\\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MBBEMYKL<br><br><\\/span><span style=\\\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\\\">Please send to us payment advice at khediryaakub@mobtelhub.com<\\/span><\\/p>\",\"invoice_number\":\"25354I-873615\",\"additional_info\":\"2025-08-22\"}],\"credits\":0,\"amount_with_fee\":10,\"pre_payment\":false,\"frequency_id\":false,\"remaining_cycles\":false,\"is_recurring\":false,\"gateway_response\":{\"id\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS\",\"object\":\"payment_intent\",\"amount\":1000,\"amount_details\":{\"tip\":{}},\"automatic_payment_methods\":{\"allow_redirects\":\"always\",\"enabled\":true},\"canceled_at\":null,\"cancellation_reason\":null,\"capture_method\":\"automatic\",\"client_secret\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS_secret_cRjMIAhQPQRsOYKmMi6JMvyqd\",\"confirmation_method\":\"automatic\",\"created\":1755872119,\"currency\":\"myr\",\"description\":\"Invoices: 25354I-873615 for RM10.00 for client FARAH ATELIER\",\"excluded_payment_method_types\":null,\"last_payment_error\":null,\"livemode\":true,\"next_action\":null,\"payment_method\":\"pm_1RyvleLTMjZUPdCCY1fiOVO5\",\"payment_method_configuration_details\":{\"id\":\"pmc_1LbTaNLTMjZUPdCC4Wh9Rm2A\",\"parent\":null},\"payment_method_types\":[\"card\",\"fpx\",\"grabpay\",\"alipay\",\"link\"],\"processing\":null,\"receipt_email\":\"farahdahli90@gmail.com\",\"setup_future_usage\":null,\"shipping\":null,\"source\":null,\"status\":\"succeeded\"},\"payment_intent\":{\"id\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS\",\"object\":\"payment_intent\",\"amount\":1000,\"amount_capturable\":0,\"amount_details\":{\"tip\":[]},\"amount_received\":1000,\"application\":null,\"application_fee_amount\":null,\"automatic_payment_methods\":{\"allow_redirects\":\"always\",\"enabled\":true},\"canceled_at\":null,\"cancellation_reason\":null,\"capture_method\":\"automatic\",\"client_secret\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS_secret_cRjMIAhQPQRsOYKmMi6JMvyqd\",\"confirmation_method\":\"automatic\",\"created\":1755872119,\"currency\":\"myr\",\"customer\":\"cus_SulAYUdkagYmCt\",\"description\":\"Invoices: 25354I-873615 for RM10.00 for client FARAH ATELIER\",\"excluded_payment_method_types\":null,\"invoice\":null,\"last_payment_error\":null,\"latest_charge\":\"ch_3RyvkRLTMjZUPdCC0ffA7rHz\",\"livemode\":true,\"metadata\":{\"gateway_type_id\":\"8\",\"payment_hash\":\"4YA0wJ71mn3WEtCzYv0piP4KO7YpnCUa\"},\"next_action\":null,\"on_behalf_of\":null,\"payment_method\":\"pm_1RyvleLTMjZUPdCCY1fiOVO5\",\"payment_method_configuration_details\":{\"id\":\"pmc_1LbTaNLTMjZUPdCC4Wh9Rm2A\",\"parent\":null},\"payment_method_options\":{\"alipay\":[],\"card\":{\"installments\":null,\"mandate_options\":null,\"network\":null,\"request_three_d_secure\":\"automatic\"},\"fpx\":[],\"grabpay\":[],\"link\":{\"persistent_token\":null}},\"payment_method_types\":[\"card\",\"fpx\",\"grabpay\",\"alipay\",\"link\"],\"processing\":null,\"receipt_email\":\"farahdahli90@gmail.com\",\"review\":null,\"setup_future_usage\":null,\"shipping\":null,\"source\":null,\"statement_descriptor\":null,\"statement_descriptor_suffix\":null,\"status\":\"succeeded\",\"transfer_data\":null,\"transfer_group\":null},\"amount\":10}',31,'2025-08-22 06:15:19.000000','2025-08-22 06:16:38.000000');

--
-- Table structure for table `payment_libraries`
--

CREATE TABLE `payment_libraries` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `visible` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_libraries`
--

INSERT INTO `payment_libraries` (`id`, `created_at`, `updated_at`, `name`, `visible`) VALUES (1,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582','Omnipay',1);

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

CREATE TABLE `payment_terms` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `num_days` int(11) DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_id` int(10) unsigned DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_terms_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `payment_terms_user_id_foreign` (`user_id`),
  CONSTRAINT `payment_terms_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payment_terms_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `payment_terms` (`id`, `num_days`, `name`, `company_id`, `user_id`, `is_deleted`, `created_at`, `updated_at`, `deleted_at`) VALUES (1,0,'Net 0',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL),(2,7,'',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL),(3,10,'',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL),(4,14,'',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL),(5,15,'',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL),(6,30,'',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL),(7,60,'',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL),(8,90,'',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL);

--
-- Table structure for table `payment_types`
--

CREATE TABLE `payment_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `gateway_type_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_types`
--

INSERT INTO `payment_types` (`id`, `name`, `gateway_type_id`) VALUES (1,'Bank Transfer',2),(2,'Cash',NULL),(3,'Debit',1),(4,'ACH',2),(5,'Visa Card',1),(6,'MasterCard',1),(7,'American Express',1),(8,'Discover Card',1),(9,'Diners Card',1),(10,'EuroCard',1),(11,'Nova',1),(12,'Credit Card Other',1),(13,'PayPal',3),(14,'Google Wallet',NULL),(15,'Check',NULL),(16,'Carte Blanche',1),(17,'UnionPay',1),(18,'JCB',1),(19,'Laser',1),(20,'Maestro',1),(21,'Solo',1),(22,'Switch',1),(23,'iZettle',1),(24,'Swish',2),(25,'Venmo',NULL),(26,'Money Order',NULL),(27,'Alipay',7),(28,'Sofort',8),(29,'SEPA',9),(30,'GoCardless',10),(31,'Crypto',4),(32,'Credit',14),(33,'Zelle',NULL);

--
-- Table structure for table `paymentables`
--

CREATE TABLE `paymentables` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `payment_id` int(10) unsigned NOT NULL,
  `paymentable_id` int(10) unsigned NOT NULL,
  `amount` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `refunded` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `paymentable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `paymentables_payment_id_foreign` (`payment_id`),
  KEY `paymentables_paymentable_id_index` (`paymentable_id`),
  CONSTRAINT `paymentables_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `payments` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `paymentables`
--

INSERT INTO `paymentables` (`id`, `payment_id`, `paymentable_id`, `amount`, `refunded`, `paymentable_type`, `created_at`, `updated_at`, `deleted_at`) VALUES (1,1,3,350.0000,0.0000,'invoices','2025-08-21 18:24:49','2025-08-21 18:24:49',NULL),(2,2,4,350.0000,0.0000,'invoices','2025-08-21 18:24:52','2025-08-21 18:24:52',NULL),(3,3,5,2.0000,0.0000,'invoices','2025-08-21 18:24:53','2025-08-21 18:24:53',NULL),(4,4,6,12.0000,0.0000,'invoices','2025-08-21 18:24:54','2025-08-21 18:24:54',NULL),(5,5,7,4.0000,0.0000,'invoices','2025-08-21 18:24:56','2025-08-21 18:24:56',NULL),(6,6,8,7.9000,0.0000,'invoices','2025-08-21 18:24:58','2025-08-21 18:24:58',NULL),(7,7,9,350.0000,0.0000,'invoices','2025-08-21 18:24:59','2025-08-21 18:24:59',NULL),(8,8,10,3.7300,0.0000,'invoices','2025-08-21 18:25:00','2025-08-21 18:25:00',NULL),(9,9,11,355.0000,0.0000,'invoices','2025-08-21 18:25:03','2025-08-21 18:25:03',NULL),(10,10,12,100.0000,0.0000,'invoices','2025-08-21 18:25:04','2025-08-21 18:25:04',NULL),(11,11,13,380.0000,0.0000,'invoices','2025-08-21 18:25:05','2025-08-21 18:25:05',NULL),(12,12,14,100.0000,0.0000,'invoices','2025-08-21 18:25:06','2025-08-21 18:25:06',NULL),(13,13,15,100.0000,0.0000,'invoices','2025-08-21 18:25:09','2025-08-21 18:25:09',NULL),(14,14,16,92.0000,0.0000,'invoices','2025-08-21 18:25:10','2025-08-21 18:25:10',NULL),(15,15,17,70.0000,0.0000,'invoices','2025-08-21 18:25:11','2025-08-21 18:25:11',NULL),(16,16,18,100.0000,0.0000,'invoices','2025-08-21 18:25:12','2025-08-21 18:25:12',NULL),(17,17,19,70.0000,0.0000,'invoices','2025-08-21 18:25:15','2025-08-21 18:25:15',NULL),(18,18,20,70.0000,0.0000,'invoices','2025-08-21 18:25:16','2025-08-21 18:25:16',NULL),(19,19,21,100.0000,0.0000,'invoices','2025-08-21 18:25:18','2025-08-21 18:25:18',NULL),(20,20,22,93.0000,0.0000,'invoices','2025-08-21 18:25:20','2025-08-21 18:25:20',NULL),(21,21,23,140.0000,0.0000,'invoices','2025-08-21 18:25:22','2025-08-21 18:25:22',NULL),(22,22,24,200.0000,0.0000,'invoices','2025-08-21 18:25:23','2025-08-21 18:25:23',NULL),(23,23,25,92.0000,0.0000,'invoices','2025-08-21 18:25:24','2025-08-21 18:25:24',NULL),(24,24,26,290.0000,0.0000,'invoices','2025-08-21 18:25:28','2025-08-21 18:25:28',NULL),(25,25,27,2619.0000,0.0000,'invoices','2025-08-21 18:25:29','2025-08-21 18:25:29',NULL),(26,26,28,2410.0000,0.0000,'invoices','2025-08-21 18:25:30','2025-08-21 18:25:30',NULL),(27,27,29,7.0000,0.0000,'invoices','2025-08-21 18:25:33','2025-08-21 18:25:33',NULL),(28,28,31,708.7500,0.0000,'invoices','2025-08-21 18:25:38','2025-08-21 18:25:38',NULL),(29,29,33,10.0000,0.0000,'invoices','2025-08-21 19:21:28','2025-08-21 19:21:29',NULL),(30,30,10,0.0200,0.0000,'invoices','2025-08-22 05:09:09','2025-08-22 05:09:09',NULL),(31,31,35,10.0000,0.0000,'invoices','2025-08-22 06:16:39','2025-08-22 06:16:40',NULL);

--
-- Table structure for table `payments`
--

CREATE TABLE `payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `client_id` int(10) unsigned NOT NULL,
  `project_id` int(10) unsigned DEFAULT NULL,
  `vendor_id` int(10) unsigned DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `client_contact_id` int(10) unsigned DEFAULT NULL,
  `invitation_id` int(10) unsigned DEFAULT NULL,
  `company_gateway_id` int(10) unsigned DEFAULT NULL,
  `gateway_type_id` int(10) unsigned DEFAULT NULL,
  `type_id` int(10) unsigned DEFAULT NULL,
  `status_id` int(10) unsigned NOT NULL,
  `amount` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `refunded` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `applied` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `date` date DEFAULT NULL,
  `transaction_reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payer_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `private_notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `is_manual` tinyint(1) NOT NULL DEFAULT '0',
  `exchange_rate` decimal(20,6) NOT NULL DEFAULT '1.000000',
  `currency_id` int(10) unsigned NOT NULL,
  `exchange_currency_id` int(10) unsigned DEFAULT NULL,
  `meta` text COLLATE utf8mb4_unicode_ci,
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `transaction_id` bigint(20) unsigned DEFAULT NULL,
  `idempotency_key` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `refund_meta` text COLLATE utf8mb4_unicode_ci,
  `category_id` int(10) unsigned DEFAULT NULL,
  `sync` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `payments_company_id_number_unique` (`company_id`,`number`),
  UNIQUE KEY `payments_company_id_idempotency_key_unique` (`company_id`,`idempotency_key`),
  KEY `payments_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `payments_client_contact_id_foreign` (`client_contact_id`),
  KEY `payments_company_gateway_id_foreign` (`company_gateway_id`),
  KEY `payments_user_id_foreign` (`user_id`),
  KEY `payments_company_id_index` (`company_id`),
  KEY `payments_client_id_index` (`client_id`),
  KEY `payments_status_id_index` (`status_id`),
  KEY `payments_transaction_reference_index` (`transaction_reference`),
  KEY `payments_idempotency_key_index` (`idempotency_key`),
  CONSTRAINT `payments_client_contact_id_foreign` FOREIGN KEY (`client_contact_id`) REFERENCES `client_contacts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_company_gateway_id_foreign` FOREIGN KEY (`company_gateway_id`) REFERENCES `company_gateways` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payments`
--

INSERT INTO `payments` (`id`, `company_id`, `client_id`, `project_id`, `vendor_id`, `user_id`, `assigned_user_id`, `client_contact_id`, `invitation_id`, `company_gateway_id`, `gateway_type_id`, `type_id`, `status_id`, `amount`, `refunded`, `applied`, `date`, `transaction_reference`, `payer_id`, `number`, `private_notes`, `created_at`, `updated_at`, `deleted_at`, `is_deleted`, `is_manual`, `exchange_rate`, `currency_id`, `exchange_currency_id`, `meta`, `custom_value1`, `custom_value2`, `custom_value3`, `custom_value4`, `transaction_id`, `idempotency_key`, `refund_meta`, `category_id`, `sync`) VALUES (1,1,3,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,350.000000,0.000000,350.000000,'2025-08-22','',NULL,'00001',NULL,'2025-08-21 18:24:49.506101','2025-08-21 18:24:51.368235',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,1,3,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,350.000000,0.000000,350.000000,'2025-08-22','',NULL,'00002',NULL,'2025-08-21 18:24:52.127404','2025-08-21 18:24:52.869630',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,1,5,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,2.000000,0.000000,2.000000,'2025-08-22','',NULL,'00003',NULL,'2025-08-21 18:24:53.573134','2025-08-21 18:24:54.002323',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,1,5,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,12.000000,0.000000,12.000000,'2025-08-22','',NULL,'00004',NULL,'2025-08-21 18:24:54.655855','2025-08-21 18:24:55.105493',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(5,1,5,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,4.000000,0.000000,4.000000,'2025-08-22','',NULL,'00005',NULL,'2025-08-21 18:24:55.789278','2025-08-21 18:24:57.267057',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(6,1,5,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,7.900000,0.000000,7.900000,'2025-08-22','',NULL,'00006',NULL,'2025-08-21 18:24:57.964728','2025-08-21 18:24:58.565113',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(7,1,3,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,350.000000,0.000000,350.000000,'2025-08-22','',NULL,'00007',NULL,'2025-08-21 18:24:59.361976','2025-08-21 18:24:59.784439',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(8,1,5,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,3.730000,0.000000,3.730000,'2025-08-22','',NULL,'00008',NULL,'2025-08-21 18:25:00.624200','2025-08-21 18:25:01.079338',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(9,1,3,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,355.000000,0.000000,355.000000,'2025-08-22','',NULL,'00009',NULL,'2025-08-21 18:25:02.991464','2025-08-21 18:25:04.055091',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(10,1,6,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,100.000000,0.000000,100.000000,'2025-08-22','',NULL,'00010',NULL,'2025-08-21 18:25:04.657650','2025-08-21 18:25:05.115020',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(11,1,7,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,380.000000,0.000000,380.000000,'2025-08-22','',NULL,'00011',NULL,'2025-08-21 18:25:05.711946','2025-08-21 18:25:06.144591',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(12,1,8,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,100.000000,0.000000,100.000000,'2025-08-22','',NULL,'00012',NULL,'2025-08-21 18:25:06.789470','2025-08-21 18:25:07.255989',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(13,1,9,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,100.000000,0.000000,100.000000,'2025-08-22','',NULL,'00013',NULL,'2025-08-21 18:25:08.912074','2025-08-21 18:25:09.338148',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(14,1,10,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,92.000000,0.000000,92.000000,'2025-08-22','',NULL,'00014',NULL,'2025-08-21 18:25:09.982966','2025-08-21 18:25:10.528364',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(15,1,9,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,70.000000,0.000000,70.000000,'2025-08-22','',NULL,'00015',NULL,'2025-08-21 18:25:11.304106','2025-08-21 18:25:11.729537',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(16,1,11,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,100.000000,0.000000,100.000000,'2025-08-22','',NULL,'00016',NULL,'2025-08-21 18:25:12.567382','2025-08-21 18:25:13.568532',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(17,1,6,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,70.000000,0.000000,70.000000,'2025-08-22','',NULL,'00017',NULL,'2025-08-21 18:25:15.682155','2025-08-21 18:25:16.099417',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(18,1,8,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,70.000000,0.000000,70.000000,'2025-08-22','',NULL,'00018',NULL,'2025-08-21 18:25:16.754875','2025-08-21 18:25:17.238353',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(19,1,12,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,100.000000,0.000000,100.000000,'2025-08-22','',NULL,'00019',NULL,'2025-08-21 18:25:18.209861','2025-08-21 18:25:18.846204',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(20,1,10,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,93.000000,0.000000,93.000000,'2025-08-22','',NULL,'00020',NULL,'2025-08-21 18:25:19.856667','2025-08-21 18:25:21.478100',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(21,1,13,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,140.000000,0.000000,140.000000,'2025-08-22','',NULL,'00021',NULL,'2025-08-21 18:25:22.264505','2025-08-21 18:25:22.824199',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(22,1,14,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,200.000000,0.000000,200.000000,'2025-08-22','',NULL,'00022',NULL,'2025-08-21 18:25:23.593135','2025-08-21 18:25:24.062723',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(23,1,15,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,92.000000,0.000000,92.000000,'2025-08-22','',NULL,'00023',NULL,'2025-08-21 18:25:24.672605','2025-08-21 18:25:25.274456',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(24,1,16,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,290.000000,0.000000,290.000000,'2025-08-22','',NULL,'00024',NULL,'2025-08-21 18:25:27.816099','2025-08-21 18:25:28.384112',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(25,1,17,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,2619.000000,0.000000,2619.000000,'2025-08-22','',NULL,'00025',NULL,'2025-08-21 18:25:29.170904','2025-08-21 18:25:29.663312',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(26,1,17,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,2410.000000,0.000000,2410.000000,'2025-08-22','',NULL,'00026',NULL,'2025-08-21 18:25:30.378820','2025-08-21 18:25:30.800638',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(27,1,5,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,7.000000,0.000000,7.000000,'2025-08-22','',NULL,'00027',NULL,'2025-08-21 18:25:32.804465','2025-08-21 18:25:34.979133',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(28,1,24,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,4,708.750000,0.000000,708.750000,'2025-08-22','',NULL,'00028',NULL,'2025-08-21 18:25:38.435585','2025-08-21 18:25:39.380883',NULL,0,1,1.000000,1,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(29,1,5,NULL,NULL,1,NULL,5,NULL,2,22,46,1,10.000000,0.000000,10.000000,'2025-08-22','pi_3RylVeLTMjZUPdCC1A2qhULd',NULL,'00029',NULL,'2025-08-21 19:21:28.443434','2025-08-21 19:21:29.937730',NULL,0,0,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(30,1,5,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,2,4,0.020000,0.000000,0.020000,'2025-08-22','Cash',NULL,'00030',NULL,'2025-08-22 05:09:09.175090','2025-08-22 05:09:11.575220',NULL,0,1,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'131c216c7a79d227aa1db131b06afbb6b28569c1ba768f345230827fb5aac687',NULL,NULL,NULL),(31,1,23,NULL,NULL,1,NULL,23,NULL,2,8,5,4,10.000000,0.000000,10.000000,'2025-08-22','ch_3RyvkRLTMjZUPdCC0ffA7rHz',NULL,'PAY-485212',NULL,'2025-08-22 06:16:38.238116','2025-08-22 06:16:40.878423',NULL,0,0,1.000000,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `project_id` int(10) unsigned DEFAULT NULL,
  `vendor_id` int(10) unsigned DEFAULT NULL,
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `product_key` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `cost` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `price` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `quantity` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate1` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate2` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name3` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate3` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `in_stock_quantity` int(11) NOT NULL DEFAULT '0',
  `stock_notification` tinyint(1) NOT NULL DEFAULT '1',
  `stock_notification_threshold` int(11) NOT NULL DEFAULT '0',
  `max_quantity` int(10) unsigned DEFAULT NULL,
  `product_image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_id` int(10) unsigned DEFAULT NULL,
  `hash` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sync` text COLLATE utf8mb4_unicode_ci,
  `income_account_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `products_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `products_user_id_foreign` (`user_id`),
  KEY `products_company_id_index` (`company_id`),
  KEY `pro_co_us_up_index` (`company_id`,`user_id`,`assigned_user_id`,`updated_at`),
  KEY `products_product_key_company_id_index` (`product_key`,`company_id`),
  CONSTRAINT `products_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `products_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `products`
--

INSERT INTO `products` (`id`, `company_id`, `user_id`, `assigned_user_id`, `project_id`, `vendor_id`, `custom_value1`, `custom_value2`, `custom_value3`, `custom_value4`, `product_key`, `notes`, `cost`, `price`, `quantity`, `tax_name1`, `tax_rate1`, `tax_name2`, `tax_rate2`, `tax_name3`, `tax_rate3`, `deleted_at`, `created_at`, `updated_at`, `is_deleted`, `in_stock_quantity`, `stock_notification`, `stock_notification_threshold`, `max_quantity`, `product_image`, `tax_id`, `hash`, `sync`, `income_account_id`) VALUES (1,1,1,NULL,NULL,NULL,'','','','','Website Development (Per Page)','Creating website per page',106.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.336482','2025-08-21 17:48:46.336482',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(2,1,1,NULL,NULL,NULL,'','','','','Complete Package Website Development (Static Page)','',6000.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.507048','2025-08-21 17:48:46.507048',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(3,1,1,NULL,NULL,NULL,'','','','','Domain & Hosting Renewal','Renewal For 1 Year - tepatconsult.com Web-Base File Sharing Unlimited Email Web-Base Email Access SPAM Assassin Virus Protection Monthly Bandwidth 50 GB Multiple Domain Hosting Up To 5 Domain Disk Space 10 GB Server Hosting Location : Malaysia',300.000000,355.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.555647','2025-08-21 18:25:01.351676',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(4,1,1,NULL,NULL,NULL,'','','','','Website Development (Enhance From Old Website)','Enhancement Previous Website From 2 Language To Single Language',520.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.597430','2025-08-21 17:48:46.597430',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(5,1,1,NULL,NULL,NULL,'','','','','Website Development - 2 Languages','Translate 2 Language',1200.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.639138','2025-08-21 17:48:46.639138',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(6,1,1,NULL,NULL,NULL,'','','','','Domain & Hosting (Linux Platform)','1 Year Fee Web-Base File Sharing Unlimited Email Web-Base Email Access SPAM Assassin Virus Protection Monthly Bandwidth 50GB Multiple Domain Hosting - Up To 5 Domains Disk Space 10GB',520.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.680867','2025-08-21 17:48:46.680867',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(7,1,1,NULL,NULL,NULL,'','','','','Website & Hosting Maintenance / Support','Optional RM106 / Request RM1243 / Yearly',0.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.723051','2025-08-21 17:48:46.723051',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(8,1,1,NULL,NULL,NULL,'','','','','Hosting (Linux Standard Plan)','Disk Space 10 GB Monthly Bandwidth 50 GB Multiple Domain Hosting 5 Domain Money Back Guarantee 30 Days Domain Name None Sitebuilder V1 Free',85.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.764592','2025-08-21 17:48:46.764592',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(9,1,1,NULL,NULL,NULL,'','','','','Hosting (Linux Surfers Plan)','15 GB of webspace 80 GB of monthly bandwidth Cpanel Hosting Control Panel Support Up to 15 add-On Domain Compatible with Wordpress & other CMS Unlimited Email Aliases Unlimited MYSQL Databases',85.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.806772','2025-08-21 17:48:46.806772',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(10,1,1,NULL,NULL,NULL,'','','','','Hosting (Wordpress Web Plan)','50 GB SSD Storage 100 GB Monthly Bandwidth 5 Addon Domains 1 GB Memory Unlimited Parked Domain Unlimited Subdomain Unlimited Database Unlimited E-Mail Accounts 1-Click CMS Auto Installer WordPress Optimized LiteSpeed Web Server Pre-Uploaded Wordpress with LiteSpeed Plugin FREE SSL (HTTPS) PHP 7 Support CPanel Hosting Control Panel',312.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.848846','2025-08-21 17:48:46.848846',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(11,1,1,NULL,NULL,NULL,'','','','','Hosting (Wordpress Standard Plan)','30 GB SSD Storage 50 GB Monthly Bandwidth 2 Addon Domains 512 MB Memory Unlimited Parked Domain Unlimited Subdomain Unlimited Database Unlimited E-Mail Accounts 1-Click CMS Auto Installer WordPress Optimized LiteSpeed Web Server Pre-Uploaded Wordpress with LiteSpeed Plugin FREE SSL (HTTPS) PHP 7 Support CPanel Hosting',199.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.888673','2025-08-21 17:48:46.888673',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(12,1,1,NULL,NULL,NULL,'','','','','Hosting (Wordpress Mega Plan)','100 GB SSD Storage 150 GB Monthly Bandwidth 10 Addon Domains 2 GB Memory Unlimited Parked Domain Unlimited Subdomain Unlimited Database Unlimited E-Mail Accounts 1-Click CMS Auto Installer WordPress Optimized LiteSpeed Web Server Pre-Uploaded Wordpress with LiteSpeed Plugin FREE SSL (HTTPS) PHP 7 Support CPanel Hosting Control Panel',399.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:46.938830','2025-08-21 17:48:46.938830',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(13,1,1,NULL,NULL,NULL,'','','','','Hosting (LinuxPro Supreme Plan)','Disk Space 100 GB Monthly Bandwidth 200 GB Multiple Domain Hosting Unlimited Domain Money Back Guarantee 30 Days Domain Name Free Sitebuilder Pro V3 Free',300.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.049840','2025-08-21 17:48:47.049840',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(14,1,1,NULL,NULL,NULL,'','','','','Hosting (Linux Advance Plan)','Disk Space 40 GB Monthly Bandwidth 120 GB Multiple Domain Hosting 15 Domain Money Back Guarantee 30 Days Domain Name None Sitebuilder V1 Free',150.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.106497','2025-08-21 17:48:47.106497',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(15,1,1,NULL,NULL,NULL,'','','','','Hosting (Linux Surfers Extra Plan)','30 GB of webspace 100 GB of monthly bandwidth Cpanel Hosting Control Panel Support Up to 15 add-On Domain Compatible with Wordpress & other CMS Unlimited Email Aliases Unlimited MYSQL Databases',120.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.148417','2025-08-21 17:48:47.148417',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(16,1,1,NULL,NULL,NULL,'','','','','Hosting (Linux Surfers Unlimited Plan)','Unlimited of webspace Unlimited of monthly bandwidth Cpanel Hosting Control Panel Support Up to 15 add-On Domain Compatible with Wordpress & other CMS Unlimited Email Aliases Unlimited MYSQL Databases',350.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.234241','2025-08-21 17:48:47.234241',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(17,1,1,NULL,NULL,NULL,'','','','','Positive SSL Certificates','Positive SSL Certificates Green Adress Bar - No Technical Support for - Email, Web Standard Support for - Email, Web Warranty By Comodo for - Not Available Standard Support for - Email, Web SSL Encryption - 128/256 bit* Secures - Single Domain Name (FQDN) 30 day money back guarantee - Yes Reissuance Timeframe - Unlimited Full validation / authentication - Domain Only',180.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.334465','2025-08-21 17:48:47.334465',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(18,1,1,NULL,NULL,NULL,'','','','','Positive SSL Wildcard Certificates','Positive SSL Wildcard Certificates Green Adress Bar - No Technical Support for - Email, Web Standard Support for - Email, Web Warranty By Comodo for - Not Available Standard Support for - Email, Web SSL Encryption - 128/256 bit* Secures - Multiple subdomains on a Single Domain Name 30 day money back guarantee - Yes Reissuance Timeframe - Unlimited Full validation / authentication - Domain Only',850.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.397124','2025-08-21 17:48:47.397124',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(19,1,1,NULL,NULL,NULL,'','','','','Comodo EV SSL Certificates','Comodo EV SSL Certificates TrustLogo worth P.O.A. included - Yes Green Adress Bar - Yes Free TrustFax - Yes Fast Track Support P.O.A. - Yes Technical Support - Tel, Email, Web Standard Support - Tel, Email, Web Warranty By Comodo - $1,750,000 SSL Encryption - 128/256 bit* Secures - Single Domain Name Network Security Audit - Yes 30 day money back guarantee - Yes Reissuance Timeframe - Unlimited Full Business validation - Yes',1350.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.459742','2025-08-21 17:48:47.459742',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(20,1,1,NULL,NULL,NULL,'','','','','Mobile Application Development (Silver Apps)','3-4 Ready Features Professional Layout Ability to push message Ability to push with URL Ability to push with cover image Ability to push message to only specific location (GEOFENCE) Ability to push message to specific user Ability to message in schedule / create schedule Apps UI Design Service Image & Database Hosting Service Android Platform',3360.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.560084','2025-08-21 17:48:47.560084',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(21,1,1,NULL,NULL,NULL,'','','','','Mobile Application Development (Gold Apps)','5-15 Ready Features E-commerce Ready Malaysia Online Internet Banking BillPlz & PayPal Professional Layout Ability to push message Ability to push with URL Ability to push with cover image Ability to push message to only specific location (GEOFENCE) Ability to push message to specific user Ability to message in schedule / create schedule Apps UI Design Service Image & Database Hosting Service Android Platform',4560.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.609824','2025-08-21 17:48:47.609824',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(22,1,1,NULL,NULL,NULL,'','','','','Domain Name (.com)','Yearly',50.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.643566','2025-08-21 17:48:47.643566',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(23,1,1,NULL,NULL,NULL,'','','','','Domain Name (.net)','Yearly',60.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.677017','2025-08-21 17:48:47.677017',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(24,1,1,NULL,NULL,NULL,'','','','','Domain Name (.org)','Yearly',55.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.710931','2025-08-21 17:48:47.710931',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(25,1,1,NULL,NULL,NULL,'','','','','Domain Name (.biz)','Yearly',60.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.752319','2025-08-21 17:48:47.752319',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(26,1,1,NULL,NULL,NULL,'','','','','Domain Name (.info)','Yearly',55.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.794384','2025-08-21 17:48:47.794384',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(27,1,1,NULL,NULL,NULL,'','','','','Domain Name (.asia)','Yearly',70.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.835994','2025-08-21 17:48:47.835994',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(28,1,1,NULL,NULL,NULL,'','','','','Domain Name (.name)','Yearly',50.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.877614','2025-08-21 17:48:47.877614',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(29,1,1,NULL,NULL,NULL,'','','','','Domain Name (.tv)','Yearly',240.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.919551','2025-08-21 17:48:47.919551',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(30,1,1,NULL,NULL,NULL,'','','','','Domain Name (.us)','Yearly',50.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:47.961138','2025-08-21 17:48:47.961138',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(31,1,1,NULL,NULL,NULL,'','','','','Domain Name (.co.uk)','Yearly',50.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.003660','2025-08-21 17:48:48.003660',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(32,1,1,NULL,NULL,NULL,'','','','','Domain Name (.co)','Yearly',140.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.045459','2025-08-21 17:48:48.045459',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(33,1,1,NULL,NULL,NULL,'','','','','Domain Name (.cn)','Yearly',100.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.087294','2025-08-21 17:48:48.087294',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(34,1,1,NULL,NULL,NULL,'','','','','Domain Name (.my)','Yearly',59.900000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.128665','2025-08-21 17:48:48.128665',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(35,1,1,NULL,NULL,NULL,'','','','','Domain Name (.com.my)','Yearly',59.900000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.170718','2025-08-21 17:48:48.170718',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(36,1,1,NULL,NULL,NULL,'','','','','Domain Name (.net.my)','Yearly',59.900000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.212333','2025-08-21 17:48:48.212333',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(37,1,1,NULL,NULL,NULL,'','','','','Domain Name (.org.my)','Yearly',59.900000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.269219','2025-08-21 17:48:48.269219',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(38,1,1,NULL,NULL,NULL,'','','','','Domain Name (.edu.my)','Yearly',80.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.330816','2025-08-21 17:48:48.330816',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(39,1,1,NULL,NULL,NULL,'','','','','Domain Name (.gov.my)','Yearly',80.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.439108','2025-08-21 17:48:48.439108',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(40,1,1,NULL,NULL,NULL,'','','','','Domain Name (.mil.my)','Yearly',80.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.506315','2025-08-21 17:48:48.506315',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(41,1,1,NULL,NULL,NULL,'','','','','Domain Name (.name.my)','Yearly',30.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.573097','2025-08-21 17:48:48.573097',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(42,1,1,NULL,NULL,NULL,'','','','','Domain Name (.online)','Yearly',160.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.690242','2025-08-21 17:48:48.690242',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(43,1,1,NULL,NULL,NULL,'','','','','Domain Name (.work)','Yearly',50.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.760329','2025-08-21 17:48:48.760329',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(44,1,1,NULL,NULL,NULL,'','','','','Domain Name (.media)','Yearly',150.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.806529','2025-08-21 17:48:48.806529',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(45,1,1,NULL,NULL,NULL,'','','','','Domain Name (.agency)','Yearly',120.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.848432','2025-08-21 17:48:48.848432',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(46,1,1,NULL,NULL,NULL,'','','','','Domain Name (.club)','Yearly',60.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:48.889761','2025-08-21 17:48:48.889761',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(47,1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Testing','Testing',1.000000,1.000000,0.000000,NULL,0.000000,NULL,0.000000,NULL,0.000000,NULL,'2025-08-21 17:48:48.973044','2025-08-22 06:04:42.509342',0,9999979,1,0,0,NULL,1,NULL,NULL,NULL),(48,1,1,NULL,NULL,NULL,'','','','','MAN101','BASIC MANDARIN FOR KIDS 1 (3 Copies Manual + Courier)',100.000000,290.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:49.014173','2025-08-21 18:25:26.751370',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(49,1,1,NULL,NULL,NULL,'','','','','HP Laptop Notebook 15s-fq2513TU Gold (15.6\"/1366x768/Intel Core i3-1115G4/512 GB PCIe NVMe M.2 SSD/Intel UHD Graphics)','Operating system Windows 10 Home Single Language 64 Processor Intel® Core™ i3-1115G4 (up to 4.1 GHz with Intel® Turbo Boost Technology, 6 MB L3 cache, 2 cores) Chipset Intel® Integrated SoC Form factor Standard laptop MEMORY Memory 8 GB DDR4-2666 MHz RAM (1 x 8 GB) STORAGE Hard drive description 512 GB PCIe® NVMe™ M.2 SSD Storage type SSD Optical drive Optical drive not included DISPLAY AND GRAPHICS Display 15.6\" diagonal, HD (1366 x 768), micro-edge, BrightView, 250 nits, 45% NTSC Graphics Intel® UHD Graphics',2619.000000,2619.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:49.058169','2025-08-21 18:25:28.778168',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(50,1,1,NULL,NULL,NULL,'','','','','Basic Mandarin for kids: Beginners Module 1','- Age 7-9 years old - Duration: 5 Months (1 hour per week) - Medium: Google Meet, Cisco Webex - Payment For Month: October 2021 - Student\'s Name: Nur Maisarah bte Asri Session :- Saturday 11:30am- 12:30pm (MAN0101)',0.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:49.125714','2025-08-21 17:48:49.125714',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(51,1,1,NULL,NULL,NULL,'','','','','MAN102','BASIC MANDARIN FOR BEGINNERS LEVEL 2',100.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:49.191410','2025-08-21 17:48:49.191410',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(52,1,1,NULL,NULL,NULL,'','','','','Computer','HONOR MagicBook X15 2022',0.000000,2410.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:49.377074','2025-08-21 18:25:30.032645',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(53,1,1,NULL,NULL,NULL,'','','','','Latitude 3440 Laptop','12th Gen Intel® Core™ i5-1235U (12 MB cache, 10 cores, 12 threads, up to 4.4 GHz Turbo) Windows 11 Pro, English Integrated Intel® Iris® Xe or UHD Graphics for i5-1235U Processor 14\", FHD 1920x1080, 60Hz, WVA/IPS, Non-Touch, Anti-Glare, 250 nit, NTSC 45%, FHD Camera, WLAN 8 GB: 1 x 8 GB, DDR4, 3200 MT/s 512GB, M.2 2230, QLC PCIe Gen 4 NVMe Intel® Wi-Fi 6E AX211, 2x2, 802.11ax, Bluetooth® wireless card Stereo speakers with Waves MaxxAudio® Pro, Realtek ALC3204 Audio Controller, 2 W x 2 = 4 W total 1 USB 3.2 Gen 2 Type-C® port with DisplayPort Alt mode/Power Delivery 2 USB 3.2 Gen 1 port 1 USB 3.2 Gen 1 port with PowerShare 1 HDMI 1.4 port 1 universal audio port 1 power-adapter port 1 RJ-45 Ethernet port',4000.000000,4000.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:49.817255','2025-08-21 18:25:36.090051',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(54,1,1,NULL,NULL,NULL,'','','','','Warranty','Manufacturer Warranty',0.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:49.978831','2025-08-21 18:25:36.358312',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(55,1,1,NULL,NULL,NULL,'','','','','CPA','Wheel of Fortune MTN#1000',0.000000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:50.079345','2025-08-21 17:48:50.079345',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(56,1,1,NULL,NULL,NULL,'','','','','9jakids trivia NG MTN#1047','',0.350000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:50.179216','2025-08-21 17:48:50.179216',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(57,1,1,NULL,NULL,NULL,'','','','','E-Limu NG MTN#1046','',0.350000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:50.279919','2025-08-21 17:48:50.279919',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(58,1,1,NULL,NULL,NULL,'','','','','Wheel of Fortune MTN#1000','',0.350000,0.000000,0.000000,'',0.000000,'',0.000000,'',0.000000,NULL,'2025-08-21 17:48:50.380285','2025-08-21 17:48:50.380285',0,0,1,0,NULL,'',1,NULL,NULL,NULL),(59,1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Domain & Hosting Renewal TepatConsult.com','Renewal For 1 Year - tepatconsult.com Web-Base File Sharing Unlimited Email Web-Base Email Access SPAM Assassin Virus Protection Monthly Bandwidth 50 GB Multiple Domain Hosting Up To 5 Domain Disk Space 10 GB Server Hosting Location : Malaysia',0.000000,350.000000,1.000000,NULL,0.000000,NULL,0.000000,NULL,0.000000,NULL,'2025-08-21 18:24:49.099006','2025-08-21 18:24:49.099006',0,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL),(60,1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Basic Mandarin for kids: Beginners Module 1 (MAN0201)','- Age 10-12 years old - Duration: 5 Months (1 hour per week) - Medium: Google Meet, Cisco Webex - Payment For Month:- September 2021-January 2022 - Student\'s Name: Ahmad Syafiq bin Ahmad Sallehuddin Session :- Saturday 9:30am- 10:30am (MAN0201)',0.000000,350.000000,1.000000,NULL,0.000000,NULL,0.000000,NULL,0.000000,NULL,'2025-08-21 18:25:04.341320','2025-08-21 18:25:05.377407',0,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL),(61,1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Basic Mandarin for kids: Beginners Module 1 (MAN0101)','- Age 7-9 years old - Duration: 5 Months (1 hour per week) - Medium: Google Meet, Cisco Webex - Payment For Month: September 2021 - Student\'s Name: Iris Sophia Session :- Saturday 11:30am- 12:30pm (MAN0101)',0.000000,70.000000,1.000000,NULL,0.000000,NULL,0.000000,NULL,0.000000,NULL,'2025-08-21 18:25:06.448810','2025-08-21 18:25:08.187751',0,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL),(62,1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Basic Mandarin for kids: Beginners Module 1 (MAN0102)','- Age 7-9 years old - Duration: 5 Months (1 hour per week) - Medium: Google Meet, Cisco Webex - Payment For Month: September 2021 - Student\'s Name: Ainul Aisyah Session :- Sunday 11:30am- 12:30pm (MAN0102)',0.000000,70.000000,1.000000,NULL,0.000000,NULL,0.000000,NULL,0.000000,NULL,'2025-08-21 18:25:09.633566','2025-08-21 18:25:09.633566',0,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL),(63,1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'MAN301','ELEMENTARY MANDARIN',0.000000,70.000000,1.000000,NULL,0.000000,NULL,0.000000,NULL,0.000000,NULL,'2025-08-21 18:25:10.988700','2025-08-21 18:25:10.988700',0,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL),(64,1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'MAN402','SRJKC YEAR 2',0.000000,100.000000,1.000000,NULL,0.000000,NULL,0.000000,NULL,0.000000,NULL,'2025-08-21 18:25:12.083632','2025-08-21 18:25:12.083632',0,0,1,0,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `projects`
--

CREATE TABLE `projects` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `client_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `task_rate` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `due_date` date DEFAULT NULL,
  `private_notes` text COLLATE utf8mb4_unicode_ci,
  `budgeted_hours` decimal(20,6) NOT NULL,
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `public_notes` text COLLATE utf8mb4_unicode_ci,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `color` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#fff',
  `current_hours` int(10) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `projects_company_id_number_unique` (`company_id`,`number`),
  KEY `projects_user_id_foreign` (`user_id`),
  KEY `projects_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `projects_company_id_index` (`company_id`),
  CONSTRAINT `projects_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `projects_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `projects`
--


--
-- Table structure for table `purchase_order_invitations`
--

CREATE TABLE `purchase_order_invitations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `vendor_contact_id` int(10) unsigned NOT NULL,
  `purchase_order_id` bigint(20) unsigned NOT NULL,
  `key` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transaction_reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email_error` mediumtext COLLATE utf8mb4_unicode_ci,
  `signature_base64` text COLLATE utf8mb4_unicode_ci,
  `signature_date` datetime DEFAULT NULL,
  `sent_date` datetime DEFAULT NULL,
  `viewed_date` datetime DEFAULT NULL,
  `opened_date` datetime DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `email_status` enum('delivered','bounced','spam') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `signature_ip` text COLLATE utf8mb4_unicode_ci,
  `can_sign` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `vendor_purchase_unique` (`vendor_contact_id`,`purchase_order_id`),
  KEY `purchase_order_invitations_user_id_foreign` (`user_id`),
  KEY `purchase_order_invitations_company_id_foreign` (`company_id`),
  KEY `vendor_purchase_company_index` (`deleted_at`,`purchase_order_id`,`company_id`),
  KEY `purchase_order_invitations_purchase_order_id_index` (`purchase_order_id`),
  KEY `purchase_order_invitations_key_index` (`key`),
  KEY `purchase_order_invitations_message_id_index` (`message_id`),
  CONSTRAINT `purchase_order_invitations_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `purchase_order_invitations_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `purchase_order_invitations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `purchase_order_invitations_vendor_contact_id_foreign` FOREIGN KEY (`vendor_contact_id`) REFERENCES `vendor_contacts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_order_invitations`
--


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

CREATE TABLE `purchase_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `client_id` int(10) unsigned DEFAULT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `status_id` int(10) unsigned NOT NULL,
  `project_id` int(10) unsigned DEFAULT NULL,
  `vendor_id` int(10) unsigned DEFAULT NULL,
  `recurring_id` int(10) unsigned DEFAULT NULL,
  `design_id` int(10) unsigned DEFAULT NULL,
  `invoice_id` int(10) unsigned DEFAULT NULL,
  `number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `discount` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `is_amount_discount` tinyint(1) NOT NULL DEFAULT '0',
  `po_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `last_sent_date` datetime DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `line_items` mediumtext COLLATE utf8mb4_unicode_ci,
  `backup` mediumtext COLLATE utf8mb4_unicode_ci,
  `footer` text COLLATE utf8mb4_unicode_ci,
  `public_notes` text COLLATE utf8mb4_unicode_ci,
  `private_notes` text COLLATE utf8mb4_unicode_ci,
  `terms` text COLLATE utf8mb4_unicode_ci,
  `tax_name1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate1` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate2` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name3` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate3` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `total_taxes` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `uses_inclusive_taxes` tinyint(1) NOT NULL DEFAULT '0',
  `reminder1_sent` date DEFAULT NULL,
  `reminder2_sent` date DEFAULT NULL,
  `reminder3_sent` date DEFAULT NULL,
  `reminder_last_sent` date DEFAULT NULL,
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `next_send_date` datetime DEFAULT NULL,
  `custom_surcharge1` decimal(20,6) DEFAULT NULL,
  `custom_surcharge2` decimal(20,6) DEFAULT NULL,
  `custom_surcharge3` decimal(20,6) DEFAULT NULL,
  `custom_surcharge4` decimal(20,6) DEFAULT NULL,
  `custom_surcharge_tax1` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax2` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax3` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax4` tinyint(1) NOT NULL DEFAULT '0',
  `exchange_rate` decimal(20,6) NOT NULL DEFAULT '1.000000',
  `balance` decimal(20,6) NOT NULL,
  `partial` decimal(20,6) DEFAULT NULL,
  `amount` decimal(20,6) NOT NULL,
  `paid_to_date` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `partial_due_date` datetime DEFAULT NULL,
  `last_viewed` datetime DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `expense_id` int(10) unsigned DEFAULT NULL,
  `currency_id` int(10) unsigned DEFAULT NULL,
  `tax_data` mediumtext COLLATE utf8mb4_unicode_ci,
  `e_invoice` mediumtext COLLATE utf8mb4_unicode_ci,
  `location_id` bigint(20) unsigned DEFAULT NULL,
  `sync` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `purchase_orders_user_id_foreign` (`user_id`),
  KEY `purchase_orders_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `purchase_orders_client_id_index` (`client_id`),
  KEY `purchase_orders_company_id_index` (`company_id`),
  KEY `purchase_orders_expense_id_index` (`expense_id`),
  KEY `purchase_orders_location_id_foreign` (`location_id`),
  CONSTRAINT `purchase_orders_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `purchase_orders_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `purchase_orders_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `locations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- Table structure for table `quote_invitations`
--

CREATE TABLE `quote_invitations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `client_contact_id` int(10) unsigned NOT NULL,
  `quote_id` int(10) unsigned NOT NULL,
  `key` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transaction_reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email_error` mediumtext COLLATE utf8mb4_unicode_ci,
  `signature_base64` text COLLATE utf8mb4_unicode_ci,
  `signature_date` datetime DEFAULT NULL,
  `sent_date` datetime DEFAULT NULL,
  `viewed_date` datetime DEFAULT NULL,
  `opened_date` datetime DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `signature_ip` text COLLATE utf8mb4_unicode_ci,
  `email_status` enum('delivered','bounced','spam') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `can_sign` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `quote_invitations_client_contact_id_quote_id_unique` (`client_contact_id`,`quote_id`),
  KEY `quote_invitations_user_id_foreign` (`user_id`),
  KEY `quote_invitations_company_id_foreign` (`company_id`),
  KEY `quote_invitations_deleted_at_quote_id_company_id_index` (`deleted_at`,`quote_id`,`company_id`),
  KEY `quote_invitations_quote_id_index` (`quote_id`),
  KEY `quote_invitations_key_index` (`key`),
  KEY `quote_invitations_message_id_index` (`message_id`),
  CONSTRAINT `quote_invitations_client_contact_id_foreign` FOREIGN KEY (`client_contact_id`) REFERENCES `client_contacts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `quote_invitations_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `quote_invitations_quote_id_foreign` FOREIGN KEY (`quote_id`) REFERENCES `quotes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `quote_invitations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `quote_invitations`
--


--
-- Table structure for table `quotes`
--

CREATE TABLE `quotes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `client_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `status_id` int(10) unsigned NOT NULL,
  `project_id` int(10) unsigned DEFAULT NULL,
  `vendor_id` int(10) unsigned DEFAULT NULL,
  `recurring_id` int(10) unsigned DEFAULT NULL,
  `design_id` int(10) unsigned DEFAULT NULL,
  `invoice_id` int(10) unsigned DEFAULT NULL,
  `number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `discount` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `is_amount_discount` tinyint(1) NOT NULL DEFAULT '0',
  `po_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `last_sent_date` date DEFAULT NULL,
  `due_date` datetime DEFAULT NULL,
  `next_send_date` datetime DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `line_items` mediumtext COLLATE utf8mb4_unicode_ci,
  `backup` mediumtext COLLATE utf8mb4_unicode_ci,
  `footer` text COLLATE utf8mb4_unicode_ci,
  `public_notes` text COLLATE utf8mb4_unicode_ci,
  `private_notes` text COLLATE utf8mb4_unicode_ci,
  `terms` text COLLATE utf8mb4_unicode_ci,
  `tax_name1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate1` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate2` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name3` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate3` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `total_taxes` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `uses_inclusive_taxes` tinyint(1) NOT NULL DEFAULT '0',
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `custom_surcharge1` decimal(20,6) DEFAULT NULL,
  `custom_surcharge2` decimal(20,6) DEFAULT NULL,
  `custom_surcharge3` decimal(20,6) DEFAULT NULL,
  `custom_surcharge4` decimal(20,6) DEFAULT NULL,
  `custom_surcharge_tax1` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax2` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax3` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax4` tinyint(1) NOT NULL DEFAULT '0',
  `exchange_rate` decimal(20,6) NOT NULL DEFAULT '1.000000',
  `amount` decimal(20,6) NOT NULL,
  `balance` decimal(20,6) NOT NULL,
  `partial` decimal(20,6) DEFAULT NULL,
  `partial_due_date` datetime DEFAULT NULL,
  `last_viewed` datetime DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `reminder1_sent` date DEFAULT NULL,
  `reminder2_sent` date DEFAULT NULL,
  `reminder3_sent` date DEFAULT NULL,
  `reminder_last_sent` date DEFAULT NULL,
  `paid_to_date` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `subscription_id` int(10) unsigned DEFAULT NULL,
  `tax_data` mediumtext COLLATE utf8mb4_unicode_ci,
  `e_invoice` mediumtext COLLATE utf8mb4_unicode_ci,
  `location_id` bigint(20) unsigned DEFAULT NULL,
  `sync` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `quotes_company_id_number_unique` (`company_id`,`number`),
  KEY `quotes_user_id_foreign` (`user_id`),
  KEY `quotes_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `quotes_client_id_index` (`client_id`),
  KEY `quotes_company_id_index` (`company_id`),
  KEY `quotes_company_id_updated_at_index` (`company_id`,`updated_at`),
  KEY `quotes_project_id_deleted_at_index` (`project_id`,`deleted_at`),
  KEY `quotes_location_id_foreign` (`location_id`),
  CONSTRAINT `quotes_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `quotes_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `quotes_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `locations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `quotes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `quotes`
--


--
-- Table structure for table `recurring_expenses`
--

CREATE TABLE `recurring_expenses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `vendor_id` int(10) unsigned DEFAULT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `status_id` int(10) unsigned NOT NULL,
  `invoice_id` int(10) unsigned DEFAULT NULL,
  `client_id` int(10) unsigned DEFAULT NULL,
  `bank_id` int(10) unsigned DEFAULT NULL,
  `project_id` int(10) unsigned DEFAULT NULL,
  `payment_type_id` int(10) unsigned DEFAULT NULL,
  `recurring_expense_id` int(10) unsigned DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `uses_inclusive_taxes` tinyint(1) NOT NULL DEFAULT '1',
  `tax_name1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_name2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_name3` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `payment_date` date DEFAULT NULL,
  `should_be_invoiced` tinyint(1) NOT NULL DEFAULT '0',
  `invoice_documents` tinyint(1) NOT NULL DEFAULT '0',
  `transaction_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `category_id` int(10) unsigned DEFAULT NULL,
  `calculate_tax_by_amount` tinyint(1) NOT NULL DEFAULT '0',
  `tax_amount1` decimal(20,6) DEFAULT NULL,
  `tax_amount2` decimal(20,6) DEFAULT NULL,
  `tax_amount3` decimal(20,6) DEFAULT NULL,
  `tax_rate1` decimal(20,6) DEFAULT NULL,
  `tax_rate2` decimal(20,6) DEFAULT NULL,
  `tax_rate3` decimal(20,6) DEFAULT NULL,
  `amount` decimal(20,6) DEFAULT NULL,
  `foreign_amount` decimal(20,6) DEFAULT NULL,
  `exchange_rate` decimal(20,6) NOT NULL DEFAULT '1.000000',
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `invoice_currency_id` int(10) unsigned DEFAULT NULL,
  `currency_id` int(10) unsigned DEFAULT NULL,
  `private_notes` text COLLATE utf8mb4_unicode_ci,
  `public_notes` text COLLATE utf8mb4_unicode_ci,
  `transaction_reference` text COLLATE utf8mb4_unicode_ci,
  `frequency_id` int(10) unsigned NOT NULL,
  `last_sent_date` datetime DEFAULT NULL,
  `next_send_date` datetime DEFAULT NULL,
  `remaining_cycles` int(11) DEFAULT NULL,
  `next_send_date_client` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `recurring_expenses_company_id_number_unique` (`company_id`,`number`),
  KEY `recurring_expenses_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `recurring_expenses_user_id_foreign` (`user_id`),
  KEY `recurring_expenses_company_id_index` (`company_id`),
  CONSTRAINT `recurring_expenses_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recurring_expenses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recurring_expenses`
--


--
-- Table structure for table `recurring_invoice_invitations`
--

CREATE TABLE `recurring_invoice_invitations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `client_contact_id` int(10) unsigned NOT NULL,
  `recurring_invoice_id` int(10) unsigned NOT NULL,
  `key` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `transaction_reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email_error` mediumtext COLLATE utf8mb4_unicode_ci,
  `signature_base64` text COLLATE utf8mb4_unicode_ci,
  `signature_date` datetime DEFAULT NULL,
  `sent_date` datetime DEFAULT NULL,
  `viewed_date` datetime DEFAULT NULL,
  `opened_date` datetime DEFAULT NULL,
  `email_status` enum('delivered','bounced','spam') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `can_sign` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `cli_rec` (`client_contact_id`,`recurring_invoice_id`),
  KEY `recurring_invoice_invitations_user_id_foreign` (`user_id`),
  KEY `recurring_invoice_invitations_company_id_foreign` (`company_id`),
  KEY `rec_co_del` (`deleted_at`,`recurring_invoice_id`,`company_id`),
  KEY `recurring_invoice_invitations_recurring_invoice_id_index` (`recurring_invoice_id`),
  KEY `recurring_invoice_invitations_key_index` (`key`),
  CONSTRAINT `recurring_invoice_invitations_client_contact_id_foreign` FOREIGN KEY (`client_contact_id`) REFERENCES `client_contacts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recurring_invoice_invitations_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recurring_invoice_invitations_recurring_invoice_id_foreign` FOREIGN KEY (`recurring_invoice_id`) REFERENCES `recurring_invoices` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recurring_invoice_invitations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recurring_invoice_invitations`
--


--
-- Table structure for table `recurring_invoices`
--

CREATE TABLE `recurring_invoices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `client_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `project_id` int(10) unsigned DEFAULT NULL,
  `vendor_id` int(10) unsigned DEFAULT NULL,
  `status_id` int(10) unsigned NOT NULL,
  `number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `discount` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `is_amount_discount` tinyint(1) NOT NULL DEFAULT '0',
  `po_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `due_date` datetime DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `line_items` mediumtext COLLATE utf8mb4_unicode_ci,
  `backup` mediumtext COLLATE utf8mb4_unicode_ci,
  `footer` text COLLATE utf8mb4_unicode_ci,
  `public_notes` text COLLATE utf8mb4_unicode_ci,
  `private_notes` text COLLATE utf8mb4_unicode_ci,
  `terms` text COLLATE utf8mb4_unicode_ci,
  `tax_name1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate1` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate2` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name3` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate3` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `total_taxes` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `amount` decimal(20,6) NOT NULL,
  `balance` decimal(20,6) NOT NULL,
  `partial` decimal(16,4) DEFAULT NULL,
  `last_viewed` datetime DEFAULT NULL,
  `frequency_id` int(10) unsigned NOT NULL,
  `last_sent_date` datetime DEFAULT NULL,
  `next_send_date` datetime DEFAULT NULL,
  `remaining_cycles` int(11) DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `auto_bill` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'off',
  `auto_bill_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `design_id` int(10) unsigned DEFAULT NULL,
  `uses_inclusive_taxes` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge1` decimal(20,6) DEFAULT NULL,
  `custom_surcharge2` decimal(20,6) DEFAULT NULL,
  `custom_surcharge3` decimal(20,6) DEFAULT NULL,
  `custom_surcharge4` decimal(20,6) DEFAULT NULL,
  `custom_surcharge_tax1` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax2` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax3` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax4` tinyint(1) NOT NULL DEFAULT '0',
  `due_date_days` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `partial_due_date` date DEFAULT NULL,
  `exchange_rate` decimal(13,6) NOT NULL DEFAULT '1.000000',
  `paid_to_date` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `subscription_id` int(10) unsigned DEFAULT NULL,
  `next_send_date_client` datetime DEFAULT NULL,
  `is_proforma` tinyint(1) NOT NULL DEFAULT '0',
  `e_invoice` mediumtext COLLATE utf8mb4_unicode_ci,
  `location_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `recurring_invoices_company_id_number_unique` (`company_id`,`number`),
  KEY `recurring_invoices_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `recurring_invoices_user_id_foreign` (`user_id`),
  KEY `recurring_invoices_client_id_index` (`client_id`),
  KEY `recurring_invoices_company_id_index` (`company_id`),
  KEY `recurring_invoices_status_id_index` (`status_id`),
  KEY `recurring_invoices_location_id_foreign` (`location_id`),
  CONSTRAINT `recurring_invoices_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recurring_invoices_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recurring_invoices_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `locations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `recurring_invoices_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recurring_invoices`
--


--
-- Table structure for table `recurring_quote_invitations`
--

CREATE TABLE `recurring_quote_invitations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `client_contact_id` int(10) unsigned NOT NULL,
  `recurring_quote_id` int(10) unsigned NOT NULL,
  `key` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transaction_reference` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email_error` mediumtext COLLATE utf8mb4_unicode_ci,
  `signature_base64` text COLLATE utf8mb4_unicode_ci,
  `signature_date` datetime DEFAULT NULL,
  `sent_date` datetime DEFAULT NULL,
  `viewed_date` datetime DEFAULT NULL,
  `opened_date` datetime DEFAULT NULL,
  `email_status` enum('delivered','bounced','spam') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `cli_rec_q` (`client_contact_id`,`recurring_quote_id`),
  KEY `recurring_quote_invitations_user_id_foreign` (`user_id`),
  KEY `recurring_quote_invitations_company_id_foreign` (`company_id`),
  KEY `rec_co_del_q` (`deleted_at`,`recurring_quote_id`,`company_id`),
  KEY `recurring_quote_invitations_recurring_quote_id_index` (`recurring_quote_id`),
  KEY `recurring_quote_invitations_key_index` (`key`),
  CONSTRAINT `recurring_quote_invitations_client_contact_id_foreign` FOREIGN KEY (`client_contact_id`) REFERENCES `client_contacts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recurring_quote_invitations_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recurring_quote_invitations_recurring_quote_id_foreign` FOREIGN KEY (`recurring_quote_id`) REFERENCES `recurring_invoices` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recurring_quote_invitations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recurring_quote_invitations`
--


--
-- Table structure for table `recurring_quotes`
--

CREATE TABLE `recurring_quotes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `client_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `project_id` int(10) unsigned DEFAULT NULL,
  `vendor_id` int(10) unsigned DEFAULT NULL,
  `status_id` int(10) unsigned NOT NULL,
  `discount` double(8,2) NOT NULL DEFAULT '0.00',
  `is_amount_discount` tinyint(1) NOT NULL DEFAULT '0',
  `number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `po_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `due_date` datetime DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `line_items` mediumtext COLLATE utf8mb4_unicode_ci,
  `backup` mediumtext COLLATE utf8mb4_unicode_ci,
  `footer` text COLLATE utf8mb4_unicode_ci,
  `public_notes` text COLLATE utf8mb4_unicode_ci,
  `private_notes` text COLLATE utf8mb4_unicode_ci,
  `terms` text COLLATE utf8mb4_unicode_ci,
  `tax_name1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate1` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate2` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `tax_name3` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_rate3` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `total_taxes` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `amount` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `balance` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `last_viewed` datetime DEFAULT NULL,
  `frequency_id` int(10) unsigned NOT NULL,
  `last_sent_date` datetime DEFAULT NULL,
  `next_send_date` datetime DEFAULT NULL,
  `remaining_cycles` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `auto_bill` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'off',
  `auto_bill_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `paid_to_date` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `custom_surcharge1` decimal(20,6) DEFAULT NULL,
  `custom_surcharge2` decimal(20,6) DEFAULT NULL,
  `custom_surcharge3` decimal(20,6) DEFAULT NULL,
  `custom_surcharge4` decimal(20,6) DEFAULT NULL,
  `custom_surcharge_tax1` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax2` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax3` tinyint(1) NOT NULL DEFAULT '0',
  `custom_surcharge_tax4` tinyint(1) NOT NULL DEFAULT '0',
  `due_date_days` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `exchange_rate` decimal(13,6) NOT NULL DEFAULT '1.000000',
  `partial` decimal(16,4) DEFAULT NULL,
  `partial_due_date` date DEFAULT NULL,
  `subscription_id` int(10) unsigned DEFAULT NULL,
  `uses_inclusive_taxes` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `recurring_quotes_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `recurring_quotes_user_id_foreign` (`user_id`),
  KEY `recurring_quotes_client_id_index` (`client_id`),
  KEY `recurring_quotes_company_id_index` (`company_id`),
  KEY `recurring_quotes_status_id_index` (`status_id`),
  CONSTRAINT `recurring_quotes_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recurring_quotes_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recurring_quotes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recurring_quotes`
--


--
-- Table structure for table `schedulers`
--

CREATE TABLE `schedulers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `parameters` mediumtext COLLATE utf8mb4_unicode_ci,
  `company_id` int(10) unsigned NOT NULL,
  `is_paused` tinyint(1) NOT NULL DEFAULT '0',
  `frequency_id` int(10) unsigned DEFAULT NULL,
  `next_run` datetime DEFAULT NULL,
  `next_run_client` datetime DEFAULT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `template` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `remaining_cycles` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `schedulers_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  CONSTRAINT `schedulers_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `schedulers`
--

INSERT INTO `schedulers` (`id`, `is_deleted`, `created_at`, `updated_at`, `deleted_at`, `parameters`, `company_id`, `is_paused`, `frequency_id`, `next_run`, `next_run_client`, `user_id`, `name`, `template`, `remaining_cycles`) VALUES (1,1,'2025-08-22 05:06:11','2025-08-22 05:51:34','2025-08-22 05:51:34','{\"clients\":[],\"date_range\":\"this_month\",\"show_aging_table\":true,\"show_credits_table\":true,\"show_payments_table\":true,\"only_clients_with_invoices\":true,\"status\":\"all\"}',1,0,5,'2025-08-30 22:00:00','2025-08-31 00:00:00',1,'','email_statement',-1);

--
-- Table structure for table `sizes`
--

CREATE TABLE `sizes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sizes`
--

INSERT INTO `sizes` (`id`, `name`) VALUES (1,'1 - 3'),(2,'4 - 10'),(3,'11 - 50'),(4,'51 - 100'),(5,'101 - 500'),(6,'500+');

--
-- Table structure for table `subscriptions`
--

CREATE TABLE `subscriptions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `product_ids` text COLLATE utf8mb4_unicode_ci,
  `frequency_id` int(10) unsigned DEFAULT NULL,
  `auto_bill` text COLLATE utf8mb4_unicode_ci,
  `promo_code` text COLLATE utf8mb4_unicode_ci,
  `promo_discount` double(8,2) NOT NULL DEFAULT '0.00',
  `is_amount_discount` tinyint(1) NOT NULL DEFAULT '0',
  `allow_cancellation` tinyint(1) NOT NULL DEFAULT '1',
  `per_seat_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `min_seats_limit` int(10) unsigned NOT NULL,
  `max_seats_limit` int(10) unsigned NOT NULL,
  `trial_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `trial_duration` int(10) unsigned NOT NULL,
  `allow_query_overrides` tinyint(1) NOT NULL DEFAULT '0',
  `allow_plan_changes` tinyint(1) NOT NULL DEFAULT '0',
  `plan_map` text COLLATE utf8mb4_unicode_ci,
  `refund_period` int(10) unsigned DEFAULT NULL,
  `webhook_configuration` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `currency_id` int(10) unsigned DEFAULT NULL,
  `recurring_product_ids` text COLLATE utf8mb4_unicode_ci,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `group_id` int(10) unsigned DEFAULT NULL,
  `price` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `promo_price` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `registration_required` tinyint(1) NOT NULL DEFAULT '0',
  `use_inventory_management` tinyint(1) NOT NULL DEFAULT '0',
  `optional_product_ids` text COLLATE utf8mb4_unicode_ci,
  `optional_recurring_product_ids` text COLLATE utf8mb4_unicode_ci,
  `steps` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `remaining_cycles` int(11) DEFAULT '-1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `subscriptions_company_id_name_unique` (`company_id`,`name`),
  KEY `billing_subscriptions_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  CONSTRAINT `billing_subscriptions_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `subscriptions`
--


--
-- Table structure for table `system_logs`
--

CREATE TABLE `system_logs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `client_id` int(10) unsigned DEFAULT NULL,
  `category_id` int(10) unsigned DEFAULT NULL,
  `event_id` int(10) unsigned DEFAULT NULL,
  `type_id` int(10) unsigned DEFAULT NULL,
  `log` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `system_logs_company_id_foreign` (`company_id`),
  KEY `system_logs_client_id_foreign` (`client_id`),
  CONSTRAINT `system_logs_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `system_logs_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `system_logs`
--

INSERT INTO `system_logs` (`id`, `company_id`, `user_id`, `client_id`, `category_id`, `event_id`, `type_id`, `log`, `created_at`, `updated_at`, `deleted_at`) VALUES (1,1,1,NULL,2,30,303,'\"An email must have a \\\"From\\\" or a \\\"Sender\\\" header.\"','2025-08-21 07:06:39.300005','2025-08-21 07:06:39.300005',NULL),(2,1,1,NULL,5,61,800,'\"New login detected for your account. 2405:3800:912:7b8:6436:c848:4b09:be93\"','2025-08-21 07:06:39.405738','2025-08-21 07:06:39.405738',NULL),(3,1,1,NULL,2,30,303,'\"An email must have a \\\"From\\\" or a \\\"Sender\\\" header.\"','2025-08-21 16:32:33.160488','2025-08-21 16:32:33.160488',NULL),(4,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.206.230\"','2025-08-21 16:32:33.320066','2025-08-21 16:32:33.320066',NULL),(5,1,1,NULL,2,30,303,'\"An email must have a \\\"From\\\" or a \\\"Sender\\\" header.\"','2025-08-21 17:02:37.013495','2025-08-21 17:02:37.013495',NULL),(6,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.207.77\"','2025-08-21 17:02:37.181597','2025-08-21 17:02:37.181597',NULL),(7,1,1,NULL,2,30,303,'\"An email must have a \\\"From\\\" or a \\\"Sender\\\" header.\"','2025-08-21 17:27:42.223864','2025-08-21 17:27:42.223864',NULL),(8,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.207.77\"','2025-08-21 17:32:57.632925','2025-08-21 17:32:57.632925',NULL),(9,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"Opnel5aKBz\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Tepat Consulting\",\"website\":\"http:\\/\\/www.tepatconsult.com\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"tc9qkfaEYP3iU94ZZv1IaJfmONE0JXnV3xeflKUJ\",\"address1\":\"Zehn Jalan Bukit Pantai\",\"address2\":\"Bukit Pantai\",\"phone\":\"61406709860\",\"city\":\"Kuala Lumpur\",\"state\":\"Wilayah Persekutuan\",\"postal_code\":\"59100\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"Zehn Jalan Bukit Pantai\",\"shipping_address2\":\"Bukit Pantai\",\"shipping_city\":\"Kuala Lumpur\",\"shipping_state\":\"Wilayah Persekutuan\",\"shipping_postal_code\":\"59100\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827020,\"archived_at\":0,\"created_at\":1755827020,\"display_name\":\"Tepat Consulting\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:43:41.070812','2025-08-21 17:43:41.070812',NULL),(10,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"wMvbmOeYAl\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Norsobah Mashitah\",\"website\":\"http:\\/\\/www.tourguide.asia\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"uxH5GbrjC9JUNgO5ikq7uJc2eml0z0mgPKm8ul0m\",\"address1\":\"No.29, Jalan Sentosa 3\\/57\",\"address2\":\"\",\"phone\":\"6016261233\",\"city\":\"Petaling Jaya\",\"state\":\"Selangor Darul Ehsan\",\"postal_code\":\"46000\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"No.29, Jalan Sentosa 3\\/57\",\"shipping_address2\":\"\",\"shipping_city\":\"Petaling Jaya\",\"shipping_state\":\"Selangor Darul Ehsan\",\"shipping_postal_code\":\"46000\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827022,\"archived_at\":0,\"created_at\":1755827022,\"display_name\":\"Norsobah Mashitah\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:43:42.951975','2025-08-21 17:43:42.951975',NULL),(11,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"4openRe7Az\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Mobtel Hub\",\"website\":\"https:\\/\\/www.m-hub.asia\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"JnpY40thjv1zf9GxuPFaHyA3umXCKZVPPgO9GmjE\",\"address1\":\"No.9, Jalan Bullion Mewah 3,\",\"address2\":\"Taman Bullion\",\"phone\":\"60192220293\",\"city\":\"Batu Caves\",\"state\":\"Selangor Darul Ehsan\",\"postal_code\":\"68100\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"No.9, Jalan Bullion Mewah 3,\",\"shipping_address2\":\"\",\"shipping_city\":\"Batu Caves\",\"shipping_state\":\"SELANGOR DARUL EHSAN\",\"shipping_postal_code\":\"68100\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"201703164951\",\"updated_at\":1755827026,\"archived_at\":0,\"created_at\":1755827026,\"display_name\":\"Mobtel Hub\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:43:47.071043','2025-08-21 17:43:47.071043',NULL),(12,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"WJxbojagwO\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Hanim Mohamad Ismail\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"d0Xoz7cfnuzMSTh6KMDwjo1FJbLZsF2pz6TZbLCp\",\"address1\":\"No 42, Jalan Tun Teja 35\\/7A, Alam Impian, Seksyen 35,\",\"address2\":\"\",\"phone\":\"\",\"city\":\"Shah Alam\",\"state\":\"Selangor\",\"postal_code\":\"40470\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827030,\"archived_at\":0,\"created_at\":1755827030,\"display_name\":\"Hanim Mohamad Ismail\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:43:50.545784','2025-08-21 17:43:50.545784',NULL),(13,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"k8mep2bMyJ\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Aida Maria Daud\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"tAmGh3Am2yJmlXePxIYtVaZ8ueCJY5pxoRZUP7gN\",\"address1\":\"No. 8, Jalan 3\\/66, Seksyen 3, Bandar Baru Bangi,\",\"address2\":\"\",\"phone\":\"\",\"city\":\"Bangi\",\"state\":\"Selangor\",\"postal_code\":\"43650\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827031,\"archived_at\":0,\"created_at\":1755827031,\"display_name\":\"Aida Maria Daud\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:43:51.952066','2025-08-21 17:43:51.952066',NULL),(14,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"l4zbq2dprO\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Rini Lidyawati Abd Razak\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"gLnirGZCraAZaMTUCSA2ouVdHpnzGrpbCI6jWTHn\",\"address1\":\"96 Jalan Dillenia 3, Nilai Impian,\",\"address2\":\"\",\"phone\":\"\",\"city\":\"Nilai\",\"state\":\"Negeri Sembilan\",\"postal_code\":\"71800\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827035,\"archived_at\":0,\"created_at\":1755827035,\"display_name\":\"Rini Lidyawati Abd Razak\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:43:55.246516','2025-08-21 17:43:55.246516',NULL),(15,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"yMYerEdOBQ\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Noraini Kasbon\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"XKFq9seSfjQNwH1eyDqAiLDRlVpfKNzF9evIWIAD\",\"address1\":\"28 Jalan SSD\\/6 Kelana Jaya\",\"address2\":\"\",\"phone\":\"\",\"city\":\"Petaling Jaya\",\"state\":\"Selangor\",\"postal_code\":\"47301\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827036,\"archived_at\":0,\"created_at\":1755827036,\"display_name\":\"Noraini Kasbon\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:43:56.564269','2025-08-21 17:43:56.564269',NULL),(16,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"gl9avmeG1v\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Ainul Farqhana\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"LTccyEE5GWDHoEDTJp2OimFMTAvl1nkC6lfBHFJ3\",\"address1\":\"Bayu Sentul Condominiums, Blok A-11-2, Taman Dato Senu 3\",\"address2\":\"\",\"phone\":\"\",\"city\":\"Kuala Lumpur\",\"state\":\"\",\"postal_code\":\"51000\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827038,\"archived_at\":0,\"created_at\":1755827038,\"display_name\":\"Ainul Farqhana\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:43:58.857290','2025-08-21 17:43:58.857290',NULL),(17,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"7LDdwRb1YK\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Suriyati Kamaruzzaman\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"zZ6zZGuH0hYjhDrlhvXkPtTnpURGNe3f0w2EzHcL\",\"address1\":\"\",\"address2\":\"\",\"phone\":\"\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827039,\"archived_at\":0,\"created_at\":1755827039,\"display_name\":\"Suriyati Kamaruzzaman\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:43:59.347909','2025-08-21 17:43:59.347909',NULL),(18,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"JX7ax9byv4\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"ZAHID MOHD DIN\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"vXBuqhFyNimLi75WWy1MJwDfdjJyjJMWcGPxwId3\",\"address1\":\"Apartmen Sri Pinang Villa, Jalan Pandan Bersih , Taman Nirwana,\",\"address2\":\"\",\"phone\":\"\",\"city\":\"Ampang\",\"state\":\"Selangor\",\"postal_code\":\"68000\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827042,\"archived_at\":0,\"created_at\":1755827042,\"display_name\":\"ZAHID MOHD DIN\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:02.860848','2025-08-21 17:44:02.860848',NULL),(19,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"kzPdy7aQro\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Sharifah Athirah Auni\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"hv5OAyx0PdlX0KVrbrppfEInGN3UWedIfSxuwK0s\",\"address1\":\"no 15,Jalan SG9\\/16, Taman Sri Gombak\",\"address2\":\"\",\"phone\":\"\",\"city\":\"Gombak\",\"state\":\"Selangor\",\"postal_code\":\"68100\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827046,\"archived_at\":0,\"created_at\":1755827046,\"display_name\":\"Sharifah Athirah Auni\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:06.210501','2025-08-21 17:44:06.210501',NULL),(20,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"mxkazYeJ0P\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Sharifah Yuliana Syed Ali Hanafiah\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"6HAUbfOoltiZPA7pDaEWHXOEqyvlwvyNFK0JPszD\",\"address1\":\"No 19, Jalan Selayang Baru 27\\/69, Taman Alam Megah, Seksyen 27,\",\"address2\":\"\",\"phone\":\"\",\"city\":\"Shah Alam\",\"state\":\"Selangor\",\"postal_code\":\"40400\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827046,\"archived_at\":0,\"created_at\":1755827046,\"display_name\":\"Sharifah Yuliana Syed Ali Hanafiah\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:06.503873','2025-08-21 17:44:06.503873',NULL),(21,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"4w9aAOdvMR\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Marzia Jaludin\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"ESdEFWgQ73njB6PAggRr4IzKBvD7UTIDA8JnrbhP\",\"address1\":\"\",\"address2\":\"\",\"phone\":\"\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827046,\"archived_at\":0,\"created_at\":1755827046,\"display_name\":\"Marzia Jaludin\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:06.769685','2025-08-21 17:44:06.769685',NULL),(22,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"X46dBXa79j\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Suri Kasbon\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"2WQGdbHTJp9DRYgc5tZEgBQbzrdxZ8vIHM043gjp\",\"address1\":\"Unit 11-10-2, Desa Damansara, Jalan Setiakasih, Bukit Damansara,\",\"address2\":\"\",\"phone\":\"0122221006\",\"city\":\"Bukit Damansara\",\"state\":\"Kuala Lumpur\",\"postal_code\":\"50490\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827048,\"archived_at\":0,\"created_at\":1755827048,\"display_name\":\"Suri Kasbon\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:08.106029','2025-08-21 17:44:08.106029',NULL),(23,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"oBDbDxbl2E\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"Mohamad Bin Arshad\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"B4Oh27hRnALpbpnzIsdZq36WwstXC6joslpSHgmI\",\"address1\":\"\",\"address2\":\"\",\"phone\":\"60123994187\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"821025-08-6663\",\"updated_at\":1755827050,\"archived_at\":0,\"created_at\":1755827050,\"display_name\":\"Mohamad Bin Arshad\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:10.754618','2025-08-21 17:44:10.754618',NULL),(24,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"K4oeEva0By\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"ROSMELIA TAIB\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"MAWqxCj6l5r7XdDDF80QkaYelc2ZQx7lb1q2Vqlo\",\"address1\":\"\",\"address2\":\"\",\"phone\":\"017- 2513439\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827052,\"archived_at\":0,\"created_at\":1755827052,\"display_name\":\"ROSMELIA TAIB\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:12.162418','2025-08-21 17:44:12.162418',NULL),(25,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"xYRdG7dDzO\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"RINI LIDYAWATI\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"z7PHMURG5QrlPXscm5SuU1HdeDGFyN6WVgoeNuYA\",\"address1\":\"\",\"address2\":\"\",\"phone\":\"013- 2088771\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827052,\"archived_at\":0,\"created_at\":1755827052,\"display_name\":\"RINI LIDYAWATI\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:12.504929','2025-08-21 17:44:12.504929',NULL),(26,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"1YQdJ2dOGp\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"MURNI MAT NASRI\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"lBc2TPQ2YkeKX1LZnZLr0RV63lEOQdmSvyO53oap\",\"address1\":\"\",\"address2\":\"\",\"phone\":\"011-32000434\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827053,\"archived_at\":0,\"created_at\":1755827053,\"display_name\":\"MURNI MAT NASRI\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:13.839526','2025-08-21 17:44:13.839526',NULL),(27,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"4y1aKReQGw\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"NABILAH NUWAIRI\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"Qlgb4zVBmr0GwAK4VFGyFAbaKsOalInCUJeI30nV\",\"address1\":\"\",\"address2\":\"\",\"phone\":\"010-2002962\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827054,\"archived_at\":0,\"created_at\":1755827054,\"display_name\":\"NABILAH NUWAIRI\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:14.170349','2025-08-21 17:44:14.170349',NULL),(28,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"q9wdLwbjPX\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"SITI ROHANI BINTI A KADIR\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"wBFYeiy5GQxTaBe7YU6uV8nJGwaGMipSN7U3ZIGZ\",\"address1\":\"\",\"address2\":\"\",\"phone\":\"012- 3578507\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827056,\"archived_at\":0,\"created_at\":1755827056,\"display_name\":\"SITI ROHANI BINTI A KADIR\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:16.479841','2025-08-21 17:44:16.479841',NULL),(29,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"7N1aMAaWmp\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"FARAH ATELIER\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"7GirdY0IkA7yYvQlhgT5A9HE6UEYwhxQUEfaERdf\",\"address1\":\"Lorong SKD 8, Taman PSJ\",\"address2\":\"No.54\",\"phone\":\"\",\"city\":\"Kuantan\",\"state\":\"Pahang\",\"postal_code\":\"26150\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"Lorong SKD 8, Taman PSJ\",\"shipping_address2\":\"No.54\",\"shipping_city\":\"Kuantan\",\"shipping_state\":\"Pahang\",\"shipping_postal_code\":\"26150\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827059,\"archived_at\":0,\"created_at\":1755827059,\"display_name\":\"FARAH ATELIER\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:19.982978','2025-08-21 17:44:19.982978',NULL),(30,1,1,NULL,3,42,500,'{\"message\":\"cURL error 3: URL rejected: Malformed input to a URL function (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html)\",\"body\":{\"id\":\"QJ0dN6dLOv\",\"user_id\":\"VolejRejNm\",\"assigned_user_id\":\"\",\"name\":\"VDL Technologies Limited\",\"website\":\"\",\"private_notes\":\"\",\"balance\":0,\"group_settings_id\":\"\",\"paid_to_date\":0,\"payment_balance\":0,\"credit_balance\":0,\"last_login\":0,\"size_id\":\"\",\"public_notes\":\"\",\"client_hash\":\"7MO5t28bBWcPfQ2QnxKoh6LrWgQgHLrDzYQArJxb\",\"address1\":\"\",\"address2\":\"\",\"phone\":\"\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"country_id\":\"458\",\"industry_id\":\"\",\"custom_value1\":\"\",\"custom_value2\":\"\",\"custom_value3\":\"\",\"custom_value4\":\"\",\"shipping_address1\":\"\",\"shipping_address2\":\"\",\"shipping_city\":\"\",\"shipping_state\":\"\",\"shipping_postal_code\":\"\",\"shipping_country_id\":\"458\",\"settings\":{\"entity\":\"App\\\\Models\\\\Client\",\"industry_id\":\"\",\"size_id\":\"\",\"currency_id\":\"19\"},\"is_deleted\":false,\"vat_number\":\"\",\"id_number\":\"\",\"updated_at\":1755827063,\"archived_at\":0,\"created_at\":1755827063,\"display_name\":\"VDL Technologies Limited\",\"number\":\"\",\"has_valid_vat_number\":false,\"is_tax_exempt\":false,\"routing_id\":\"\",\"tax_info\":{},\"classification\":\"\",\"e_invoice\":{},\"contacts\":[],\"documents\":[],\"gateway_tokens\":[],\"locations\":[]}}','2025-08-21 17:44:23.255070','2025-08-21 17:44:23.255070',NULL),(31,1,1,5,1,21,301,'{\"response\":{\"invoices\":[{\"invoice_id\":\"joQeZJepZV\",\"amount\":10,\"formatted_amount\":\"10.00\",\"formatted_currency\":\"RM10.00\",\"number\":\"873614\",\"date\":\"22-August-2025\",\"due_date\":\"21-September-2025\",\"terms\":\"<p>- Card payment are accepted upon request.<\\/p>\\n<p>Please Transfer To:<br>Bank Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : Malayan Banking Bhd<br>Account Name \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MOBTEL HUB<br>Bank Account Number \\u00a0 \\u00a0 : 564548148577<br>Swift Code \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0: MBBEMYKL<\\/p>\\n<p>Please send to us payment advice at khediryaakub@mobtelhub.com<\\/p>\",\"invoice_number\":\"873614\",\"additional_info\":\"\"}],\"credits\":0,\"amount_with_fee\":10,\"pre_payment\":false,\"frequency_id\":false,\"remaining_cycles\":false,\"is_recurring\":false,\"stripe_amount\":1000,\"company_gateway_id\":\"2\",\"payment_hash\":\"jZzBzQzPQmTmrIgfLw9fIeuwoNEv7Tgc\",\"payment_intent\":\"pi_3RylVeLTMjZUPdCC1A2qhULd\",\"payment_intent_client_secret\":\"pi_3RylVeLTMjZUPdCC1A2qhULd_secret_olUsGj1Hc1ksawxoqLfe8lCt8\",\"payment_method_id\":\"22\",\"redirect_status\":\"succeeded\"},\"data\":{\"payment_method\":\"pi_3RylVeLTMjZUPdCC1A2qhULd\",\"payment_type\":46,\"amount\":10,\"transaction_reference\":\"pi_3RylVeLTMjZUPdCC1A2qhULd\",\"gateway_type_id\":22}}','2025-08-21 19:21:34.198092','2025-08-21 19:21:34.198092',NULL),(32,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.207.77\"','2025-08-21 21:33:47.726351','2025-08-21 21:33:47.726351',NULL),(33,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.207.77\"','2025-08-21 21:37:59.580740','2025-08-21 21:37:59.580740',NULL),(34,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.207.77\"','2025-08-21 21:56:07.801477','2025-08-21 21:56:07.801477',NULL),(35,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.207.77\"','2025-08-21 21:58:54.365243','2025-08-21 21:58:54.365243',NULL),(36,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.207.77\"','2025-08-22 04:13:27.327672','2025-08-22 04:13:27.327672',NULL),(37,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.207.77\"','2025-08-22 04:44:52.694552','2025-08-22 04:44:52.694552',NULL),(38,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.207.77\"','2025-08-22 06:06:05.908357','2025-08-22 06:06:05.908357',NULL),(39,1,1,NULL,5,61,800,'\"New login detected for your account. 2a02:26f7:c6c0:4000:9000::18\"','2025-08-22 06:14:28.252713','2025-08-22 06:14:28.252713',NULL),(40,1,1,23,1,21,301,'{\"response\":{\"id\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS\",\"object\":\"payment_intent\",\"amount\":1000,\"amount_details\":{\"tip\":{}},\"automatic_payment_methods\":{\"allow_redirects\":\"always\",\"enabled\":true},\"canceled_at\":null,\"cancellation_reason\":null,\"capture_method\":\"automatic\",\"client_secret\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS_secret_cRjMIAhQPQRsOYKmMi6JMvyqd\",\"confirmation_method\":\"automatic\",\"created\":1755872119,\"currency\":\"myr\",\"description\":\"Invoices: 25354I-873615 for RM10.00 for client FARAH ATELIER\",\"excluded_payment_method_types\":null,\"last_payment_error\":null,\"livemode\":true,\"next_action\":null,\"payment_method\":\"pm_1RyvleLTMjZUPdCCY1fiOVO5\",\"payment_method_configuration_details\":{\"id\":\"pmc_1LbTaNLTMjZUPdCC4Wh9Rm2A\",\"parent\":null},\"payment_method_types\":[\"card\",\"fpx\",\"grabpay\",\"alipay\",\"link\"],\"processing\":null,\"receipt_email\":\"farahdahli90@gmail.com\",\"setup_future_usage\":null,\"shipping\":null,\"source\":null,\"status\":\"succeeded\"},\"data\":{\"invoices\":[{\"invoice_id\":\"yJrb2KdWLD\",\"amount\":10,\"formatted_amount\":\"10.00\",\"formatted_currency\":\"RM10.00\",\"number\":\"25354I-873615\",\"date\":\"22-August-2025\",\"due_date\":\"22-September-2025\",\"terms\":\"<p><span style=\\\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\\\">- Card payment are accepted upon request.<\\/span><\\/p><p><span style=\\\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\\\">Please Transfer To :<br><br>Bank Name\\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0: Malayan Banking Bhd<br>Account Name\\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MOBTEL HUB<br>Bank Account Number\\u00a0 : 564548148577<br>Swift Code\\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 \\u00a0 : MBBEMYKL<br><br><\\/span><span style=\\\"font-family: arial, helvetica, sans-serif; font-size: 10pt;\\\">Please send to us payment advice at khediryaakub@mobtelhub.com<\\/span><\\/p>\",\"invoice_number\":\"25354I-873615\",\"additional_info\":\"2025-08-22\"}],\"credits\":0,\"amount_with_fee\":10,\"pre_payment\":false,\"frequency_id\":false,\"remaining_cycles\":false,\"is_recurring\":false,\"gateway_response\":{\"id\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS\",\"object\":\"payment_intent\",\"amount\":1000,\"amount_details\":{\"tip\":{}},\"automatic_payment_methods\":{\"allow_redirects\":\"always\",\"enabled\":true},\"canceled_at\":null,\"cancellation_reason\":null,\"capture_method\":\"automatic\",\"client_secret\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS_secret_cRjMIAhQPQRsOYKmMi6JMvyqd\",\"confirmation_method\":\"automatic\",\"created\":1755872119,\"currency\":\"myr\",\"description\":\"Invoices: 25354I-873615 for RM10.00 for client FARAH ATELIER\",\"excluded_payment_method_types\":null,\"last_payment_error\":null,\"livemode\":true,\"next_action\":null,\"payment_method\":\"pm_1RyvleLTMjZUPdCCY1fiOVO5\",\"payment_method_configuration_details\":{\"id\":\"pmc_1LbTaNLTMjZUPdCC4Wh9Rm2A\",\"parent\":null},\"payment_method_types\":[\"card\",\"fpx\",\"grabpay\",\"alipay\",\"link\"],\"processing\":null,\"receipt_email\":\"farahdahli90@gmail.com\",\"setup_future_usage\":null,\"shipping\":null,\"source\":null,\"status\":\"succeeded\"},\"payment_intent\":{\"id\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS\",\"object\":\"payment_intent\",\"amount\":1000,\"amount_capturable\":0,\"amount_details\":{\"tip\":[]},\"amount_received\":1000,\"application\":null,\"application_fee_amount\":null,\"automatic_payment_methods\":{\"allow_redirects\":\"always\",\"enabled\":true},\"canceled_at\":null,\"cancellation_reason\":null,\"capture_method\":\"automatic\",\"client_secret\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS_secret_cRjMIAhQPQRsOYKmMi6JMvyqd\",\"confirmation_method\":\"automatic\",\"created\":1755872119,\"currency\":\"myr\",\"customer\":\"cus_SulAYUdkagYmCt\",\"description\":\"Invoices: 25354I-873615 for RM10.00 for client FARAH ATELIER\",\"excluded_payment_method_types\":null,\"invoice\":null,\"last_payment_error\":null,\"latest_charge\":\"ch_3RyvkRLTMjZUPdCC0ffA7rHz\",\"livemode\":true,\"metadata\":{\"gateway_type_id\":\"8\",\"payment_hash\":\"4YA0wJ71mn3WEtCzYv0piP4KO7YpnCUa\"},\"next_action\":null,\"on_behalf_of\":null,\"payment_method\":\"pm_1RyvleLTMjZUPdCCY1fiOVO5\",\"payment_method_configuration_details\":{\"id\":\"pmc_1LbTaNLTMjZUPdCC4Wh9Rm2A\",\"parent\":null},\"payment_method_options\":{\"alipay\":[],\"card\":{\"installments\":null,\"mandate_options\":null,\"network\":null,\"request_three_d_secure\":\"automatic\"},\"fpx\":[],\"grabpay\":[],\"link\":{\"persistent_token\":null}},\"payment_method_types\":[\"card\",\"fpx\",\"grabpay\",\"alipay\",\"link\"],\"processing\":null,\"receipt_email\":\"farahdahli90@gmail.com\",\"review\":null,\"setup_future_usage\":null,\"shipping\":null,\"source\":null,\"statement_descriptor\":null,\"statement_descriptor_suffix\":null,\"status\":\"succeeded\",\"transfer_data\":null,\"transfer_group\":null}}}','2025-08-22 06:16:37.796898','2025-08-22 06:16:37.796898',NULL),(41,1,1,23,1,21,301,'{\"response\":{\"id\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS\",\"object\":\"payment_intent\",\"amount\":1000,\"amount_details\":{\"tip\":{}},\"automatic_payment_methods\":{\"allow_redirects\":\"always\",\"enabled\":true},\"canceled_at\":null,\"cancellation_reason\":null,\"capture_method\":\"automatic\",\"client_secret\":\"pi_3RyvkRLTMjZUPdCC0x3LAMPS_secret_cRjMIAhQPQRsOYKmMi6JMvyqd\",\"confirmation_method\":\"automatic\",\"created\":1755872119,\"currency\":\"myr\",\"description\":\"Invoices: 25354I-873615 for RM10.00 for client FARAH ATELIER\",\"excluded_payment_method_types\":null,\"last_payment_error\":null,\"livemode\":true,\"next_action\":null,\"payment_method\":\"pm_1RyvleLTMjZUPdCCY1fiOVO5\",\"payment_method_configuration_details\":{\"id\":\"pmc_1LbTaNLTMjZUPdCC4Wh9Rm2A\",\"parent\":null},\"payment_method_types\":[\"card\",\"fpx\",\"grabpay\",\"alipay\",\"link\"],\"processing\":null,\"receipt_email\":\"farahdahli90@gmail.com\",\"setup_future_usage\":null,\"shipping\":null,\"source\":null,\"status\":\"succeeded\"},\"data\":{\"payment_method\":\"pm_1RyvleLTMjZUPdCCY1fiOVO5\",\"payment_type\":5,\"amount\":10,\"transaction_reference\":\"ch_3RyvkRLTMjZUPdCC0ffA7rHz\",\"gateway_type_id\":8}}','2025-08-22 06:16:45.542491','2025-08-22 06:16:45.542491',NULL),(42,1,1,NULL,5,61,800,'\"New login detected for your account. 111.65.37.150\"','2025-09-04 06:23:22.770688','2025-09-04 06:23:22.770688',NULL),(43,1,1,NULL,5,61,800,'\"New login detected for your account. 175.139.143.81\"','2025-09-10 00:43:32.524769','2025-09-10 00:43:32.524769',NULL),(44,1,1,NULL,5,61,800,'\"New login detected for your account. 175.139.143.81\"','2025-09-21 22:51:37.693823','2025-09-21 22:51:37.693823',NULL),(45,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.182.253\"','2025-09-23 05:56:40.795062','2025-09-23 05:56:40.795062',NULL),(46,1,1,NULL,5,61,800,'\"New login detected for your account. 14.1.182.253\"','2025-09-23 06:31:16.550113','2025-09-23 06:31:16.550113',NULL),(47,1,1,NULL,5,61,800,'\"New login detected for your account. 175.139.143.81\"','2025-09-23 16:46:23.828825','2025-09-23 16:46:23.828825',NULL),(48,1,1,NULL,5,61,800,'\"New login detected for your account. 113.210.159.143\"','2026-02-18 17:32:20.020969','2026-02-18 17:32:20.020969',NULL),(49,1,1,NULL,5,61,800,'\"New login detected for your account. 27.125.250.191\"','2026-02-21 22:04:05.720701','2026-02-21 22:04:05.720701',NULL);

--
-- Table structure for table `task_statuses`
--

CREATE TABLE `task_statuses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_id` int(10) unsigned DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `status_sort_order` int(11) DEFAULT NULL,
  `color` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#fff',
  `status_order` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `task_statuses_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `task_statuses_user_id_foreign` (`user_id`),
  CONSTRAINT `task_statuses_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `task_statuses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `task_statuses`
--

INSERT INTO `task_statuses` (`id`, `name`, `company_id`, `user_id`, `is_deleted`, `created_at`, `updated_at`, `deleted_at`, `status_sort_order`, `color`, `status_order`) VALUES (1,'Backlog',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL,NULL,'#fff',1),(2,'Ready to do',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL,NULL,'#fff',2),(3,'In progress',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL,NULL,'#fff',3),(4,'Done',1,1,0,'2025-08-21 21:56:48.590582','2025-08-21 21:56:48.590582',NULL,NULL,'#fff',4);

--
-- Table structure for table `tasks`
--

CREATE TABLE `tasks` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `client_id` int(10) unsigned DEFAULT NULL,
  `invoice_id` int(10) unsigned DEFAULT NULL,
  `project_id` int(10) unsigned DEFAULT NULL,
  `status_id` int(10) unsigned DEFAULT NULL,
  `status_sort_order` int(11) DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `duration` int(10) unsigned DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `is_running` tinyint(1) NOT NULL DEFAULT '0',
  `time_log` text COLLATE utf8mb4_unicode_ci,
  `number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rate` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `invoice_documents` tinyint(1) NOT NULL DEFAULT '0',
  `is_date_based` tinyint(1) NOT NULL DEFAULT '0',
  `status_order` int(11) DEFAULT NULL,
  `calculated_start_date` date DEFAULT NULL,
  `hash` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meta` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tasks_company_id_number_unique` (`company_id`,`number`),
  KEY `tasks_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `tasks_user_id_foreign` (`user_id`),
  KEY `tasks_invoice_id_foreign` (`invoice_id`),
  KEY `tasks_client_id_foreign` (`client_id`),
  KEY `tasks_company_id_index` (`company_id`),
  KEY `tasks_hash_index` (`hash`),
  CONSTRAINT `tasks_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tasks_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tasks_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `invoices` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tasks_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tasks`
--


--
-- Table structure for table `tax_rates`
--

CREATE TABLE `tax_rates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `rate` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `tax_rates_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `tax_rates_user_id_foreign` (`user_id`),
  KEY `tax_rates_company_id_index` (`company_id`),
  CONSTRAINT `tax_rates_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tax_rates_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tax_rates`
--

INSERT INTO `tax_rates` (`id`, `company_id`, `user_id`, `created_at`, `updated_at`, `deleted_at`, `name`, `rate`, `is_deleted`) VALUES (1,1,1,'2025-08-21 21:56:48.590582','2025-08-21 17:12:10.851451','2025-08-21 17:12:10.851451','MwSt',19.000000,1),(2,1,1,'2025-08-21 17:12:23.860085','2025-08-21 17:12:23.860085',NULL,'SST',8.000000,0);

--
-- Table structure for table `timezones`
--

CREATE TABLE `timezones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `location` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `utc_offset` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=116 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `timezones`
--

INSERT INTO `timezones` (`id`, `name`, `location`, `utc_offset`) VALUES (1,'Pacific/Midway','(GMT-11:00) Midway Island',-39600),(2,'Pacific/Pago_Pago','(GMT-11:00) Samoa',-39600),(3,'Pacific/Honolulu','(GMT-10:00) Hawaii',-36000),(4,'America/Anchorage','(GMT-09:00) Alaska',-32400),(5,'America/Los_Angeles','(GMT-08:00) Pacific Time (US & Canada)',-28800),(6,'America/Tijuana','(GMT-08:00) Tijuana',-28800),(7,'America/Phoenix','(GMT-07:00) Arizona',-25200),(8,'America/Denver','(GMT-07:00) Mountain Time (US & Canada)',-25200),(9,'America/Chihuahua','(GMT-07:00) Chihuahua',-25200),(10,'America/Mazatlan','(GMT-07:00) Mazatlan',-25200),(11,'America/Mexico_City','(GMT-06:00) Mexico City',-21600),(12,'America/Monterrey','(GMT-06:00) Monterrey',-21600),(13,'America/Regina','(GMT-06:00) Saskatchewan',-21600),(14,'America/Chicago','(GMT-06:00) Central Time (US & Canada)',-21600),(15,'America/New_York','(GMT-05:00) Eastern Time (US & Canada)',-18000),(16,'America/Indiana/Indianapolis','(GMT-05:00) Indiana (East)',-18000),(17,'America/Bogota','(GMT-05:00) Bogota',-18000),(18,'America/Lima','(GMT-05:00) Lima',-18000),(19,'America/Caracas','(GMT-04:00) Caracas',-14400),(20,'America/Halifax','(GMT-04:00) Atlantic Time (Canada)',-14400),(21,'America/La_Paz','(GMT-04:00) La Paz',-14400),(22,'America/Santiago','(GMT-04:00) Santiago',-14400),(23,'America/St_Johns','(GMT-03:30) Newfoundland',-12600),(24,'America/Argentina/Buenos_Aires','(GMT-03:00) Buenos Aires',-10800),(25,'America/Godthab','(GMT-03:00) Greenland',-10800),(26,'America/Sao_Paulo','(GMT-03:00) Sao Paulo',-10800),(27,'Atlantic/Stanley','(GMT-02:00) Stanley',-7200),(28,'Atlantic/Azores','(GMT-01:00) Azores',-3600),(29,'Atlantic/Cape_Verde','(GMT-01:00) Cape Verde Is.',-3600),(30,'Africa/Casablanca','(GMT) Casablanca',0),(31,'Europe/Dublin','(GMT) Dublin',0),(32,'Europe/Lisbon','(GMT) Lisbon',0),(33,'Europe/London','(GMT) London',0),(34,'Africa/Monrovia','(GMT) Monrovia',0),(35,'Europe/Amsterdam','(GMT+01:00) Amsterdam',3600),(36,'Europe/Belgrade','(GMT+01:00) Belgrade',3600),(37,'Europe/Berlin','(GMT+01:00) Berlin',3600),(38,'Europe/Bratislava','(GMT+01:00) Bratislava',3600),(39,'Europe/Brussels','(GMT+01:00) Brussels',3600),(40,'Europe/Budapest','(GMT+01:00) Budapest',3600),(41,'Europe/Copenhagen','(GMT+01:00) Copenhagen',3600),(42,'Europe/Ljubljana','(GMT+01:00) Ljubljana',3600),(43,'Europe/Madrid','(GMT+01:00) Madrid',3600),(44,'Europe/Paris','(GMT+01:00) Paris',3600),(45,'Europe/Prague','(GMT+01:00) Prague',3600),(46,'Europe/Rome','(GMT+01:00) Rome',3600),(47,'Europe/Sarajevo','(GMT+01:00) Sarajevo',3600),(48,'Europe/Skopje','(GMT+01:00) Skopje',3600),(49,'Europe/Stockholm','(GMT+01:00) Stockholm',3600),(50,'Europe/Vienna','(GMT+01:00) Vienna',3600),(51,'Europe/Warsaw','(GMT+01:00) Warsaw',3600),(52,'Europe/Zagreb','(GMT+01:00) Zagreb',3600),(53,'Europe/Athens','(GMT+02:00) Athens',7200),(54,'Europe/Bucharest','(GMT+02:00) Bucharest',7200),(55,'Africa/Cairo','(GMT+02:00) Cairo',7200),(56,'Africa/Harare','(GMT+02:00) Harare',7200),(57,'Europe/Helsinki','(GMT+02:00) Helsinki',7200),(58,'Asia/Jerusalem','(GMT+02:00) Jerusalem',7200),(59,'Europe/Kyiv','(GMT+02:00) Kyiv',7200),(60,'Europe/Minsk','(GMT+02:00) Minsk',7200),(61,'Europe/Riga','(GMT+02:00) Riga',7200),(62,'Europe/Sofia','(GMT+02:00) Sofia',7200),(63,'Europe/Tallinn','(GMT+02:00) Tallinn',7200),(64,'Europe/Vilnius','(GMT+02:00) Vilnius',7200),(65,'Europe/Istanbul','(GMT+03:00) Istanbul',10800),(66,'Asia/Baghdad','(GMT+03:00) Baghdad',10800),(67,'Asia/Kuwait','(GMT+03:00) Kuwait',10800),(68,'Africa/Nairobi','(GMT+03:00) Nairobi',10800),(69,'Asia/Riyadh','(GMT+03:00) Riyadh',10800),(70,'Asia/Tehran','(GMT+03:30) Tehran',12600),(71,'Europe/Moscow','(GMT+04:00) Moscow',14400),(72,'Asia/Baku','(GMT+04:00) Baku',14400),(73,'Europe/Volgograd','(GMT+04:00) Volgograd',14400),(74,'Asia/Muscat','(GMT+04:00) Muscat',14400),(75,'Asia/Tbilisi','(GMT+04:00) Tbilisi',14400),(76,'Asia/Yerevan','(GMT+04:00) Yerevan',14400),(77,'Asia/Kabul','(GMT+04:30) Kabul',16200),(78,'Asia/Karachi','(GMT+05:00) Karachi',18000),(79,'Asia/Tashkent','(GMT+05:00) Tashkent',18000),(80,'Asia/Kolkata','(GMT+05:30) Kolkata',19800),(81,'Asia/Kathmandu','(GMT+05:45) Kathmandu',20700),(82,'Asia/Yekaterinburg','(GMT+06:00) Ekaterinburg',21600),(83,'Asia/Almaty','(GMT+06:00) Almaty',21600),(84,'Asia/Dhaka','(GMT+06:00) Dhaka',21600),(85,'Asia/Novosibirsk','(GMT+07:00) Novosibirsk',25200),(86,'Asia/Bangkok','(GMT+07:00) Bangkok',25200),(87,'Asia/Ho_Chi_Minh','(GMT+07.00) Ho Chi Minh',25200),(88,'Asia/Jakarta','(GMT+07:00) Jakarta',25200),(89,'Asia/Krasnoyarsk','(GMT+08:00) Krasnoyarsk',28800),(90,'Asia/Chongqing','(GMT+08:00) Chongqing',28800),(91,'Asia/Hong_Kong','(GMT+08:00) Hong Kong',28800),(92,'Asia/Kuala_Lumpur','(GMT+08:00) Kuala Lumpur',28800),(93,'Australia/Perth','(GMT+08:00) Perth',28800),(94,'Asia/Singapore','(GMT+08:00) Singapore',28800),(95,'Asia/Taipei','(GMT+08:00) Taipei',28800),(96,'Asia/Ulaanbaatar','(GMT+08:00) Ulaan Bataar',28800),(97,'Asia/Urumqi','(GMT+08:00) Urumqi',28800),(98,'Asia/Irkutsk','(GMT+09:00) Irkutsk',32400),(99,'Asia/Seoul','(GMT+09:00) Seoul',32400),(100,'Asia/Tokyo','(GMT+09:00) Tokyo',32400),(101,'Australia/Adelaide','(GMT+09:30) Adelaide',34200),(102,'Australia/Darwin','(GMT+09:30) Darwin',34200),(103,'Asia/Yakutsk','(GMT+10:00) Yakutsk',36000),(104,'Australia/Brisbane','(GMT+10:00) Brisbane',36000),(105,'Australia/Sydney','(GMT+10:00) Canberra',36000),(106,'Pacific/Guam','(GMT+10:00) Guam',36000),(107,'Australia/Hobart','(GMT+10:00) Hobart',36000),(108,'Australia/Melbourne','(GMT+10:00) Melbourne',36000),(109,'Pacific/Port_Moresby','(GMT+10:00) Port Moresby',36000),(110,'Australia/Sydney','(GMT+10:00) Sydney',36000),(111,'Asia/Vladivostok','(GMT+11:00) Vladivostok',39600),(112,'Asia/Magadan','(GMT+12:00) Magadan',43200),(113,'Pacific/Auckland','(GMT+12:00) Auckland',43200),(114,'Pacific/Fiji','(GMT+12:00) Fiji',43200),(115,'Asia/Dubai','(GMT+04:00) Dubai',14400);

--
-- Table structure for table `transaction_events`
--

CREATE TABLE `transaction_events` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `client_id` int(10) unsigned NOT NULL,
  `invoice_id` int(10) unsigned NOT NULL,
  `payment_id` int(10) unsigned NOT NULL,
  `credit_id` int(10) unsigned NOT NULL,
  `client_balance` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `client_paid_to_date` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `client_credit_balance` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `invoice_balance` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `invoice_amount` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `invoice_partial` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `invoice_paid_to_date` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `invoice_status` int(10) unsigned DEFAULT NULL,
  `payment_amount` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `payment_applied` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `payment_refunded` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `payment_status` int(10) unsigned DEFAULT NULL,
  `paymentables` mediumtext COLLATE utf8mb4_unicode_ci,
  `event_id` int(10) unsigned NOT NULL,
  `timestamp` int(10) unsigned NOT NULL,
  `payment_request` mediumtext COLLATE utf8mb4_unicode_ci,
  `metadata` mediumtext COLLATE utf8mb4_unicode_ci,
  `credit_balance` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `credit_amount` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `credit_status` int(10) unsigned DEFAULT NULL,
  `period` date DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `transaction_events_client_id_index` (`client_id`),
  CONSTRAINT `transaction_events_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transaction_events`
--

INSERT INTO `transaction_events` (`id`, `client_id`, `invoice_id`, `payment_id`, `credit_id`, `client_balance`, `client_paid_to_date`, `client_credit_balance`, `invoice_balance`, `invoice_amount`, `invoice_partial`, `invoice_paid_to_date`, `invoice_status`, `payment_amount`, `payment_applied`, `payment_refunded`, `payment_status`, `paymentables`, `event_id`, `timestamp`, `payment_request`, `metadata`, `credit_balance`, `credit_amount`, `credit_status`, `period`) VALUES (1,24,32,0,0,7394.8000,708.7500,0.0000,7394.8000,7394.8000,0.0000,0.0000,2,0.0000,0.0000,0.0000,NULL,NULL,1,1756656007,NULL,'{\"tax_report\":{\"tax_summary\":{\"total_taxes\":0,\"total_paid\":0,\"status\":\"updated\",\"adjustment\":0},\"tax_details\":null,\"payment_history\":[]}}',0.0000,0.0000,NULL,'2025-08-31'),(2,23,35,0,0,4000.0000,10.0000,0.0000,0.0000,10.0000,0.0000,10.0000,4,0.0000,0.0000,0.0000,NULL,NULL,1,1759248004,NULL,'{\"tax_report\":{\"tax_summary\":{\"total_taxes\":0,\"total_paid\":0,\"status\":\"updated\",\"adjustment\":0},\"tax_details\":null,\"payment_history\":[{\"number\":\"PAY-485212\",\"date\":\"2025-08-22\",\"amount\":10,\"refunded\":0}]}}',0.0000,0.0000,NULL,'2025-09-30'),(3,5,33,0,0,0.0000,46.6500,0.0000,0.0000,10.0000,0.0000,10.0000,4,0.0000,0.0000,0.0000,NULL,NULL,1,1759248005,NULL,'{\"tax_report\":{\"tax_summary\":{\"total_taxes\":0,\"total_paid\":0,\"status\":\"updated\",\"adjustment\":0},\"tax_details\":null,\"payment_history\":[{\"number\":\"00029\",\"date\":\"2025-08-22\",\"amount\":10,\"refunded\":0}]}}',0.0000,0.0000,NULL,'2025-09-30');

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `account_id` int(10) unsigned NOT NULL,
  `first_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ip` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `device_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `confirmation_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `theme_id` int(11) DEFAULT NULL,
  `failed_logins` smallint(6) DEFAULT NULL,
  `referral_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `oauth_user_id` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `oauth_user_token` text COLLATE utf8mb4_unicode_ci,
  `oauth_provider_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `google_2fa_secret` text COLLATE utf8mb4_unicode_ci,
  `accepted_terms_version` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `avatar` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `avatar_width` int(10) unsigned DEFAULT NULL,
  `avatar_height` int(10) unsigned DEFAULT NULL,
  `avatar_size` int(10) unsigned DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `last_login` datetime DEFAULT NULL,
  `signature` mediumtext COLLATE utf8mb4_unicode_ci,
  `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `oauth_user_refresh_token` text COLLATE utf8mb4_unicode_ci,
  `last_confirmed_email_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `has_password` tinyint(1) NOT NULL DEFAULT '0',
  `oauth_user_token_expiry` datetime DEFAULT NULL,
  `sms_verification_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `verified_phone_number` tinyint(1) NOT NULL DEFAULT '0',
  `shopify_user_id` bigint(20) unsigned DEFAULT NULL,
  `language_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_logged_in_notification` tinyint(1) NOT NULL DEFAULT '1',
  `referral_meta` mediumtext COLLATE utf8mb4_unicode_ci,
  `referral_earnings` mediumtext COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `users_email_unique` (`email`),
  UNIQUE KEY `users_oauth_user_id_oauth_provider_id_unique` (`oauth_user_id`,`oauth_provider_id`),
  KEY `users_account_id_index` (`account_id`),
  KEY `users_shopify_user_id_index` (`shopify_user_id`),
  CONSTRAINT `users_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `account_id`, `first_name`, `last_name`, `phone`, `ip`, `device_token`, `email`, `email_verified_at`, `confirmation_code`, `theme_id`, `failed_logins`, `referral_code`, `oauth_user_id`, `oauth_user_token`, `oauth_provider_id`, `google_2fa_secret`, `accepted_terms_version`, `avatar`, `avatar_width`, `avatar_height`, `avatar_size`, `is_deleted`, `last_login`, `signature`, `password`, `remember_token`, `custom_value1`, `custom_value2`, `custom_value3`, `custom_value4`, `created_at`, `updated_at`, `deleted_at`, `oauth_user_refresh_token`, `last_confirmed_email_address`, `has_password`, `oauth_user_token_expiry`, `sms_verification_code`, `verified_phone_number`, `shopify_user_id`, `language_id`, `user_logged_in_notification`, `referral_meta`, `referral_earnings`) VALUES (1,1,'System','Administrator','+60192220293','27.125.250.191',NULL,'helpdesk@m-hub.asia','2025-08-21 21:56:48','WNpiRejotFgJ0XaWITj11cuFxn1DqVwJ',NULL,0,'21uL7qyCxqq8b8s7ArTC11YTwfmwp3Oo','',NULL,NULL,NULL,'1.0.1',NULL,NULL,NULL,NULL,0,'2026-02-22 06:03:59',NULL,'$2y$10$jPCO9JahY7bobAQXcaH4TObXYPGkFgtFxBelmY/Mcv7um6NJ/DtdW',NULL,NULL,NULL,NULL,NULL,'2025-08-21 21:56:48.590582','2026-02-21 22:04:44.194261',NULL,NULL,NULL,1,NULL,NULL,0,NULL,'1',1,NULL,NULL),(2,1,'Khedir','Yaakub',NULL,NULL,NULL,'khediryaakub@mobtelhub.com',NULL,'bE5pabeTIKkkeOhnXVCZuHy7fQobwPvm',0,0,'ohos3csxrdrzevrkfjbc657wsajtzaan','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2025-08-22 01:27:40',NULL,'',NULL,NULL,NULL,NULL,NULL,'2025-08-21 17:27:40.981858','2025-09-24 15:20:01.978866',NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,1,NULL,NULL),(3,1,'Muhammad','Alif','+60192220293','14.1.207.77',NULL,'admin@m-hub.asia','2025-08-21 21:37:02','CnBWZyrqnIgkaTPd42i8xfykdpLZ4a9A',0,0,'lxgnbdy9g8u2hgktcyevnde9ncwdbx63','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'2025-08-22 14:14:27',NULL,'$2y$10$/5TcFpVEBHLjKjUIT7VVwuiCDxaaQoTmFWnW2q.TkjTjuLIOa8Yc.',NULL,NULL,NULL,NULL,NULL,'2025-08-21 21:35:19.123429','2025-08-22 06:14:27.999846',NULL,NULL,NULL,1,NULL,NULL,0,NULL,'1',1,NULL,NULL);

--
-- Table structure for table `vendor_contacts`
--

CREATE TABLE `vendor_contacts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `vendor_id` int(10) unsigned NOT NULL,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `is_primary` tinyint(1) NOT NULL DEFAULT '0',
  `first_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `send_email` tinyint(1) NOT NULL DEFAULT '0',
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `confirmation_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `confirmed` tinyint(1) NOT NULL DEFAULT '0',
  `last_login` timestamp NULL DEFAULT NULL,
  `failed_logins` smallint(6) DEFAULT NULL,
  `oauth_user_id` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `oauth_provider_id` int(10) unsigned DEFAULT NULL,
  `google_2fa_secret` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `accepted_terms_version` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `avatar` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `avatar_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `avatar_size` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_locked` tinyint(1) NOT NULL DEFAULT '0',
  `contact_key` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `can_sign` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `vendor_contacts_oauth_user_id_unique` (`oauth_user_id`),
  UNIQUE KEY `vendor_contacts_oauth_provider_id_unique` (`oauth_provider_id`),
  KEY `vendor_contacts_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `vendor_contacts_user_id_foreign` (`user_id`),
  KEY `vendor_contacts_vendor_id_index` (`vendor_id`),
  KEY `vendor_contacts_company_id_email_deleted_at_index` (`company_id`,`email`,`deleted_at`),
  KEY `vendor_contacts_contact_key(20)_index` (`contact_key`(20)),
  KEY `vendor_contacts_email_index` (`email`),
  CONSTRAINT `vendor_contacts_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `vendor_contacts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `vendor_contacts_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `vendors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vendor_contacts`
--

INSERT INTO `vendor_contacts` (`id`, `company_id`, `user_id`, `vendor_id`, `created_at`, `updated_at`, `deleted_at`, `is_primary`, `first_name`, `last_name`, `email`, `phone`, `custom_value1`, `custom_value2`, `custom_value3`, `custom_value4`, `send_email`, `email_verified_at`, `confirmation_code`, `confirmed`, `last_login`, `failed_logins`, `oauth_user_id`, `oauth_provider_id`, `google_2fa_secret`, `accepted_terms_version`, `avatar`, `avatar_type`, `avatar_size`, `password`, `token`, `is_locked`, `contact_key`, `remember_token`, `can_sign`) VALUES (1,1,1,1,'2025-08-21 18:41:06.221479','2025-08-21 18:41:11.645390',NULL,1,'','','','','','','','',0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,0,'p61YekgjnMu9dMpX2x6NahzkPFahdNnPdUkFYtbd',NULL,0),(2,1,1,2,'2025-08-21 18:41:06.512007','2025-08-21 18:41:11.735415',NULL,1,'','','','','','','','',0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,0,'ldkVlF5P5U6mvoT6lrN5dQEpwJ8S80wuXeqkHFTS',NULL,0),(3,1,1,3,'2025-08-21 18:41:06.766190','2025-08-21 18:41:11.921192',NULL,1,'','','','','','','','',0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,0,'d43VgEyt1lgH2onPPdUwPzRyJecejL1e1GdOJ6sN',NULL,0),(4,1,1,4,'2025-08-21 18:41:07.610576','2025-08-21 18:41:12.022699',NULL,1,'','','','','','','','',0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,0,'E2UDraYXHwWEEhYKsYagfA7DvuuMA6lCNGw4EnuX',NULL,0),(5,1,1,5,'2025-08-21 18:41:07.865820','2025-08-21 18:41:12.109325',NULL,1,'','','','','','','','',0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,0,'L1QNoCFzNeFWKeWTxU0TLjyRvCtgRpPQQIIrvXbZ',NULL,0),(6,1,1,6,'2025-08-21 18:41:08.058257','2025-08-21 18:41:12.193103',NULL,1,'','','','','','','','',0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,0,'9ARP9njJvbvZjEO7gMlj4ErVS4fj1uuIDsH1QrCz',NULL,0),(7,1,1,7,'2025-08-21 18:41:08.258946','2025-08-21 18:41:12.276782',NULL,1,'','','','','','','','',0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,0,'TuZhjM2HwgNYUB3kcclVEcDwNDN3HTMcg4bIeERh',NULL,0),(8,1,1,8,'2025-08-21 18:41:08.543083','2025-08-21 18:41:12.360490',NULL,1,'','','','','','','','',0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,0,'NZ6sPQLCQ0RgLUTlQQXXvEBvz5qg925yHw2P2u4M',NULL,0);

--
-- Table structure for table `vendors`
--

CREATE TABLE `vendors` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `assigned_user_id` int(10) unsigned DEFAULT NULL,
  `company_id` int(10) unsigned NOT NULL,
  `currency_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `postal_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `country_id` int(10) unsigned DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `private_notes` text COLLATE utf8mb4_unicode_ci,
  `website` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `vat_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `custom_value1` text COLLATE utf8mb4_unicode_ci,
  `custom_value2` text COLLATE utf8mb4_unicode_ci,
  `custom_value3` text COLLATE utf8mb4_unicode_ci,
  `custom_value4` text COLLATE utf8mb4_unicode_ci,
  `vendor_hash` text COLLATE utf8mb4_unicode_ci,
  `public_notes` text COLLATE utf8mb4_unicode_ci,
  `id_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `language_id` int(10) unsigned DEFAULT NULL,
  `last_login` timestamp NULL DEFAULT NULL,
  `classification` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_tax_exempt` tinyint(1) NOT NULL DEFAULT '0',
  `routing_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vendors_company_id_number_unique` (`company_id`,`number`),
  KEY `vendors_company_id_deleted_at_index` (`company_id`,`deleted_at`),
  KEY `vendors_user_id_foreign` (`user_id`),
  KEY `vendors_country_id_foreign` (`country_id`),
  KEY `vendors_currency_id_foreign` (`currency_id`),
  CONSTRAINT `vendors_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `vendors_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`),
  CONSTRAINT `vendors_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`),
  CONSTRAINT `vendors_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vendors`
--

INSERT INTO `vendors` (`id`, `created_at`, `updated_at`, `deleted_at`, `user_id`, `assigned_user_id`, `company_id`, `currency_id`, `name`, `address1`, `address2`, `city`, `state`, `postal_code`, `country_id`, `phone`, `private_notes`, `website`, `is_deleted`, `vat_number`, `transaction_name`, `number`, `custom_value1`, `custom_value2`, `custom_value3`, `custom_value4`, `vendor_hash`, `public_notes`, `id_number`, `language_id`, `last_login`, `classification`, `is_tax_exempt`, `routing_id`) VALUES (1,'2025-08-21 18:41:05.909940','2025-08-21 18:41:11.687796',NULL,1,NULL,1,19,'Radius Fuel Cards. Sdn. Bhd','Suite 7.05, Level 7, The Gardens North Tower,','Mid Valley City, Lingkaran Syed Putra,','Kuala Lumpur','Wilayah Persekutuan','59200',458,'','','',0,'',NULL,'00001','','','','','7n1li7hDQQlAns6wb57xdYdgesDNh0GFW7xKVXv0','','',NULL,NULL,NULL,0,NULL),(2,'2025-08-21 18:41:06.330902','2025-08-21 18:41:11.855835',NULL,1,NULL,1,19,'GrabCar Sdn. Bhd','Level 17, 1,','First Avenue, Bandar Utama','Kuala Lumpur','Wilayah Persekutuan','47800',458,'','','',0,'',NULL,'00002','','','','','19qDvtN4HiF68XSzBJbR5USwTfxNd9qqIVtFN8xj','','',NULL,NULL,NULL,0,NULL),(3,'2025-08-21 18:41:06.635088','2025-08-21 18:41:11.964122',NULL,1,NULL,1,19,'Celcom Mobile Sdn Bhd','82, Menara Celcom','Jalan Raja Muda Abdul Aziz','Kuala Lumpur','Wilayah Persekutuan','50300',458,'','','',0,'',NULL,'00003','','','','','yZ4CwRFAM6R0p4Doak73kcLkEWRe258CCcVFWBRy','','',NULL,NULL,NULL,0,NULL),(4,'2025-08-21 18:41:06.959838','2025-08-21 18:41:12.064077',NULL,1,NULL,1,19,'SKSA Technology Sdn. Bhd','No. 36-3 & 38-3,','Subang Business Center, Jalan USJ 9/5Q ,','Subang Jaya','Selangor Darul Ehsan','47600',458,'','','',0,'',NULL,'00004','','','','','ZeHtTQ6AkMdACBiK9D4OZ0DCUGuOsCS4O2Jnr897','','',NULL,NULL,NULL,0,NULL),(5,'2025-08-21 18:41:07.692319','2025-08-21 18:41:12.147665',NULL,1,NULL,1,19,'Maybank2u','100 Jalan Tun Perak','Menara Maybank','Kuala Lumpur','Wilayah Persekutuan','50050',458,'','','',0,'',NULL,'00005','','','','','qbctUara1cByj0Ee8yb8hdzEky3WKPss0q0uGq9Z','','',NULL,NULL,NULL,0,NULL),(6,'2025-08-21 18:41:07.938790','2025-08-21 18:41:12.231098',NULL,1,NULL,1,19,'Malindo Airways Sdn. Bhd','No .2 , Jalan PJU 1 A/2 , Ara Damansara','Meritus @ Oasis Corporate Park','Petaling Jaya','Selangor Darul Ehsan','47301',458,'','','',0,'',NULL,'00006','','','','','ouoPyV1kiG5z4l7wIJorGztWMMJhVfF3guxyT4K4','','',NULL,NULL,NULL,0,NULL),(7,'2025-08-21 18:41:08.140459','2025-08-21 18:41:12.314892',NULL,1,NULL,1,19,'AirAsia Berhad','Jalan Pekeliling 5','Lapangan Terbang Antarabangsa Kuala Lumpur (KLIA2)','KLIA','Selangor Darul Ehsan','64000',458,'','','',0,'',NULL,'00007','','','','','chaFOAxslwb0q3IO8mGgaj8DgErgzyAC1T6uHcgl','','',NULL,NULL,NULL,0,NULL),(8,'2025-08-21 18:41:08.346313','2025-08-21 18:41:12.450152',NULL,1,NULL,1,19,'SSM Biz License','','','','','',458,'','','',0,'',NULL,'00008','','','','','MJZam9j4WIBu0kUa4nm90jX156PEChGiBVE9QcLM','','',NULL,NULL,NULL,0,NULL);

--
-- Table structure for table `verifactu_logs`
--

CREATE TABLE `verifactu_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned NOT NULL,
  `invoice_id` int(10) unsigned NOT NULL,
  `nif` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `date` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `invoice_number` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `hash` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `previous_hash` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `response` json DEFAULT NULL,
  `state` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `verifactu_logs_company_id_index` (`company_id`),
  KEY `verifactu_logs_invoice_id_index` (`invoice_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `verifactu_logs`
--


--
-- Table structure for table `webhooks`
--

CREATE TABLE `webhooks` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int(10) unsigned DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `event_id` int(10) unsigned DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  `target_url` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `format` enum('JSON','UBL') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'JSON',
  `created_at` timestamp(6) NULL DEFAULT NULL,
  `updated_at` timestamp(6) NULL DEFAULT NULL,
  `deleted_at` timestamp(6) NULL DEFAULT NULL,
  `rest_method` text COLLATE utf8mb4_unicode_ci,
  `headers` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `subscriptions_company_id_foreign` (`company_id`),
  KEY `subscriptions_event_id_company_id_index` (`event_id`,`company_id`),
  CONSTRAINT `subscriptions_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `webhooks`
--

INSERT INTO `webhooks` (`id`, `company_id`, `user_id`, `event_id`, `is_deleted`, `target_url`, `format`, `created_at`, `updated_at`, `deleted_at`, `rest_method`, `headers`) VALUES (1,1,1,1,0,'','JSON','2025-08-21 17:18:26.972989','2025-08-21 17:18:26.972989',NULL,'post','[]'),(2,1,1,1,0,'','JSON','2025-08-22 05:47:38.067435','2025-08-22 05:47:38.067435',NULL,'post','[]');

--
-- Dumping events for database 'mhubasia_ninj971'
--

--
-- Dumping routines for database 'mhubasia_ninj971'
--


