10959 lines
1.3 MiB
10959 lines
1.3 MiB
-- MySQL dump 10.13 Distrib 9.2.0, for macos15 (arm64)
|
||
--
|
||
-- Host: 127.0.0.1 Database: nnterp
|
||
-- ------------------------------------------------------
|
||
-- Server version 9.2.0
|
||
|
||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||
/*!50503 SET NAMES utf8mb4 */;
|
||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||
|
||
--
|
||
-- Table structure for table `account_categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `account_categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `account_categories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`type` enum('assets','liabilities','equity','revenue','expenses') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `account_categories_creator_id_index` (`creator_id`),
|
||
KEY `account_categories_created_by_index` (`created_by`),
|
||
CONSTRAINT `account_categories_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `account_categories_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `account_categories`
|
||
--
|
||
|
||
LOCK TABLES `account_categories` WRITE;
|
||
/*!40000 ALTER TABLE `account_categories` DISABLE KEYS */;
|
||
INSERT INTO `account_categories` VALUES (1,'Assets','AST','assets','Resources owned by the company',1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(2,'Liabilities','LIB','liabilities','Debts and obligations of the company',1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(3,'Equity','EQT','equity','Owner\'s equity in the company',1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(4,'Revenue','REV','revenue','Income generated from business operations',1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(5,'Expenses','EXP','expenses','Costs incurred in business operations',1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44');
|
||
/*!40000 ALTER TABLE `account_categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `account_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `account_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `account_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`category_id` bigint unsigned NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`normal_balance` enum('debit','credit') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`is_system_type` tinyint(1) NOT NULL DEFAULT '0',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `account_types_category_id_foreign` (`category_id`),
|
||
KEY `account_types_creator_id_index` (`creator_id`),
|
||
KEY `account_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `account_types_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `account_categories` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `account_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `account_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `account_types`
|
||
--
|
||
|
||
LOCK TABLES `account_types` WRITE;
|
||
/*!40000 ALTER TABLE `account_types` DISABLE KEYS */;
|
||
INSERT INTO `account_types` VALUES (1,1,'Current Assets','CA','debit','Assets expected to be converted to cash within one year',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(2,1,'Fixed Assets','FA','debit','Long-term tangible assets',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(3,1,'Other Assets','OA','debit','Other miscellaneous assets',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(4,2,'Current Liabilities','CL','credit','Debts due within one year',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(5,2,'Long-term Liabilities','LTL','credit','Debts due after one year',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(6,3,'Share Capital','SC','credit','Owner\'s investment in the business',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(7,3,'Retained Earnings','RE','credit','Accumulated profits retained in business',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(8,4,'Sales Revenue','SR','credit','Income from sales of goods or services',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(9,4,'Other Income','OI','credit','Miscellaneous income',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(10,5,'Cost of Goods Sold','COGS','debit','Direct costs of producing goods sold',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(11,5,'Operating Expenses','OE','debit','Expenses from normal business operations',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(12,5,'Administrative Expenses','AE','debit','General administrative costs',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(13,5,'Financial Expenses','FE','debit','Interest and financial costs',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(14,5,'Tax Expenses','TE','debit','Tax-related expenses',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(15,5,'Other Expenses','OX','debit','Miscellaneous expenses',1,1,2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44');
|
||
/*!40000 ALTER TABLE `account_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `acknowledgments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `acknowledgments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `acknowledgments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`document_id` bigint unsigned DEFAULT NULL,
|
||
`status` enum('pending','acknowledged') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`acknowledgment_note` text COLLATE utf8mb4_unicode_ci,
|
||
`acknowledged_at` timestamp NULL DEFAULT NULL,
|
||
`assigned_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `acknowledgments_employee_id_foreign` (`employee_id`),
|
||
KEY `acknowledgments_document_id_foreign` (`document_id`),
|
||
KEY `acknowledgments_assigned_by_foreign` (`assigned_by`),
|
||
KEY `acknowledgments_creator_id_index` (`creator_id`),
|
||
KEY `acknowledgments_created_by_index` (`created_by`),
|
||
CONSTRAINT `acknowledgments_assigned_by_foreign` FOREIGN KEY (`assigned_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `acknowledgments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `acknowledgments_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `acknowledgments_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `hrm_documents` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `acknowledgments_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `acknowledgments`
|
||
--
|
||
|
||
LOCK TABLES `acknowledgments` WRITE;
|
||
/*!40000 ALTER TABLE `acknowledgments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `acknowledgments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `activity_log`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `activity_log`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `activity_log` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`log_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`subject_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`subject_id` bigint unsigned DEFAULT NULL,
|
||
`event` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`causer_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`causer_id` bigint unsigned DEFAULT NULL,
|
||
`batch_uuid` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`attribute_changes` json DEFAULT NULL,
|
||
`properties` json DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `subject` (`subject_type`,`subject_id`),
|
||
KEY `causer` (`causer_type`,`causer_id`),
|
||
KEY `activity_log_log_name_index` (`log_name`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=468 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `activity_log`
|
||
--
|
||
|
||
LOCK TABLES `activity_log` WRITE;
|
||
/*!40000 ALTER TABLE `activity_log` DISABLE KEYS */;
|
||
INSERT INTO `activity_log` VALUES (1,'products','Product Service Item \"Paracetamol 429mg\" was created','Workdo\\ProductService\\Models\\ProductServiceItem',1,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 1, \"sku\": \"MED-BBVSWI\", \"name\": \"Paracetamol 429mg\", \"type\": \"product\", \"unit\": null, \"image\": null, \"images\": null, \"tax_ids\": null, \"is_active\": true, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": null, \"sale_price\": \"149.57\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"category_id\": null, \"description\": null, \"purchase_price\": \"18.87\", \"min_stock_level\": 100, \"long_description\": null}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(2,'products','Product Service Item \"Ibuprofen 491mg\" was created','Workdo\\ProductService\\Models\\ProductServiceItem',2,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 2, \"sku\": \"MED-HXBQNR\", \"name\": \"Ibuprofen 491mg\", \"type\": \"product\", \"unit\": null, \"image\": null, \"images\": null, \"tax_ids\": null, \"is_active\": true, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": null, \"sale_price\": \"153.08\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"category_id\": null, \"description\": null, \"purchase_price\": \"31.77\", \"min_stock_level\": 100, \"long_description\": null}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(3,'products','Product Service Item \"Amoxicillin 104mg\" was created','Workdo\\ProductService\\Models\\ProductServiceItem',3,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 3, \"sku\": \"MED-L1INHJ\", \"name\": \"Amoxicillin 104mg\", \"type\": \"product\", \"unit\": null, \"image\": null, \"images\": null, \"tax_ids\": null, \"is_active\": true, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": null, \"sale_price\": \"130.91\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"category_id\": null, \"description\": null, \"purchase_price\": \"14.48\", \"min_stock_level\": 100, \"long_description\": null}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(4,'products','Product Service Item \"Cetirizine 444mg\" was created','Workdo\\ProductService\\Models\\ProductServiceItem',4,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 4, \"sku\": \"MED-HTCGVV\", \"name\": \"Cetirizine 444mg\", \"type\": \"product\", \"unit\": null, \"image\": null, \"images\": null, \"tax_ids\": null, \"is_active\": true, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": null, \"sale_price\": \"68.31\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"category_id\": null, \"description\": null, \"purchase_price\": \"21.93\", \"min_stock_level\": 100, \"long_description\": null}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(5,'products','Product Service Item \"Losartan 383mg\" was created','Workdo\\ProductService\\Models\\ProductServiceItem',5,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 5, \"sku\": \"MED-MBOBSI\", \"name\": \"Losartan 383mg\", \"type\": \"product\", \"unit\": null, \"image\": null, \"images\": null, \"tax_ids\": null, \"is_active\": true, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": null, \"sale_price\": \"121.34\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"category_id\": null, \"description\": null, \"purchase_price\": \"19.39\", \"min_stock_level\": 100, \"long_description\": null}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(6,'products','Product Service Item \"Amlodipine 302mg\" was created','Workdo\\ProductService\\Models\\ProductServiceItem',6,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 6, \"sku\": \"MED-FZWYZA\", \"name\": \"Amlodipine 302mg\", \"type\": \"product\", \"unit\": null, \"image\": null, \"images\": null, \"tax_ids\": null, \"is_active\": true, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": null, \"sale_price\": \"191.36\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"category_id\": null, \"description\": null, \"purchase_price\": \"34.98\", \"min_stock_level\": 100, \"long_description\": null}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(7,'products','Product Service Item \"Metformin 489mg\" was created','Workdo\\ProductService\\Models\\ProductServiceItem',7,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 7, \"sku\": \"MED-V0W1WT\", \"name\": \"Metformin 489mg\", \"type\": \"product\", \"unit\": null, \"image\": null, \"images\": null, \"tax_ids\": null, \"is_active\": true, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": null, \"sale_price\": \"78.70\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"category_id\": null, \"description\": null, \"purchase_price\": \"21.92\", \"min_stock_level\": 100, \"long_description\": null}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(8,'products','Product Service Item \"Omeprazole 431mg\" was created','Workdo\\ProductService\\Models\\ProductServiceItem',8,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 8, \"sku\": \"MED-9BQDJM\", \"name\": \"Omeprazole 431mg\", \"type\": \"product\", \"unit\": null, \"image\": null, \"images\": null, \"tax_ids\": null, \"is_active\": true, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": null, \"sale_price\": \"73.55\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"category_id\": null, \"description\": null, \"purchase_price\": \"29.15\", \"min_stock_level\": 100, \"long_description\": null}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(9,'products','Product Service Item \"Simvastatin 132mg\" was created','Workdo\\ProductService\\Models\\ProductServiceItem',9,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 9, \"sku\": \"MED-WMPX0C\", \"name\": \"Simvastatin 132mg\", \"type\": \"product\", \"unit\": null, \"image\": null, \"images\": null, \"tax_ids\": null, \"is_active\": true, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": null, \"sale_price\": \"163.47\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"category_id\": null, \"description\": null, \"purchase_price\": \"12.68\", \"min_stock_level\": 100, \"long_description\": null}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(10,'products','Product Service Item \"Azithromycin 254mg\" was created','Workdo\\ProductService\\Models\\ProductServiceItem',10,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 10, \"sku\": \"MED-34XTOX\", \"name\": \"Azithromycin 254mg\", \"type\": \"product\", \"unit\": null, \"image\": null, \"images\": null, \"tax_ids\": null, \"is_active\": true, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": null, \"sale_price\": \"179.05\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"category_id\": null, \"description\": null, \"purchase_price\": \"12.73\", \"min_stock_level\": 100, \"long_description\": null}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(11,'products','Product Service Item \"Expired generic antibiotic\" was created','Workdo\\ProductService\\Models\\ProductServiceItem',11,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 11, \"sku\": \"DEAD-ZSQASW\", \"name\": \"Expired generic antibiotic\", \"type\": \"product\", \"unit\": null, \"image\": null, \"images\": null, \"tax_ids\": null, \"is_active\": true, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": null, \"sale_price\": \"150.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"category_id\": null, \"description\": null, \"purchase_price\": \"50.00\", \"min_stock_level\": 10, \"long_description\": null}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(12,'purchase','Purchase Invoice #P-TEST-DEAD was created','App\\Models\\PurchaseInvoice',1,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 1, \"notes\": null, \"status\": \"posted\", \"due_date\": \"2026-02-01T16:00:00.000000Z\", \"subtotal\": \"10000.00\", \"vendor_id\": 46, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-01-25T16:00:00.000000Z\", \"total_amount\": \"10000.00\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"10000.00\", \"invoice_number\": \"P-TEST-DEAD\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(13,'warehouse','Warehouse Stock Movement #1 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',1,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 1, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"200.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 11, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received Dead Stock\", \"reference_id\": 1, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(14,'purchase','Purchase Invoice #P-TEST-NP6SN-0 was created','App\\Models\\PurchaseInvoice',2,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 2, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1094.46\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-24T16:00:00.000000Z\", \"total_amount\": \"1094.46\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1094.46\", \"invoice_number\": \"P-TEST-NP6SN-0\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(15,'accounting','Journal Entry #1 was created','Workdo\\Account\\Models\\JournalEntry',1,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 1, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-NP6SN-0\", \"total_debit\": \"1094.46\", \"journal_date\": \"2026-04-24T16:00:00.000000Z\", \"reference_id\": 2, \"total_credit\": \"1094.46\", \"journal_number\": \"JE-2026-001\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(16,'purchase','Purchase Invoice #P-TEST-NP6SN-0 was updated','App\\Models\\PurchaseInvoice',2,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(17,'warehouse','Warehouse Stock Movement #2 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',2,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 2, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"58.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-NP6SN-0\", \"reference_id\": 2, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(18,'sales','Sales Invoice #S-TEST-7NITR-0 was created','App\\Models\\SalesInvoice',1,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 1, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"7179.36\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-23T16:00:00.000000Z\", \"total_amount\": \"7179.36\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"7179.36\", \"invoice_number\": \"S-TEST-7NITR-0\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(19,'accounting','Journal Entry #2 was created','Workdo\\Account\\Models\\JournalEntry',2,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 2, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-7NITR-0\", \"total_debit\": \"7179.36\", \"journal_date\": \"2026-04-23T16:00:00.000000Z\", \"reference_id\": 1, \"total_credit\": \"7179.36\", \"journal_number\": \"JE-2026-002\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(20,'sales','Sales Invoice #S-TEST-7NITR-0 was updated','App\\Models\\SalesInvoice',1,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(21,'warehouse','Warehouse Stock Movement #3 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',3,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 3, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"48.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-7NITR-0\", \"reference_id\": 1, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(22,'purchase','Purchase Invoice #P-TEST-EOWHL-1 was created','App\\Models\\PurchaseInvoice',3,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 3, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"507.20\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-22T16:00:00.000000Z\", \"total_amount\": \"507.20\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"507.20\", \"invoice_number\": \"P-TEST-EOWHL-1\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(23,'accounting','Journal Entry #3 was created','Workdo\\Account\\Models\\JournalEntry',3,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 3, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-EOWHL-1\", \"total_debit\": \"507.20\", \"journal_date\": \"2026-04-22T16:00:00.000000Z\", \"reference_id\": 3, \"total_credit\": \"507.20\", \"journal_number\": \"JE-2026-003\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(24,'purchase','Purchase Invoice #P-TEST-EOWHL-1 was updated','App\\Models\\PurchaseInvoice',3,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(25,'warehouse','Warehouse Stock Movement #4 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',4,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 4, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"40.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 9, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-EOWHL-1\", \"reference_id\": 3, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(26,'sales','Sales Invoice #S-TEST-EZ0CG-1 was created','App\\Models\\SalesInvoice',2,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 2, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"314.80\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-21T16:00:00.000000Z\", \"total_amount\": \"314.80\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"314.80\", \"invoice_number\": \"S-TEST-EZ0CG-1\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(27,'accounting','Journal Entry #4 was created','Workdo\\Account\\Models\\JournalEntry',4,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 4, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-EZ0CG-1\", \"total_debit\": \"314.80\", \"journal_date\": \"2026-04-21T16:00:00.000000Z\", \"reference_id\": 2, \"total_credit\": \"314.80\", \"journal_number\": \"JE-2026-004\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(28,'sales','Sales Invoice #S-TEST-EZ0CG-1 was updated','App\\Models\\SalesInvoice',2,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(29,'warehouse','Warehouse Stock Movement #5 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',5,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 5, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"4.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-EZ0CG-1\", \"reference_id\": 2, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(30,'purchase','Purchase Invoice #P-TEST-KSGOT-2 was created','App\\Models\\PurchaseInvoice',4,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 4, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"306.88\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-19T16:00:00.000000Z\", \"total_amount\": \"306.88\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"306.88\", \"invoice_number\": \"P-TEST-KSGOT-2\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(31,'accounting','Journal Entry #5 was created','Workdo\\Account\\Models\\JournalEntry',5,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 5, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-KSGOT-2\", \"total_debit\": \"306.88\", \"journal_date\": \"2026-04-19T16:00:00.000000Z\", \"reference_id\": 4, \"total_credit\": \"306.88\", \"journal_number\": \"JE-2026-005\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(32,'purchase','Purchase Invoice #P-TEST-KSGOT-2 was updated','App\\Models\\PurchaseInvoice',4,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(33,'warehouse','Warehouse Stock Movement #6 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',6,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 6, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"14.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-KSGOT-2\", \"reference_id\": 4, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(34,'sales','Sales Invoice #S-TEST-HRM1L-2 was created','App\\Models\\SalesInvoice',3,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 3, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"68.31\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-02T16:00:00.000000Z\", \"total_amount\": \"68.31\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"68.31\", \"invoice_number\": \"S-TEST-HRM1L-2\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(35,'accounting','Journal Entry #6 was created','Workdo\\Account\\Models\\JournalEntry',6,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 6, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-HRM1L-2\", \"total_debit\": \"68.31\", \"journal_date\": \"2026-04-02T16:00:00.000000Z\", \"reference_id\": 3, \"total_credit\": \"68.31\", \"journal_number\": \"JE-2026-006\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(36,'sales','Sales Invoice #S-TEST-HRM1L-2 was updated','App\\Models\\SalesInvoice',3,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(37,'warehouse','Warehouse Stock Movement #7 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',7,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 7, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"1.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 4, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-HRM1L-2\", \"reference_id\": 3, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(38,'purchase','Purchase Invoice #P-TEST-9TFYX-3 was created','App\\Models\\PurchaseInvoice',5,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 5, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1433.52\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-20T16:00:00.000000Z\", \"total_amount\": \"1433.52\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1433.52\", \"invoice_number\": \"P-TEST-9TFYX-3\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(39,'accounting','Journal Entry #7 was created','Workdo\\Account\\Models\\JournalEntry',7,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 7, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-9TFYX-3\", \"total_debit\": \"1433.52\", \"journal_date\": \"2026-04-20T16:00:00.000000Z\", \"reference_id\": 5, \"total_credit\": \"1433.52\", \"journal_number\": \"JE-2026-007\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(40,'purchase','Purchase Invoice #P-TEST-9TFYX-3 was updated','App\\Models\\PurchaseInvoice',5,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(41,'warehouse','Warehouse Stock Movement #8 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',8,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 8, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"99.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-9TFYX-3\", \"reference_id\": 5, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(42,'sales','Sales Invoice #S-TEST-XDVP7-3 was created','App\\Models\\SalesInvoice',4,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 4, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"4187.96\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-09T16:00:00.000000Z\", \"total_amount\": \"4187.96\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"4187.96\", \"invoice_number\": \"S-TEST-XDVP7-3\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(43,'accounting','Journal Entry #8 was created','Workdo\\Account\\Models\\JournalEntry',8,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 8, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-XDVP7-3\", \"total_debit\": \"4187.96\", \"journal_date\": \"2026-04-09T16:00:00.000000Z\", \"reference_id\": 4, \"total_credit\": \"4187.96\", \"journal_number\": \"JE-2026-008\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(44,'sales','Sales Invoice #S-TEST-XDVP7-3 was updated','App\\Models\\SalesInvoice',4,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(45,'warehouse','Warehouse Stock Movement #9 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',9,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 9, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"28.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-XDVP7-3\", \"reference_id\": 4, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(46,'purchase','Purchase Invoice #P-TEST-LVQCH-4 was created','App\\Models\\PurchaseInvoice',6,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 6, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"2192.00\", \"vendor_id\": 45, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-15T16:00:00.000000Z\", \"total_amount\": \"2192.00\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"2192.00\", \"invoice_number\": \"P-TEST-LVQCH-4\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(47,'accounting','Journal Entry #9 was created','Workdo\\Account\\Models\\JournalEntry',9,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 9, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-LVQCH-4\", \"total_debit\": \"2192.00\", \"journal_date\": \"2026-04-15T16:00:00.000000Z\", \"reference_id\": 6, \"total_credit\": \"2192.00\", \"journal_number\": \"JE-2026-009\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(48,'purchase','Purchase Invoice #P-TEST-LVQCH-4 was updated','App\\Models\\PurchaseInvoice',6,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(49,'warehouse','Warehouse Stock Movement #10 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',10,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 10, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"100.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-LVQCH-4\", \"reference_id\": 6, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(50,'sales','Sales Invoice #S-TEST-GH2OT-4 was created','App\\Models\\SalesInvoice',5,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 5, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"236.10\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 53, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-03-31T16:00:00.000000Z\", \"total_amount\": \"236.10\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"236.10\", \"invoice_number\": \"S-TEST-GH2OT-4\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(51,'accounting','Journal Entry #10 was created','Workdo\\Account\\Models\\JournalEntry',10,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 10, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-GH2OT-4\", \"total_debit\": \"236.10\", \"journal_date\": \"2026-03-31T16:00:00.000000Z\", \"reference_id\": 5, \"total_credit\": \"236.10\", \"journal_number\": \"JE-2026-010\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(52,'sales','Sales Invoice #S-TEST-GH2OT-4 was updated','App\\Models\\SalesInvoice',5,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(53,'warehouse','Warehouse Stock Movement #11 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',11,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 11, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"3.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-GH2OT-4\", \"reference_id\": 5, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(54,'purchase','Purchase Invoice #P-TEST-ELZRJ-5 was created','App\\Models\\PurchaseInvoice',7,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 7, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1939.00\", \"vendor_id\": 46, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-20T16:00:00.000000Z\", \"total_amount\": \"1939.00\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1939.00\", \"invoice_number\": \"P-TEST-ELZRJ-5\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(55,'accounting','Journal Entry #11 was created','Workdo\\Account\\Models\\JournalEntry',11,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 11, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-ELZRJ-5\", \"total_debit\": \"1939.00\", \"journal_date\": \"2026-04-20T16:00:00.000000Z\", \"reference_id\": 7, \"total_credit\": \"1939.00\", \"journal_number\": \"JE-2026-011\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(56,'purchase','Purchase Invoice #P-TEST-ELZRJ-5 was updated','App\\Models\\PurchaseInvoice',7,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(57,'warehouse','Warehouse Stock Movement #12 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',12,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 12, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"100.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-ELZRJ-5\", \"reference_id\": 7, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(58,'sales','Sales Invoice #S-TEST-LCA2P-5 was created','App\\Models\\SalesInvoice',6,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 6, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"2991.40\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 53, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-14T16:00:00.000000Z\", \"total_amount\": \"2991.40\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"2991.40\", \"invoice_number\": \"S-TEST-LCA2P-5\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(59,'accounting','Journal Entry #12 was created','Workdo\\Account\\Models\\JournalEntry',12,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 12, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-LCA2P-5\", \"total_debit\": \"2991.40\", \"journal_date\": \"2026-04-14T16:00:00.000000Z\", \"reference_id\": 6, \"total_credit\": \"2991.40\", \"journal_number\": \"JE-2026-012\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(60,'sales','Sales Invoice #S-TEST-LCA2P-5 was updated','App\\Models\\SalesInvoice',6,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(61,'warehouse','Warehouse Stock Movement #13 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',13,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 13, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"20.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-LCA2P-5\", \"reference_id\": 6, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(62,'purchase','Purchase Invoice #P-TEST-ZMBM6-6 was created','App\\Models\\PurchaseInvoice',8,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 8, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"384.78\", \"vendor_id\": 45, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-09T16:00:00.000000Z\", \"total_amount\": \"384.78\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"384.78\", \"invoice_number\": \"P-TEST-ZMBM6-6\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(63,'accounting','Journal Entry #13 was created','Workdo\\Account\\Models\\JournalEntry',13,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 13, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-ZMBM6-6\", \"total_debit\": \"384.78\", \"journal_date\": \"2026-04-09T16:00:00.000000Z\", \"reference_id\": 8, \"total_credit\": \"384.78\", \"journal_number\": \"JE-2026-013\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(64,'purchase','Purchase Invoice #P-TEST-ZMBM6-6 was updated','App\\Models\\PurchaseInvoice',8,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(65,'warehouse','Warehouse Stock Movement #14 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',14,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 14, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"11.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 6, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-ZMBM6-6\", \"reference_id\": 8, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(66,'sales','Sales Invoice #S-TEST-B3K6S-6 was created','App\\Models\\SalesInvoice',7,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 7, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"653.88\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-01T16:00:00.000000Z\", \"total_amount\": \"653.88\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"653.88\", \"invoice_number\": \"S-TEST-B3K6S-6\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(67,'accounting','Journal Entry #14 was created','Workdo\\Account\\Models\\JournalEntry',14,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 14, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-B3K6S-6\", \"total_debit\": \"653.88\", \"journal_date\": \"2026-04-01T16:00:00.000000Z\", \"reference_id\": 7, \"total_credit\": \"653.88\", \"journal_number\": \"JE-2026-014\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(68,'sales','Sales Invoice #S-TEST-B3K6S-6 was updated','App\\Models\\SalesInvoice',7,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(69,'warehouse','Warehouse Stock Movement #15 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',15,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 15, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"4.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 9, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-B3K6S-6\", \"reference_id\": 7, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(70,'purchase','Purchase Invoice #P-TEST-HQF4P-7 was created','App\\Models\\PurchaseInvoice',9,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 9, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1900.22\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-23T16:00:00.000000Z\", \"total_amount\": \"1900.22\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1900.22\", \"invoice_number\": \"P-TEST-HQF4P-7\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(71,'accounting','Journal Entry #15 was created','Workdo\\Account\\Models\\JournalEntry',15,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 15, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-HQF4P-7\", \"total_debit\": \"1900.22\", \"journal_date\": \"2026-04-23T16:00:00.000000Z\", \"reference_id\": 9, \"total_credit\": \"1900.22\", \"journal_number\": \"JE-2026-015\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(72,'purchase','Purchase Invoice #P-TEST-HQF4P-7 was updated','App\\Models\\PurchaseInvoice',9,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(73,'warehouse','Warehouse Stock Movement #16 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',16,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 16, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"98.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-HQF4P-7\", \"reference_id\": 9, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(74,'sales','Sales Invoice #S-TEST-DHRZA-7 was created','App\\Models\\SalesInvoice',8,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 8, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"179.05\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 53, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-24T16:00:00.000000Z\", \"total_amount\": \"179.05\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"179.05\", \"invoice_number\": \"S-TEST-DHRZA-7\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(75,'accounting','Journal Entry #16 was created','Workdo\\Account\\Models\\JournalEntry',16,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 16, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-DHRZA-7\", \"total_debit\": \"179.05\", \"journal_date\": \"2026-04-24T16:00:00.000000Z\", \"reference_id\": 8, \"total_credit\": \"179.05\", \"journal_number\": \"JE-2026-016\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(76,'sales','Sales Invoice #S-TEST-DHRZA-7 was updated','App\\Models\\SalesInvoice',8,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(77,'warehouse','Warehouse Stock Movement #17 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',17,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 17, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"1.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 10, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-DHRZA-7\", \"reference_id\": 8, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(78,'purchase','Purchase Invoice #P-TEST-64118-8 was created','App\\Models\\PurchaseInvoice',10,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 10, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"2740.10\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-19T16:00:00.000000Z\", \"total_amount\": \"2740.10\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"2740.10\", \"invoice_number\": \"P-TEST-64118-8\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(79,'accounting','Journal Entry #17 was created','Workdo\\Account\\Models\\JournalEntry',17,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 17, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-64118-8\", \"total_debit\": \"2740.10\", \"journal_date\": \"2026-04-19T16:00:00.000000Z\", \"reference_id\": 10, \"total_credit\": \"2740.10\", \"journal_number\": \"JE-2026-017\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(80,'purchase','Purchase Invoice #P-TEST-64118-8 was updated','App\\Models\\PurchaseInvoice',10,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(81,'warehouse','Warehouse Stock Movement #18 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',18,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 18, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"94.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 8, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-64118-8\", \"reference_id\": 10, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(82,'sales','Sales Invoice #S-TEST-WFALW-8 was created','App\\Models\\SalesInvoice',9,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 9, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"153.08\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-08T16:00:00.000000Z\", \"total_amount\": \"153.08\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"153.08\", \"invoice_number\": \"S-TEST-WFALW-8\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(83,'accounting','Journal Entry #18 was created','Workdo\\Account\\Models\\JournalEntry',18,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 18, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-WFALW-8\", \"total_debit\": \"153.08\", \"journal_date\": \"2026-04-08T16:00:00.000000Z\", \"reference_id\": 9, \"total_credit\": \"153.08\", \"journal_number\": \"JE-2026-018\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(84,'sales','Sales Invoice #S-TEST-WFALW-8 was updated','App\\Models\\SalesInvoice',9,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(85,'warehouse','Warehouse Stock Movement #19 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',19,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 19, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"1.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 2, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-WFALW-8\", \"reference_id\": 9, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(86,'purchase','Purchase Invoice #P-TEST-0VPI4-9 was created','App\\Models\\PurchaseInvoice',11,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 11, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1853.94\", \"vendor_id\": 47, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-02T16:00:00.000000Z\", \"total_amount\": \"1853.94\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1853.94\", \"invoice_number\": \"P-TEST-0VPI4-9\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(87,'accounting','Journal Entry #19 was created','Workdo\\Account\\Models\\JournalEntry',19,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 19, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-0VPI4-9\", \"total_debit\": \"1853.94\", \"journal_date\": \"2026-04-02T16:00:00.000000Z\", \"reference_id\": 11, \"total_credit\": \"1853.94\", \"journal_number\": \"JE-2026-019\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(88,'purchase','Purchase Invoice #P-TEST-0VPI4-9 was updated','App\\Models\\PurchaseInvoice',11,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(89,'warehouse','Warehouse Stock Movement #20 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',20,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 20, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"53.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 6, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-0VPI4-9\", \"reference_id\": 11, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(90,'sales','Sales Invoice #S-TEST-RC09H-9 was created','App\\Models\\SalesInvoice',10,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 10, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"136.62\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-12T16:00:00.000000Z\", \"total_amount\": \"136.62\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"136.62\", \"invoice_number\": \"S-TEST-RC09H-9\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(91,'accounting','Journal Entry #20 was created','Workdo\\Account\\Models\\JournalEntry',20,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 20, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-RC09H-9\", \"total_debit\": \"136.62\", \"journal_date\": \"2026-04-12T16:00:00.000000Z\", \"reference_id\": 10, \"total_credit\": \"136.62\", \"journal_number\": \"JE-2026-020\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(92,'sales','Sales Invoice #S-TEST-RC09H-9 was updated','App\\Models\\SalesInvoice',10,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(93,'warehouse','Warehouse Stock Movement #21 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',21,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 21, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"2.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 4, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-RC09H-9\", \"reference_id\": 10, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(94,'purchase','Purchase Invoice #P-TEST-IABVB-10 was created','App\\Models\\PurchaseInvoice',12,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 12, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"2623.50\", \"vendor_id\": 46, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-03-31T16:00:00.000000Z\", \"total_amount\": \"2623.50\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"2623.50\", \"invoice_number\": \"P-TEST-IABVB-10\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(95,'accounting','Journal Entry #21 was created','Workdo\\Account\\Models\\JournalEntry',21,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 21, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-IABVB-10\", \"total_debit\": \"2623.50\", \"journal_date\": \"2026-03-31T16:00:00.000000Z\", \"reference_id\": 12, \"total_credit\": \"2623.50\", \"journal_number\": \"JE-2026-021\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(96,'purchase','Purchase Invoice #P-TEST-IABVB-10 was updated','App\\Models\\PurchaseInvoice',12,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(97,'warehouse','Warehouse Stock Movement #22 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',22,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 22, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"75.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 6, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-IABVB-10\", \"reference_id\": 12, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(98,'sales','Sales Invoice #S-TEST-DNIII-10 was created','App\\Models\\SalesInvoice',11,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 11, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"2991.40\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-21T16:00:00.000000Z\", \"total_amount\": \"2991.40\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"2991.40\", \"invoice_number\": \"S-TEST-DNIII-10\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(99,'accounting','Journal Entry #22 was created','Workdo\\Account\\Models\\JournalEntry',22,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 22, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-DNIII-10\", \"total_debit\": \"2991.40\", \"journal_date\": \"2026-04-21T16:00:00.000000Z\", \"reference_id\": 11, \"total_credit\": \"2991.40\", \"journal_number\": \"JE-2026-022\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(100,'sales','Sales Invoice #S-TEST-DNIII-10 was updated','App\\Models\\SalesInvoice',11,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(101,'warehouse','Warehouse Stock Movement #23 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',23,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 23, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"20.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-DNIII-10\", \"reference_id\": 11, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(102,'purchase','Purchase Invoice #P-TEST-GC3L6-11 was created','App\\Models\\PurchaseInvoice',13,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 13, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1415.47\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-14T16:00:00.000000Z\", \"total_amount\": \"1415.47\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1415.47\", \"invoice_number\": \"P-TEST-GC3L6-11\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(103,'accounting','Journal Entry #23 was created','Workdo\\Account\\Models\\JournalEntry',23,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 23, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-GC3L6-11\", \"total_debit\": \"1415.47\", \"journal_date\": \"2026-04-14T16:00:00.000000Z\", \"reference_id\": 13, \"total_credit\": \"1415.47\", \"journal_number\": \"JE-2026-023\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(104,'purchase','Purchase Invoice #P-TEST-GC3L6-11 was updated','App\\Models\\PurchaseInvoice',13,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(105,'warehouse','Warehouse Stock Movement #24 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',24,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 24, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"73.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-GC3L6-11\", \"reference_id\": 13, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(106,'sales','Sales Invoice #S-TEST-ZF1K8-11 was created','App\\Models\\SalesInvoice',12,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 12, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"606.70\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-09T16:00:00.000000Z\", \"total_amount\": \"606.70\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"606.70\", \"invoice_number\": \"S-TEST-ZF1K8-11\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(107,'accounting','Journal Entry #24 was created','Workdo\\Account\\Models\\JournalEntry',24,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 24, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-ZF1K8-11\", \"total_debit\": \"606.70\", \"journal_date\": \"2026-04-09T16:00:00.000000Z\", \"reference_id\": 12, \"total_credit\": \"606.70\", \"journal_number\": \"JE-2026-024\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(108,'sales','Sales Invoice #S-TEST-ZF1K8-11 was updated','App\\Models\\SalesInvoice',12,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(109,'warehouse','Warehouse Stock Movement #25 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',25,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 25, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"5.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-ZF1K8-11\", \"reference_id\": 12, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(110,'purchase','Purchase Invoice #P-TEST-2QJPL-12 was created','App\\Models\\PurchaseInvoice',14,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 14, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"963.68\", \"vendor_id\": 45, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-08T16:00:00.000000Z\", \"total_amount\": \"963.68\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"963.68\", \"invoice_number\": \"P-TEST-2QJPL-12\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(111,'accounting','Journal Entry #25 was created','Workdo\\Account\\Models\\JournalEntry',25,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 25, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-2QJPL-12\", \"total_debit\": \"963.68\", \"journal_date\": \"2026-04-08T16:00:00.000000Z\", \"reference_id\": 14, \"total_credit\": \"963.68\", \"journal_number\": \"JE-2026-025\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(112,'purchase','Purchase Invoice #P-TEST-2QJPL-12 was updated','App\\Models\\PurchaseInvoice',14,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(113,'warehouse','Warehouse Stock Movement #26 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',26,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 26, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"76.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 9, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-2QJPL-12\", \"reference_id\": 14, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(114,'sales','Sales Invoice #S-TEST-WTD7G-12 was created','App\\Models\\SalesInvoice',13,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 13, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"459.24\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-18T16:00:00.000000Z\", \"total_amount\": \"459.24\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"459.24\", \"invoice_number\": \"S-TEST-WTD7G-12\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(115,'accounting','Journal Entry #26 was created','Workdo\\Account\\Models\\JournalEntry',26,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 26, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-WTD7G-12\", \"total_debit\": \"459.24\", \"journal_date\": \"2026-04-18T16:00:00.000000Z\", \"reference_id\": 13, \"total_credit\": \"459.24\", \"journal_number\": \"JE-2026-026\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(116,'sales','Sales Invoice #S-TEST-WTD7G-12 was updated','App\\Models\\SalesInvoice',13,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(117,'warehouse','Warehouse Stock Movement #27 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',27,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 27, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"3.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 2, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-WTD7G-12\", \"reference_id\": 13, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(118,'purchase','Purchase Invoice #P-TEST-AYM59-13 was created','App\\Models\\PurchaseInvoice',15,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 15, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1268.00\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-18T16:00:00.000000Z\", \"total_amount\": \"1268.00\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"1268.00\", \"invoice_number\": \"P-TEST-AYM59-13\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(119,'accounting','Journal Entry #27 was created','Workdo\\Account\\Models\\JournalEntry',27,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 27, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-AYM59-13\", \"total_debit\": \"1268.00\", \"journal_date\": \"2026-04-18T16:00:00.000000Z\", \"reference_id\": 15, \"total_credit\": \"1268.00\", \"journal_number\": \"JE-2026-027\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(120,'purchase','Purchase Invoice #P-TEST-AYM59-13 was updated','App\\Models\\PurchaseInvoice',15,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(121,'warehouse','Warehouse Stock Movement #28 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',28,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 28, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"100.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 9, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-AYM59-13\", \"reference_id\": 15, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(122,'sales','Sales Invoice #S-TEST-UOISK-13 was created','App\\Models\\SalesInvoice',14,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 14, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"459.24\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 50, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-14T16:00:00.000000Z\", \"total_amount\": \"459.24\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"459.24\", \"invoice_number\": \"S-TEST-UOISK-13\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(123,'accounting','Journal Entry #28 was created','Workdo\\Account\\Models\\JournalEntry',28,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 28, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-UOISK-13\", \"total_debit\": \"459.24\", \"journal_date\": \"2026-04-14T16:00:00.000000Z\", \"reference_id\": 14, \"total_credit\": \"459.24\", \"journal_number\": \"JE-2026-028\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(124,'sales','Sales Invoice #S-TEST-UOISK-13 was updated','App\\Models\\SalesInvoice',14,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(125,'warehouse','Warehouse Stock Movement #29 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',29,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 29, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"3.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 2, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-UOISK-13\", \"reference_id\": 14, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(126,'purchase','Purchase Invoice #P-TEST-5H02Q-14 was created','App\\Models\\PurchaseInvoice',16,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 16, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"709.52\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-23T16:00:00.000000Z\", \"total_amount\": \"709.52\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"709.52\", \"invoice_number\": \"P-TEST-5H02Q-14\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(127,'accounting','Journal Entry #29 was created','Workdo\\Account\\Models\\JournalEntry',29,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 29, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-5H02Q-14\", \"total_debit\": \"709.52\", \"journal_date\": \"2026-04-23T16:00:00.000000Z\", \"reference_id\": 16, \"total_credit\": \"709.52\", \"journal_number\": \"JE-2026-029\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(128,'purchase','Purchase Invoice #P-TEST-5H02Q-14 was updated','App\\Models\\PurchaseInvoice',16,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(129,'warehouse','Warehouse Stock Movement #30 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',30,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 30, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"49.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-5H02Q-14\", \"reference_id\": 16, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(130,'sales','Sales Invoice #S-TEST-X11NN-14 was created','App\\Models\\SalesInvoice',15,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 15, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"716.20\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-18T16:00:00.000000Z\", \"total_amount\": \"716.20\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"716.20\", \"invoice_number\": \"S-TEST-X11NN-14\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(131,'accounting','Journal Entry #30 was created','Workdo\\Account\\Models\\JournalEntry',30,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 30, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-X11NN-14\", \"total_debit\": \"716.20\", \"journal_date\": \"2026-04-18T16:00:00.000000Z\", \"reference_id\": 15, \"total_credit\": \"716.20\", \"journal_number\": \"JE-2026-030\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(132,'sales','Sales Invoice #S-TEST-X11NN-14 was updated','App\\Models\\SalesInvoice',15,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(133,'warehouse','Warehouse Stock Movement #31 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',31,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 31, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"4.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 10, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-X11NN-14\", \"reference_id\": 15, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(134,'purchase','Purchase Invoice #P-TEST-5CVBY-15 was created','App\\Models\\PurchaseInvoice',17,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 17, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"698.04\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-06T16:00:00.000000Z\", \"total_amount\": \"698.04\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"698.04\", \"invoice_number\": \"P-TEST-5CVBY-15\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(135,'accounting','Journal Entry #31 was created','Workdo\\Account\\Models\\JournalEntry',31,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 31, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-5CVBY-15\", \"total_debit\": \"698.04\", \"journal_date\": \"2026-04-06T16:00:00.000000Z\", \"reference_id\": 17, \"total_credit\": \"698.04\", \"journal_number\": \"JE-2026-031\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(136,'purchase','Purchase Invoice #P-TEST-5CVBY-15 was updated','App\\Models\\PurchaseInvoice',17,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(137,'warehouse','Warehouse Stock Movement #32 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',32,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 32, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"36.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-5CVBY-15\", \"reference_id\": 17, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(138,'sales','Sales Invoice #S-TEST-FDBDS-15 was created','App\\Models\\SalesInvoice',16,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 16, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"4337.53\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-18T16:00:00.000000Z\", \"total_amount\": \"4337.53\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"4337.53\", \"invoice_number\": \"S-TEST-FDBDS-15\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(139,'accounting','Journal Entry #32 was created','Workdo\\Account\\Models\\JournalEntry',32,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 32, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-FDBDS-15\", \"total_debit\": \"4337.53\", \"journal_date\": \"2026-04-18T16:00:00.000000Z\", \"reference_id\": 16, \"total_credit\": \"4337.53\", \"journal_number\": \"JE-2026-032\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(140,'sales','Sales Invoice #S-TEST-FDBDS-15 was updated','App\\Models\\SalesInvoice',16,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(141,'warehouse','Warehouse Stock Movement #33 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',33,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 33, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"29.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-FDBDS-15\", \"reference_id\": 16, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(142,'purchase','Purchase Invoice #P-TEST-YAKR1-16 was created','App\\Models\\PurchaseInvoice',18,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 18, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1686.93\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-16T16:00:00.000000Z\", \"total_amount\": \"1686.93\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"1686.93\", \"invoice_number\": \"P-TEST-YAKR1-16\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(143,'accounting','Journal Entry #33 was created','Workdo\\Account\\Models\\JournalEntry',33,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 33, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-YAKR1-16\", \"total_debit\": \"1686.93\", \"journal_date\": \"2026-04-16T16:00:00.000000Z\", \"reference_id\": 18, \"total_credit\": \"1686.93\", \"journal_number\": \"JE-2026-033\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(144,'purchase','Purchase Invoice #P-TEST-YAKR1-16 was updated','App\\Models\\PurchaseInvoice',18,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(145,'warehouse','Warehouse Stock Movement #34 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',34,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 34, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"87.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-YAKR1-16\", \"reference_id\": 18, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(146,'sales','Sales Invoice #S-TEST-SQXAH-16 was created','App\\Models\\SalesInvoice',17,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 17, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"236.10\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-21T16:00:00.000000Z\", \"total_amount\": \"236.10\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"236.10\", \"invoice_number\": \"S-TEST-SQXAH-16\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(147,'accounting','Journal Entry #34 was created','Workdo\\Account\\Models\\JournalEntry',34,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 34, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-SQXAH-16\", \"total_debit\": \"236.10\", \"journal_date\": \"2026-04-21T16:00:00.000000Z\", \"reference_id\": 17, \"total_credit\": \"236.10\", \"journal_number\": \"JE-2026-034\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(148,'sales','Sales Invoice #S-TEST-SQXAH-16 was updated','App\\Models\\SalesInvoice',17,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(149,'warehouse','Warehouse Stock Movement #35 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',35,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 35, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"3.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-SQXAH-16\", \"reference_id\": 17, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(150,'purchase','Purchase Invoice #P-TEST-3FOMU-17 was created','App\\Models\\PurchaseInvoice',19,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 19, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"471.01\", \"vendor_id\": 47, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-11T16:00:00.000000Z\", \"total_amount\": \"471.01\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"471.01\", \"invoice_number\": \"P-TEST-3FOMU-17\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(151,'accounting','Journal Entry #35 was created','Workdo\\Account\\Models\\JournalEntry',35,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 35, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-3FOMU-17\", \"total_debit\": \"471.01\", \"journal_date\": \"2026-04-11T16:00:00.000000Z\", \"reference_id\": 19, \"total_credit\": \"471.01\", \"journal_number\": \"JE-2026-035\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(152,'purchase','Purchase Invoice #P-TEST-3FOMU-17 was updated','App\\Models\\PurchaseInvoice',19,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(153,'warehouse','Warehouse Stock Movement #36 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',36,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 36, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"37.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 10, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-3FOMU-17\", \"reference_id\": 19, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(154,'sales','Sales Invoice #S-TEST-VQ2YC-17 was created','App\\Models\\SalesInvoice',18,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 18, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"294.20\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-24T16:00:00.000000Z\", \"total_amount\": \"294.20\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"294.20\", \"invoice_number\": \"S-TEST-VQ2YC-17\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(155,'accounting','Journal Entry #36 was created','Workdo\\Account\\Models\\JournalEntry',36,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 36, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-VQ2YC-17\", \"total_debit\": \"294.20\", \"journal_date\": \"2026-04-24T16:00:00.000000Z\", \"reference_id\": 18, \"total_credit\": \"294.20\", \"journal_number\": \"JE-2026-036\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(156,'sales','Sales Invoice #S-TEST-VQ2YC-17 was updated','App\\Models\\SalesInvoice',18,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(157,'warehouse','Warehouse Stock Movement #37 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',37,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 37, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"4.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 8, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-VQ2YC-17\", \"reference_id\": 18, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(158,'purchase','Purchase Invoice #P-TEST-J0BOZ-18 was created','App\\Models\\PurchaseInvoice',20,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 20, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"362.00\", \"vendor_id\": 47, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-08T16:00:00.000000Z\", \"total_amount\": \"362.00\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"362.00\", \"invoice_number\": \"P-TEST-J0BOZ-18\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(159,'accounting','Journal Entry #37 was created','Workdo\\Account\\Models\\JournalEntry',37,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 37, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-J0BOZ-18\", \"total_debit\": \"362.00\", \"journal_date\": \"2026-04-08T16:00:00.000000Z\", \"reference_id\": 20, \"total_credit\": \"362.00\", \"journal_number\": \"JE-2026-037\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(160,'purchase','Purchase Invoice #P-TEST-J0BOZ-18 was updated','App\\Models\\PurchaseInvoice',20,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(161,'warehouse','Warehouse Stock Movement #38 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',38,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 38, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"25.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-J0BOZ-18\", \"reference_id\": 20, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(162,'sales','Sales Invoice #S-TEST-N1A7U-18 was created','App\\Models\\SalesInvoice',19,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 19, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"314.80\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-03T16:00:00.000000Z\", \"total_amount\": \"314.80\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"314.80\", \"invoice_number\": \"S-TEST-N1A7U-18\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(163,'accounting','Journal Entry #38 was created','Workdo\\Account\\Models\\JournalEntry',38,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 38, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-N1A7U-18\", \"total_debit\": \"314.80\", \"journal_date\": \"2026-04-03T16:00:00.000000Z\", \"reference_id\": 19, \"total_credit\": \"314.80\", \"journal_number\": \"JE-2026-038\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(164,'sales','Sales Invoice #S-TEST-N1A7U-18 was updated','App\\Models\\SalesInvoice',19,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(165,'warehouse','Warehouse Stock Movement #39 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',39,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 39, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"4.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-N1A7U-18\", \"reference_id\": 19, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(166,'purchase','Purchase Invoice #P-TEST-KMAG6-19 was created','App\\Models\\PurchaseInvoice',21,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 21, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"492.32\", \"vendor_id\": 46, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-22T16:00:00.000000Z\", \"total_amount\": \"492.32\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"492.32\", \"invoice_number\": \"P-TEST-KMAG6-19\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(167,'accounting','Journal Entry #39 was created','Workdo\\Account\\Models\\JournalEntry',39,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 39, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-KMAG6-19\", \"total_debit\": \"492.32\", \"journal_date\": \"2026-04-22T16:00:00.000000Z\", \"reference_id\": 21, \"total_credit\": \"492.32\", \"journal_number\": \"JE-2026-039\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(168,'purchase','Purchase Invoice #P-TEST-KMAG6-19 was updated','App\\Models\\PurchaseInvoice',21,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(169,'warehouse','Warehouse Stock Movement #40 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',40,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 40, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"34.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-KMAG6-19\", \"reference_id\": 21, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(170,'sales','Sales Invoice #S-TEST-MRSK2-19 was created','App\\Models\\SalesInvoice',20,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 20, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"204.93\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-04T16:00:00.000000Z\", \"total_amount\": \"204.93\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"204.93\", \"invoice_number\": \"S-TEST-MRSK2-19\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(171,'accounting','Journal Entry #40 was created','Workdo\\Account\\Models\\JournalEntry',40,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 40, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-MRSK2-19\", \"total_debit\": \"204.93\", \"journal_date\": \"2026-04-04T16:00:00.000000Z\", \"reference_id\": 20, \"total_credit\": \"204.93\", \"journal_number\": \"JE-2026-040\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(172,'sales','Sales Invoice #S-TEST-MRSK2-19 was updated','App\\Models\\SalesInvoice',20,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(173,'warehouse','Warehouse Stock Movement #41 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',41,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 41, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"3.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 4, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-MRSK2-19\", \"reference_id\": 20, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(174,'purchase','Purchase Invoice #P-TEST-7BICA-20 was created','App\\Models\\PurchaseInvoice',22,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 22, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"775.60\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-16T16:00:00.000000Z\", \"total_amount\": \"775.60\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"775.60\", \"invoice_number\": \"P-TEST-7BICA-20\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(175,'accounting','Journal Entry #41 was created','Workdo\\Account\\Models\\JournalEntry',41,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 41, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-7BICA-20\", \"total_debit\": \"775.60\", \"journal_date\": \"2026-04-16T16:00:00.000000Z\", \"reference_id\": 22, \"total_credit\": \"775.60\", \"journal_number\": \"JE-2026-041\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(176,'purchase','Purchase Invoice #P-TEST-7BICA-20 was updated','App\\Models\\PurchaseInvoice',22,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(177,'warehouse','Warehouse Stock Movement #42 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',42,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 42, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"40.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-7BICA-20\", \"reference_id\": 22, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(178,'sales','Sales Invoice #S-TEST-ZWTKG-20 was created','App\\Models\\SalesInvoice',21,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 21, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"6281.94\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 53, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-25T16:00:00.000000Z\", \"total_amount\": \"6281.94\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"6281.94\", \"invoice_number\": \"S-TEST-ZWTKG-20\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(179,'accounting','Journal Entry #42 was created','Workdo\\Account\\Models\\JournalEntry',42,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 42, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-ZWTKG-20\", \"total_debit\": \"6281.94\", \"journal_date\": \"2026-04-25T16:00:00.000000Z\", \"reference_id\": 21, \"total_credit\": \"6281.94\", \"journal_number\": \"JE-2026-042\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(180,'sales','Sales Invoice #S-TEST-ZWTKG-20 was updated','App\\Models\\SalesInvoice',21,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(181,'warehouse','Warehouse Stock Movement #43 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',43,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 43, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"42.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-ZWTKG-20\", \"reference_id\": 21, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(182,'purchase','Purchase Invoice #P-TEST-ZLSP3-21 was created','App\\Models\\PurchaseInvoice',23,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 23, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1923.90\", \"vendor_id\": 47, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-04T16:00:00.000000Z\", \"total_amount\": \"1923.90\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1923.90\", \"invoice_number\": \"P-TEST-ZLSP3-21\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(183,'accounting','Journal Entry #43 was created','Workdo\\Account\\Models\\JournalEntry',43,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 43, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-ZLSP3-21\", \"total_debit\": \"1923.90\", \"journal_date\": \"2026-04-04T16:00:00.000000Z\", \"reference_id\": 23, \"total_credit\": \"1923.90\", \"journal_number\": \"JE-2026-043\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(184,'purchase','Purchase Invoice #P-TEST-ZLSP3-21 was updated','App\\Models\\PurchaseInvoice',23,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(185,'warehouse','Warehouse Stock Movement #44 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',44,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 44, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"66.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 8, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-ZLSP3-21\", \"reference_id\": 23, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(186,'sales','Sales Invoice #S-TEST-NTTVO-21 was created','App\\Models\\SalesInvoice',22,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 22, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"765.44\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-22T16:00:00.000000Z\", \"total_amount\": \"765.44\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"765.44\", \"invoice_number\": \"S-TEST-NTTVO-21\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(187,'accounting','Journal Entry #44 was created','Workdo\\Account\\Models\\JournalEntry',44,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 44, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-NTTVO-21\", \"total_debit\": \"765.44\", \"journal_date\": \"2026-04-22T16:00:00.000000Z\", \"reference_id\": 22, \"total_credit\": \"765.44\", \"journal_number\": \"JE-2026-044\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(188,'sales','Sales Invoice #S-TEST-NTTVO-21 was updated','App\\Models\\SalesInvoice',22,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(189,'warehouse','Warehouse Stock Movement #45 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',45,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 45, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"4.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 6, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-NTTVO-21\", \"reference_id\": 22, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(190,'purchase','Purchase Invoice #P-TEST-HOPHV-22 was created','App\\Models\\PurchaseInvoice',24,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 24, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"362.00\", \"vendor_id\": 47, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-23T16:00:00.000000Z\", \"total_amount\": \"362.00\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"362.00\", \"invoice_number\": \"P-TEST-HOPHV-22\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(191,'accounting','Journal Entry #45 was created','Workdo\\Account\\Models\\JournalEntry',45,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 45, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-HOPHV-22\", \"total_debit\": \"362.00\", \"journal_date\": \"2026-04-23T16:00:00.000000Z\", \"reference_id\": 24, \"total_credit\": \"362.00\", \"journal_number\": \"JE-2026-045\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(192,'purchase','Purchase Invoice #P-TEST-HOPHV-22 was updated','App\\Models\\PurchaseInvoice',24,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(193,'warehouse','Warehouse Stock Movement #46 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',46,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 46, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"25.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-HOPHV-22\", \"reference_id\": 24, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(194,'sales','Sales Invoice #S-TEST-ST1BA-22 was created','App\\Models\\SalesInvoice',23,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 23, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"121.34\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-07T16:00:00.000000Z\", \"total_amount\": \"121.34\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"121.34\", \"invoice_number\": \"S-TEST-ST1BA-22\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(195,'accounting','Journal Entry #46 was created','Workdo\\Account\\Models\\JournalEntry',46,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 46, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-ST1BA-22\", \"total_debit\": \"121.34\", \"journal_date\": \"2026-04-07T16:00:00.000000Z\", \"reference_id\": 23, \"total_credit\": \"121.34\", \"journal_number\": \"JE-2026-046\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(196,'sales','Sales Invoice #S-TEST-ST1BA-22 was updated','App\\Models\\SalesInvoice',23,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(197,'warehouse','Warehouse Stock Movement #47 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',47,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 47, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"1.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-ST1BA-22\", \"reference_id\": 23, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(198,'purchase','Purchase Invoice #P-TEST-AQ0ZY-23 was created','App\\Models\\PurchaseInvoice',25,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 25, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"420.09\", \"vendor_id\": 46, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-17T16:00:00.000000Z\", \"total_amount\": \"420.09\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"420.09\", \"invoice_number\": \"P-TEST-AQ0ZY-23\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(199,'accounting','Journal Entry #47 was created','Workdo\\Account\\Models\\JournalEntry',47,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 47, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-AQ0ZY-23\", \"total_debit\": \"420.09\", \"journal_date\": \"2026-04-17T16:00:00.000000Z\", \"reference_id\": 25, \"total_credit\": \"420.09\", \"journal_number\": \"JE-2026-047\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(200,'purchase','Purchase Invoice #P-TEST-AQ0ZY-23 was updated','App\\Models\\PurchaseInvoice',25,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(201,'warehouse','Warehouse Stock Movement #48 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',48,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 48, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"33.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 10, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-AQ0ZY-23\", \"reference_id\": 25, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(202,'sales','Sales Invoice #S-TEST-DFPUL-23 was created','App\\Models\\SalesInvoice',24,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 24, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"73.55\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 50, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-05T16:00:00.000000Z\", \"total_amount\": \"73.55\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"73.55\", \"invoice_number\": \"S-TEST-DFPUL-23\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(203,'accounting','Journal Entry #48 was created','Workdo\\Account\\Models\\JournalEntry',48,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 48, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-DFPUL-23\", \"total_debit\": \"73.55\", \"journal_date\": \"2026-04-05T16:00:00.000000Z\", \"reference_id\": 24, \"total_credit\": \"73.55\", \"journal_number\": \"JE-2026-048\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(204,'sales','Sales Invoice #S-TEST-DFPUL-23 was updated','App\\Models\\SalesInvoice',24,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(205,'warehouse','Warehouse Stock Movement #49 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',49,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 49, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"1.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 8, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-DFPUL-23\", \"reference_id\": 24, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(206,'purchase','Purchase Invoice #P-TEST-RI2FL-24 was created','App\\Models\\PurchaseInvoice',26,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 26, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"697.40\", \"vendor_id\": 45, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-22T16:00:00.000000Z\", \"total_amount\": \"697.40\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"697.40\", \"invoice_number\": \"P-TEST-RI2FL-24\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(207,'accounting','Journal Entry #49 was created','Workdo\\Account\\Models\\JournalEntry',49,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 49, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-RI2FL-24\", \"total_debit\": \"697.40\", \"journal_date\": \"2026-04-22T16:00:00.000000Z\", \"reference_id\": 26, \"total_credit\": \"697.40\", \"journal_number\": \"JE-2026-049\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(208,'purchase','Purchase Invoice #P-TEST-RI2FL-24 was updated','App\\Models\\PurchaseInvoice',26,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(209,'warehouse','Warehouse Stock Movement #50 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',50,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 50, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"55.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 9, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-RI2FL-24\", \"reference_id\": 26, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(210,'sales','Sales Invoice #S-TEST-INWYP-24 was created','App\\Models\\SalesInvoice',25,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 25, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"367.75\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-15T16:00:00.000000Z\", \"total_amount\": \"367.75\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"367.75\", \"invoice_number\": \"S-TEST-INWYP-24\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(211,'accounting','Journal Entry #50 was created','Workdo\\Account\\Models\\JournalEntry',50,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 50, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-INWYP-24\", \"total_debit\": \"367.75\", \"journal_date\": \"2026-04-15T16:00:00.000000Z\", \"reference_id\": 25, \"total_credit\": \"367.75\", \"journal_number\": \"JE-2026-050\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(212,'sales','Sales Invoice #S-TEST-INWYP-24 was updated','App\\Models\\SalesInvoice',25,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(213,'warehouse','Warehouse Stock Movement #51 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',51,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 51, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"5.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 8, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-INWYP-24\", \"reference_id\": 25, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(214,'purchase','Purchase Invoice #P-TEST-EQPQH-25 was created','App\\Models\\PurchaseInvoice',27,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 27, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"416.48\", \"vendor_id\": 47, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-21T16:00:00.000000Z\", \"total_amount\": \"416.48\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"416.48\", \"invoice_number\": \"P-TEST-EQPQH-25\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(215,'accounting','Journal Entry #51 was created','Workdo\\Account\\Models\\JournalEntry',51,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 51, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-EQPQH-25\", \"total_debit\": \"416.48\", \"journal_date\": \"2026-04-21T16:00:00.000000Z\", \"reference_id\": 27, \"total_credit\": \"416.48\", \"journal_number\": \"JE-2026-051\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(216,'purchase','Purchase Invoice #P-TEST-EQPQH-25 was updated','App\\Models\\PurchaseInvoice',27,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(217,'warehouse','Warehouse Stock Movement #52 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',52,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 52, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"19.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-EQPQH-25\", \"reference_id\": 27, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(218,'sales','Sales Invoice #S-TEST-OZRTL-25 was created','App\\Models\\SalesInvoice',26,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 26, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"6581.08\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-24T16:00:00.000000Z\", \"total_amount\": \"6581.08\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"6581.08\", \"invoice_number\": \"S-TEST-OZRTL-25\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(219,'accounting','Journal Entry #52 was created','Workdo\\Account\\Models\\JournalEntry',52,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 52, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-OZRTL-25\", \"total_debit\": \"6581.08\", \"journal_date\": \"2026-04-24T16:00:00.000000Z\", \"reference_id\": 26, \"total_credit\": \"6581.08\", \"journal_number\": \"JE-2026-052\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(220,'sales','Sales Invoice #S-TEST-OZRTL-25 was updated','App\\Models\\SalesInvoice',26,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(221,'warehouse','Warehouse Stock Movement #53 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',53,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 53, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"44.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-OZRTL-25\", \"reference_id\": 26, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(222,'purchase','Purchase Invoice #P-TEST-BAK0V-26 was created','App\\Models\\PurchaseInvoice',28,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 28, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"613.76\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-15T16:00:00.000000Z\", \"total_amount\": \"613.76\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"613.76\", \"invoice_number\": \"P-TEST-BAK0V-26\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(223,'accounting','Journal Entry #53 was created','Workdo\\Account\\Models\\JournalEntry',53,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 53, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Purchase Invoice #P-TEST-BAK0V-26\", \"total_debit\": \"613.76\", \"journal_date\": \"2026-04-15T16:00:00.000000Z\", \"reference_id\": 28, \"total_credit\": \"613.76\", \"journal_number\": \"JE-2026-053\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(224,'purchase','Purchase Invoice #P-TEST-BAK0V-26 was updated','App\\Models\\PurchaseInvoice',28,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(225,'warehouse','Warehouse Stock Movement #54 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',54,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 54, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"28.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Received from Purchase P-TEST-BAK0V-26\", \"reference_id\": 28, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(226,'sales','Sales Invoice #S-TEST-VQNPZ-26 was created','App\\Models\\SalesInvoice',27,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 27, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"382.72\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-25T16:00:00.000000Z\", \"total_amount\": \"382.72\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"382.72\", \"invoice_number\": \"S-TEST-VQNPZ-26\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(227,'accounting','Journal Entry #54 was created','Workdo\\Account\\Models\\JournalEntry',54,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 54, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Service Invoice #S-TEST-VQNPZ-26\", \"total_debit\": \"382.72\", \"journal_date\": \"2026-04-25T16:00:00.000000Z\", \"reference_id\": 27, \"total_credit\": \"382.72\", \"journal_number\": \"JE-2026-054\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(228,'sales','Sales Invoice #S-TEST-VQNPZ-26 was updated','App\\Models\\SalesInvoice',27,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:26','2026-05-01 13:25:26'),(229,'warehouse','Warehouse Stock Movement #55 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',55,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 55, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"2.00\", \"created_at\": \"2026-05-01T13:25:26.000000Z\", \"created_by\": 2, \"product_id\": 6, \"updated_at\": \"2026-05-01T13:25:26.000000Z\", \"description\": \"Dispatched for Sale S-TEST-VQNPZ-26\", \"reference_id\": 27, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(230,'purchase','Purchase Invoice #P-TEST-CXO5T-27 was created','App\\Models\\PurchaseInvoice',29,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 29, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"854.32\", \"vendor_id\": 47, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-14T16:00:00.000000Z\", \"total_amount\": \"854.32\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"854.32\", \"invoice_number\": \"P-TEST-CXO5T-27\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(231,'accounting','Journal Entry #55 was created','Workdo\\Account\\Models\\JournalEntry',55,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 55, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-CXO5T-27\", \"total_debit\": \"854.32\", \"journal_date\": \"2026-04-14T16:00:00.000000Z\", \"reference_id\": 29, \"total_credit\": \"854.32\", \"journal_number\": \"JE-2026-055\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(232,'purchase','Purchase Invoice #P-TEST-CXO5T-27 was updated','App\\Models\\PurchaseInvoice',29,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(233,'warehouse','Warehouse Stock Movement #56 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',56,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 56, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"59.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-CXO5T-27\", \"reference_id\": 29, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(234,'sales','Sales Invoice #S-TEST-R52YU-27 was created','App\\Models\\SalesInvoice',28,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 28, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"606.70\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-27T16:00:00.000000Z\", \"total_amount\": \"606.70\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"606.70\", \"invoice_number\": \"S-TEST-R52YU-27\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(235,'accounting','Journal Entry #56 was created','Workdo\\Account\\Models\\JournalEntry',56,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 56, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-R52YU-27\", \"total_debit\": \"606.70\", \"journal_date\": \"2026-04-27T16:00:00.000000Z\", \"reference_id\": 28, \"total_credit\": \"606.70\", \"journal_number\": \"JE-2026-056\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(236,'sales','Sales Invoice #S-TEST-R52YU-27 was updated','App\\Models\\SalesInvoice',28,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(237,'warehouse','Warehouse Stock Movement #57 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',57,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 57, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"5.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-R52YU-27\", \"reference_id\": 28, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(238,'purchase','Purchase Invoice #P-TEST-KP03U-28 was created','App\\Models\\PurchaseInvoice',30,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 30, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"2483.58\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-06T16:00:00.000000Z\", \"total_amount\": \"2483.58\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"2483.58\", \"invoice_number\": \"P-TEST-KP03U-28\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(239,'accounting','Journal Entry #57 was created','Workdo\\Account\\Models\\JournalEntry',57,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 57, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-KP03U-28\", \"total_debit\": \"2483.58\", \"journal_date\": \"2026-04-06T16:00:00.000000Z\", \"reference_id\": 30, \"total_credit\": \"2483.58\", \"journal_number\": \"JE-2026-057\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(240,'purchase','Purchase Invoice #P-TEST-KP03U-28 was updated','App\\Models\\PurchaseInvoice',30,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(241,'warehouse','Warehouse Stock Movement #58 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',58,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 58, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"71.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 6, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-KP03U-28\", \"reference_id\": 30, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(242,'sales','Sales Invoice #S-TEST-GMSFN-28 was created','App\\Models\\SalesInvoice',29,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 29, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"73.55\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-19T16:00:00.000000Z\", \"total_amount\": \"73.55\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"73.55\", \"invoice_number\": \"S-TEST-GMSFN-28\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(243,'accounting','Journal Entry #58 was created','Workdo\\Account\\Models\\JournalEntry',58,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 58, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-GMSFN-28\", \"total_debit\": \"73.55\", \"journal_date\": \"2026-04-19T16:00:00.000000Z\", \"reference_id\": 29, \"total_credit\": \"73.55\", \"journal_number\": \"JE-2026-058\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(244,'sales','Sales Invoice #S-TEST-GMSFN-28 was updated','App\\Models\\SalesInvoice',29,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(245,'warehouse','Warehouse Stock Movement #59 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',59,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 59, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"1.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 8, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-GMSFN-28\", \"reference_id\": 29, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(246,'purchase','Purchase Invoice #P-TEST-PKPRV-29 was created','App\\Models\\PurchaseInvoice',31,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 31, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"284.96\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-03T16:00:00.000000Z\", \"total_amount\": \"284.96\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"284.96\", \"invoice_number\": \"P-TEST-PKPRV-29\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(247,'accounting','Journal Entry #59 was created','Workdo\\Account\\Models\\JournalEntry',59,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 59, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-PKPRV-29\", \"total_debit\": \"284.96\", \"journal_date\": \"2026-04-03T16:00:00.000000Z\", \"reference_id\": 31, \"total_credit\": \"284.96\", \"journal_number\": \"JE-2026-059\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(248,'purchase','Purchase Invoice #P-TEST-PKPRV-29 was updated','App\\Models\\PurchaseInvoice',31,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(249,'warehouse','Warehouse Stock Movement #60 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',60,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 60, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"13.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-PKPRV-29\", \"reference_id\": 31, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(250,'sales','Sales Invoice #S-TEST-GKBOA-29 was created','App\\Models\\SalesInvoice',30,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 30, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"956.80\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 53, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-08T16:00:00.000000Z\", \"total_amount\": \"956.80\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"956.80\", \"invoice_number\": \"S-TEST-GKBOA-29\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(251,'accounting','Journal Entry #60 was created','Workdo\\Account\\Models\\JournalEntry',60,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 60, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-GKBOA-29\", \"total_debit\": \"956.80\", \"journal_date\": \"2026-04-08T16:00:00.000000Z\", \"reference_id\": 30, \"total_credit\": \"956.80\", \"journal_number\": \"JE-2026-060\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(252,'sales','Sales Invoice #S-TEST-GKBOA-29 was updated','App\\Models\\SalesInvoice',30,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(253,'warehouse','Warehouse Stock Movement #61 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',61,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 61, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"5.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 6, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-GKBOA-29\", \"reference_id\": 30, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(254,'purchase','Purchase Invoice #P-TEST-OHCK4-30 was created','App\\Models\\PurchaseInvoice',32,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 32, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1404.56\", \"vendor_id\": 46, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-11T16:00:00.000000Z\", \"total_amount\": \"1404.56\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"1404.56\", \"invoice_number\": \"P-TEST-OHCK4-30\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(255,'accounting','Journal Entry #61 was created','Workdo\\Account\\Models\\JournalEntry',61,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 61, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-OHCK4-30\", \"total_debit\": \"1404.56\", \"journal_date\": \"2026-04-11T16:00:00.000000Z\", \"reference_id\": 32, \"total_credit\": \"1404.56\", \"journal_number\": \"JE-2026-061\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(256,'purchase','Purchase Invoice #P-TEST-OHCK4-30 was updated','App\\Models\\PurchaseInvoice',32,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(257,'warehouse','Warehouse Stock Movement #62 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',62,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 62, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"97.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-OHCK4-30\", \"reference_id\": 32, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(258,'sales','Sales Invoice #S-TEST-9X3W4-30 was created','App\\Models\\SalesInvoice',31,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 31, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"5234.95\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 50, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-19T16:00:00.000000Z\", \"total_amount\": \"5234.95\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"5234.95\", \"invoice_number\": \"S-TEST-9X3W4-30\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(259,'accounting','Journal Entry #62 was created','Workdo\\Account\\Models\\JournalEntry',62,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 62, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-9X3W4-30\", \"total_debit\": \"5234.95\", \"journal_date\": \"2026-04-19T16:00:00.000000Z\", \"reference_id\": 31, \"total_credit\": \"5234.95\", \"journal_number\": \"JE-2026-062\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(260,'sales','Sales Invoice #S-TEST-9X3W4-30 was updated','App\\Models\\SalesInvoice',31,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(261,'warehouse','Warehouse Stock Movement #63 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',63,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 63, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"35.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-9X3W4-30\", \"reference_id\": 31, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(262,'purchase','Purchase Invoice #P-TEST-DIYVP-31 was created','App\\Models\\PurchaseInvoice',33,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 33, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1566.21\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-03T16:00:00.000000Z\", \"total_amount\": \"1566.21\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1566.21\", \"invoice_number\": \"P-TEST-DIYVP-31\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(263,'accounting','Journal Entry #63 was created','Workdo\\Account\\Models\\JournalEntry',63,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 63, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-DIYVP-31\", \"total_debit\": \"1566.21\", \"journal_date\": \"2026-04-03T16:00:00.000000Z\", \"reference_id\": 33, \"total_credit\": \"1566.21\", \"journal_number\": \"JE-2026-063\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(264,'purchase','Purchase Invoice #P-TEST-DIYVP-31 was updated','App\\Models\\PurchaseInvoice',33,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(265,'warehouse','Warehouse Stock Movement #64 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',64,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 64, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"83.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-DIYVP-31\", \"reference_id\": 33, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(266,'sales','Sales Invoice #S-TEST-9HJC3-31 was created','App\\Models\\SalesInvoice',32,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 32, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"121.34\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-17T16:00:00.000000Z\", \"total_amount\": \"121.34\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"121.34\", \"invoice_number\": \"S-TEST-9HJC3-31\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(267,'accounting','Journal Entry #64 was created','Workdo\\Account\\Models\\JournalEntry',64,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 64, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-9HJC3-31\", \"total_debit\": \"121.34\", \"journal_date\": \"2026-04-17T16:00:00.000000Z\", \"reference_id\": 32, \"total_credit\": \"121.34\", \"journal_number\": \"JE-2026-064\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(268,'sales','Sales Invoice #S-TEST-9HJC3-31 was updated','App\\Models\\SalesInvoice',32,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(269,'warehouse','Warehouse Stock Movement #65 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',65,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 65, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"1.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-9HJC3-31\", \"reference_id\": 32, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(270,'purchase','Purchase Invoice #P-TEST-NHJ4K-32 was created','App\\Models\\PurchaseInvoice',34,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 34, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"548.25\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-29T16:00:00.000000Z\", \"total_amount\": \"548.25\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"548.25\", \"invoice_number\": \"P-TEST-NHJ4K-32\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(271,'accounting','Journal Entry #65 was created','Workdo\\Account\\Models\\JournalEntry',65,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 65, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-NHJ4K-32\", \"total_debit\": \"548.25\", \"journal_date\": \"2026-04-29T16:00:00.000000Z\", \"reference_id\": 34, \"total_credit\": \"548.25\", \"journal_number\": \"JE-2026-065\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(272,'purchase','Purchase Invoice #P-TEST-NHJ4K-32 was updated','App\\Models\\PurchaseInvoice',34,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(273,'warehouse','Warehouse Stock Movement #66 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',66,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 66, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"25.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 4, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-NHJ4K-32\", \"reference_id\": 34, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(274,'sales','Sales Invoice #S-TEST-6XIDD-32 was created','App\\Models\\SalesInvoice',33,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 33, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"4337.53\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-29T16:00:00.000000Z\", \"total_amount\": \"4337.53\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"4337.53\", \"invoice_number\": \"S-TEST-6XIDD-32\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(275,'accounting','Journal Entry #66 was created','Workdo\\Account\\Models\\JournalEntry',66,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 66, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-6XIDD-32\", \"total_debit\": \"4337.53\", \"journal_date\": \"2026-04-29T16:00:00.000000Z\", \"reference_id\": 33, \"total_credit\": \"4337.53\", \"journal_number\": \"JE-2026-066\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(276,'sales','Sales Invoice #S-TEST-6XIDD-32 was updated','App\\Models\\SalesInvoice',33,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(277,'warehouse','Warehouse Stock Movement #67 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',67,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 67, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"29.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-6XIDD-32\", \"reference_id\": 33, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(278,'purchase','Purchase Invoice #P-TEST-ZNKSO-33 was created','App\\Models\\PurchaseInvoice',35,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 35, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"557.92\", \"vendor_id\": 46, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-17T16:00:00.000000Z\", \"total_amount\": \"557.92\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"557.92\", \"invoice_number\": \"P-TEST-ZNKSO-33\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(279,'accounting','Journal Entry #67 was created','Workdo\\Account\\Models\\JournalEntry',67,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 67, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-ZNKSO-33\", \"total_debit\": \"557.92\", \"journal_date\": \"2026-04-17T16:00:00.000000Z\", \"reference_id\": 35, \"total_credit\": \"557.92\", \"journal_number\": \"JE-2026-067\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(280,'purchase','Purchase Invoice #P-TEST-ZNKSO-33 was updated','App\\Models\\PurchaseInvoice',35,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(281,'warehouse','Warehouse Stock Movement #68 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',68,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 68, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"44.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 9, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-ZNKSO-33\", \"reference_id\": 35, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(282,'sales','Sales Invoice #S-TEST-3ZMOX-33 was created','App\\Models\\SalesInvoice',34,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 34, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"956.80\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-28T16:00:00.000000Z\", \"total_amount\": \"956.80\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"956.80\", \"invoice_number\": \"S-TEST-3ZMOX-33\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(283,'accounting','Journal Entry #68 was created','Workdo\\Account\\Models\\JournalEntry',68,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 68, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-3ZMOX-33\", \"total_debit\": \"956.80\", \"journal_date\": \"2026-04-28T16:00:00.000000Z\", \"reference_id\": 34, \"total_credit\": \"956.80\", \"journal_number\": \"JE-2026-068\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(284,'sales','Sales Invoice #S-TEST-3ZMOX-33 was updated','App\\Models\\SalesInvoice',34,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(285,'warehouse','Warehouse Stock Movement #69 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',69,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 69, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"5.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 6, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-3ZMOX-33\", \"reference_id\": 34, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(286,'purchase','Purchase Invoice #P-TEST-J2C5J-34 was created','App\\Models\\PurchaseInvoice',36,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 36, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1066.45\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-17T16:00:00.000000Z\", \"total_amount\": \"1066.45\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"1066.45\", \"invoice_number\": \"P-TEST-J2C5J-34\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(287,'accounting','Journal Entry #69 was created','Workdo\\Account\\Models\\JournalEntry',69,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 69, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-J2C5J-34\", \"total_debit\": \"1066.45\", \"journal_date\": \"2026-04-17T16:00:00.000000Z\", \"reference_id\": 36, \"total_credit\": \"1066.45\", \"journal_number\": \"JE-2026-069\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(288,'purchase','Purchase Invoice #P-TEST-J2C5J-34 was updated','App\\Models\\PurchaseInvoice',36,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(289,'warehouse','Warehouse Stock Movement #70 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',70,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 70, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"55.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-J2C5J-34\", \"reference_id\": 36, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(290,'sales','Sales Invoice #S-TEST-OGDIA-34 was created','App\\Models\\SalesInvoice',35,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 35, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"392.73\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-11T16:00:00.000000Z\", \"total_amount\": \"392.73\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"392.73\", \"invoice_number\": \"S-TEST-OGDIA-34\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(291,'accounting','Journal Entry #70 was created','Workdo\\Account\\Models\\JournalEntry',70,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 70, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-OGDIA-34\", \"total_debit\": \"392.73\", \"journal_date\": \"2026-04-11T16:00:00.000000Z\", \"reference_id\": 35, \"total_credit\": \"392.73\", \"journal_number\": \"JE-2026-070\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(292,'sales','Sales Invoice #S-TEST-OGDIA-34 was updated','App\\Models\\SalesInvoice',35,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(293,'warehouse','Warehouse Stock Movement #71 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',71,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 71, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"3.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-OGDIA-34\", \"reference_id\": 35, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(294,'purchase','Purchase Invoice #P-TEST-ZKEJS-35 was created','App\\Models\\PurchaseInvoice',37,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 37, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1779.12\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-03-31T16:00:00.000000Z\", \"total_amount\": \"1779.12\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1779.12\", \"invoice_number\": \"P-TEST-ZKEJS-35\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(295,'accounting','Journal Entry #71 was created','Workdo\\Account\\Models\\JournalEntry',71,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 71, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-ZKEJS-35\", \"total_debit\": \"1779.12\", \"journal_date\": \"2026-03-31T16:00:00.000000Z\", \"reference_id\": 37, \"total_credit\": \"1779.12\", \"journal_number\": \"JE-2026-071\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(296,'purchase','Purchase Invoice #P-TEST-ZKEJS-35 was updated','App\\Models\\PurchaseInvoice',37,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(297,'warehouse','Warehouse Stock Movement #72 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',72,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 72, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"56.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 2, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-ZKEJS-35\", \"reference_id\": 37, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(298,'sales','Sales Invoice #S-TEST-TPBSL-35 was created','App\\Models\\SalesInvoice',36,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 36, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"6132.37\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-05T16:00:00.000000Z\", \"total_amount\": \"6132.37\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"6132.37\", \"invoice_number\": \"S-TEST-TPBSL-35\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(299,'accounting','Journal Entry #72 was created','Workdo\\Account\\Models\\JournalEntry',72,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 72, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-TPBSL-35\", \"total_debit\": \"6132.37\", \"journal_date\": \"2026-04-05T16:00:00.000000Z\", \"reference_id\": 36, \"total_credit\": \"6132.37\", \"journal_number\": \"JE-2026-072\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(300,'sales','Sales Invoice #S-TEST-TPBSL-35 was updated','App\\Models\\SalesInvoice',36,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(301,'warehouse','Warehouse Stock Movement #73 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',73,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 73, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"41.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-TPBSL-35\", \"reference_id\": 36, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(302,'purchase','Purchase Invoice #P-TEST-AQYVX-36 was created','App\\Models\\PurchaseInvoice',38,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 38, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"657.90\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-02T16:00:00.000000Z\", \"total_amount\": \"657.90\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"657.90\", \"invoice_number\": \"P-TEST-AQYVX-36\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(303,'accounting','Journal Entry #73 was created','Workdo\\Account\\Models\\JournalEntry',73,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 73, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-AQYVX-36\", \"total_debit\": \"657.90\", \"journal_date\": \"2026-04-02T16:00:00.000000Z\", \"reference_id\": 38, \"total_credit\": \"657.90\", \"journal_number\": \"JE-2026-073\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(304,'purchase','Purchase Invoice #P-TEST-AQYVX-36 was updated','App\\Models\\PurchaseInvoice',38,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(305,'warehouse','Warehouse Stock Movement #74 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',74,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 74, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"30.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 4, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-AQYVX-36\", \"reference_id\": 38, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(306,'sales','Sales Invoice #S-TEST-Z5LBS-36 was created','App\\Models\\SalesInvoice',37,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 37, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"163.47\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-15T16:00:00.000000Z\", \"total_amount\": \"163.47\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"163.47\", \"invoice_number\": \"S-TEST-Z5LBS-36\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(307,'accounting','Journal Entry #74 was created','Workdo\\Account\\Models\\JournalEntry',74,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 74, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-Z5LBS-36\", \"total_debit\": \"163.47\", \"journal_date\": \"2026-04-15T16:00:00.000000Z\", \"reference_id\": 37, \"total_credit\": \"163.47\", \"journal_number\": \"JE-2026-074\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(308,'sales','Sales Invoice #S-TEST-Z5LBS-36 was updated','App\\Models\\SalesInvoice',37,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(309,'warehouse','Warehouse Stock Movement #75 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',75,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 75, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"1.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 9, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-Z5LBS-36\", \"reference_id\": 37, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(310,'purchase','Purchase Invoice #P-TEST-HWJWJ-37 was created','App\\Models\\PurchaseInvoice',39,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 39, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"2536.05\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-11T16:00:00.000000Z\", \"total_amount\": \"2536.05\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"2536.05\", \"invoice_number\": \"P-TEST-HWJWJ-37\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(311,'accounting','Journal Entry #75 was created','Workdo\\Account\\Models\\JournalEntry',75,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 75, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-HWJWJ-37\", \"total_debit\": \"2536.05\", \"journal_date\": \"2026-04-11T16:00:00.000000Z\", \"reference_id\": 39, \"total_credit\": \"2536.05\", \"journal_number\": \"JE-2026-075\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(312,'purchase','Purchase Invoice #P-TEST-HWJWJ-37 was updated','App\\Models\\PurchaseInvoice',39,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(313,'warehouse','Warehouse Stock Movement #76 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',76,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 76, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"87.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 8, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-HWJWJ-37\", \"reference_id\": 39, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(314,'sales','Sales Invoice #S-TEST-MNKQQ-37 was created','App\\Models\\SalesInvoice',38,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 38, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"314.80\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-27T16:00:00.000000Z\", \"total_amount\": \"314.80\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"314.80\", \"invoice_number\": \"S-TEST-MNKQQ-37\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(315,'accounting','Journal Entry #76 was created','Workdo\\Account\\Models\\JournalEntry',76,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 76, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-MNKQQ-37\", \"total_debit\": \"314.80\", \"journal_date\": \"2026-04-27T16:00:00.000000Z\", \"reference_id\": 38, \"total_credit\": \"314.80\", \"journal_number\": \"JE-2026-076\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(316,'sales','Sales Invoice #S-TEST-MNKQQ-37 was updated','App\\Models\\SalesInvoice',38,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(317,'warehouse','Warehouse Stock Movement #77 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',77,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 77, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"4.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-MNKQQ-37\", \"reference_id\": 38, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(318,'purchase','Purchase Invoice #P-TEST-Q7423-38 was created','App\\Models\\PurchaseInvoice',40,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 40, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"891.10\", \"vendor_id\": 45, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-18T16:00:00.000000Z\", \"total_amount\": \"891.10\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"891.10\", \"invoice_number\": \"P-TEST-Q7423-38\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(319,'accounting','Journal Entry #77 was created','Workdo\\Account\\Models\\JournalEntry',77,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 77, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-Q7423-38\", \"total_debit\": \"891.10\", \"journal_date\": \"2026-04-18T16:00:00.000000Z\", \"reference_id\": 40, \"total_credit\": \"891.10\", \"journal_number\": \"JE-2026-077\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(320,'purchase','Purchase Invoice #P-TEST-Q7423-38 was updated','App\\Models\\PurchaseInvoice',40,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(321,'warehouse','Warehouse Stock Movement #78 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',78,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 78, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"70.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 10, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-Q7423-38\", \"reference_id\": 40, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(322,'sales','Sales Invoice #S-TEST-JNRKJ-38 was created','App\\Models\\SalesInvoice',39,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 39, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"765.40\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-03-31T16:00:00.000000Z\", \"total_amount\": \"765.40\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"765.40\", \"invoice_number\": \"S-TEST-JNRKJ-38\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(323,'accounting','Journal Entry #78 was created','Workdo\\Account\\Models\\JournalEntry',78,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 78, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-JNRKJ-38\", \"total_debit\": \"765.40\", \"journal_date\": \"2026-03-31T16:00:00.000000Z\", \"reference_id\": 39, \"total_credit\": \"765.40\", \"journal_number\": \"JE-2026-078\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(324,'sales','Sales Invoice #S-TEST-JNRKJ-38 was updated','App\\Models\\SalesInvoice',39,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(325,'warehouse','Warehouse Stock Movement #79 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',79,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 79, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"5.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 2, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-JNRKJ-38\", \"reference_id\": 39, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(326,'purchase','Purchase Invoice #P-TEST-XRYM2-39 was created','App\\Models\\PurchaseInvoice',41,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 41, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"700.15\", \"vendor_id\": 46, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-22T16:00:00.000000Z\", \"total_amount\": \"700.15\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"700.15\", \"invoice_number\": \"P-TEST-XRYM2-39\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(327,'accounting','Journal Entry #79 was created','Workdo\\Account\\Models\\JournalEntry',79,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 79, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-XRYM2-39\", \"total_debit\": \"700.15\", \"journal_date\": \"2026-04-22T16:00:00.000000Z\", \"reference_id\": 41, \"total_credit\": \"700.15\", \"journal_number\": \"JE-2026-079\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(328,'purchase','Purchase Invoice #P-TEST-XRYM2-39 was updated','App\\Models\\PurchaseInvoice',41,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(329,'warehouse','Warehouse Stock Movement #80 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',80,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 80, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"55.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 10, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-XRYM2-39\", \"reference_id\": 41, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(330,'sales','Sales Invoice #S-TEST-UP24P-39 was created','App\\Models\\SalesInvoice',40,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 40, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"68.31\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 50, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-03T16:00:00.000000Z\", \"total_amount\": \"68.31\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"68.31\", \"invoice_number\": \"S-TEST-UP24P-39\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(331,'accounting','Journal Entry #80 was created','Workdo\\Account\\Models\\JournalEntry',80,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 80, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-UP24P-39\", \"total_debit\": \"68.31\", \"journal_date\": \"2026-04-03T16:00:00.000000Z\", \"reference_id\": 40, \"total_credit\": \"68.31\", \"journal_number\": \"JE-2026-080\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(332,'sales','Sales Invoice #S-TEST-UP24P-39 was updated','App\\Models\\SalesInvoice',40,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(333,'warehouse','Warehouse Stock Movement #81 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',81,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 81, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"1.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 4, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-UP24P-39\", \"reference_id\": 40, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(334,'purchase','Purchase Invoice #P-TEST-5XLYE-40 was created','App\\Models\\PurchaseInvoice',42,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 42, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1018.98\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-25T16:00:00.000000Z\", \"total_amount\": \"1018.98\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"1018.98\", \"invoice_number\": \"P-TEST-5XLYE-40\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(335,'accounting','Journal Entry #81 was created','Workdo\\Account\\Models\\JournalEntry',81,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 81, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-5XLYE-40\", \"total_debit\": \"1018.98\", \"journal_date\": \"2026-04-25T16:00:00.000000Z\", \"reference_id\": 42, \"total_credit\": \"1018.98\", \"journal_number\": \"JE-2026-081\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(336,'purchase','Purchase Invoice #P-TEST-5XLYE-40 was updated','App\\Models\\PurchaseInvoice',42,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(337,'warehouse','Warehouse Stock Movement #82 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',82,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 82, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"54.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-5XLYE-40\", \"reference_id\": 42, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(338,'sales','Sales Invoice #S-TEST-66NWL-40 was created','App\\Models\\SalesInvoice',41,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 41, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"3140.97\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 53, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-26T16:00:00.000000Z\", \"total_amount\": \"3140.97\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"3140.97\", \"invoice_number\": \"S-TEST-66NWL-40\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(339,'accounting','Journal Entry #82 was created','Workdo\\Account\\Models\\JournalEntry',82,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 82, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-66NWL-40\", \"total_debit\": \"3140.97\", \"journal_date\": \"2026-04-26T16:00:00.000000Z\", \"reference_id\": 41, \"total_credit\": \"3140.97\", \"journal_number\": \"JE-2026-082\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(340,'sales','Sales Invoice #S-TEST-66NWL-40 was updated','App\\Models\\SalesInvoice',41,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(341,'warehouse','Warehouse Stock Movement #83 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',83,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 83, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"21.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-66NWL-40\", \"reference_id\": 41, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(342,'purchase','Purchase Invoice #P-TEST-HFS8M-41 was created','App\\Models\\PurchaseInvoice',43,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 43, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"854.88\", \"vendor_id\": 46, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-16T16:00:00.000000Z\", \"total_amount\": \"854.88\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"854.88\", \"invoice_number\": \"P-TEST-HFS8M-41\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(343,'accounting','Journal Entry #83 was created','Workdo\\Account\\Models\\JournalEntry',83,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 83, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-HFS8M-41\", \"total_debit\": \"854.88\", \"journal_date\": \"2026-04-16T16:00:00.000000Z\", \"reference_id\": 43, \"total_credit\": \"854.88\", \"journal_number\": \"JE-2026-083\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(344,'purchase','Purchase Invoice #P-TEST-HFS8M-41 was updated','App\\Models\\PurchaseInvoice',43,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(345,'warehouse','Warehouse Stock Movement #84 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',84,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 84, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"39.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-HFS8M-41\", \"reference_id\": 43, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(346,'sales','Sales Invoice #S-TEST-MXSLA-41 was created','App\\Models\\SalesInvoice',42,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 42, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"68.31\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-02T16:00:00.000000Z\", \"total_amount\": \"68.31\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"68.31\", \"invoice_number\": \"S-TEST-MXSLA-41\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(347,'accounting','Journal Entry #84 was created','Workdo\\Account\\Models\\JournalEntry',84,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 84, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-MXSLA-41\", \"total_debit\": \"68.31\", \"journal_date\": \"2026-04-02T16:00:00.000000Z\", \"reference_id\": 42, \"total_credit\": \"68.31\", \"journal_number\": \"JE-2026-084\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(348,'sales','Sales Invoice #S-TEST-MXSLA-41 was updated','App\\Models\\SalesInvoice',42,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(349,'warehouse','Warehouse Stock Movement #85 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',85,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 85, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"1.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 4, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-MXSLA-41\", \"reference_id\": 42, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(350,'purchase','Purchase Invoice #P-TEST-IUHZJ-42 was created','App\\Models\\PurchaseInvoice',44,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 44, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"710.08\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-01T16:00:00.000000Z\", \"total_amount\": \"710.08\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"710.08\", \"invoice_number\": \"P-TEST-IUHZJ-42\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(351,'accounting','Journal Entry #85 was created','Workdo\\Account\\Models\\JournalEntry',85,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 85, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-IUHZJ-42\", \"total_debit\": \"710.08\", \"journal_date\": \"2026-04-01T16:00:00.000000Z\", \"reference_id\": 44, \"total_credit\": \"710.08\", \"journal_number\": \"JE-2026-085\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(352,'purchase','Purchase Invoice #P-TEST-IUHZJ-42 was updated','App\\Models\\PurchaseInvoice',44,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(353,'warehouse','Warehouse Stock Movement #86 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',86,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 86, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"56.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 9, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-IUHZJ-42\", \"reference_id\": 44, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(354,'sales','Sales Invoice #S-TEST-JNYFW-42 was created','App\\Models\\SalesInvoice',43,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 43, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"179.05\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-29T16:00:00.000000Z\", \"total_amount\": \"179.05\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"179.05\", \"invoice_number\": \"S-TEST-JNYFW-42\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(355,'accounting','Journal Entry #86 was created','Workdo\\Account\\Models\\JournalEntry',86,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 86, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-JNYFW-42\", \"total_debit\": \"179.05\", \"journal_date\": \"2026-04-29T16:00:00.000000Z\", \"reference_id\": 43, \"total_credit\": \"179.05\", \"journal_number\": \"JE-2026-086\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(356,'sales','Sales Invoice #S-TEST-JNYFW-42 was updated','App\\Models\\SalesInvoice',43,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(357,'warehouse','Warehouse Stock Movement #87 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',87,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 87, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"1.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 10, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-JNYFW-42\", \"reference_id\": 43, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(358,'purchase','Purchase Invoice #P-TEST-MAYBI-43 was created','App\\Models\\PurchaseInvoice',45,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 45, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1049.40\", \"vendor_id\": 45, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-03-31T16:00:00.000000Z\", \"total_amount\": \"1049.40\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"1049.40\", \"invoice_number\": \"P-TEST-MAYBI-43\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(359,'accounting','Journal Entry #87 was created','Workdo\\Account\\Models\\JournalEntry',87,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 87, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-MAYBI-43\", \"total_debit\": \"1049.40\", \"journal_date\": \"2026-03-31T16:00:00.000000Z\", \"reference_id\": 45, \"total_credit\": \"1049.40\", \"journal_number\": \"JE-2026-087\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(360,'purchase','Purchase Invoice #P-TEST-MAYBI-43 was updated','App\\Models\\PurchaseInvoice',45,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(361,'warehouse','Warehouse Stock Movement #88 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',88,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 88, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"36.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 8, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-MAYBI-43\", \"reference_id\": 45, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(362,'sales','Sales Invoice #S-TEST-BW0YD-43 was created','App\\Models\\SalesInvoice',44,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 44, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"523.64\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-03T16:00:00.000000Z\", \"total_amount\": \"523.64\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"523.64\", \"invoice_number\": \"S-TEST-BW0YD-43\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(363,'accounting','Journal Entry #88 was created','Workdo\\Account\\Models\\JournalEntry',88,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 88, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-BW0YD-43\", \"total_debit\": \"523.64\", \"journal_date\": \"2026-04-03T16:00:00.000000Z\", \"reference_id\": 44, \"total_credit\": \"523.64\", \"journal_number\": \"JE-2026-088\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(364,'sales','Sales Invoice #S-TEST-BW0YD-43 was updated','App\\Models\\SalesInvoice',44,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(365,'warehouse','Warehouse Stock Movement #89 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',89,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 89, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"4.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-BW0YD-43\", \"reference_id\": 44, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(366,'purchase','Purchase Invoice #P-TEST-SX7EZ-44 was created','App\\Models\\PurchaseInvoice',46,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 46, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1632.40\", \"vendor_id\": 47, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-21T16:00:00.000000Z\", \"total_amount\": \"1632.40\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1632.40\", \"invoice_number\": \"P-TEST-SX7EZ-44\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(367,'accounting','Journal Entry #89 was created','Workdo\\Account\\Models\\JournalEntry',89,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 89, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-SX7EZ-44\", \"total_debit\": \"1632.40\", \"journal_date\": \"2026-04-21T16:00:00.000000Z\", \"reference_id\": 46, \"total_credit\": \"1632.40\", \"journal_number\": \"JE-2026-089\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(368,'purchase','Purchase Invoice #P-TEST-SX7EZ-44 was updated','App\\Models\\PurchaseInvoice',46,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(369,'warehouse','Warehouse Stock Movement #90 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',90,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 90, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"56.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 8, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-SX7EZ-44\", \"reference_id\": 46, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(370,'sales','Sales Invoice #S-TEST-JXHJW-44 was created','App\\Models\\SalesInvoice',45,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 45, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"364.02\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 49, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-13T16:00:00.000000Z\", \"total_amount\": \"364.02\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"364.02\", \"invoice_number\": \"S-TEST-JXHJW-44\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(371,'accounting','Journal Entry #90 was created','Workdo\\Account\\Models\\JournalEntry',90,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 90, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-JXHJW-44\", \"total_debit\": \"364.02\", \"journal_date\": \"2026-04-13T16:00:00.000000Z\", \"reference_id\": 45, \"total_credit\": \"364.02\", \"journal_number\": \"JE-2026-090\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(372,'sales','Sales Invoice #S-TEST-JXHJW-44 was updated','App\\Models\\SalesInvoice',45,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(373,'warehouse','Warehouse Stock Movement #91 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',91,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 91, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"3.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-JXHJW-44\", \"reference_id\": 45, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(374,'purchase','Purchase Invoice #P-TEST-0JBPX-45 was created','App\\Models\\PurchaseInvoice',47,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 47, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1887.00\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-28T16:00:00.000000Z\", \"total_amount\": \"1887.00\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1887.00\", \"invoice_number\": \"P-TEST-0JBPX-45\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(375,'accounting','Journal Entry #91 was created','Workdo\\Account\\Models\\JournalEntry',91,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 91, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-0JBPX-45\", \"total_debit\": \"1887.00\", \"journal_date\": \"2026-04-28T16:00:00.000000Z\", \"reference_id\": 47, \"total_credit\": \"1887.00\", \"journal_number\": \"JE-2026-091\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(376,'purchase','Purchase Invoice #P-TEST-0JBPX-45 was updated','App\\Models\\PurchaseInvoice',47,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(377,'warehouse','Warehouse Stock Movement #92 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',92,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 92, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"100.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-0JBPX-45\", \"reference_id\": 47, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(378,'sales','Sales Invoice #S-TEST-UASO3-45 was created','App\\Models\\SalesInvoice',46,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 46, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"7478.50\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-04T16:00:00.000000Z\", \"total_amount\": \"7478.50\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"7478.50\", \"invoice_number\": \"S-TEST-UASO3-45\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(379,'accounting','Journal Entry #92 was created','Workdo\\Account\\Models\\JournalEntry',92,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 92, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-UASO3-45\", \"total_debit\": \"7478.50\", \"journal_date\": \"2026-04-04T16:00:00.000000Z\", \"reference_id\": 46, \"total_credit\": \"7478.50\", \"journal_number\": \"JE-2026-092\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(380,'sales','Sales Invoice #S-TEST-UASO3-45 was updated','App\\Models\\SalesInvoice',46,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(381,'warehouse','Warehouse Stock Movement #93 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',93,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 93, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"50.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-UASO3-45\", \"reference_id\": 46, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(382,'purchase','Purchase Invoice #P-TEST-BCHS8-46 was created','App\\Models\\PurchaseInvoice',48,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 48, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"1609.37\", \"vendor_id\": 44, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-21T16:00:00.000000Z\", \"total_amount\": \"1609.37\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"1609.37\", \"invoice_number\": \"P-TEST-BCHS8-46\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(383,'accounting','Journal Entry #93 was created','Workdo\\Account\\Models\\JournalEntry',93,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 93, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-BCHS8-46\", \"total_debit\": \"1609.37\", \"journal_date\": \"2026-04-21T16:00:00.000000Z\", \"reference_id\": 48, \"total_credit\": \"1609.37\", \"journal_number\": \"JE-2026-093\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(384,'purchase','Purchase Invoice #P-TEST-BCHS8-46 was updated','App\\Models\\PurchaseInvoice',48,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(385,'warehouse','Warehouse Stock Movement #94 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',94,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 94, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"83.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-BCHS8-46\", \"reference_id\": 48, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(386,'sales','Sales Invoice #S-TEST-IDYN7-46 was created','App\\Models\\SalesInvoice',47,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 47, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"261.82\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 51, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-27T16:00:00.000000Z\", \"total_amount\": \"261.82\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"261.82\", \"invoice_number\": \"S-TEST-IDYN7-46\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(387,'accounting','Journal Entry #94 was created','Workdo\\Account\\Models\\JournalEntry',94,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 94, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-IDYN7-46\", \"total_debit\": \"261.82\", \"journal_date\": \"2026-04-27T16:00:00.000000Z\", \"reference_id\": 47, \"total_credit\": \"261.82\", \"journal_number\": \"JE-2026-094\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(388,'sales','Sales Invoice #S-TEST-IDYN7-46 was updated','App\\Models\\SalesInvoice',47,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(389,'warehouse','Warehouse Stock Movement #95 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',95,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 95, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"2.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-IDYN7-46\", \"reference_id\": 47, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(390,'purchase','Purchase Invoice #P-TEST-HVZWH-47 was created','App\\Models\\PurchaseInvoice',49,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 49, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"874.92\", \"vendor_id\": 45, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-09T16:00:00.000000Z\", \"total_amount\": \"874.92\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"874.92\", \"invoice_number\": \"P-TEST-HVZWH-47\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(391,'accounting','Journal Entry #95 was created','Workdo\\Account\\Models\\JournalEntry',95,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 95, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-HVZWH-47\", \"total_debit\": \"874.92\", \"journal_date\": \"2026-04-09T16:00:00.000000Z\", \"reference_id\": 49, \"total_credit\": \"874.92\", \"journal_number\": \"JE-2026-095\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(392,'purchase','Purchase Invoice #P-TEST-HVZWH-47 was updated','App\\Models\\PurchaseInvoice',49,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(393,'warehouse','Warehouse Stock Movement #96 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',96,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 96, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"69.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 9, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-HVZWH-47\", \"reference_id\": 49, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(394,'sales','Sales Invoice #S-TEST-HXXSY-47 was created','App\\Models\\SalesInvoice',48,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 48, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"523.64\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-23T16:00:00.000000Z\", \"total_amount\": \"523.64\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"523.64\", \"invoice_number\": \"S-TEST-HXXSY-47\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(395,'accounting','Journal Entry #96 was created','Workdo\\Account\\Models\\JournalEntry',96,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 96, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-HXXSY-47\", \"total_debit\": \"523.64\", \"journal_date\": \"2026-04-23T16:00:00.000000Z\", \"reference_id\": 48, \"total_credit\": \"523.64\", \"journal_number\": \"JE-2026-096\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(396,'sales','Sales Invoice #S-TEST-HXXSY-47 was updated','App\\Models\\SalesInvoice',48,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(397,'warehouse','Warehouse Stock Movement #97 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',97,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 97, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"4.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-HXXSY-47\", \"reference_id\": 48, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(398,'purchase','Purchase Invoice #P-TEST-KDEDG-48 was created','App\\Models\\PurchaseInvoice',50,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 50, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"394.63\", \"vendor_id\": 46, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-08T16:00:00.000000Z\", \"total_amount\": \"394.63\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"394.63\", \"invoice_number\": \"P-TEST-KDEDG-48\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(399,'accounting','Journal Entry #97 was created','Workdo\\Account\\Models\\JournalEntry',97,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 97, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-KDEDG-48\", \"total_debit\": \"394.63\", \"journal_date\": \"2026-04-08T16:00:00.000000Z\", \"reference_id\": 50, \"total_credit\": \"394.63\", \"journal_number\": \"JE-2026-097\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(400,'purchase','Purchase Invoice #P-TEST-KDEDG-48 was updated','App\\Models\\PurchaseInvoice',50,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(401,'warehouse','Warehouse Stock Movement #98 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',98,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 98, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"31.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 10, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-KDEDG-48\", \"reference_id\": 50, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(402,'sales','Sales Invoice #S-TEST-4SEZM-48 was created','App\\Models\\SalesInvoice',49,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 49, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"326.94\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 52, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-26T16:00:00.000000Z\", \"total_amount\": \"326.94\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"326.94\", \"invoice_number\": \"S-TEST-4SEZM-48\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(403,'accounting','Journal Entry #98 was created','Workdo\\Account\\Models\\JournalEntry',98,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 98, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-4SEZM-48\", \"total_debit\": \"326.94\", \"journal_date\": \"2026-04-26T16:00:00.000000Z\", \"reference_id\": 49, \"total_credit\": \"326.94\", \"journal_number\": \"JE-2026-098\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(404,'sales','Sales Invoice #S-TEST-4SEZM-48 was updated','App\\Models\\SalesInvoice',49,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(405,'warehouse','Warehouse Stock Movement #99 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',99,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 99, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"2.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 9, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-4SEZM-48\", \"reference_id\": 49, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(406,'purchase','Purchase Invoice #P-TEST-UIXRF-49 was created','App\\Models\\PurchaseInvoice',51,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 51, \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"840.18\", \"vendor_id\": 48, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-08T16:00:00.000000Z\", \"total_amount\": \"840.18\", \"warehouse_id\": 1, \"payment_terms\": null, \"balance_amount\": \"840.18\", \"invoice_number\": \"P-TEST-UIXRF-49\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(407,'accounting','Journal Entry #99 was created','Workdo\\Account\\Models\\JournalEntry',99,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 99, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Purchase Invoice #P-TEST-UIXRF-49\", \"total_debit\": \"840.18\", \"journal_date\": \"2026-04-08T16:00:00.000000Z\", \"reference_id\": 51, \"total_credit\": \"840.18\", \"journal_number\": \"JE-2026-099\", \"reference_type\": \"purchase_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(408,'purchase','Purchase Invoice #P-TEST-UIXRF-49 was updated','App\\Models\\PurchaseInvoice',51,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"status\": \"draft\", \"tax_amount\": null, \"is_received\": null, \"paid_amount\": null, \"discount_amount\": null, \"debit_note_applied\": null}, \"attributes\": {\"status\": \"posted\", \"tax_amount\": \"0.00\", \"is_received\": 0, \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\", \"debit_note_applied\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(409,'warehouse','Warehouse Stock Movement #100 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',100,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 100, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"66.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 10, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Received from Purchase P-TEST-UIXRF-49\", \"reference_id\": 51, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\PurchaseInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(410,'sales','Sales Invoice #S-TEST-UXST5-49 was created','App\\Models\\SalesInvoice',50,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 50, \"type\": \"product\", \"notes\": null, \"status\": \"draft\", \"due_date\": \"2026-05-07T16:00:00.000000Z\", \"subtotal\": \"956.80\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"tax_amount\": \"0.00\", \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"customer_id\": 53, \"paid_amount\": \"0.00\", \"invoice_date\": \"2026-04-25T16:00:00.000000Z\", \"total_amount\": \"956.80\", \"warehouse_id\": 2, \"payment_terms\": null, \"balance_amount\": \"956.80\", \"invoice_number\": \"S-TEST-UXST5-49\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(411,'accounting','Journal Entry #100 was created','Workdo\\Account\\Models\\JournalEntry',100,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 100, \"date\": null, \"status\": \"posted\", \"reference\": null, \"workspace\": 0, \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"entry_type\": \"automatic\", \"journal_id\": null, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Service Invoice #S-TEST-UXST5-49\", \"total_debit\": \"956.80\", \"journal_date\": \"2026-04-25T16:00:00.000000Z\", \"reference_id\": 50, \"total_credit\": \"956.80\", \"journal_number\": \"JE-2026-100\", \"reference_type\": \"service_invoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(412,'sales','Sales Invoice #S-TEST-UXST5-49 was updated','App\\Models\\SalesInvoice',50,'updated','App\\Models\\User',2,NULL,'{\"old\": {\"type\": null, \"status\": \"draft\", \"tax_amount\": null, \"paid_amount\": null, \"discount_amount\": null}, \"attributes\": {\"type\": \"product\", \"status\": \"posted\", \"tax_amount\": \"0.00\", \"paid_amount\": \"0.00\", \"discount_amount\": \"0.00\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(413,'warehouse','Warehouse Stock Movement #101 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',101,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 101, \"type\": \"out\", \"reason\": \"Sales Dispatch\", \"quantity\": \"5.00\", \"created_at\": \"2026-05-01T13:25:27.000000Z\", \"created_by\": 2, \"product_id\": 6, \"updated_at\": \"2026-05-01T13:25:27.000000Z\", \"description\": \"Dispatched for Sale S-TEST-UXST5-49\", \"reference_id\": 50, \"warehouse_id\": 2, \"workspace_id\": 2, \"reference_type\": \"App\\\\Models\\\\SalesInvoice\"}}','[]','2026-05-01 13:25:27','2026-05-01 13:25:27'),(414,'warehouse','Warehouse Receipt #1 was created','Workdo\\Warehouse\\Models\\WarehouseReceipt',1,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 1, \"status\": \"received\", \"workspace\": 2, \"created_at\": \"2026-05-01T13:29:23.000000Z\", \"created_by\": 2, \"updated_at\": \"2026-05-01T13:29:23.000000Z\", \"warehouse_id\": 1, \"received_date\": \"2026-05-01\", \"receipt_number\": \"GRN-20260501-4732\", \"purchase_invoice_id\": 51}}','[]','2026-05-01 13:29:23','2026-05-01 13:29:23'),(415,'warehouse','Warehouse Stock Movement #102 was created','Workdo\\Warehouse\\Models\\WarehouseStockMovement',102,'created','App\\Models\\User',2,NULL,'{\"attributes\": {\"id\": 102, \"type\": \"in\", \"reason\": \"Purchase Receipt\", \"quantity\": \"50.00\", \"created_at\": \"2026-05-01T13:29:23.000000Z\", \"created_by\": 2, \"product_id\": 10, \"updated_at\": \"2026-05-01T13:29:23.000000Z\", \"description\": \"Received from GRN GRN-20260501-4732\", \"reference_id\": 1, \"warehouse_id\": 1, \"workspace_id\": 2, \"reference_type\": \"Workdo\\\\Warehouse\\\\Models\\\\WarehouseReceipt\"}}','[]','2026-05-01 13:29:23','2026-05-01 13:29:23'),(416,'transfers','Transfer #1 was created','App\\Models\\Transfer',1,'created','App\\Models\\User',1,NULL,NULL,'{\"attributes\": {\"id\": 1, \"date\": \"2024-11-30T16:00:00.000000Z\", \"quantity\": \"25.00\", \"created_at\": \"2026-05-01T13:57:39.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:57:39.000000Z\", \"to_warehouse\": 2, \"from_warehouse\": 1}}','2026-05-01 13:57:39','2026-05-01 13:57:39'),(417,'transfers','Transfer #2 was created','App\\Models\\Transfer',2,'created','App\\Models\\User',1,NULL,NULL,'{\"attributes\": {\"id\": 2, \"date\": \"2024-12-01T16:00:00.000000Z\", \"quantity\": \"15.00\", \"created_at\": \"2026-05-01T13:57:39.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"product_id\": 2, \"updated_at\": \"2026-05-01T13:57:39.000000Z\", \"to_warehouse\": 1, \"from_warehouse\": 2}}','2026-05-01 13:57:39','2026-05-01 13:57:39'),(418,'transfers','Transfer #3 was created','App\\Models\\Transfer',3,'created','App\\Models\\User',1,NULL,NULL,'{\"attributes\": {\"id\": 3, \"date\": \"2024-12-02T16:00:00.000000Z\", \"quantity\": \"30.00\", \"created_at\": \"2026-05-01T13:57:39.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:57:39.000000Z\", \"to_warehouse\": 2, \"from_warehouse\": 1}}','2026-05-01 13:57:39','2026-05-01 13:57:39'),(419,'transfers','Transfer #4 was created','App\\Models\\Transfer',4,'created','App\\Models\\User',1,NULL,NULL,'{\"attributes\": {\"id\": 4, \"date\": \"2024-12-03T16:00:00.000000Z\", \"quantity\": \"10.00\", \"created_at\": \"2026-05-01T13:57:39.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"product_id\": 1, \"updated_at\": \"2026-05-01T13:57:39.000000Z\", \"to_warehouse\": 1, \"from_warehouse\": 2}}','2026-05-01 13:57:39','2026-05-01 13:57:39'),(420,'transfers','Transfer #5 was created','App\\Models\\Transfer',5,'created','App\\Models\\User',1,NULL,NULL,'{\"attributes\": {\"id\": 5, \"date\": \"2024-12-04T16:00:00.000000Z\", \"quantity\": \"20.00\", \"created_at\": \"2026-05-01T13:57:39.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"product_id\": 4, \"updated_at\": \"2026-05-01T13:57:39.000000Z\", \"to_warehouse\": 1, \"from_warehouse\": 2}}','2026-05-01 13:57:39','2026-05-01 13:57:39'),(421,'transfers','Transfer #6 was created','App\\Models\\Transfer',6,'created','App\\Models\\User',1,NULL,NULL,'{\"attributes\": {\"id\": 6, \"date\": \"2024-12-05T16:00:00.000000Z\", \"quantity\": \"35.00\", \"created_at\": \"2026-05-01T13:57:39.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"product_id\": 5, \"updated_at\": \"2026-05-01T13:57:39.000000Z\", \"to_warehouse\": 2, \"from_warehouse\": 1}}','2026-05-01 13:57:39','2026-05-01 13:57:39'),(422,'transfers','Transfer #7 was created','App\\Models\\Transfer',7,'created','App\\Models\\User',1,NULL,NULL,'{\"attributes\": {\"id\": 7, \"date\": \"2024-12-06T16:00:00.000000Z\", \"quantity\": \"12.00\", \"created_at\": \"2026-05-01T13:57:39.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"product_id\": 2, \"updated_at\": \"2026-05-01T13:57:39.000000Z\", \"to_warehouse\": 2, \"from_warehouse\": 2}}','2026-05-01 13:57:39','2026-05-01 13:57:39'),(423,'transfers','Transfer #8 was created','App\\Models\\Transfer',8,'created','App\\Models\\User',1,NULL,NULL,'{\"attributes\": {\"id\": 8, \"date\": \"2024-12-07T16:00:00.000000Z\", \"quantity\": \"18.00\", \"created_at\": \"2026-05-01T13:57:39.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"product_id\": 6, \"updated_at\": \"2026-05-01T13:57:39.000000Z\", \"to_warehouse\": 1, \"from_warehouse\": 2}}','2026-05-01 13:57:39','2026-05-01 13:57:39'),(424,'transfers','Transfer #9 was created','App\\Models\\Transfer',9,'created','App\\Models\\User',1,NULL,NULL,'{\"attributes\": {\"id\": 9, \"date\": \"2024-12-08T16:00:00.000000Z\", \"quantity\": \"22.00\", \"created_at\": \"2026-05-01T13:57:39.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"product_id\": 3, \"updated_at\": \"2026-05-01T13:57:39.000000Z\", \"to_warehouse\": 2, \"from_warehouse\": 1}}','2026-05-01 13:57:39','2026-05-01 13:57:39'),(425,'transfers','Transfer #10 was created','App\\Models\\Transfer',10,'created','App\\Models\\User',1,NULL,NULL,'{\"attributes\": {\"id\": 10, \"date\": \"2024-12-09T16:00:00.000000Z\", \"quantity\": \"28.00\", \"created_at\": \"2026-05-01T13:57:39.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"product_id\": 7, \"updated_at\": \"2026-05-01T13:57:39.000000Z\", \"to_warehouse\": 1, \"from_warehouse\": 2}}','2026-05-01 13:57:39','2026-05-01 13:57:39'),(426,'asset-categories','Asset Category \"IT Equipment\" was created','Workdo\\AssetManagement\\Models\\AssetCategory',1,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 1, \"name\": \"IT Equipment\", \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": \"Laptops, monitors, printers, phones, tablets\", \"asset_gl_account_id\": 12, \"depreciation_method\": \"straight_line\", \"expense_gl_account_id\": null, \"default_salvage_percentage\": \"10.00\", \"default_useful_life_months\": 36, \"depreciation_gl_account_id\": 13}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(427,'asset-categories','Asset Category \"Office Furniture\" was created','Workdo\\AssetManagement\\Models\\AssetCategory',2,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 2, \"name\": \"Office Furniture\", \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": \"Desks, chairs, tables, cabinets\", \"asset_gl_account_id\": 12, \"depreciation_method\": \"straight_line\", \"expense_gl_account_id\": null, \"default_salvage_percentage\": \"5.00\", \"default_useful_life_months\": 120, \"depreciation_gl_account_id\": 13}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(428,'asset-categories','Asset Category \"Vehicles\" was created','Workdo\\AssetManagement\\Models\\AssetCategory',3,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 3, \"name\": \"Vehicles\", \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": \"Company cars, vans, scooters\", \"asset_gl_account_id\": 12, \"depreciation_method\": \"declining_balance\", \"expense_gl_account_id\": null, \"default_salvage_percentage\": \"15.00\", \"default_useful_life_months\": 60, \"depreciation_gl_account_id\": 13}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(429,'asset-categories','Asset Category \"Machinery & Tools\" was created','Workdo\\AssetManagement\\Models\\AssetCategory',4,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 4, \"name\": \"Machinery & Tools\", \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": \"Forklifts, generators, industrial equipment\", \"asset_gl_account_id\": 12, \"depreciation_method\": \"straight_line\", \"expense_gl_account_id\": null, \"default_salvage_percentage\": \"8.00\", \"default_useful_life_months\": 84, \"depreciation_gl_account_id\": 13}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(430,'asset-categories','Asset Category \"Network Infrastructure\" was created','Workdo\\AssetManagement\\Models\\AssetCategory',5,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 5, \"name\": \"Network Infrastructure\", \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": \"Switches, servers, UPS, access points\", \"asset_gl_account_id\": 12, \"depreciation_method\": \"straight_line\", \"expense_gl_account_id\": null, \"default_salvage_percentage\": \"5.00\", \"default_useful_life_months\": 60, \"depreciation_gl_account_id\": 13}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(431,'assets','Asset \"MacBook Pro 16\" M4 Max\" was created','Workdo\\AssetManagement\\Models\\Asset',1,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 1, \"name\": \"MacBook Pro 16\\\" M4 Max\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Head Office\", \"condition\": \"new\", \"vendor_id\": 1, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 1, \"description\": null, \"asset_number\": \"AST-2026-05-001\", \"manufacturer\": \"Apple\", \"model_number\": \"A2991\", \"purchase_date\": \"2026-02-01T16:00:00.000000Z\", \"salvage_value\": \"349.90\", \"serial_number\": \"C02ZN1ABCDEF\", \"purchase_price\": \"3499.00\", \"warranty_start\": \"2026-02-01T16:00:00.000000Z\", \"warranty_expiry\": \"2027-02-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"3499.00\", \"useful_life_months\": 36, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2026-02-28T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(432,'assets','Asset \"Dell UltraSharp 32\" 4K Monitor\" was created','Workdo\\AssetManagement\\Models\\Asset',2,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 2, \"name\": \"Dell UltraSharp 32\\\" 4K Monitor\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Head Office\", \"condition\": \"new\", \"vendor_id\": 1, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 1, \"description\": null, \"asset_number\": \"AST-2026-05-002\", \"manufacturer\": \"Dell\", \"model_number\": \"U3223QE\", \"purchase_date\": \"2025-11-01T16:00:00.000000Z\", \"salvage_value\": \"79.90\", \"serial_number\": \"CN-0F4G5H-74261\", \"purchase_price\": \"799.00\", \"warranty_start\": \"2025-11-01T16:00:00.000000Z\", \"warranty_expiry\": \"2028-11-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"799.00\", \"useful_life_months\": 36, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2025-11-30T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(433,'assets','Asset \"HP LaserJet Pro M404dn\" was created','Workdo\\AssetManagement\\Models\\Asset',3,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 3, \"name\": \"HP LaserJet Pro M404dn\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Branch 1\", \"condition\": \"good\", \"vendor_id\": 2, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 1, \"description\": null, \"asset_number\": \"AST-2026-05-003\", \"manufacturer\": \"HP\", \"model_number\": \"M404dn\", \"purchase_date\": \"2025-07-01T16:00:00.000000Z\", \"salvage_value\": \"34.90\", \"serial_number\": \"VND3R45678\", \"purchase_price\": \"349.00\", \"warranty_start\": \"2025-07-01T16:00:00.000000Z\", \"warranty_expiry\": \"2026-07-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"349.00\", \"useful_life_months\": 36, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2025-07-31T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(434,'assets','Asset \"Lenovo ThinkPad X1 Carbon Gen 12\" was created','Workdo\\AssetManagement\\Models\\Asset',4,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 4, \"name\": \"Lenovo ThinkPad X1 Carbon Gen 12\", \"image\": null, \"notes\": null, \"status\": \"checked_out\", \"qr_code\": null, \"location\": null, \"condition\": \"good\", \"vendor_id\": 1, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 1, \"description\": null, \"asset_number\": \"AST-2026-05-004\", \"manufacturer\": \"Lenovo\", \"model_number\": \"21HM\", \"purchase_date\": \"2025-09-01T16:00:00.000000Z\", \"salvage_value\": \"189.90\", \"serial_number\": \"PF3N4K5P\", \"purchase_price\": \"1899.00\", \"warranty_start\": \"2025-09-01T16:00:00.000000Z\", \"warranty_expiry\": \"2028-09-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"1899.00\", \"useful_life_months\": 36, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2025-09-30T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(435,'assets','Asset \"iPhone 15 Pro\" was created','Workdo\\AssetManagement\\Models\\Asset',5,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 5, \"name\": \"iPhone 15 Pro\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Head Office\", \"condition\": \"new\", \"vendor_id\": 1, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 1, \"description\": null, \"asset_number\": \"AST-2026-05-005\", \"manufacturer\": \"Apple\", \"model_number\": \"A3101\", \"purchase_date\": \"2026-03-01T16:00:00.000000Z\", \"salvage_value\": \"119.90\", \"serial_number\": \"F4GDQ8ABCDEF\", \"purchase_price\": \"1199.00\", \"warranty_start\": \"2026-03-01T16:00:00.000000Z\", \"warranty_expiry\": \"2027-03-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"1199.00\", \"useful_life_months\": 36, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2026-03-31T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(436,'assets','Asset \"iPad Pro 12.9\" M2\" was created','Workdo\\AssetManagement\\Models\\Asset',6,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 6, \"name\": \"iPad Pro 12.9\\\" M2\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Branch 1\", \"condition\": \"new\", \"vendor_id\": 1, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 1, \"description\": null, \"asset_number\": \"AST-2026-05-006\", \"manufacturer\": \"Apple\", \"model_number\": \"A2759\", \"purchase_date\": \"2026-01-01T16:00:00.000000Z\", \"salvage_value\": \"129.90\", \"serial_number\": \"DMPZQ7ABCDEF\", \"purchase_price\": \"1299.00\", \"warranty_start\": \"2026-01-01T16:00:00.000000Z\", \"warranty_expiry\": \"2027-01-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"1299.00\", \"useful_life_months\": 36, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2026-01-31T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(437,'assets','Asset \"Herman Miller Aeron Chair\" was created','Workdo\\AssetManagement\\Models\\Asset',7,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 7, \"name\": \"Herman Miller Aeron Chair\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Head Office\", \"condition\": \"new\", \"vendor_id\": 2, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 2, \"description\": null, \"asset_number\": \"AST-2026-05-007\", \"manufacturer\": \"Herman Miller\", \"model_number\": \"AER1B23DW\", \"purchase_date\": \"2025-11-01T16:00:00.000000Z\", \"salvage_value\": \"74.75\", \"serial_number\": null, \"purchase_price\": \"1495.00\", \"warranty_start\": \"2025-11-01T16:00:00.000000Z\", \"warranty_expiry\": \"2037-11-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"1495.00\", \"useful_life_months\": 120, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2025-11-30T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(438,'assets','Asset \"Uplift V2 Standing Desk\" was created','Workdo\\AssetManagement\\Models\\Asset',8,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 8, \"name\": \"Uplift V2 Standing Desk\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Head Office\", \"condition\": \"good\", \"vendor_id\": 2, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 2, \"description\": null, \"asset_number\": \"AST-2026-05-008\", \"manufacturer\": \"Uplift Desk\", \"model_number\": \"V2-6030\", \"purchase_date\": \"2025-05-01T16:00:00.000000Z\", \"salvage_value\": \"44.95\", \"serial_number\": null, \"purchase_price\": \"899.00\", \"warranty_start\": \"2025-05-01T16:00:00.000000Z\", \"warranty_expiry\": \"2040-05-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"899.00\", \"useful_life_months\": 120, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2025-05-31T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(439,'assets','Asset \"Conference Table (12-seat)\" was created','Workdo\\AssetManagement\\Models\\Asset',9,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 9, \"name\": \"Conference Table (12-seat)\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Board Room\", \"condition\": \"good\", \"vendor_id\": 2, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 2, \"description\": null, \"asset_number\": \"AST-2026-05-009\", \"manufacturer\": \"Steelcase\", \"model_number\": \"CT-12-WN\", \"purchase_date\": \"2024-11-01T16:00:00.000000Z\", \"salvage_value\": \"120.00\", \"serial_number\": null, \"purchase_price\": \"2400.00\", \"warranty_start\": \"2024-11-01T16:00:00.000000Z\", \"warranty_expiry\": \"2029-11-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"2400.00\", \"useful_life_months\": 120, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2024-11-30T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(440,'assets','Asset \"Filing Cabinet 4-Drawer\" was created','Workdo\\AssetManagement\\Models\\Asset',10,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 10, \"name\": \"Filing Cabinet 4-Drawer\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Archive Room\", \"condition\": \"fair\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 2, \"description\": null, \"asset_number\": \"AST-2026-05-010\", \"manufacturer\": \"HON\", \"model_number\": \"FC-4D\", \"purchase_date\": \"2023-05-01T16:00:00.000000Z\", \"salvage_value\": \"17.50\", \"serial_number\": null, \"purchase_price\": \"350.00\", \"warranty_start\": null, \"warranty_expiry\": null, \"suspension_reason\": null, \"current_book_value\": \"350.00\", \"useful_life_months\": 120, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2023-05-31T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(441,'assets','Asset \"Toyota HiAce Van\" was created','Workdo\\AssetManagement\\Models\\Asset',11,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 11, \"name\": \"Toyota HiAce Van\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Warehouse\", \"condition\": \"good\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 3, \"description\": null, \"asset_number\": \"AST-2026-05-011\", \"manufacturer\": \"Toyota\", \"model_number\": \"KDH201\", \"purchase_date\": \"2025-03-01T16:00:00.000000Z\", \"salvage_value\": \"5250.00\", \"serial_number\": \"JTFHX02P0F0123456\", \"purchase_price\": \"35000.00\", \"warranty_start\": \"2025-03-01T16:00:00.000000Z\", \"warranty_expiry\": \"2028-03-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"35000.00\", \"useful_life_months\": 60, \"depreciation_method\": \"declining_balance\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2025-03-31T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(442,'assets','Asset \"Honda Civic Company Car\" was created','Workdo\\AssetManagement\\Models\\Asset',12,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 12, \"name\": \"Honda Civic Company Car\", \"image\": null, \"notes\": null, \"status\": \"checked_out\", \"qr_code\": null, \"location\": null, \"condition\": \"good\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 3, \"description\": null, \"asset_number\": \"AST-2026-05-012\", \"manufacturer\": \"Honda\", \"model_number\": \"FE2F59\", \"purchase_date\": \"2024-11-01T16:00:00.000000Z\", \"salvage_value\": \"4275.00\", \"serial_number\": \"2HGFE2F59PH500123\", \"purchase_price\": \"28500.00\", \"warranty_start\": \"2024-11-01T16:00:00.000000Z\", \"warranty_expiry\": \"2027-11-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"28500.00\", \"useful_life_months\": 60, \"depreciation_method\": \"declining_balance\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2024-11-30T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(443,'assets','Asset \"Yamaha NMAX 155 Scooter\" was created','Workdo\\AssetManagement\\Models\\Asset',13,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 13, \"name\": \"Yamaha NMAX 155 Scooter\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Branch 2\", \"condition\": \"new\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 3, \"description\": null, \"asset_number\": \"AST-2026-05-013\", \"manufacturer\": \"Yamaha\", \"model_number\": \"GPD155-A\", \"purchase_date\": \"2026-03-01T16:00:00.000000Z\", \"salvage_value\": \"480.00\", \"serial_number\": \"MH3SG4670RK012345\", \"purchase_price\": \"3200.00\", \"warranty_start\": \"2026-03-01T16:00:00.000000Z\", \"warranty_expiry\": \"2028-03-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"3200.00\", \"useful_life_months\": 60, \"depreciation_method\": \"declining_balance\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2026-03-31T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(444,'assets','Asset \"Toyota 8FGU25 Forklift\" was created','Workdo\\AssetManagement\\Models\\Asset',14,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 14, \"name\": \"Toyota 8FGU25 Forklift\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Warehouse\", \"condition\": \"good\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 4, \"description\": null, \"asset_number\": \"AST-2026-05-014\", \"manufacturer\": \"Toyota\", \"model_number\": \"8FGU25\", \"purchase_date\": \"2024-09-01T16:00:00.000000Z\", \"salvage_value\": \"2000.00\", \"serial_number\": \"8FGU25-62345\", \"purchase_price\": \"25000.00\", \"warranty_start\": \"2024-09-01T16:00:00.000000Z\", \"warranty_expiry\": \"2026-09-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"25000.00\", \"useful_life_months\": 84, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2024-09-30T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(445,'assets','Asset \"Honda EU7000iS Generator\" was created','Workdo\\AssetManagement\\Models\\Asset',15,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 15, \"name\": \"Honda EU7000iS Generator\", \"image\": null, \"notes\": null, \"status\": \"under_maintenance\", \"qr_code\": null, \"location\": \"Warehouse\", \"condition\": \"good\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 4, \"description\": null, \"asset_number\": \"AST-2026-05-015\", \"manufacturer\": \"Honda\", \"model_number\": \"EU7000iS\", \"purchase_date\": \"2025-07-01T16:00:00.000000Z\", \"salvage_value\": \"440.00\", \"serial_number\": \"EAAJ-1234567\", \"purchase_price\": \"5500.00\", \"warranty_start\": \"2025-07-01T16:00:00.000000Z\", \"warranty_expiry\": \"2028-07-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"5500.00\", \"useful_life_months\": 84, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2025-07-31T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(446,'assets','Asset \"Industrial Paper Shredder\" was created','Workdo\\AssetManagement\\Models\\Asset',16,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 16, \"name\": \"Industrial Paper Shredder\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Back Office\", \"condition\": \"fair\", \"vendor_id\": 2, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 4, \"description\": null, \"asset_number\": \"AST-2026-05-016\", \"manufacturer\": \"Fellowes\", \"model_number\": \"IDS-3600\", \"purchase_date\": \"2023-11-01T16:00:00.000000Z\", \"salvage_value\": \"224.00\", \"serial_number\": \"SH-98765\", \"purchase_price\": \"2800.00\", \"warranty_start\": \"2023-11-01T16:00:00.000000Z\", \"warranty_expiry\": \"2025-11-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"2800.00\", \"useful_life_months\": 84, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2023-11-30T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(447,'assets','Asset \"Cisco Catalyst 9200L-48P Switch\" was created','Workdo\\AssetManagement\\Models\\Asset',17,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 17, \"name\": \"Cisco Catalyst 9200L-48P Switch\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Server Room\", \"condition\": \"new\", \"vendor_id\": 1, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 5, \"description\": null, \"asset_number\": \"AST-2026-05-017\", \"manufacturer\": \"Cisco\", \"model_number\": \"C9200L-48P-4X\", \"purchase_date\": \"2026-02-01T16:00:00.000000Z\", \"salvage_value\": \"210.00\", \"serial_number\": \"FCW2445L0AB\", \"purchase_price\": \"4200.00\", \"warranty_start\": \"2026-02-01T16:00:00.000000Z\", \"warranty_expiry\": \"2031-02-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"4200.00\", \"useful_life_months\": 60, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2026-02-28T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(448,'assets','Asset \"Ubiquiti UniFi 6 Pro AP (6-pack)\" was created','Workdo\\AssetManagement\\Models\\Asset',18,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 18, \"name\": \"Ubiquiti UniFi 6 Pro AP (6-pack)\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Head Office\", \"condition\": \"new\", \"vendor_id\": 1, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 5, \"description\": null, \"asset_number\": \"AST-2026-05-018\", \"manufacturer\": \"Ubiquiti\", \"model_number\": \"U6-Pro-6\", \"purchase_date\": \"2025-12-01T16:00:00.000000Z\", \"salvage_value\": \"90.00\", \"serial_number\": null, \"purchase_price\": \"1800.00\", \"warranty_start\": \"2025-12-01T16:00:00.000000Z\", \"warranty_expiry\": \"2027-12-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"1800.00\", \"useful_life_months\": 60, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2025-12-31T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(449,'assets','Asset \"Dell PowerEdge R750 Server\" was created','Workdo\\AssetManagement\\Models\\Asset',19,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 19, \"name\": \"Dell PowerEdge R750 Server\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Server Room\", \"condition\": \"new\", \"vendor_id\": 1, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 5, \"description\": null, \"asset_number\": \"AST-2026-05-019\", \"manufacturer\": \"Dell\", \"model_number\": \"R750\", \"purchase_date\": \"2026-01-01T16:00:00.000000Z\", \"salvage_value\": \"425.00\", \"serial_number\": \"SVT-R750-2024-001\", \"purchase_price\": \"8500.00\", \"warranty_start\": \"2026-01-01T16:00:00.000000Z\", \"warranty_expiry\": \"2029-01-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"8500.00\", \"useful_life_months\": 60, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2026-01-31T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(450,'assets','Asset \"APC Smart-UPS 3000VA\" was created','Workdo\\AssetManagement\\Models\\Asset',20,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 20, \"name\": \"APC Smart-UPS 3000VA\", \"image\": null, \"notes\": null, \"status\": \"active\", \"qr_code\": null, \"location\": \"Server Room\", \"condition\": \"good\", \"vendor_id\": 2, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 5, \"description\": null, \"asset_number\": \"AST-2026-05-020\", \"manufacturer\": \"APC\", \"model_number\": \"SMT3000RM2UC\", \"purchase_date\": \"2025-05-01T16:00:00.000000Z\", \"salvage_value\": \"60.00\", \"serial_number\": \"AS1234567890\", \"purchase_price\": \"1200.00\", \"warranty_start\": \"2025-05-01T16:00:00.000000Z\", \"warranty_expiry\": \"2027-05-01T16:00:00.000000Z\", \"suspension_reason\": null, \"current_book_value\": \"1200.00\", \"useful_life_months\": 60, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2025-05-31T16:00:00.000000Z\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(451,'assets','Asset \"MacBook Pro 16\" M4 Max\" was updated','Workdo\\AssetManagement\\Models\\Asset',1,'updated',NULL,NULL,NULL,NULL,'{\"old\": {\"warranty_expiry\": \"2027-02-01T16:00:00.000000Z\", \"depreciation_convention\": null, \"accumulated_depreciation\": null, \"is_depreciation_suspended\": null}, \"attributes\": {\"warranty_expiry\": \"2026-05-16T16:00:00.000000Z\", \"depreciation_convention\": \"full_month\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(452,'assets','Asset \"Dell PowerEdge R750 Server\" was updated','Workdo\\AssetManagement\\Models\\Asset',19,'updated',NULL,NULL,NULL,NULL,'{\"old\": {\"warranty_expiry\": \"2029-01-01T16:00:00.000000Z\", \"depreciation_convention\": null, \"accumulated_depreciation\": null, \"is_depreciation_suspended\": null}, \"attributes\": {\"warranty_expiry\": \"2026-05-26T16:00:00.000000Z\", \"depreciation_convention\": \"full_month\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(453,'asset-maintenances','Asset Maintenance \"Engine overheating repair\" was created','Workdo\\AssetManagement\\Models\\AssetMaintenance',1,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 1, \"cost\": \"850.00\", \"notes\": null, \"title\": \"Engine overheating repair\", \"status\": \"scheduled\", \"asset_id\": 15, \"priority\": \"high\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"recurrence\": null, \"start_date\": null, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": null, \"completed_date\": null, \"scheduled_date\": \"2026-05-04T16:00:00.000000Z\", \"maintenance_type\": \"corrective\", \"maintenance_number\": \"MNT-2026-05-001\", \"next_maintenance_date\": null}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(454,'asset-maintenances','Asset Maintenance \"Regular service & oil change (10,000 km)\" was created','Workdo\\AssetManagement\\Models\\AssetMaintenance',2,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 2, \"cost\": \"350.00\", \"notes\": null, \"title\": \"Regular service & oil change (10,000 km)\", \"status\": \"scheduled\", \"asset_id\": 11, \"priority\": \"medium\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"recurrence\": \"quarterly\", \"start_date\": null, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": null, \"completed_date\": null, \"scheduled_date\": \"2026-05-08T16:00:00.000000Z\", \"maintenance_type\": \"preventive\", \"maintenance_number\": \"MNT-2026-05-002\", \"next_maintenance_date\": null}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(455,'asset-maintenances','Asset Maintenance \"Annual safety inspection\" was created','Workdo\\AssetManagement\\Models\\AssetMaintenance',3,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 3, \"cost\": \"200.00\", \"notes\": null, \"title\": \"Annual safety inspection\", \"status\": \"completed\", \"asset_id\": 14, \"priority\": \"low\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"recurrence\": null, \"start_date\": null, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": null, \"completed_date\": \"2026-04-19T16:00:00.000000Z\", \"scheduled_date\": \"2026-04-17T16:00:00.000000Z\", \"maintenance_type\": \"inspection\", \"maintenance_number\": \"MNT-2026-05-003\", \"next_maintenance_date\": null}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(456,'asset-maintenances','Asset Maintenance \"Paper jam mechanism repair\" was created','Workdo\\AssetManagement\\Models\\AssetMaintenance',4,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 4, \"cost\": \"120.00\", \"notes\": null, \"title\": \"Paper jam mechanism repair\", \"status\": \"completed\", \"asset_id\": 3, \"priority\": \"medium\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"recurrence\": null, \"start_date\": null, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": null, \"completed_date\": \"2026-04-26T16:00:00.000000Z\", \"scheduled_date\": \"2026-04-24T16:00:00.000000Z\", \"maintenance_type\": \"corrective\", \"maintenance_number\": \"MNT-2026-05-004\", \"next_maintenance_date\": null}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(457,'asset-maintenances','Asset Maintenance \"Firmware update & port cleaning\" was created','Workdo\\AssetManagement\\Models\\AssetMaintenance',5,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 5, \"cost\": \"0.00\", \"notes\": null, \"title\": \"Firmware update & port cleaning\", \"status\": \"scheduled\", \"asset_id\": 17, \"priority\": \"low\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"recurrence\": \"semi_annual\", \"start_date\": null, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": null, \"completed_date\": null, \"scheduled_date\": \"2026-05-15T16:00:00.000000Z\", \"maintenance_type\": \"preventive\", \"maintenance_number\": \"MNT-2026-05-005\", \"next_maintenance_date\": null}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(458,'asset-maintenances','Asset Maintenance \"Tire rotation & brake check\" was created','Workdo\\AssetManagement\\Models\\AssetMaintenance',6,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 6, \"cost\": \"280.00\", \"notes\": null, \"title\": \"Tire rotation & brake check\", \"status\": \"scheduled\", \"asset_id\": 12, \"priority\": \"medium\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"recurrence\": null, \"start_date\": null, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": null, \"completed_date\": null, \"scheduled_date\": \"2026-05-22T16:00:00.000000Z\", \"maintenance_type\": \"preventive\", \"maintenance_number\": \"MNT-2026-05-006\", \"next_maintenance_date\": null}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(459,'asset-maintenances','Asset Maintenance \"RAID health check & backup verification\" was created','Workdo\\AssetManagement\\Models\\AssetMaintenance',7,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 7, \"cost\": \"0.00\", \"notes\": null, \"title\": \"RAID health check & backup verification\", \"status\": \"scheduled\", \"asset_id\": 19, \"priority\": \"high\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"recurrence\": \"monthly\", \"start_date\": null, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": null, \"completed_date\": null, \"scheduled_date\": \"2026-05-06T16:00:00.000000Z\", \"maintenance_type\": \"inspection\", \"maintenance_number\": \"MNT-2026-05-007\", \"next_maintenance_date\": null}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(460,'asset-maintenances','Asset Maintenance \"Blade sharpening & motor service\" was created','Workdo\\AssetManagement\\Models\\AssetMaintenance',8,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 8, \"cost\": \"450.00\", \"notes\": null, \"title\": \"Blade sharpening & motor service\", \"status\": \"in_progress\", \"asset_id\": 16, \"priority\": \"high\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"recurrence\": null, \"start_date\": null, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"description\": null, \"completed_date\": null, \"scheduled_date\": \"2026-04-29T16:00:00.000000Z\", \"maintenance_type\": \"corrective\", \"maintenance_number\": \"MNT-2026-05-008\", \"next_maintenance_date\": null}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(461,'assets','Asset \"Lenovo ThinkPad X1 Carbon Gen 12\" was updated','Workdo\\AssetManagement\\Models\\Asset',4,'updated',NULL,NULL,NULL,NULL,'{\"old\": {\"assigned_to\": null, \"depreciation_convention\": null, \"accumulated_depreciation\": null, \"is_depreciation_suspended\": null}, \"attributes\": {\"assigned_to\": 44, \"depreciation_convention\": \"full_month\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(462,'assets','Asset \"Honda Civic Company Car\" was updated','Workdo\\AssetManagement\\Models\\Asset',12,'updated',NULL,NULL,NULL,NULL,'{\"old\": {\"assigned_to\": null, \"depreciation_convention\": null, \"accumulated_depreciation\": null, \"is_depreciation_suspended\": null}, \"attributes\": {\"assigned_to\": 45, \"depreciation_convention\": \"full_month\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(463,'assets','Asset \"iPad Pro 12.9\" M2\" was updated','Workdo\\AssetManagement\\Models\\Asset',6,'updated',NULL,NULL,NULL,NULL,'{\"old\": {\"assigned_to\": null, \"depreciation_convention\": null, \"accumulated_depreciation\": null, \"is_depreciation_suspended\": null}, \"attributes\": {\"assigned_to\": 46, \"depreciation_convention\": \"full_month\", \"accumulated_depreciation\": \"0.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(464,'assets','Asset \"Dell Latitude E5550 (Retired)\" was created','Workdo\\AssetManagement\\Models\\Asset',21,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 21, \"name\": \"Dell Latitude E5550 (Retired)\", \"image\": null, \"notes\": null, \"status\": \"disposed\", \"qr_code\": null, \"location\": null, \"condition\": \"poor\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 1, \"description\": null, \"asset_number\": \"AST-2026-05-021\", \"manufacturer\": \"Dell\", \"model_number\": \"E5550\", \"purchase_date\": \"2021-05-01T16:00:00.000000Z\", \"salvage_value\": \"120.00\", \"serial_number\": \"DL-E5550-OLD\", \"purchase_price\": \"1200.00\", \"warranty_start\": null, \"warranty_expiry\": null, \"suspension_reason\": null, \"current_book_value\": \"150.00\", \"useful_life_months\": 36, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2021-05-01T16:00:00.000000Z\", \"accumulated_depreciation\": \"1050.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(465,'assets','Asset \"Office Chair (Broken Hydraulic)\" was created','Workdo\\AssetManagement\\Models\\Asset',22,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 22, \"name\": \"Office Chair (Broken Hydraulic)\", \"image\": null, \"notes\": null, \"status\": \"disposed\", \"qr_code\": null, \"location\": null, \"condition\": \"poor\", \"vendor_id\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"assigned_to\": null, \"category_id\": 2, \"description\": null, \"asset_number\": \"AST-2026-05-022\", \"manufacturer\": null, \"model_number\": null, \"purchase_date\": \"2022-05-01T16:00:00.000000Z\", \"salvage_value\": \"20.00\", \"serial_number\": null, \"purchase_price\": \"400.00\", \"warranty_start\": null, \"warranty_expiry\": null, \"suspension_reason\": null, \"current_book_value\": \"0.00\", \"useful_life_months\": 120, \"depreciation_method\": \"straight_line\", \"purchase_invoice_id\": null, \"last_depreciation_date\": null, \"depreciation_convention\": \"full_month\", \"depreciation_start_date\": \"2022-05-01T16:00:00.000000Z\", \"accumulated_depreciation\": \"400.00\", \"is_depreciation_suspended\": false}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(466,'asset-disposals','Asset Disposal #1 was created','Workdo\\AssetManagement\\Models\\AssetDisposal',1,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 1, \"reason\": \"End of useful life, replaced by newer model\", \"asset_id\": 21, \"gain_loss\": \"50.00\", \"buyer_info\": \"Staff member (internal sale)\", \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"sale_price\": \"200.00\", \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"approved_by\": 2, \"disposal_date\": \"2026-04-01T16:00:00.000000Z\", \"disposal_type\": \"sale\", \"disposal_number\": \"DSP-2026-001\", \"journal_entry_id\": null, \"book_value_at_disposal\": \"150.00\"}}','2026-05-02 02:48:51','2026-05-02 02:48:51'),(467,'asset-disposals','Asset Disposal #2 was created','Workdo\\AssetManagement\\Models\\AssetDisposal',2,'created',NULL,NULL,NULL,NULL,'{\"attributes\": {\"id\": 2, \"reason\": \"Hydraulic mechanism irreparable, safety hazard\", \"asset_id\": 22, \"gain_loss\": \"-75.00\", \"buyer_info\": null, \"created_at\": \"2026-05-02T02:48:51.000000Z\", \"created_by\": 2, \"creator_id\": 2, \"sale_price\": \"0.00\", \"updated_at\": \"2026-05-02T02:48:51.000000Z\", \"approved_by\": 2, \"disposal_date\": \"2026-04-16T16:00:00.000000Z\", \"disposal_type\": \"write_off\", \"disposal_number\": \"DSP-2026-002\", \"journal_entry_id\": null, \"book_value_at_disposal\": \"75.00\"}}','2026-05-02 02:48:51','2026-05-02 02:48:51');
|
||
/*!40000 ALTER TABLE `activity_log` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `add_ons`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `add_ons`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `add_ons` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`module` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`monthly_price` decimal(8,2) NOT NULL,
|
||
`yearly_price` decimal(8,2) NOT NULL,
|
||
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_enable` tinyint(1) NOT NULL DEFAULT '0',
|
||
`for_admin` tinyint(1) NOT NULL DEFAULT '0',
|
||
`package_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`priority` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `add_ons`
|
||
--
|
||
|
||
LOCK TABLES `add_ons` WRITE;
|
||
/*!40000 ALTER TABLE `add_ons` DISABLE KEYS */;
|
||
INSERT INTO `add_ons` VALUES (1,'SkillsMatrix','Skills Matrix',0.00,0.00,NULL,1,0,'skills-matrix',31,'2026-04-23 05:50:03','2026-04-23 05:50:03'),(2,'CertTracker','Certification Tracker',0.00,0.00,NULL,1,0,'cert-tracker',32,'2026-04-23 05:50:03','2026-04-23 05:50:03'),(3,'Engagement','Engagement Manager',0.00,0.00,NULL,1,0,'engagement',33,'2026-04-23 05:50:03','2026-04-23 05:50:03'),(4,'Utilization','Utilization Tracker',0.00,0.00,NULL,1,0,'utilization',34,'2026-04-23 05:50:03','2026-04-23 05:50:03'),(5,'PropertyManagement','Property Management',0.00,0.00,NULL,1,0,'property-management',35,'2026-04-23 05:50:03','2026-04-23 05:50:03'),(6,'Hospital','Hospital Management',0.00,0.00,NULL,1,0,'hospital',6,'2026-04-23 06:02:58','2026-04-23 06:02:58'),(7,'Hrm','HR Management',0.00,0.00,NULL,1,0,'hrm',10,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(8,'Account','Accounting',0.00,0.00,NULL,1,0,'account',11,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(9,'Pos','Point of Sale',0.00,0.00,NULL,1,0,'pos',12,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(10,'ProductService','Products & Services',0.00,0.00,NULL,1,0,'productservice',13,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(11,'Lead','CRM / Leads',0.00,0.00,NULL,1,0,'lead',14,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(12,'Taskly','Project Management',0.00,0.00,NULL,1,0,'taskly',15,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(13,'Payroll','Payroll',0.00,0.00,NULL,1,0,'payroll',16,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(14,'DoubleEntry','Double Entry',0.00,0.00,NULL,1,0,'doubleentry',17,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(15,'CustomField','Custom Fields',0.00,0.00,NULL,1,0,'customfield',18,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(16,'Documents','Documents',0.00,0.00,NULL,1,0,'documents',19,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(17,'LandingPage','Landing Page',0.00,0.00,NULL,1,1,'landingpage',20,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(18,'Bookings','Bookings',0.00,0.00,NULL,1,0,'bookings',21,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(19,'CoilManufacturing','Manufacturing',0.00,0.00,NULL,1,0,'coilmanufacturing',22,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(20,'Fleet','Fleet',0.00,0.00,NULL,1,0,'fleet',23,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(21,'AIHub','AI Hub',0.00,0.00,NULL,1,0,'aihub',24,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(22,'AIAssistant','AI Assistant',0.00,0.00,NULL,1,0,'aiassistant',25,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(23,'AIDocument','AI Document',0.00,0.00,NULL,0,0,'aidocument',26,'2026-04-23 06:05:36','2026-05-02 01:14:57'),(24,'AIForecasting','AI Forecasting',0.00,0.00,NULL,1,0,'aiforecasting',27,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(25,'Paypal','PayPal',0.00,0.00,NULL,1,0,'paypal',28,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(26,'Stripe','Stripe',0.00,0.00,NULL,1,0,'stripe',29,'2026-04-23 06:05:36','2026-04-23 06:05:36'),(27,'Warehouse','Warehouse',0.00,0.00,NULL,1,0,'warehouse',0,'2026-05-01 08:26:01','2026-05-01 08:26:01'),(28,'AssetManagement','Asset Management',0.00,0.00,NULL,1,0,'assetmanagement',420,'2026-05-02 01:28:41','2026-05-02 01:28:41');
|
||
/*!40000 ALTER TABLE `add_ons` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ai_forecast_history`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ai_forecast_history`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ai_forecast_history` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`forecast_id` bigint unsigned NOT NULL,
|
||
`prompt` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`response` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`tokens_used` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `ai_forecast_history_forecast_id_foreign` (`forecast_id`),
|
||
CONSTRAINT `ai_forecast_history_forecast_id_foreign` FOREIGN KEY (`forecast_id`) REFERENCES `ai_forecasts` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ai_forecast_history`
|
||
--
|
||
|
||
LOCK TABLES `ai_forecast_history` WRITE;
|
||
/*!40000 ALTER TABLE `ai_forecast_history` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `ai_forecast_history` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ai_forecasts`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ai_forecasts`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ai_forecasts` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`module` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`forecast_type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`summary` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`detailed_analysis` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`metrics_json` json DEFAULT NULL,
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`generated_at` timestamp NULL DEFAULT NULL,
|
||
`expires_at` timestamp NULL DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `ai_forecasts_workspace_module_index` (`workspace`,`module`),
|
||
KEY `ai_forecasts_module_index` (`module`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ai_forecasts`
|
||
--
|
||
|
||
LOCK TABLES `ai_forecasts` WRITE;
|
||
/*!40000 ALTER TABLE `ai_forecasts` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `ai_forecasts` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ai_prompt_histories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ai_prompt_histories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ai_prompt_histories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`template_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`doc_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`model` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`creativity` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`max_tokens` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`max_results` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`prompt` longtext COLLATE utf8mb4_unicode_ci,
|
||
`language` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`prompt_fields` text COLLATE utf8mb4_unicode_ci,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ai_prompt_histories`
|
||
--
|
||
|
||
LOCK TABLES `ai_prompt_histories` WRITE;
|
||
/*!40000 ALTER TABLE `ai_prompt_histories` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `ai_prompt_histories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ai_prompt_responses`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ai_prompt_responses`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ai_prompt_responses` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`template_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`history_prompt_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`used_words` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`content` longtext COLLATE utf8mb4_unicode_ci,
|
||
`created_by` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ai_prompt_responses`
|
||
--
|
||
|
||
LOCK TABLES `ai_prompt_responses` WRITE;
|
||
/*!40000 ALTER TABLE `ai_prompt_responses` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `ai_prompt_responses` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ai_template_categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ai_template_categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ai_template_categories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=>active,0=>deactive',
|
||
`created_by` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ai_template_categories`
|
||
--
|
||
|
||
LOCK TABLES `ai_template_categories` WRITE;
|
||
/*!40000 ALTER TABLE `ai_template_categories` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `ai_template_categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ai_template_languages`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ai_template_languages`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ai_template_languages` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`language` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`flag` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `ai_template_languages_code_unique` (`code`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ai_template_languages`
|
||
--
|
||
|
||
LOCK TABLES `ai_template_languages` WRITE;
|
||
/*!40000 ALTER TABLE `ai_template_languages` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `ai_template_languages` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ai_template_prompts`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ai_template_prompts`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ai_template_prompts` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`template_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`value` longtext COLLATE utf8mb4_unicode_ci,
|
||
`created_by` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ai_template_prompts`
|
||
--
|
||
|
||
LOCK TABLES `ai_template_prompts` WRITE;
|
||
/*!40000 ALTER TABLE `ai_template_prompts` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `ai_template_prompts` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ai_templates`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ai_templates`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ai_templates` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`icon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`template_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=>active,0=>deactive',
|
||
`professional` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1=>yes,0=>no',
|
||
`slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`category_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1' COMMENT '1=>original,0=>custom',
|
||
`form_fields` varchar(5000) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_tone` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=>active,0=>deactive',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ai_templates`
|
||
--
|
||
|
||
LOCK TABLES `ai_templates` WRITE;
|
||
/*!40000 ALTER TABLE `ai_templates` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `ai_templates` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `allowance_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `allowance_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `allowance_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `allowance_types_creator_id_index` (`creator_id`),
|
||
KEY `allowance_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `allowance_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `allowance_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `allowance_types`
|
||
--
|
||
|
||
LOCK TABLES `allowance_types` WRITE;
|
||
/*!40000 ALTER TABLE `allowance_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `allowance_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `allowances`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `allowances`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `allowances` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`allowance_type_id` bigint unsigned NOT NULL,
|
||
`type` enum('fixed','percentage') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`amount` decimal(10,2) NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `allowances_allowance_type_id_foreign` (`allowance_type_id`),
|
||
KEY `allowances_employee_id_foreign` (`employee_id`),
|
||
KEY `allowances_creator_id_index` (`creator_id`),
|
||
KEY `allowances_created_by_index` (`created_by`),
|
||
CONSTRAINT `allowances_allowance_type_id_foreign` FOREIGN KEY (`allowance_type_id`) REFERENCES `allowance_types` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `allowances_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `allowances_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `allowances_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `allowances`
|
||
--
|
||
|
||
LOCK TABLES `allowances` WRITE;
|
||
/*!40000 ALTER TABLE `allowances` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `allowances` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `announcement_categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `announcement_categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `announcement_categories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`announcement_category` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `announcement_categories_creator_id_index` (`creator_id`),
|
||
KEY `announcement_categories_created_by_index` (`created_by`),
|
||
CONSTRAINT `announcement_categories_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `announcement_categories_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `announcement_categories`
|
||
--
|
||
|
||
LOCK TABLES `announcement_categories` WRITE;
|
||
/*!40000 ALTER TABLE `announcement_categories` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `announcement_categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `announcement_departments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `announcement_departments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `announcement_departments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`announcement_id` bigint unsigned NOT NULL,
|
||
`department_id` bigint unsigned NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `announcement_departments_announcement_id_department_id_unique` (`announcement_id`,`department_id`),
|
||
KEY `announcement_departments_department_id_foreign` (`department_id`),
|
||
KEY `announcement_departments_creator_id_index` (`creator_id`),
|
||
KEY `announcement_departments_created_by_index` (`created_by`),
|
||
CONSTRAINT `announcement_departments_announcement_id_foreign` FOREIGN KEY (`announcement_id`) REFERENCES `announcements` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `announcement_departments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `announcement_departments_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `announcement_departments_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `announcement_departments`
|
||
--
|
||
|
||
LOCK TABLES `announcement_departments` WRITE;
|
||
/*!40000 ALTER TABLE `announcement_departments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `announcement_departments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `announcements`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `announcements`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `announcements` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`announcement_category_id` bigint unsigned DEFAULT NULL,
|
||
`start_date` date DEFAULT NULL,
|
||
`end_date` date DEFAULT NULL,
|
||
`priority` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` enum('active','inactive','draft') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `announcements_announcement_category_id_foreign` (`announcement_category_id`),
|
||
KEY `announcements_creator_id_index` (`creator_id`),
|
||
KEY `announcements_created_by_index` (`created_by`),
|
||
KEY `announcements_approved_by_index` (`approved_by`),
|
||
CONSTRAINT `announcements_announcement_category_id_foreign` FOREIGN KEY (`announcement_category_id`) REFERENCES `announcement_categories` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `announcements_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `announcements_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `announcements_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `announcements`
|
||
--
|
||
|
||
LOCK TABLES `announcements` WRITE;
|
||
/*!40000 ALTER TABLE `announcements` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `announcements` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `apikey_setiings`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `apikey_setiings`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `apikey_setiings` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`key` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`provider` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'gemini',
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `apikey_setiings`
|
||
--
|
||
|
||
LOCK TABLES `apikey_setiings` WRITE;
|
||
/*!40000 ALTER TABLE `apikey_setiings` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `apikey_setiings` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `asset_assignments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `asset_assignments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `asset_assignments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`asset_id` bigint unsigned NOT NULL,
|
||
`assigned_to` bigint unsigned NOT NULL,
|
||
`assigned_by` bigint unsigned NOT NULL,
|
||
`checked_out_at` datetime NOT NULL,
|
||
`expected_return_date` date DEFAULT NULL,
|
||
`checked_in_at` datetime DEFAULT NULL,
|
||
`condition_on_checkout` enum('new','good','fair','poor') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'good',
|
||
`condition_on_checkin` enum('new','good','fair','poor') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `asset_assignments_assigned_to_foreign` (`assigned_to`),
|
||
KEY `asset_assignments_assigned_by_foreign` (`assigned_by`),
|
||
KEY `asset_assignments_asset_id_checked_in_at_index` (`asset_id`,`checked_in_at`),
|
||
CONSTRAINT `asset_assignments_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `asset_assignments_assigned_by_foreign` FOREIGN KEY (`assigned_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `asset_assignments_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `asset_assignments`
|
||
--
|
||
|
||
LOCK TABLES `asset_assignments` WRITE;
|
||
/*!40000 ALTER TABLE `asset_assignments` DISABLE KEYS */;
|
||
INSERT INTO `asset_assignments` VALUES (1,4,44,2,'2026-04-02 10:48:51',NULL,NULL,'good',NULL,NULL,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(2,12,45,2,'2026-03-03 10:48:51',NULL,NULL,'good',NULL,NULL,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(3,6,46,2,'2026-04-17 10:48:51','2026-07-16',NULL,'new',NULL,NULL,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(4,5,47,2,'2026-03-18 10:48:51',NULL,'2026-04-27 10:48:51','new','good',NULL,2,'2026-05-02 02:48:51','2026-05-02 02:48:51');
|
||
/*!40000 ALTER TABLE `asset_assignments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `asset_categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `asset_categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `asset_categories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`depreciation_method` enum('straight_line','declining_balance','units_of_production') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'straight_line',
|
||
`default_useful_life_months` int NOT NULL DEFAULT '60',
|
||
`default_salvage_percentage` decimal(5,2) NOT NULL DEFAULT '10.00',
|
||
`asset_gl_account_id` bigint unsigned DEFAULT NULL,
|
||
`depreciation_gl_account_id` bigint unsigned DEFAULT NULL,
|
||
`expense_gl_account_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `asset_categories_asset_gl_account_id_foreign` (`asset_gl_account_id`),
|
||
KEY `asset_categories_depreciation_gl_account_id_foreign` (`depreciation_gl_account_id`),
|
||
KEY `asset_categories_expense_gl_account_id_foreign` (`expense_gl_account_id`),
|
||
CONSTRAINT `asset_categories_asset_gl_account_id_foreign` FOREIGN KEY (`asset_gl_account_id`) REFERENCES `chart_of_accounts` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `asset_categories_depreciation_gl_account_id_foreign` FOREIGN KEY (`depreciation_gl_account_id`) REFERENCES `chart_of_accounts` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `asset_categories_expense_gl_account_id_foreign` FOREIGN KEY (`expense_gl_account_id`) REFERENCES `chart_of_accounts` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `asset_categories`
|
||
--
|
||
|
||
LOCK TABLES `asset_categories` WRITE;
|
||
/*!40000 ALTER TABLE `asset_categories` DISABLE KEYS */;
|
||
INSERT INTO `asset_categories` VALUES (1,'IT Equipment','Laptops, monitors, printers, phones, tablets','straight_line',36,10.00,12,13,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(2,'Office Furniture','Desks, chairs, tables, cabinets','straight_line',120,5.00,12,13,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(3,'Vehicles','Company cars, vans, scooters','declining_balance',60,15.00,12,13,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(4,'Machinery & Tools','Forklifts, generators, industrial equipment','straight_line',84,8.00,12,13,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(5,'Network Infrastructure','Switches, servers, UPS, access points','straight_line',60,5.00,12,13,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51');
|
||
/*!40000 ALTER TABLE `asset_categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `asset_depreciations`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `asset_depreciations`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `asset_depreciations` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`asset_id` bigint unsigned NOT NULL,
|
||
`depreciation_date` date NOT NULL,
|
||
`amount` decimal(15,2) NOT NULL,
|
||
`accumulated_total` decimal(15,2) NOT NULL,
|
||
`book_value_after` decimal(15,2) NOT NULL,
|
||
`journal_entry_id` bigint unsigned DEFAULT NULL,
|
||
`status` enum('pending','posted') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `asset_depreciations_journal_entry_id_foreign` (`journal_entry_id`),
|
||
KEY `asset_depreciations_asset_id_depreciation_date_index` (`asset_id`,`depreciation_date`),
|
||
CONSTRAINT `asset_depreciations_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `asset_depreciations_journal_entry_id_foreign` FOREIGN KEY (`journal_entry_id`) REFERENCES `journal_entries` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `asset_depreciations`
|
||
--
|
||
|
||
LOCK TABLES `asset_depreciations` WRITE;
|
||
/*!40000 ALTER TABLE `asset_depreciations` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `asset_depreciations` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `asset_disposals`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `asset_disposals`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `asset_disposals` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`asset_id` bigint unsigned NOT NULL,
|
||
`disposal_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`disposal_type` enum('sale','write_off','donation','scrapped','trade_in') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'write_off',
|
||
`disposal_date` date NOT NULL,
|
||
`sale_price` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`book_value_at_disposal` decimal(15,2) NOT NULL,
|
||
`gain_loss` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`buyer_info` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`journal_entry_id` bigint unsigned DEFAULT NULL,
|
||
`reason` text COLLATE utf8mb4_unicode_ci,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `asset_disposals_asset_id_foreign` (`asset_id`),
|
||
KEY `asset_disposals_journal_entry_id_foreign` (`journal_entry_id`),
|
||
KEY `asset_disposals_approved_by_foreign` (`approved_by`),
|
||
CONSTRAINT `asset_disposals_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `asset_disposals_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `asset_disposals_journal_entry_id_foreign` FOREIGN KEY (`journal_entry_id`) REFERENCES `journal_entries` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `asset_disposals`
|
||
--
|
||
|
||
LOCK TABLES `asset_disposals` WRITE;
|
||
/*!40000 ALTER TABLE `asset_disposals` DISABLE KEYS */;
|
||
INSERT INTO `asset_disposals` VALUES (1,21,'DSP-2026-001','sale','2026-04-02',200.00,150.00,50.00,'Staff member (internal sale)',NULL,'End of useful life, replaced by newer model',2,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(2,22,'DSP-2026-002','write_off','2026-04-17',0.00,75.00,-75.00,NULL,NULL,'Hydraulic mechanism irreparable, safety hazard',2,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51');
|
||
/*!40000 ALTER TABLE `asset_disposals` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `asset_documents`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `asset_documents`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `asset_documents` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`asset_id` bigint unsigned NOT NULL,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`file_size` int NOT NULL DEFAULT '0',
|
||
`uploaded_by` bigint unsigned NOT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `asset_documents_asset_id_foreign` (`asset_id`),
|
||
KEY `asset_documents_uploaded_by_foreign` (`uploaded_by`),
|
||
CONSTRAINT `asset_documents_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `asset_documents_uploaded_by_foreign` FOREIGN KEY (`uploaded_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `asset_documents`
|
||
--
|
||
|
||
LOCK TABLES `asset_documents` WRITE;
|
||
/*!40000 ALTER TABLE `asset_documents` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `asset_documents` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `asset_import_logs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `asset_import_logs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `asset_import_logs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`total_rows` int NOT NULL DEFAULT '0',
|
||
`success_count` int NOT NULL DEFAULT '0',
|
||
`error_count` int NOT NULL DEFAULT '0',
|
||
`errors` json DEFAULT NULL,
|
||
`imported_by` bigint unsigned NOT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `asset_import_logs_imported_by_foreign` (`imported_by`),
|
||
CONSTRAINT `asset_import_logs_imported_by_foreign` FOREIGN KEY (`imported_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `asset_import_logs`
|
||
--
|
||
|
||
LOCK TABLES `asset_import_logs` WRITE;
|
||
/*!40000 ALTER TABLE `asset_import_logs` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `asset_import_logs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `asset_insurances`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `asset_insurances`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `asset_insurances` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`asset_id` bigint unsigned NOT NULL,
|
||
`policy_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`provider` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`coverage_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`premium_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`coverage_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`start_date` date NOT NULL,
|
||
`expiry_date` date NOT NULL,
|
||
`status` enum('active','expired','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
|
||
`document_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `asset_insurances_asset_id_status_index` (`asset_id`,`status`),
|
||
CONSTRAINT `asset_insurances_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `asset_insurances`
|
||
--
|
||
|
||
LOCK TABLES `asset_insurances` WRITE;
|
||
/*!40000 ALTER TABLE `asset_insurances` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `asset_insurances` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `asset_maintenances`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `asset_maintenances`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `asset_maintenances` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`asset_id` bigint unsigned NOT NULL,
|
||
`maintenance_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`maintenance_type` enum('preventive','corrective','inspection','upgrade') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'preventive',
|
||
`priority` enum('low','medium','high','critical') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'medium',
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`cost` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`vendor_id` bigint unsigned DEFAULT NULL,
|
||
`scheduled_date` date NOT NULL,
|
||
`start_date` date DEFAULT NULL,
|
||
`completed_date` date DEFAULT NULL,
|
||
`next_maintenance_date` date DEFAULT NULL,
|
||
`recurrence` enum('monthly','quarterly','semi_annual','annual') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` enum('scheduled','in_progress','completed','cancelled','overdue') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'scheduled',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `asset_maintenances_vendor_id_foreign` (`vendor_id`),
|
||
KEY `asset_maintenances_asset_id_status_index` (`asset_id`,`status`),
|
||
CONSTRAINT `asset_maintenances_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `asset_maintenances_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `vendors` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `asset_maintenances`
|
||
--
|
||
|
||
LOCK TABLES `asset_maintenances` WRITE;
|
||
/*!40000 ALTER TABLE `asset_maintenances` DISABLE KEYS */;
|
||
INSERT INTO `asset_maintenances` VALUES (1,15,'MNT-2026-05-001','corrective','high','Engine overheating repair',NULL,850.00,NULL,'2026-05-05',NULL,NULL,NULL,NULL,'scheduled',NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(2,11,'MNT-2026-05-002','preventive','medium','Regular service & oil change (10,000 km)',NULL,350.00,NULL,'2026-05-09',NULL,NULL,NULL,'quarterly','scheduled',NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(3,14,'MNT-2026-05-003','inspection','low','Annual safety inspection',NULL,200.00,NULL,'2026-04-18',NULL,'2026-04-20',NULL,NULL,'completed',NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(4,3,'MNT-2026-05-004','corrective','medium','Paper jam mechanism repair',NULL,120.00,NULL,'2026-04-25',NULL,'2026-04-27',NULL,NULL,'completed',NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(5,17,'MNT-2026-05-005','preventive','low','Firmware update & port cleaning',NULL,0.00,NULL,'2026-05-16',NULL,NULL,NULL,'semi_annual','scheduled',NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(6,12,'MNT-2026-05-006','preventive','medium','Tire rotation & brake check',NULL,280.00,NULL,'2026-05-23',NULL,NULL,NULL,NULL,'scheduled',NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(7,19,'MNT-2026-05-007','inspection','high','RAID health check & backup verification',NULL,0.00,NULL,'2026-05-07',NULL,NULL,NULL,'monthly','scheduled',NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(8,16,'MNT-2026-05-008','corrective','high','Blade sharpening & motor service',NULL,450.00,NULL,'2026-04-30',NULL,NULL,NULL,NULL,'in_progress',NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51');
|
||
/*!40000 ALTER TABLE `asset_maintenances` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `asset_transfers`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `asset_transfers`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `asset_transfers` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`asset_id` bigint unsigned NOT NULL,
|
||
`transfer_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`from_location` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`to_location` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`from_assigned_to` bigint unsigned DEFAULT NULL,
|
||
`to_assigned_to` bigint unsigned DEFAULT NULL,
|
||
`transfer_date` date NOT NULL,
|
||
`reason` text COLLATE utf8mb4_unicode_ci,
|
||
`status` enum('pending','completed','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `asset_transfers_asset_id_foreign` (`asset_id`),
|
||
KEY `asset_transfers_from_assigned_to_foreign` (`from_assigned_to`),
|
||
KEY `asset_transfers_to_assigned_to_foreign` (`to_assigned_to`),
|
||
KEY `asset_transfers_approved_by_foreign` (`approved_by`),
|
||
CONSTRAINT `asset_transfers_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `asset_transfers_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `asset_transfers_from_assigned_to_foreign` FOREIGN KEY (`from_assigned_to`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `asset_transfers_to_assigned_to_foreign` FOREIGN KEY (`to_assigned_to`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `asset_transfers`
|
||
--
|
||
|
||
LOCK TABLES `asset_transfers` WRITE;
|
||
/*!40000 ALTER TABLE `asset_transfers` DISABLE KEYS */;
|
||
INSERT INTO `asset_transfers` VALUES (1,2,'TRF-2026-05-001','Head Office','Branch 1',NULL,NULL,'2026-04-12','Location reassignment','completed',NULL,0,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(2,10,'TRF-2026-05-002','Head Office','Archive Room',NULL,NULL,'2026-04-22','Location reassignment','completed',NULL,0,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(3,18,'TRF-2026-05-003','Warehouse','Head Office',NULL,NULL,'2026-04-27','Location reassignment','pending',NULL,0,2,'2026-05-02 02:48:51','2026-05-02 02:48:51');
|
||
/*!40000 ALTER TABLE `asset_transfers` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `assets`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `assets`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `assets` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`asset_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`category_id` bigint unsigned NOT NULL,
|
||
`purchase_date` date NOT NULL,
|
||
`purchase_price` decimal(15,2) NOT NULL,
|
||
`salvage_value` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`useful_life_months` int NOT NULL DEFAULT '60',
|
||
`depreciation_method` enum('straight_line','declining_balance','units_of_production') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'straight_line',
|
||
`depreciation_convention` enum('full_month','mid_month','mid_quarter','actual_days') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'full_month',
|
||
`depreciation_start_date` date NOT NULL,
|
||
`status` enum('active','checked_out','under_maintenance','disposed','written_off') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
|
||
`condition` enum('new','good','fair','poor') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'new',
|
||
`location` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`assigned_to` bigint unsigned DEFAULT NULL,
|
||
`serial_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`model_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`manufacturer` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`qr_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`warranty_start` date DEFAULT NULL,
|
||
`warranty_expiry` date DEFAULT NULL,
|
||
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`current_book_value` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`accumulated_depreciation` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`last_depreciation_date` date DEFAULT NULL,
|
||
`is_depreciation_suspended` tinyint(1) NOT NULL DEFAULT '0',
|
||
`suspension_reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`vendor_id` bigint unsigned DEFAULT NULL,
|
||
`purchase_invoice_id` bigint unsigned DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `assets_asset_number_unique` (`asset_number`),
|
||
KEY `assets_assigned_to_foreign` (`assigned_to`),
|
||
KEY `assets_vendor_id_foreign` (`vendor_id`),
|
||
KEY `assets_created_by_status_index` (`created_by`,`status`),
|
||
KEY `assets_category_id_index` (`category_id`),
|
||
CONSTRAINT `assets_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `assets_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `asset_categories` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `assets_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `vendors` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `assets`
|
||
--
|
||
|
||
LOCK TABLES `assets` WRITE;
|
||
/*!40000 ALTER TABLE `assets` DISABLE KEYS */;
|
||
INSERT INTO `assets` VALUES (1,'AST-2026-05-001','MacBook Pro 16\" M4 Max',NULL,1,'2026-02-02',3499.00,349.90,36,'straight_line','full_month','2026-03-01','active','new','Head Office',NULL,'C02ZN1ABCDEF','A2991','Apple',NULL,'2026-02-02','2026-05-17',NULL,3499.00,0.00,NULL,0,NULL,1,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(2,'AST-2026-05-002','Dell UltraSharp 32\" 4K Monitor',NULL,1,'2025-11-02',799.00,79.90,36,'straight_line','full_month','2025-12-01','active','new','Head Office',NULL,'CN-0F4G5H-74261','U3223QE','Dell',NULL,'2025-11-02','2028-11-02',NULL,799.00,0.00,NULL,0,NULL,1,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(3,'AST-2026-05-003','HP LaserJet Pro M404dn',NULL,1,'2025-07-02',349.00,34.90,36,'straight_line','full_month','2025-08-01','active','good','Branch 1',NULL,'VND3R45678','M404dn','HP',NULL,'2025-07-02','2026-07-02',NULL,349.00,0.00,NULL,0,NULL,2,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(4,'AST-2026-05-004','Lenovo ThinkPad X1 Carbon Gen 12',NULL,1,'2025-09-02',1899.00,189.90,36,'straight_line','full_month','2025-10-01','checked_out','good',NULL,44,'PF3N4K5P','21HM','Lenovo',NULL,'2025-09-02','2028-09-02',NULL,1899.00,0.00,NULL,0,NULL,1,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(5,'AST-2026-05-005','iPhone 15 Pro',NULL,1,'2026-03-02',1199.00,119.90,36,'straight_line','full_month','2026-04-01','active','new','Head Office',NULL,'F4GDQ8ABCDEF','A3101','Apple',NULL,'2026-03-02','2027-03-02',NULL,1199.00,0.00,NULL,0,NULL,1,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(6,'AST-2026-05-006','iPad Pro 12.9\" M2',NULL,1,'2026-01-02',1299.00,129.90,36,'straight_line','full_month','2026-02-01','active','new','Branch 1',46,'DMPZQ7ABCDEF','A2759','Apple',NULL,'2026-01-02','2027-01-02',NULL,1299.00,0.00,NULL,0,NULL,1,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(7,'AST-2026-05-007','Herman Miller Aeron Chair',NULL,2,'2025-11-02',1495.00,74.75,120,'straight_line','full_month','2025-12-01','active','new','Head Office',NULL,NULL,'AER1B23DW','Herman Miller',NULL,'2025-11-02','2037-11-02',NULL,1495.00,0.00,NULL,0,NULL,2,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(8,'AST-2026-05-008','Uplift V2 Standing Desk',NULL,2,'2025-05-02',899.00,44.95,120,'straight_line','full_month','2025-06-01','active','good','Head Office',NULL,NULL,'V2-6030','Uplift Desk',NULL,'2025-05-02','2040-05-02',NULL,899.00,0.00,NULL,0,NULL,2,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(9,'AST-2026-05-009','Conference Table (12-seat)',NULL,2,'2024-11-02',2400.00,120.00,120,'straight_line','full_month','2024-12-01','active','good','Board Room',NULL,NULL,'CT-12-WN','Steelcase',NULL,'2024-11-02','2029-11-02',NULL,2400.00,0.00,NULL,0,NULL,2,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(10,'AST-2026-05-010','Filing Cabinet 4-Drawer',NULL,2,'2023-05-02',350.00,17.50,120,'straight_line','full_month','2023-06-01','active','fair','Archive Room',NULL,NULL,'FC-4D','HON',NULL,NULL,NULL,NULL,350.00,0.00,NULL,0,NULL,NULL,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(11,'AST-2026-05-011','Toyota HiAce Van',NULL,3,'2025-03-02',35000.00,5250.00,60,'declining_balance','full_month','2025-04-01','active','good','Warehouse',NULL,'JTFHX02P0F0123456','KDH201','Toyota',NULL,'2025-03-02','2028-03-02',NULL,35000.00,0.00,NULL,0,NULL,NULL,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(12,'AST-2026-05-012','Honda Civic Company Car',NULL,3,'2024-11-02',28500.00,4275.00,60,'declining_balance','full_month','2024-12-01','checked_out','good',NULL,45,'2HGFE2F59PH500123','FE2F59','Honda',NULL,'2024-11-02','2027-11-02',NULL,28500.00,0.00,NULL,0,NULL,NULL,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(13,'AST-2026-05-013','Yamaha NMAX 155 Scooter',NULL,3,'2026-03-02',3200.00,480.00,60,'declining_balance','full_month','2026-04-01','active','new','Branch 2',NULL,'MH3SG4670RK012345','GPD155-A','Yamaha',NULL,'2026-03-02','2028-03-02',NULL,3200.00,0.00,NULL,0,NULL,NULL,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(14,'AST-2026-05-014','Toyota 8FGU25 Forklift',NULL,4,'2024-09-02',25000.00,2000.00,84,'straight_line','full_month','2024-10-01','active','good','Warehouse',NULL,'8FGU25-62345','8FGU25','Toyota',NULL,'2024-09-02','2026-09-02',NULL,25000.00,0.00,NULL,0,NULL,NULL,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(15,'AST-2026-05-015','Honda EU7000iS Generator',NULL,4,'2025-07-02',5500.00,440.00,84,'straight_line','full_month','2025-08-01','under_maintenance','good','Warehouse',NULL,'EAAJ-1234567','EU7000iS','Honda',NULL,'2025-07-02','2028-07-02',NULL,5500.00,0.00,NULL,0,NULL,NULL,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(16,'AST-2026-05-016','Industrial Paper Shredder',NULL,4,'2023-11-02',2800.00,224.00,84,'straight_line','full_month','2023-12-01','active','fair','Back Office',NULL,'SH-98765','IDS-3600','Fellowes',NULL,'2023-11-02','2025-11-02',NULL,2800.00,0.00,NULL,0,NULL,2,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(17,'AST-2026-05-017','Cisco Catalyst 9200L-48P Switch',NULL,5,'2026-02-02',4200.00,210.00,60,'straight_line','full_month','2026-03-01','active','new','Server Room',NULL,'FCW2445L0AB','C9200L-48P-4X','Cisco',NULL,'2026-02-02','2031-02-02',NULL,4200.00,0.00,NULL,0,NULL,1,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(18,'AST-2026-05-018','Ubiquiti UniFi 6 Pro AP (6-pack)',NULL,5,'2025-12-02',1800.00,90.00,60,'straight_line','full_month','2026-01-01','active','new','Head Office',NULL,NULL,'U6-Pro-6','Ubiquiti',NULL,'2025-12-02','2027-12-02',NULL,1800.00,0.00,NULL,0,NULL,1,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(19,'AST-2026-05-019','Dell PowerEdge R750 Server',NULL,5,'2026-01-02',8500.00,425.00,60,'straight_line','full_month','2026-02-01','active','new','Server Room',NULL,'SVT-R750-2024-001','R750','Dell',NULL,'2026-01-02','2026-05-27',NULL,8500.00,0.00,NULL,0,NULL,1,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(20,'AST-2026-05-020','APC Smart-UPS 3000VA',NULL,5,'2025-05-02',1200.00,60.00,60,'straight_line','full_month','2025-06-01','active','good','Server Room',NULL,'AS1234567890','SMT3000RM2UC','APC',NULL,'2025-05-02','2027-05-02',NULL,1200.00,0.00,NULL,0,NULL,2,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(21,'AST-2026-05-021','Dell Latitude E5550 (Retired)',NULL,1,'2021-05-02',1200.00,120.00,36,'straight_line','full_month','2021-05-02','disposed','poor',NULL,NULL,'DL-E5550-OLD','E5550','Dell',NULL,NULL,NULL,NULL,150.00,1050.00,NULL,0,NULL,NULL,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51'),(22,'AST-2026-05-022','Office Chair (Broken Hydraulic)',NULL,2,'2022-05-02',400.00,20.00,120,'straight_line','full_month','2022-05-02','disposed','poor',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00,400.00,NULL,0,NULL,NULL,NULL,NULL,2,2,'2026-05-02 02:48:51','2026-05-02 02:48:51');
|
||
/*!40000 ALTER TABLE `assets` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `assistant_templates`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `assistant_templates`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `assistant_templates` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`template_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`template_module` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`module` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`prompt` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`field_json` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`is_tone` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `assistant_templates`
|
||
--
|
||
|
||
LOCK TABLES `assistant_templates` WRITE;
|
||
/*!40000 ALTER TABLE `assistant_templates` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `assistant_templates` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `attendance_logs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `attendance_logs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `attendance_logs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`attendance_id` bigint unsigned NOT NULL,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`date` date NOT NULL,
|
||
`time` time DEFAULT NULL,
|
||
`logged_at` datetime NOT NULL,
|
||
`type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`shift_id` bigint unsigned DEFAULT NULL,
|
||
`break_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`break_duration` int DEFAULT NULL,
|
||
`latitude` decimal(10,7) DEFAULT NULL,
|
||
`longitude` decimal(10,7) DEFAULT NULL,
|
||
`source` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `attendance_logs_shift_id_foreign` (`shift_id`),
|
||
KEY `attendance_logs_user_id_date_index` (`user_id`,`date`),
|
||
KEY `attendance_logs_attendance_id_type_index` (`attendance_id`,`type`),
|
||
KEY `attendance_logs_creator_id_index` (`creator_id`),
|
||
KEY `attendance_logs_created_by_index` (`created_by`),
|
||
CONSTRAINT `attendance_logs_attendance_id_foreign` FOREIGN KEY (`attendance_id`) REFERENCES `attendances` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `attendance_logs_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `attendance_logs_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `attendance_logs_shift_id_foreign` FOREIGN KEY (`shift_id`) REFERENCES `shifts` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `attendance_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `attendance_logs`
|
||
--
|
||
|
||
LOCK TABLES `attendance_logs` WRITE;
|
||
/*!40000 ALTER TABLE `attendance_logs` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `attendance_logs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `attendances`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `attendances`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `attendances` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`shift_id` bigint unsigned NOT NULL,
|
||
`date` date NOT NULL,
|
||
`clock_in` datetime NOT NULL,
|
||
`clock_out` datetime DEFAULT NULL,
|
||
`break_hour` decimal(8,2) DEFAULT '0.00',
|
||
`total_hour` decimal(8,2) DEFAULT '0.00',
|
||
`overtime_hours` decimal(8,2) DEFAULT '0.00',
|
||
`overtime_amount` decimal(10,2) DEFAULT '0.00',
|
||
`late_hours` decimal(8,2) DEFAULT '0.00',
|
||
`early_hours` decimal(8,2) DEFAULT '0.00',
|
||
`working_hours` decimal(8,2) DEFAULT '0.00',
|
||
`is_holiday` tinyint(1) NOT NULL DEFAULT '0',
|
||
`is_weekend` tinyint(1) NOT NULL DEFAULT '0',
|
||
`is_half_day` tinyint(1) NOT NULL DEFAULT '0',
|
||
`late_reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`early_checkout_reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`approved_by_id` bigint unsigned DEFAULT NULL,
|
||
`approved_at` datetime DEFAULT NULL,
|
||
`status` enum('present','half day','absent') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'present',
|
||
`notes` longtext COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `attendances_shift_id_foreign` (`shift_id`),
|
||
KEY `attendances_employee_id_foreign` (`employee_id`),
|
||
KEY `attendances_creator_id_index` (`creator_id`),
|
||
KEY `attendances_created_by_index` (`created_by`),
|
||
CONSTRAINT `attendances_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `attendances_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `attendances_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `attendances_shift_id_foreign` FOREIGN KEY (`shift_id`) REFERENCES `shifts` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `attendances`
|
||
--
|
||
|
||
LOCK TABLES `attendances` WRITE;
|
||
/*!40000 ALTER TABLE `attendances` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `attendances` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `award_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `award_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `award_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `award_types_creator_id_index` (`creator_id`),
|
||
KEY `award_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `award_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `award_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `award_types`
|
||
--
|
||
|
||
LOCK TABLES `award_types` WRITE;
|
||
/*!40000 ALTER TABLE `award_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `award_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `awards`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `awards`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `awards` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`award_type_id` bigint unsigned NOT NULL,
|
||
`award_date` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`certificate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `awards_employee_id_foreign` (`employee_id`),
|
||
KEY `awards_award_type_id_foreign` (`award_type_id`),
|
||
KEY `awards_creator_id_index` (`creator_id`),
|
||
KEY `awards_created_by_index` (`created_by`),
|
||
CONSTRAINT `awards_award_type_id_foreign` FOREIGN KEY (`award_type_id`) REFERENCES `award_types` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `awards_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `awards_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `awards_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `awards`
|
||
--
|
||
|
||
LOCK TABLES `awards` WRITE;
|
||
/*!40000 ALTER TABLE `awards` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `awards` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bank_accounts`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bank_accounts`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bank_accounts` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`account_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`account_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`bank_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`branch_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`account_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||
`payment_gateway` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`opening_balance` decimal(10,2) DEFAULT NULL,
|
||
`current_balance` decimal(10,2) DEFAULT NULL,
|
||
`iban` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`swift_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`routing_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '0',
|
||
`gl_account_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `bank_accounts_gl_account_id_foreign` (`gl_account_id`),
|
||
KEY `bank_accounts_creator_id_index` (`creator_id`),
|
||
KEY `bank_accounts_created_by_index` (`created_by`),
|
||
CONSTRAINT `bank_accounts_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `bank_accounts_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `bank_accounts_gl_account_id_foreign` FOREIGN KEY (`gl_account_id`) REFERENCES `chart_of_accounts` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bank_accounts`
|
||
--
|
||
|
||
LOCK TABLES `bank_accounts` WRITE;
|
||
/*!40000 ALTER TABLE `bank_accounts` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bank_accounts` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bank_transactions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bank_transactions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bank_transactions` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`bank_account_id` bigint unsigned NOT NULL,
|
||
`transaction_date` date NOT NULL,
|
||
`transaction_type` enum('debit','credit') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`reference_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`amount` decimal(15,2) NOT NULL,
|
||
`running_balance` decimal(15,2) NOT NULL,
|
||
`transaction_status` enum('pending','cleared','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`reconciliation_status` enum('unreconciled','reconciled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'unreconciled',
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `bank_transactions_bank_account_id_foreign` (`bank_account_id`),
|
||
KEY `bank_transactions_created_by_index` (`created_by`),
|
||
CONSTRAINT `bank_transactions_bank_account_id_foreign` FOREIGN KEY (`bank_account_id`) REFERENCES `bank_accounts` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `bank_transactions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bank_transactions`
|
||
--
|
||
|
||
LOCK TABLES `bank_transactions` WRITE;
|
||
/*!40000 ALTER TABLE `bank_transactions` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bank_transactions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bank_transfer_payments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bank_transfer_payments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bank_transfer_payments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`price` decimal(10,2) DEFAULT NULL,
|
||
`order_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` enum('pending','approved','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`price_currency` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'USD',
|
||
`attachment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`request` longtext COLLATE utf8mb4_unicode_ci,
|
||
`type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `bank_transfer_payments_order_id_unique` (`order_id`),
|
||
KEY `bank_transfer_payments_user_id_foreign` (`user_id`),
|
||
KEY `bank_transfer_payments_created_by_index` (`created_by`),
|
||
CONSTRAINT `bank_transfer_payments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `bank_transfer_payments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bank_transfer_payments`
|
||
--
|
||
|
||
LOCK TABLES `bank_transfer_payments` WRITE;
|
||
/*!40000 ALTER TABLE `bank_transfer_payments` DISABLE KEYS */;
|
||
INSERT INTO `bank_transfer_payments` VALUES (1,47,208.52,'9F4B153756A3','pending','EUR',NULL,'\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":8,\\\"storage_counter_input\\\":2,\\\"time_period\\\":\\\"Month\\\",\\\"bank_name\\\":\\\"Gislason Group Bank\\\",\\\"account_holder\\\":\\\"Mr. Ned Watsica\\\",\\\"account_number\\\":\\\"587765466199\\\",\\\"transaction_id\\\":\\\"9e66701f-98e6-3f4b-9b92-374b9f82bafa\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(2,46,68.22,'9F4B15375DB2','rejected','GBP','https://via.placeholder.com/640x480.png/00aabb?text=business+maiores','\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":6,\\\"storage_counter_input\\\":4,\\\"time_period\\\":\\\"Month\\\",\\\"bank_name\\\":\\\"Bechtelar and Sons Bank\\\",\\\"account_holder\\\":\\\"Ms. Margaretta Kub\\\",\\\"account_number\\\":\\\"9307819445175\\\",\\\"transaction_id\\\":\\\"2b2ad289-59ce-3047-98a5-5bb48a745e32\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(3,2,433.01,'9F4B15376223','approved','GBP','https://via.placeholder.com/640x480.png/008844?text=business+qui','\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":8,\\\"storage_counter_input\\\":2,\\\"time_period\\\":\\\"Month\\\",\\\"bank_name\\\":\\\"Rempel PLC Bank\\\",\\\"account_holder\\\":\\\"Karelle Skiles I\\\",\\\"account_number\\\":\\\"035187\\\",\\\"transaction_id\\\":\\\"d4d4d077-935f-31ab-a42d-91956d42abaf\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(4,46,384.56,'9F4B153764E7','pending','USD',NULL,'\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":1,\\\"storage_counter_input\\\":1,\\\"time_period\\\":\\\"Year\\\",\\\"bank_name\\\":\\\"Volkman, Green and Dare Bank\\\",\\\"account_holder\\\":\\\"Wallace Nader\\\",\\\"account_number\\\":\\\"5006940630\\\",\\\"transaction_id\\\":\\\"be35488e-4884-30a8-9258-7025106b0842\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(5,45,486.81,'9F4B15376844','pending','GBP',NULL,'\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":4,\\\"storage_counter_input\\\":5,\\\"time_period\\\":\\\"Month\\\",\\\"bank_name\\\":\\\"Crooks Group Bank\\\",\\\"account_holder\\\":\\\"Prof. Emma Schmitt V\\\",\\\"account_number\\\":\\\"90357124369\\\",\\\"transaction_id\\\":\\\"61165536-6e31-3365-a1d3-eb3eae51e5e1\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(6,45,405.17,'9F4B15376B7F','approved','EUR','https://via.placeholder.com/640x480.png/0011bb?text=business+non','\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":4,\\\"storage_counter_input\\\":0,\\\"time_period\\\":\\\"Year\\\",\\\"bank_name\\\":\\\"Kilback and Sons Bank\\\",\\\"account_holder\\\":\\\"Makenna Funk\\\",\\\"account_number\\\":\\\"07721930924\\\",\\\"transaction_id\\\":\\\"5052c756-889a-3c1f-b3bb-f3f351cb927e\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(7,47,318.83,'9F4B15377034','approved','USD','https://via.placeholder.com/640x480.png/00dd00?text=business+consequatur','\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":2,\\\"storage_counter_input\\\":4,\\\"time_period\\\":\\\"Month\\\",\\\"bank_name\\\":\\\"Lockman, Marquardt and Reilly Bank\\\",\\\"account_holder\\\":\\\"Ted Deckow\\\",\\\"account_number\\\":\\\"70028956205\\\",\\\"transaction_id\\\":\\\"9c7b9224-62b4-3253-887e-d3a365f1c0a2\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(8,2,127.64,'9F4B1537738C','approved','GBP','https://via.placeholder.com/640x480.png/00dd55?text=business+velit','\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":4,\\\"storage_counter_input\\\":4,\\\"time_period\\\":\\\"Month\\\",\\\"bank_name\\\":\\\"Kuhn and Sons Bank\\\",\\\"account_holder\\\":\\\"Ms. Ona Gutkowski DDS\\\",\\\"account_number\\\":\\\"655280840\\\",\\\"transaction_id\\\":\\\"0bc33258-bd53-3a1f-a5c0-b14fe4e27ad2\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(9,2,382.20,'9F4B153776E7','approved','EUR','https://via.placeholder.com/640x480.png/005577?text=business+est','\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":6,\\\"storage_counter_input\\\":3,\\\"time_period\\\":\\\"Month\\\",\\\"bank_name\\\":\\\"Beier LLC Bank\\\",\\\"account_holder\\\":\\\"Henriette Lehner\\\",\\\"account_number\\\":\\\"894980260\\\",\\\"transaction_id\\\":\\\"cb4b04e6-b8fe-3245-b1c0-145700b2b9e1\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(10,44,475.72,'9F4B15377A42','rejected','EUR','https://via.placeholder.com/640x480.png/0066ff?text=business+quis','\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":9,\\\"storage_counter_input\\\":3,\\\"time_period\\\":\\\"Month\\\",\\\"bank_name\\\":\\\"Hintz-Lebsack Bank\\\",\\\"account_holder\\\":\\\"Lempi Lubowitz\\\",\\\"account_number\\\":\\\"410302619\\\",\\\"transaction_id\\\":\\\"7f6fca24-c440-3e8d-a325-5895185d2c02\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(11,46,203.28,'9F4B15377D73','rejected','USD',NULL,'\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":2,\\\"storage_counter_input\\\":1,\\\"time_period\\\":\\\"Year\\\",\\\"bank_name\\\":\\\"Roob, Kling and Runolfsson Bank\\\",\\\"account_holder\\\":\\\"Chase Reilly I\\\",\\\"account_number\\\":\\\"2835301253\\\",\\\"transaction_id\\\":\\\"c4c1e1a9-eeec-3307-b723-f539cd538b0b\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(12,2,157.34,'9F4B1537807F','approved','EUR',NULL,'\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":3,\\\"storage_counter_input\\\":1,\\\"time_period\\\":\\\"Month\\\",\\\"bank_name\\\":\\\"Armstrong-Lang Bank\\\",\\\"account_holder\\\":\\\"Prof. Steve Stamm\\\",\\\"account_number\\\":\\\"2412446861595\\\",\\\"transaction_id\\\":\\\"145f6324-9824-3d76-a982-dac015e42d59\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(13,44,288.71,'9F4B153783AE','approved','GBP',NULL,'\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":4,\\\"storage_counter_input\\\":0,\\\"time_period\\\":\\\"Year\\\",\\\"bank_name\\\":\\\"Wehner-Sipes Bank\\\",\\\"account_holder\\\":\\\"Mr. Thad Gerlach Jr.\\\",\\\"account_number\\\":\\\"2871816526315933\\\",\\\"transaction_id\\\":\\\"e8b0f783-04b6-34e9-8198-97627444f658\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(14,46,50.74,'9F4B1537879D','rejected','USD',NULL,'\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":9,\\\"storage_counter_input\\\":4,\\\"time_period\\\":\\\"Year\\\",\\\"bank_name\\\":\\\"Kuhn-Hayes Bank\\\",\\\"account_holder\\\":\\\"Brooks Hettinger\\\",\\\"account_number\\\":\\\"56646662\\\",\\\"transaction_id\\\":\\\"b199bd64-e8d4-3e66-9998-43050f37a147\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(15,46,288.06,'9F4B15378A80','rejected','USD',NULL,'\"{\\\"plan_id\\\":1,\\\"user_counter_input\\\":5,\\\"storage_counter_input\\\":0,\\\"time_period\\\":\\\"Year\\\",\\\"bank_name\\\":\\\"Nicolas and Sons Bank\\\",\\\"account_holder\\\":\\\"Armani Weissnat\\\",\\\"account_number\\\":\\\"28646801594\\\",\\\"transaction_id\\\":\\\"7bb3e453-f7f5-35d0-b090-85dccce4ff05\\\"}\"','Bank Transfer',2,'2026-05-01 13:57:39','2026-05-01 13:57:39');
|
||
/*!40000 ALTER TABLE `bank_transfer_payments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bank_transfers`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bank_transfers`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bank_transfers` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`transfer_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`transfer_date` date NOT NULL,
|
||
`from_account_id` bigint unsigned NOT NULL,
|
||
`to_account_id` bigint unsigned NOT NULL,
|
||
`transfer_amount` decimal(15,2) NOT NULL,
|
||
`transfer_charges` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`reference_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` enum('pending','completed','failed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`journal_entry_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `bank_transfers_transfer_number_unique` (`transfer_number`),
|
||
KEY `bank_transfers_journal_entry_id_foreign` (`journal_entry_id`),
|
||
KEY `bank_transfers_status_index` (`status`),
|
||
KEY `bank_transfers_transfer_date_index` (`transfer_date`),
|
||
KEY `bank_transfers_from_account_id_index` (`from_account_id`),
|
||
KEY `bank_transfers_to_account_id_index` (`to_account_id`),
|
||
KEY `bank_transfers_creator_id_index` (`creator_id`),
|
||
KEY `bank_transfers_created_by_index` (`created_by`),
|
||
CONSTRAINT `bank_transfers_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `bank_transfers_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `bank_transfers_from_account_id_foreign` FOREIGN KEY (`from_account_id`) REFERENCES `bank_accounts` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `bank_transfers_journal_entry_id_foreign` FOREIGN KEY (`journal_entry_id`) REFERENCES `journal_entries` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `bank_transfers_to_account_id_foreign` FOREIGN KEY (`to_account_id`) REFERENCES `bank_accounts` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bank_transfers`
|
||
--
|
||
|
||
LOCK TABLES `bank_transfers` WRITE;
|
||
/*!40000 ALTER TABLE `bank_transfers` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bank_transfers` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bookings`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bookings`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bookings` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`customer_name` int NOT NULL,
|
||
`vehicle_name` int NOT NULL,
|
||
`driver_name` int NOT NULL,
|
||
`trip_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`start_date` timestamp NULL DEFAULT NULL,
|
||
`end_date` timestamp NULL DEFAULT NULL,
|
||
`start_address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`end_address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`total_price` int NOT NULL DEFAULT '0',
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`notes` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bookings`
|
||
--
|
||
|
||
LOCK TABLES `bookings` WRITE;
|
||
/*!40000 ALTER TABLE `bookings` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bookings` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bookings_appointments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bookings_appointments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bookings_appointments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`appointment_id` int NOT NULL,
|
||
`date` date NOT NULL,
|
||
`service` int NOT NULL,
|
||
`package` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`staff` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`client_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`start_time` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`end_time` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`your_country` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`your_state` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`your_city` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`your_address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`your_zip_code` int NOT NULL,
|
||
`our_country` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`our_state` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`our_city` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`our_zip_code` int NOT NULL,
|
||
`payment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`stage_id` int DEFAULT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bookings_appointments`
|
||
--
|
||
|
||
LOCK TABLES `bookings_appointments` WRITE;
|
||
/*!40000 ALTER TABLE `bookings_appointments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bookings_appointments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bookings_business_hours`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bookings_business_hours`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bookings_business_hours` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`day_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`start_time` time NOT NULL,
|
||
`end_time` time NOT NULL,
|
||
`day_off` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'off',
|
||
`break_hours` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`workspace_id` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bookings_business_hours`
|
||
--
|
||
|
||
LOCK TABLES `bookings_business_hours` WRITE;
|
||
/*!40000 ALTER TABLE `bookings_business_hours` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bookings_business_hours` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bookings_customers`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bookings_customers`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bookings_customers` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`client_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`customer` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bookings_customers`
|
||
--
|
||
|
||
LOCK TABLES `bookings_customers` WRITE;
|
||
/*!40000 ALTER TABLE `bookings_customers` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bookings_customers` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bookings_duration`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bookings_duration`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bookings_duration` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`duration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bookings_duration`
|
||
--
|
||
|
||
LOCK TABLES `bookings_duration` WRITE;
|
||
/*!40000 ALTER TABLE `bookings_duration` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bookings_duration` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bookings_extra_services`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bookings_extra_services`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bookings_extra_services` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bookings_extra_services`
|
||
--
|
||
|
||
LOCK TABLES `bookings_extra_services` WRITE;
|
||
/*!40000 ALTER TABLE `bookings_extra_services` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bookings_extra_services` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bookings_packages`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bookings_packages`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bookings_packages` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`item` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`services` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`delivery_time` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`delivery_period` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`price` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bookings_packages`
|
||
--
|
||
|
||
LOCK TABLES `bookings_packages` WRITE;
|
||
/*!40000 ALTER TABLE `bookings_packages` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bookings_packages` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bookings_staff`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bookings_staff`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bookings_staff` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`staff` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`service` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bookings_staff`
|
||
--
|
||
|
||
LOCK TABLES `bookings_staff` WRITE;
|
||
/*!40000 ALTER TABLE `bookings_staff` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bookings_staff` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `branches`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `branches`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `branches` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`branch_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `branches_creator_id_index` (`creator_id`),
|
||
KEY `branches_created_by_index` (`created_by`),
|
||
CONSTRAINT `branches_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `branches_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `branches`
|
||
--
|
||
|
||
LOCK TABLES `branches` WRITE;
|
||
/*!40000 ALTER TABLE `branches` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `branches` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bug_comments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bug_comments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bug_comments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`bug_id` bigint unsigned NOT NULL,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`comment` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `bug_comments_bug_id_foreign` (`bug_id`),
|
||
KEY `bug_comments_user_id_foreign` (`user_id`),
|
||
CONSTRAINT `bug_comments_bug_id_foreign` FOREIGN KEY (`bug_id`) REFERENCES `project_bugs` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `bug_comments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bug_comments`
|
||
--
|
||
|
||
LOCK TABLES `bug_comments` WRITE;
|
||
/*!40000 ALTER TABLE `bug_comments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bug_comments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `bug_stages`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `bug_stages`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `bug_stages` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`color` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#77b6ea',
|
||
`complete` tinyint(1) NOT NULL,
|
||
`order` int NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `bug_stages_creator_id_index` (`creator_id`),
|
||
KEY `bug_stages_created_by_index` (`created_by`),
|
||
CONSTRAINT `bug_stages_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `bug_stages_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `bug_stages`
|
||
--
|
||
|
||
LOCK TABLES `bug_stages` WRITE;
|
||
/*!40000 ALTER TABLE `bug_stages` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `bug_stages` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `cache`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `cache`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `cache` (
|
||
`key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`value` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`expiration` int NOT NULL,
|
||
PRIMARY KEY (`key`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `cache`
|
||
--
|
||
|
||
LOCK TABLES `cache` WRITE;
|
||
/*!40000 ALTER TABLE `cache` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `cache` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `cache_locks`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `cache_locks`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `cache_locks` (
|
||
`key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`owner` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`expiration` int NOT NULL,
|
||
PRIMARY KEY (`key`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `cache_locks`
|
||
--
|
||
|
||
LOCK TABLES `cache_locks` WRITE;
|
||
/*!40000 ALTER TABLE `cache_locks` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `cache_locks` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `certification_renewals`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `certification_renewals`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `certification_renewals` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_certification_id` bigint unsigned NOT NULL,
|
||
`previous_expiry_date` date NOT NULL,
|
||
`new_expiry_date` date NOT NULL,
|
||
`renewed_date` date NOT NULL,
|
||
`renewed_by` bigint unsigned NOT NULL,
|
||
`document_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `certification_renewals_employee_certification_id_foreign` (`employee_certification_id`),
|
||
KEY `certification_renewals_renewed_by_foreign` (`renewed_by`),
|
||
CONSTRAINT `certification_renewals_employee_certification_id_foreign` FOREIGN KEY (`employee_certification_id`) REFERENCES `employee_certifications` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `certification_renewals_renewed_by_foreign` FOREIGN KEY (`renewed_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `certification_renewals`
|
||
--
|
||
|
||
LOCK TABLES `certification_renewals` WRITE;
|
||
/*!40000 ALTER TABLE `certification_renewals` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `certification_renewals` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `certifications`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `certifications`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `certifications` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`issuing_body` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`validity_months` int DEFAULT NULL,
|
||
`is_required` tinyint(1) NOT NULL DEFAULT '0',
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `certifications_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `certifications_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `certifications`
|
||
--
|
||
|
||
LOCK TABLES `certifications` WRITE;
|
||
/*!40000 ALTER TABLE `certifications` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `certifications` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ch_favorites`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ch_favorites`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ch_favorites` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint NOT NULL,
|
||
`favorite_id` bigint NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ch_favorites`
|
||
--
|
||
|
||
LOCK TABLES `ch_favorites` WRITE;
|
||
/*!40000 ALTER TABLE `ch_favorites` DISABLE KEYS */;
|
||
INSERT INTO `ch_favorites` VALUES (1,44,47,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(2,44,48,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(3,44,49,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(4,45,46,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(5,45,48,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(6,45,53,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(7,46,47,'2026-05-01 13:57:39','2026-05-01 13:57:39');
|
||
/*!40000 ALTER TABLE `ch_favorites` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ch_messages`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ch_messages`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ch_messages` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`from_id` bigint NOT NULL,
|
||
`to_id` bigint NOT NULL,
|
||
`body` varchar(5000) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`attachment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`seen` tinyint(1) NOT NULL DEFAULT '0',
|
||
`deleted_by_sender` tinyint(1) NOT NULL DEFAULT '0',
|
||
`deleted_by_receiver` tinyint(1) NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=81 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ch_messages`
|
||
--
|
||
|
||
LOCK TABLES `ch_messages` WRITE;
|
||
/*!40000 ALTER TABLE `ch_messages` DISABLE KEYS */;
|
||
INSERT INTO `ch_messages` VALUES (1,2,44,'Hi there! How\'s your day going?',NULL,1,0,0,'2026-04-30 13:57:39','2026-05-01 13:57:39'),(2,44,2,'Hey! Pretty good, thanks for asking. How about you?',NULL,1,0,0,'2026-04-30 14:03:39','2026-05-01 13:57:39'),(3,2,44,'Not bad at all. Just working on the quarterly report.',NULL,1,0,0,'2026-04-30 14:27:39','2026-05-01 13:57:39'),(4,44,2,'Oh nice! Need any help with that?',NULL,1,0,0,'2026-04-30 14:21:39','2026-05-01 13:57:39'),(5,2,44,'Actually, yes. Could you review the financial section?',NULL,1,0,0,'2026-04-30 14:17:39','2026-05-01 13:57:39'),(6,44,2,'Of course! Send it over and I\'ll take a look.',NULL,1,0,0,'2026-04-30 14:42:39','2026-05-01 13:57:39'),(7,2,44,'Perfect, sending it now. Thanks!',NULL,0,0,0,'2026-04-30 14:57:39','2026-05-01 13:57:39'),(8,44,2,'No problem, happy to help 😊',NULL,0,0,0,'2026-04-30 14:39:39','2026-05-01 13:57:39'),(9,2,45,'Good morning! Ready for today\'s meeting?',NULL,1,0,0,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(10,45,2,'Morning! Yes, I\'ve prepared all the materials.',NULL,1,0,0,'2026-05-01 14:06:39','2026-05-01 13:57:39'),(11,2,45,'Great! What time should we start?',NULL,1,0,0,'2026-05-01 14:03:39','2026-05-01 13:57:39'),(12,45,2,'How about 10 AM? That works for everyone.',NULL,1,0,0,'2026-05-01 14:33:39','2026-05-01 13:57:39'),(13,2,45,'Perfect. I\'ll send the calendar invite.',NULL,1,0,0,'2026-05-01 14:41:39','2026-05-01 13:57:39'),(14,45,2,'Sounds good. See you then!',NULL,1,0,0,'2026-05-01 14:57:39','2026-05-01 13:57:39'),(15,2,46,'The client loved the presentation!',NULL,1,0,0,'2026-04-30 13:57:39','2026-05-01 13:57:39'),(16,46,2,'Really? That\'s fantastic news!',NULL,1,0,0,'2026-04-30 14:03:39','2026-05-01 13:57:39'),(17,2,46,'Yes, they want to move forward with the project.',NULL,1,0,0,'2026-04-30 14:17:39','2026-05-01 13:57:39'),(18,46,2,'Excellent work! This calls for a celebration 🎉',NULL,1,0,0,'2026-04-30 14:27:39','2026-05-01 13:57:39'),(19,2,46,'Definitely! Drinks after work?',NULL,1,0,0,'2026-04-30 14:41:39','2026-05-01 13:57:39'),(20,46,2,'Count me in!',NULL,0,0,0,'2026-04-30 14:52:39','2026-05-01 13:57:39'),(21,2,47,'Quick question about the budget',NULL,1,0,0,'2026-04-27 13:57:39','2026-05-01 13:57:39'),(22,47,2,'Sure, what\'s up?',NULL,1,0,0,'2026-04-27 14:04:39','2026-05-01 13:57:39'),(23,2,47,'Do we have approval for the additional resources?',NULL,1,0,0,'2026-04-27 14:07:39','2026-05-01 13:57:39'),(24,47,2,'Let me check with management and get back to you.',NULL,1,0,0,'2026-04-27 14:12:39','2026-05-01 13:57:39'),(25,2,47,'Thanks, no rush but would be good to know soon.',NULL,1,0,0,'2026-04-27 14:37:39','2026-05-01 13:57:39'),(26,47,2,'I\'ll follow up by end of day.',NULL,0,0,0,'2026-04-27 14:47:39','2026-05-01 13:57:39'),(27,2,47,'Perfect, appreciate it!',NULL,1,0,0,'2026-04-27 15:09:39','2026-05-01 13:57:39'),(28,2,48,'Hey, are you free for a quick call?',NULL,1,0,0,'2026-04-26 13:57:39','2026-05-01 13:57:39'),(29,48,2,'Sure! What\'s it about?',NULL,1,0,0,'2026-04-26 14:00:39','2026-05-01 13:57:39'),(30,2,48,'Need to discuss the timeline for the new feature.',NULL,1,0,0,'2026-04-26 14:15:39','2026-05-01 13:57:39'),(31,48,2,'Ah yes, I was thinking about that too.',NULL,1,0,0,'2026-04-26 14:06:39','2026-05-01 13:57:39'),(32,2,48,'Great minds think alike! 😄',NULL,1,0,0,'2026-04-26 14:49:39','2026-05-01 13:57:39'),(33,48,2,'Haha exactly! Give me 5 minutes?',NULL,0,0,0,'2026-04-26 14:47:39','2026-05-01 13:57:39'),(34,2,48,'Perfect, I\'ll call you then.',NULL,0,0,0,'2026-04-26 14:39:39','2026-05-01 13:57:39'),(35,2,49,'Hi there! How\'s your day going?',NULL,1,0,0,'2026-04-24 13:57:39','2026-05-01 13:57:39'),(36,49,2,'Hey! Pretty good, thanks for asking. How about you?',NULL,1,0,0,'2026-04-24 14:08:39','2026-05-01 13:57:39'),(37,2,49,'Not bad at all. Just working on the quarterly report.',NULL,1,0,0,'2026-04-24 14:13:39','2026-05-01 13:57:39'),(38,49,2,'Oh nice! Need any help with that?',NULL,1,0,0,'2026-04-24 14:42:39','2026-05-01 13:57:39'),(39,2,49,'Actually, yes. Could you review the financial section?',NULL,1,0,0,'2026-04-24 14:17:39','2026-05-01 13:57:39'),(40,49,2,'Of course! Send it over and I\'ll take a look.',NULL,1,0,0,'2026-04-24 14:32:39','2026-05-01 13:57:39'),(41,2,49,'Perfect, sending it now. Thanks!',NULL,0,0,0,'2026-04-24 14:33:39','2026-05-01 13:57:39'),(42,49,2,'No problem, happy to help 😊',NULL,1,0,0,'2026-04-24 15:00:39','2026-05-01 13:57:39'),(43,2,50,'Good morning! Ready for today\'s meeting?',NULL,1,0,0,'2026-04-29 13:57:39','2026-05-01 13:57:39'),(44,50,2,'Morning! Yes, I\'ve prepared all the materials.',NULL,1,0,0,'2026-04-29 14:04:39','2026-05-01 13:57:39'),(45,2,50,'Great! What time should we start?',NULL,1,0,0,'2026-04-29 14:23:39','2026-05-01 13:57:39'),(46,50,2,'How about 10 AM? That works for everyone.',NULL,1,0,0,'2026-04-29 14:21:39','2026-05-01 13:57:39'),(47,2,50,'Perfect. I\'ll send the calendar invite.',NULL,0,0,0,'2026-04-29 14:41:39','2026-05-01 13:57:39'),(48,50,2,'Sounds good. See you then!',NULL,1,0,0,'2026-04-29 15:07:39','2026-05-01 13:57:39'),(49,2,51,'The client loved the presentation!',NULL,1,0,0,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(50,51,2,'Really? That\'s fantastic news!',NULL,1,0,0,'2026-05-01 14:02:39','2026-05-01 13:57:39'),(51,2,51,'Yes, they want to move forward with the project.',NULL,1,0,0,'2026-05-01 14:13:39','2026-05-01 13:57:39'),(52,51,2,'Excellent work! This calls for a celebration 🎉',NULL,1,0,0,'2026-05-01 14:06:39','2026-05-01 13:57:39'),(53,2,51,'Definitely! Drinks after work?',NULL,1,0,0,'2026-05-01 14:09:39','2026-05-01 13:57:39'),(54,51,2,'Count me in!',NULL,1,0,0,'2026-05-01 14:22:39','2026-05-01 13:57:39'),(55,2,52,'Quick question about the budget',NULL,1,0,0,'2026-04-27 13:57:39','2026-05-01 13:57:39'),(56,52,2,'Sure, what\'s up?',NULL,1,0,0,'2026-04-27 14:07:39','2026-05-01 13:57:39'),(57,2,52,'Do we have approval for the additional resources?',NULL,1,0,0,'2026-04-27 14:11:39','2026-05-01 13:57:39'),(58,52,2,'Let me check with management and get back to you.',NULL,1,0,0,'2026-04-27 14:03:39','2026-05-01 13:57:39'),(59,2,52,'Thanks, no rush but would be good to know soon.',NULL,1,0,0,'2026-04-27 14:25:39','2026-05-01 13:57:39'),(60,52,2,'I\'ll follow up by end of day.',NULL,1,0,0,'2026-04-27 15:12:39','2026-05-01 13:57:39'),(61,2,52,'Perfect, appreciate it!',NULL,0,0,0,'2026-04-27 14:27:39','2026-05-01 13:57:39'),(62,2,53,'Hey, are you free for a quick call?',NULL,1,0,0,'2026-04-29 13:57:39','2026-05-01 13:57:39'),(63,53,2,'Sure! What\'s it about?',NULL,1,0,0,'2026-04-29 14:09:39','2026-05-01 13:57:39'),(64,2,53,'Need to discuss the timeline for the new feature.',NULL,1,0,0,'2026-04-29 14:03:39','2026-05-01 13:57:39'),(65,53,2,'Ah yes, I was thinking about that too.',NULL,1,0,0,'2026-04-29 14:03:39','2026-05-01 13:57:39'),(66,2,53,'Great minds think alike! 😄',NULL,1,0,0,'2026-04-29 14:21:39','2026-05-01 13:57:39'),(67,53,2,'Haha exactly! Give me 5 minutes?',NULL,0,0,0,'2026-04-29 15:12:39','2026-05-01 13:57:39'),(68,2,53,'Perfect, I\'ll call you then.',NULL,1,0,0,'2026-04-29 14:51:39','2026-05-01 13:57:39'),(69,44,45,'Hey, got a minute?',NULL,1,0,0,'2026-04-30 13:57:39','2026-05-01 13:57:39'),(70,45,44,'Sure! What\'s up?',NULL,1,0,0,'2026-04-30 14:05:39','2026-05-01 13:57:39'),(71,44,45,'Can you help me with this task?',NULL,1,0,0,'2026-04-30 14:17:39','2026-05-01 13:57:39'),(72,45,44,'Of course! What do you need?',NULL,1,0,0,'2026-04-30 14:06:39','2026-05-01 13:57:39'),(73,45,46,'Thanks for yesterday\'s help!',NULL,1,0,0,'2026-04-26 13:57:39','2026-05-01 13:57:39'),(74,46,45,'No problem at all!',NULL,1,0,0,'2026-04-26 14:06:39','2026-05-01 13:57:39'),(75,45,46,'Really saved me a lot of time.',NULL,1,0,0,'2026-04-26 14:09:39','2026-05-01 13:57:39'),(76,46,45,'Glad I could help! 😊',NULL,1,0,0,'2026-04-26 14:15:39','2026-05-01 13:57:39'),(77,46,47,'Are you joining the team lunch?',NULL,1,0,0,'2026-04-27 13:57:39','2026-05-01 13:57:39'),(78,47,46,'Definitely! What time?',NULL,1,0,0,'2026-04-27 14:05:39','2026-05-01 13:57:39'),(79,46,47,'12:30 at the usual place',NULL,1,0,0,'2026-04-27 14:05:39','2026-05-01 13:57:39'),(80,47,46,'Perfect, see you there!',NULL,0,0,0,'2026-04-27 14:27:39','2026-05-01 13:57:39');
|
||
/*!40000 ALTER TABLE `ch_messages` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ch_pinned`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ch_pinned`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ch_pinned` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`pinned_id` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `ch_pinned_user_id_pinned_id_unique` (`user_id`,`pinned_id`),
|
||
KEY `ch_pinned_pinned_id_foreign` (`pinned_id`),
|
||
CONSTRAINT `ch_pinned_pinned_id_foreign` FOREIGN KEY (`pinned_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `ch_pinned_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ch_pinned`
|
||
--
|
||
|
||
LOCK TABLES `ch_pinned` WRITE;
|
||
/*!40000 ALTER TABLE `ch_pinned` DISABLE KEYS */;
|
||
INSERT INTO `ch_pinned` VALUES (1,44,46,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(2,45,48,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(3,45,53,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(4,46,49,'2026-05-01 13:57:39','2026-05-01 13:57:39');
|
||
/*!40000 ALTER TABLE `ch_pinned` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `chart_of_accounts`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `chart_of_accounts`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `chart_of_accounts` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`account_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`account_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`account_type_id` bigint unsigned NOT NULL,
|
||
`parent_account_id` bigint unsigned DEFAULT NULL,
|
||
`level` int NOT NULL DEFAULT '1',
|
||
`normal_balance` enum('debit','credit') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`opening_balance` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`current_balance` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`is_system_account` tinyint(1) NOT NULL DEFAULT '0',
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `chart_of_accounts_account_type_id_foreign` (`account_type_id`),
|
||
KEY `chart_of_accounts_parent_account_id_foreign` (`parent_account_id`),
|
||
KEY `chart_of_accounts_creator_id_foreign` (`creator_id`),
|
||
KEY `chart_of_accounts_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `chart_of_accounts_account_type_id_foreign` FOREIGN KEY (`account_type_id`) REFERENCES `account_types` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `chart_of_accounts_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `chart_of_accounts_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `chart_of_accounts_parent_account_id_foreign` FOREIGN KEY (`parent_account_id`) REFERENCES `chart_of_accounts` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `chart_of_accounts`
|
||
--
|
||
|
||
LOCK TABLES `chart_of_accounts` WRITE;
|
||
/*!40000 ALTER TABLE `chart_of_accounts` DISABLE KEYS */;
|
||
INSERT INTO `chart_of_accounts` VALUES (1,'1000','Cash',1,NULL,1,'debit',0.00,0.00,1,1,'Physical cash in office',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(2,'1005','Petty Cash',1,NULL,1,'debit',0.00,0.00,1,1,'Small cash for minor expenses',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(3,'1010','Bank Account - Main',1,NULL,1,'debit',0.00,0.00,1,1,'Primary bank checking account',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(4,'1020','Bank Account - Savings',1,NULL,1,'debit',0.00,0.00,1,1,'Business savings account',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(5,'1030','Bank Account - Payroll',1,NULL,1,'debit',0.00,0.00,1,1,'Dedicated payroll account',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(6,'1040','Cash in Transit',1,NULL,1,'debit',0.00,0.00,1,1,'Cash being transferred between accounts',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(7,'1100','Accounts Receivable',1,NULL,1,'debit',0.00,156179.88,1,1,'Money owed by customers',2,2,'2026-05-01 12:39:44','2026-05-01 13:25:27'),(8,'1200','Inventory',1,NULL,1,'debit',0.00,360664.20,1,1,'Goods held for sale',2,2,'2026-05-01 12:39:44','2026-05-01 13:25:27'),(9,'1300','Prepaid Expenses',1,NULL,1,'debit',0.00,0.00,1,1,'Expenses paid in advance',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(10,'1400','Deposits',3,NULL,1,'debit',0.00,0.00,1,1,'Security deposits paid',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(11,'1500','Tax Receivable (VAT/GST Input)',3,NULL,1,'debit',0.00,0.00,1,1,'Tax refunds due',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(12,'1600','Equipment',2,NULL,1,'debit',0.00,0.00,1,1,'Office and business equipment',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(13,'1610','Accumulated Depreciation - Equipment',2,NULL,1,'credit',0.00,0.00,1,1,'Accumulated depreciation on equipment',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(14,'1700','Buildings',2,NULL,1,'debit',0.00,0.00,1,1,'Building assets',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(15,'1710','Accumulated Depreciation - Buildings',2,NULL,1,'credit',0.00,0.00,1,1,'Accumulated depreciation on buildings',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(16,'2000','Accounts Payable',4,NULL,1,'credit',0.00,360664.20,1,1,'Money owed to suppliers',2,2,'2026-05-01 12:39:44','2026-05-01 13:25:27'),(17,'2100','Accrued Expenses',4,NULL,1,'credit',0.00,0.00,1,1,'Expenses incurred but not yet paid',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(18,'2200','Tax Payable (Income Tax)',4,NULL,1,'credit',0.00,0.00,1,1,'Taxes owed',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(19,'2210','VAT Payable (Sales Tax Output)',4,NULL,1,'credit',0.00,0.00,1,1,'VAT owed to government',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(20,'2220','GST Payable',4,NULL,1,'credit',0.00,0.00,1,1,'GST owed to government',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(21,'2300','Short-term Loans',4,NULL,1,'credit',0.00,0.00,1,1,'Loans due within one year',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(22,'2350','Customer Deposits',4,NULL,1,'credit',0.00,0.00,1,1,'Advance payments from customers for future services',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(23,'2400','Payroll Liabilities',4,NULL,1,'credit',0.00,0.00,1,1,'Unpaid employee salaries and benefits',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(24,'2500','Long-term Debt',5,NULL,1,'credit',0.00,0.00,1,1,'Debts due after one year',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(25,'3100','Share Capital',6,NULL,1,'credit',0.00,0.00,1,1,'Owner\'s investment in business',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(26,'3200','Retained Earnings',7,NULL,1,'credit',0.00,0.00,1,1,'Accumulated business profits',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(27,'4100','Sales Revenue',8,NULL,1,'credit',0.00,0.00,1,1,'Revenue from product sales',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(28,'4010','Product Sales',8,NULL,1,'credit',0.00,0.00,1,1,'Revenue from product sales',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(29,'4200','Service Revenue',8,NULL,1,'credit',0.00,156179.88,1,1,'Revenue from services provided',2,2,'2026-05-01 12:39:44','2026-05-01 13:25:27'),(30,'4030','Consulting Revenue',8,NULL,1,'credit',0.00,0.00,1,1,'Revenue from consulting services',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(31,'4040','Subscription Revenue',8,NULL,1,'credit',0.00,0.00,1,1,'Revenue from subscription services',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(32,'4110','Commission Income',9,NULL,1,'credit',0.00,0.00,1,1,'Income from commissions',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(33,'4120','Rental Income',9,NULL,1,'credit',0.00,0.00,1,1,'Income from rental properties',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(34,'4130','Maintenance Income',9,NULL,1,'credit',0.00,0.00,1,1,'Income from maintenance services',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(35,'4140','Training Income',9,NULL,1,'credit',0.00,0.00,1,1,'Income from training services',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(36,'4300','Other Income',9,NULL,1,'credit',0.00,0.00,1,1,'Miscellaneous income',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(37,'4400','Project Revenue',8,NULL,1,'credit',0.00,0.00,1,1,'Revenue from project-based work',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(38,'5100','Cost of Goods Sold',10,NULL,1,'debit',0.00,0.00,1,1,'Direct cost of products sold',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(39,'5200','Salaries Expense',11,NULL,1,'debit',0.00,0.00,1,1,'Employee salaries',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(40,'5210','Employee Benefits',11,NULL,1,'debit',0.00,0.00,1,1,'Employee benefits and insurance',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(41,'5220','Sales Commission Expense',11,NULL,1,'debit',0.00,0.00,1,1,'Commission paid to sales agents',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(42,'5300','Rent Expense',11,NULL,1,'debit',0.00,0.00,1,1,'Office rent payments',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(43,'5305','Dairy Cattle Expense',11,NULL,1,'debit',0.00,0.00,1,1,'Dairy cattle related expenses',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(44,'5306','Catering Expense',11,NULL,1,'debit',0.00,0.00,1,1,'Catering related expenses',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(45,'5310','Office Supplies',11,NULL,1,'debit',0.00,0.00,1,1,'General office supplies',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(46,'5320','Marketing Expense',11,NULL,1,'debit',0.00,0.00,1,1,'Marketing and advertising costs',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(47,'5330','Travel Expense',11,NULL,1,'debit',0.00,0.00,1,1,'Business travel expenses',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(48,'5400','Utilities Expense',12,NULL,1,'debit',0.00,0.00,1,1,'Electricity, water, internet',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(49,'5410','Insurance Expense',12,NULL,1,'debit',0.00,0.00,1,1,'Business insurance premiums',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(50,'5420','Professional Fees',12,NULL,1,'debit',0.00,0.00,1,1,'Legal and accounting fees',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(51,'5430','Depreciation Expense',12,NULL,1,'debit',0.00,0.00,1,1,'Depreciation on fixed assets',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(52,'5500','Interest Expense',13,NULL,1,'debit',0.00,0.00,1,1,'Interest on loans and debt',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(53,'5510','Bank Charges',13,NULL,1,'debit',0.00,0.00,1,1,'Bank fees and charges',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(54,'5600','Tax Expense',14,NULL,1,'debit',0.00,0.00,1,1,'Income tax expense',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(55,'5700','Bad Debt Expense',15,NULL,1,'debit',0.00,0.00,1,1,'Uncollectible accounts expense',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44'),(56,'5800','Miscellaneous Expense',15,NULL,1,'debit',0.00,0.00,1,1,'Other miscellaneous expenses',2,2,'2026-05-01 12:39:44','2026-05-01 12:39:44');
|
||
/*!40000 ALTER TABLE `chart_of_accounts` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `client_deals`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `client_deals`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `client_deals` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`client_id` bigint unsigned NOT NULL,
|
||
`deal_id` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `client_deals_client_id_deal_id_unique` (`client_id`,`deal_id`),
|
||
KEY `client_deals_client_id_index` (`client_id`),
|
||
KEY `client_deals_deal_id_index` (`deal_id`),
|
||
CONSTRAINT `client_deals_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `client_deals_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `client_deals`
|
||
--
|
||
|
||
LOCK TABLES `client_deals` WRITE;
|
||
/*!40000 ALTER TABLE `client_deals` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `client_deals` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `client_permissions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `client_permissions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `client_permissions` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`client_id` bigint unsigned NOT NULL,
|
||
`deal_id` bigint unsigned NOT NULL,
|
||
`permissions` json DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `client_permissions_client_id_deal_id_unique` (`client_id`,`deal_id`),
|
||
KEY `client_permissions_client_id_index` (`client_id`),
|
||
KEY `client_permissions_deal_id_index` (`deal_id`),
|
||
CONSTRAINT `client_permissions_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `client_permissions_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `client_permissions`
|
||
--
|
||
|
||
LOCK TABLES `client_permissions` WRITE;
|
||
/*!40000 ALTER TABLE `client_permissions` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `client_permissions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `complaint_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `complaint_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `complaint_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`complaint_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `complaint_types_creator_id_index` (`creator_id`),
|
||
KEY `complaint_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `complaint_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `complaint_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `complaint_types`
|
||
--
|
||
|
||
LOCK TABLES `complaint_types` WRITE;
|
||
/*!40000 ALTER TABLE `complaint_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `complaint_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `complaints`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `complaints`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `complaints` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`against_employee_id` bigint unsigned DEFAULT NULL,
|
||
`complaint_type_id` bigint unsigned DEFAULT NULL,
|
||
`subject` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`complaint_date` date NOT NULL,
|
||
`status` enum('pending','in review','assigned','in progress','resolved') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`document` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`resolved_by` bigint unsigned DEFAULT NULL,
|
||
`resolution_date` date DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `complaints_employee_id_foreign` (`employee_id`),
|
||
KEY `complaints_against_employee_id_foreign` (`against_employee_id`),
|
||
KEY `complaints_complaint_type_id_foreign` (`complaint_type_id`),
|
||
KEY `complaints_resolved_by_foreign` (`resolved_by`),
|
||
KEY `complaints_creator_id_foreign` (`creator_id`),
|
||
KEY `complaints_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `complaints_against_employee_id_foreign` FOREIGN KEY (`against_employee_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `complaints_complaint_type_id_foreign` FOREIGN KEY (`complaint_type_id`) REFERENCES `complaint_types` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `complaints_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `complaints_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `complaints_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `complaints_resolved_by_foreign` FOREIGN KEY (`resolved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `complaints`
|
||
--
|
||
|
||
LOCK TABLES `complaints` WRITE;
|
||
/*!40000 ALTER TABLE `complaints` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `complaints` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `cost_rates`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `cost_rates`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `cost_rates` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`hourly_cost` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`billing_rate` decimal(10,2) DEFAULT NULL,
|
||
`effective_date` date NOT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `cost_rates_created_by_foreign` (`created_by`),
|
||
KEY `cost_rates_user_id_effective_date_index` (`user_id`,`effective_date`),
|
||
CONSTRAINT `cost_rates_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `cost_rates_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `cost_rates`
|
||
--
|
||
|
||
LOCK TABLES `cost_rates` WRITE;
|
||
/*!40000 ALTER TABLE `cost_rates` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `cost_rates` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `coupons`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `coupons`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `coupons` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`discount` decimal(10,2) NOT NULL,
|
||
`limit` int DEFAULT NULL,
|
||
`type` enum('percentage','flat','fixed') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`minimum_spend` decimal(10,2) DEFAULT NULL,
|
||
`maximum_spend` decimal(10,2) DEFAULT NULL,
|
||
`limit_per_user` int DEFAULT NULL,
|
||
`expiry_date` timestamp NULL DEFAULT NULL,
|
||
`included_module` json DEFAULT NULL,
|
||
`excluded_module` json DEFAULT NULL,
|
||
`status` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `coupons_code_unique` (`code`),
|
||
KEY `coupons_status_expiry_date_index` (`status`,`expiry_date`),
|
||
KEY `coupons_code_index` (`code`),
|
||
KEY `coupons_created_by_index` (`created_by`),
|
||
CONSTRAINT `coupons_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `coupons`
|
||
--
|
||
|
||
LOCK TABLES `coupons` WRITE;
|
||
/*!40000 ALTER TABLE `coupons` DISABLE KEYS */;
|
||
INSERT INTO `coupons` VALUES (1,'Welcome Discount','Welcome discount for new customers','WELCOME10',10.00,100,'percentage',50.00,NULL,1,'2026-08-01 13:57:26',NULL,NULL,1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(2,'Flat Discount','Flat $20 off on orders','FLAT20',20.00,50,'flat',100.00,NULL,2,'2026-11-01 13:57:26',NULL,NULL,1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(3,'Premium Plan Fixed','Fixed price for premium plan','PREMIUM99',99.00,25,'fixed',NULL,NULL,1,'2027-05-01 13:57:26','[\"premium\"]',NULL,1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26');
|
||
/*!40000 ALTER TABLE `coupons` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `credit_note_applications`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `credit_note_applications`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `credit_note_applications` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`credit_note_id` bigint unsigned NOT NULL,
|
||
`payment_id` bigint unsigned DEFAULT NULL,
|
||
`applied_amount` decimal(15,2) NOT NULL,
|
||
`application_date` date NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `credit_note_applications_credit_note_id_foreign` (`credit_note_id`),
|
||
KEY `credit_note_applications_payment_id_foreign` (`payment_id`),
|
||
KEY `credit_note_applications_creator_id_index` (`creator_id`),
|
||
KEY `credit_note_applications_created_by_index` (`created_by`),
|
||
CONSTRAINT `credit_note_applications_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `credit_note_applications_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `credit_note_applications_credit_note_id_foreign` FOREIGN KEY (`credit_note_id`) REFERENCES `credit_notes` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `credit_note_applications_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `customer_payments` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `credit_note_applications`
|
||
--
|
||
|
||
LOCK TABLES `credit_note_applications` WRITE;
|
||
/*!40000 ALTER TABLE `credit_note_applications` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `credit_note_applications` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `credit_note_item_taxes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `credit_note_item_taxes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `credit_note_item_taxes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` bigint unsigned NOT NULL,
|
||
`tax_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`tax_rate` decimal(5,2) NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `credit_note_item_taxes_item_id_foreign` (`item_id`),
|
||
CONSTRAINT `credit_note_item_taxes_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `credit_note_items` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `credit_note_item_taxes`
|
||
--
|
||
|
||
LOCK TABLES `credit_note_item_taxes` WRITE;
|
||
/*!40000 ALTER TABLE `credit_note_item_taxes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `credit_note_item_taxes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `credit_note_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `credit_note_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `credit_note_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`credit_note_id` bigint unsigned NOT NULL,
|
||
`product_id` bigint unsigned NOT NULL,
|
||
`quantity` int NOT NULL,
|
||
`unit_price` decimal(15,2) NOT NULL,
|
||
`discount_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `credit_note_items_credit_note_id_foreign` (`credit_note_id`),
|
||
CONSTRAINT `credit_note_items_credit_note_id_foreign` FOREIGN KEY (`credit_note_id`) REFERENCES `credit_notes` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `credit_note_items`
|
||
--
|
||
|
||
LOCK TABLES `credit_note_items` WRITE;
|
||
/*!40000 ALTER TABLE `credit_note_items` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `credit_note_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `credit_notes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `credit_notes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `credit_notes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`credit_note_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`credit_note_date` date NOT NULL,
|
||
`customer_id` bigint unsigned NOT NULL,
|
||
`invoice_id` bigint unsigned DEFAULT NULL,
|
||
`return_id` bigint unsigned DEFAULT NULL,
|
||
`reason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` enum('draft','approved','partial','applied','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`subtotal` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`applied_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`balance_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `credit_notes_invoice_id_foreign` (`invoice_id`),
|
||
KEY `credit_notes_return_id_foreign` (`return_id`),
|
||
KEY `credit_notes_status_credit_note_date_index` (`status`,`credit_note_date`),
|
||
KEY `credit_notes_customer_id_index` (`customer_id`),
|
||
KEY `credit_notes_approved_by_index` (`approved_by`),
|
||
KEY `credit_notes_creator_id_index` (`creator_id`),
|
||
KEY `credit_notes_created_by_index` (`created_by`),
|
||
CONSTRAINT `credit_notes_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `credit_notes_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `credit_notes_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `credit_notes_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `credit_notes_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `sales_invoices` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `credit_notes_return_id_foreign` FOREIGN KEY (`return_id`) REFERENCES `sales_invoice_returns` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `credit_notes`
|
||
--
|
||
|
||
LOCK TABLES `credit_notes` WRITE;
|
||
/*!40000 ALTER TABLE `credit_notes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `credit_notes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `custom_field_values`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `custom_field_values`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `custom_field_values` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`record_id` bigint unsigned NOT NULL,
|
||
`field_id` bigint unsigned NOT NULL,
|
||
`value` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `custom_field_values_record_id_field_id_unique` (`record_id`,`field_id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `custom_field_values`
|
||
--
|
||
|
||
LOCK TABLES `custom_field_values` WRITE;
|
||
/*!40000 ALTER TABLE `custom_field_values` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `custom_field_values` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `custom_fields`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `custom_fields`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `custom_fields` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`module` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`is_required` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||
`sub_module` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`workspace_id` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `custom_fields`
|
||
--
|
||
|
||
LOCK TABLES `custom_fields` WRITE;
|
||
/*!40000 ALTER TABLE `custom_fields` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `custom_fields` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `custom_fields_module_list`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `custom_fields_module_list`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `custom_fields_module_list` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`module` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`sub_module` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `custom_fields_module_list`
|
||
--
|
||
|
||
LOCK TABLES `custom_fields_module_list` WRITE;
|
||
/*!40000 ALTER TABLE `custom_fields_module_list` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `custom_fields_module_list` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `custom_pages`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `custom_pages`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `custom_pages` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`meta_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`meta_description` text COLLATE utf8mb4_unicode_ci,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`is_disabled` tinyint(1) NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `custom_pages_slug_unique` (`slug`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `custom_pages`
|
||
--
|
||
|
||
LOCK TABLES `custom_pages` WRITE;
|
||
/*!40000 ALTER TABLE `custom_pages` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `custom_pages` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `customer_payment_allocations`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `customer_payment_allocations`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `customer_payment_allocations` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`payment_id` bigint unsigned NOT NULL,
|
||
`invoice_id` bigint unsigned NOT NULL,
|
||
`allocated_amount` decimal(15,2) NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `customer_payment_allocations_payment_id_foreign` (`payment_id`),
|
||
KEY `customer_payment_allocations_invoice_id_foreign` (`invoice_id`),
|
||
KEY `customer_payment_allocations_creator_id_index` (`creator_id`),
|
||
KEY `customer_payment_allocations_created_by_index` (`created_by`),
|
||
CONSTRAINT `customer_payment_allocations_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `customer_payment_allocations_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `customer_payment_allocations_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `sales_invoices` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `customer_payment_allocations_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `customer_payments` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `customer_payment_allocations`
|
||
--
|
||
|
||
LOCK TABLES `customer_payment_allocations` WRITE;
|
||
/*!40000 ALTER TABLE `customer_payment_allocations` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `customer_payment_allocations` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `customer_payments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `customer_payments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `customer_payments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`payment_number` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`payment_date` date NOT NULL,
|
||
`customer_id` bigint unsigned NOT NULL,
|
||
`bank_account_id` bigint unsigned NOT NULL,
|
||
`reference_number` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`payment_amount` decimal(15,2) NOT NULL,
|
||
`status` enum('pending','cleared','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `customer_payments_customer_id_foreign` (`customer_id`),
|
||
KEY `customer_payments_bank_account_id_foreign` (`bank_account_id`),
|
||
KEY `customer_payments_creator_id_index` (`creator_id`),
|
||
KEY `customer_payments_created_by_index` (`created_by`),
|
||
CONSTRAINT `customer_payments_bank_account_id_foreign` FOREIGN KEY (`bank_account_id`) REFERENCES `bank_accounts` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `customer_payments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `customer_payments_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `customer_payments_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `customer_payments`
|
||
--
|
||
|
||
LOCK TABLES `customer_payments` WRITE;
|
||
/*!40000 ALTER TABLE `customer_payments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `customer_payments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `customers`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `customers`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `customers` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned DEFAULT NULL,
|
||
`customer_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`company_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`contact_person_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`contact_person_email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`contact_person_mobile` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`tax_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`payment_terms` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`billing_address` json DEFAULT NULL,
|
||
`shipping_address` json DEFAULT NULL,
|
||
`same_as_billing` tinyint(1) NOT NULL DEFAULT '0',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `customers_user_id_index` (`user_id`),
|
||
KEY `customers_creator_id_index` (`creator_id`),
|
||
KEY `customers_created_by_index` (`created_by`),
|
||
CONSTRAINT `customers_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `customers_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `customers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `customers`
|
||
--
|
||
|
||
LOCK TABLES `customers` WRITE;
|
||
/*!40000 ALTER TABLE `customers` DISABLE KEYS */;
|
||
INSERT INTO `customers` VALUES (1,49,'C-GXMCK','Morar, Beier and Luettgen Clinic','Mrs. Mina Brown','tatum80@example.net',NULL,NULL,NULL,'{\"city\": \"Trece Martires\", \"name\": \"Mrs. Mina Brown\", \"state\": \"ND\", \"country\": \"Philippines\", \"zip_code\": \"1582\", \"address_line_1\": \"27A/42 Altenwerth Coves\"}','{\"city\": \"Mandaluyong\", \"name\": \"Mrs. Mina Brown\", \"state\": \"GA\", \"country\": \"Philippines\", \"zip_code\": \"2697\", \"address_line_1\": \"57A/78 Little Shores\"}',1,NULL,2,2,'2026-05-01 13:25:25','2026-05-01 13:25:25'),(2,50,'C-Q1GKQ','Johnston Inc Clinic','Davonte Gibson','otowne@example.com',NULL,NULL,NULL,'{\"city\": \"Cabuyao\", \"name\": \"Davonte Gibson\", \"state\": \"WV\", \"country\": \"Philippines\", \"zip_code\": \"2354\", \"address_line_1\": \"43A/47 Larkin Manors Apt. 334\"}','{\"city\": \"Carcar\", \"name\": \"Davonte Gibson\", \"state\": \"RI\", \"country\": \"Philippines\", \"zip_code\": \"7610\", \"address_line_1\": \"98/99 Auer Vista\"}',1,NULL,2,2,'2026-05-01 13:25:25','2026-05-01 13:25:25'),(3,51,'C-2HSC5','Homenick-Buckridge Clinic','Miss Gretchen Harvey I','okuneva.heber@example.org',NULL,NULL,NULL,'{\"city\": \"Ormoc\", \"name\": \"Miss Gretchen Harvey I\", \"state\": \"AZ\", \"country\": \"Philippines\", \"zip_code\": \"4459\", \"address_line_1\": \"38 Ernser Points\"}','{\"city\": \"San Fernando\", \"name\": \"Miss Gretchen Harvey I\", \"state\": \"IN\", \"country\": \"Philippines\", \"zip_code\": \"8481\", \"address_line_1\": \"99A Emmerich Meadows\"}',1,NULL,2,2,'2026-05-01 13:25:25','2026-05-01 13:25:25'),(4,52,'C-ICYKQ','Wunsch, Legros and Cremin Clinic','Aurelia Gleichner','tad99@example.net',NULL,NULL,NULL,'{\"city\": \"Roxas\", \"name\": \"Aurelia Gleichner\", \"state\": \"SC\", \"country\": \"Philippines\", \"zip_code\": \"0421\", \"address_line_1\": \"57 Mohr Road\"}','{\"city\": \"Makati\", \"name\": \"Aurelia Gleichner\", \"state\": \"OR\", \"country\": \"Philippines\", \"zip_code\": \"8251\", \"address_line_1\": \"53 Boyer Forest\"}',1,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(5,53,'C-HZXI7','Gulgowski LLC Clinic','Mrs. Margarette Haag','lessie51@example.org',NULL,NULL,NULL,'{\"city\": \"Mandaue\", \"name\": \"Mrs. Margarette Haag\", \"state\": \"IA\", \"country\": \"Philippines\", \"zip_code\": \"7679\", \"address_line_1\": \"38/27 Grimes Haven Suite 126\"}','{\"city\": \"Tandag\", \"name\": \"Mrs. Margarette Haag\", \"state\": \"CA\", \"country\": \"Philippines\", \"zip_code\": \"9537\", \"address_line_1\": \"91A Keebler Ports\"}',1,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26');
|
||
/*!40000 ALTER TABLE `customers` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `deal_activity_logs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `deal_activity_logs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `deal_activity_logs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`deal_id` bigint unsigned NOT NULL,
|
||
`log_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`remark` text COLLATE utf8mb4_unicode_ci,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `deal_activity_logs_user_id_index` (`user_id`),
|
||
KEY `deal_activity_logs_deal_id_index` (`deal_id`),
|
||
CONSTRAINT `deal_activity_logs_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `deal_activity_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `deal_activity_logs`
|
||
--
|
||
|
||
LOCK TABLES `deal_activity_logs` WRITE;
|
||
/*!40000 ALTER TABLE `deal_activity_logs` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `deal_activity_logs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `deal_calls`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `deal_calls`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `deal_calls` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`deal_id` bigint unsigned NOT NULL,
|
||
`subject` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`call_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`duration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`user_id` bigint unsigned DEFAULT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`call_result` text COLLATE utf8mb4_unicode_ci,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `deal_calls_deal_id_index` (`deal_id`),
|
||
KEY `deal_calls_user_id_index` (`user_id`),
|
||
CONSTRAINT `deal_calls_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `deal_calls_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `deal_calls`
|
||
--
|
||
|
||
LOCK TABLES `deal_calls` WRITE;
|
||
/*!40000 ALTER TABLE `deal_calls` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `deal_calls` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `deal_discussions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `deal_discussions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `deal_discussions` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`deal_id` bigint unsigned NOT NULL,
|
||
`comment` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned NOT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `deal_discussions_deal_id_index` (`deal_id`),
|
||
KEY `deal_discussions_creator_id_index` (`creator_id`),
|
||
KEY `deal_discussions_created_by_index` (`created_by`),
|
||
CONSTRAINT `deal_discussions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `deal_discussions_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `deal_discussions_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `deal_discussions`
|
||
--
|
||
|
||
LOCK TABLES `deal_discussions` WRITE;
|
||
/*!40000 ALTER TABLE `deal_discussions` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `deal_discussions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `deal_emails`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `deal_emails`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `deal_emails` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`deal_id` bigint unsigned NOT NULL,
|
||
`to` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`subject` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `deal_emails_deal_id_index` (`deal_id`),
|
||
CONSTRAINT `deal_emails_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `deal_emails`
|
||
--
|
||
|
||
LOCK TABLES `deal_emails` WRITE;
|
||
/*!40000 ALTER TABLE `deal_emails` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `deal_emails` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `deal_files`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `deal_files`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `deal_files` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`deal_id` bigint unsigned NOT NULL,
|
||
`file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `deal_files_deal_id_index` (`deal_id`),
|
||
CONSTRAINT `deal_files_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `deal_files`
|
||
--
|
||
|
||
LOCK TABLES `deal_files` WRITE;
|
||
/*!40000 ALTER TABLE `deal_files` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `deal_files` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `deal_stages`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `deal_stages`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `deal_stages` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`order` int DEFAULT NULL,
|
||
`pipeline_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `deal_stages_pipeline_id_foreign` (`pipeline_id`),
|
||
KEY `deal_stages_creator_id_index` (`creator_id`),
|
||
KEY `deal_stages_created_by_index` (`created_by`),
|
||
CONSTRAINT `deal_stages_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `deal_stages_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `deal_stages_pipeline_id_foreign` FOREIGN KEY (`pipeline_id`) REFERENCES `pipelines` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `deal_stages`
|
||
--
|
||
|
||
LOCK TABLES `deal_stages` WRITE;
|
||
/*!40000 ALTER TABLE `deal_stages` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `deal_stages` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `deal_tasks`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `deal_tasks`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `deal_tasks` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`deal_id` bigint unsigned NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`date` date NOT NULL,
|
||
`time` time NOT NULL,
|
||
`priority` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `deal_tasks_deal_id_index` (`deal_id`),
|
||
KEY `deal_tasks_created_by_index` (`created_by`),
|
||
KEY `deal_tasks_creator_id_index` (`creator_id`),
|
||
CONSTRAINT `deal_tasks_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `deal_tasks_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`),
|
||
CONSTRAINT `deal_tasks_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `deal_tasks`
|
||
--
|
||
|
||
LOCK TABLES `deal_tasks` WRITE;
|
||
/*!40000 ALTER TABLE `deal_tasks` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `deal_tasks` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `deals`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `deals`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `deals` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`price` decimal(10,2) DEFAULT NULL,
|
||
`pipeline_id` bigint unsigned NOT NULL,
|
||
`stage_id` bigint unsigned NOT NULL,
|
||
`sources` json DEFAULT NULL,
|
||
`products` json DEFAULT NULL,
|
||
`notes` longtext COLLATE utf8mb4_unicode_ci,
|
||
`labels` json DEFAULT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||
`order` int DEFAULT '0',
|
||
`phone` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '0',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `deals_pipeline_id_index` (`pipeline_id`),
|
||
KEY `deals_stage_id_index` (`stage_id`),
|
||
KEY `deals_creator_id_index` (`creator_id`),
|
||
KEY `deals_created_by_index` (`created_by`),
|
||
CONSTRAINT `deals_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `deals_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `deals_pipeline_id_foreign` FOREIGN KEY (`pipeline_id`) REFERENCES `pipelines` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `deals_stage_id_foreign` FOREIGN KEY (`stage_id`) REFERENCES `deal_stages` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `deals`
|
||
--
|
||
|
||
LOCK TABLES `deals` WRITE;
|
||
/*!40000 ALTER TABLE `deals` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `deals` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `debit_note_applications`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `debit_note_applications`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `debit_note_applications` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`debit_note_id` bigint unsigned NOT NULL,
|
||
`payment_id` bigint unsigned DEFAULT NULL,
|
||
`applied_amount` decimal(15,2) NOT NULL,
|
||
`application_date` date NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `debit_note_applications_debit_note_id_foreign` (`debit_note_id`),
|
||
KEY `debit_note_applications_payment_id_foreign` (`payment_id`),
|
||
KEY `debit_note_applications_creator_id_index` (`creator_id`),
|
||
KEY `debit_note_applications_created_by_index` (`created_by`),
|
||
CONSTRAINT `debit_note_applications_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `debit_note_applications_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `debit_note_applications_debit_note_id_foreign` FOREIGN KEY (`debit_note_id`) REFERENCES `debit_notes` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `debit_note_applications_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `vendor_payments` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `debit_note_applications`
|
||
--
|
||
|
||
LOCK TABLES `debit_note_applications` WRITE;
|
||
/*!40000 ALTER TABLE `debit_note_applications` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `debit_note_applications` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `debit_note_item_taxes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `debit_note_item_taxes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `debit_note_item_taxes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` bigint unsigned NOT NULL,
|
||
`tax_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`tax_rate` decimal(5,2) NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `debit_note_item_taxes_item_id_foreign` (`item_id`),
|
||
CONSTRAINT `debit_note_item_taxes_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `debit_note_items` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `debit_note_item_taxes`
|
||
--
|
||
|
||
LOCK TABLES `debit_note_item_taxes` WRITE;
|
||
/*!40000 ALTER TABLE `debit_note_item_taxes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `debit_note_item_taxes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `debit_note_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `debit_note_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `debit_note_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`debit_note_id` bigint unsigned NOT NULL,
|
||
`product_id` bigint unsigned NOT NULL,
|
||
`quantity` decimal(15,2) NOT NULL,
|
||
`unit_price` decimal(15,2) NOT NULL,
|
||
`discount_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `debit_note_items_debit_note_id_foreign` (`debit_note_id`),
|
||
KEY `debit_note_items_creator_id_index` (`creator_id`),
|
||
KEY `debit_note_items_created_by_index` (`created_by`),
|
||
CONSTRAINT `debit_note_items_debit_note_id_foreign` FOREIGN KEY (`debit_note_id`) REFERENCES `debit_notes` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `debit_note_items`
|
||
--
|
||
|
||
LOCK TABLES `debit_note_items` WRITE;
|
||
/*!40000 ALTER TABLE `debit_note_items` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `debit_note_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `debit_notes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `debit_notes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `debit_notes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`debit_note_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`debit_note_date` date NOT NULL,
|
||
`vendor_id` bigint unsigned NOT NULL,
|
||
`invoice_id` bigint unsigned DEFAULT NULL,
|
||
`return_id` bigint unsigned DEFAULT NULL,
|
||
`reason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` enum('draft','approved','partial','applied') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`subtotal` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`applied_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`balance_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `debit_notes_debit_note_number_unique` (`debit_note_number`),
|
||
KEY `debit_notes_vendor_id_foreign` (`vendor_id`),
|
||
KEY `debit_notes_invoice_id_foreign` (`invoice_id`),
|
||
KEY `debit_notes_return_id_foreign` (`return_id`),
|
||
KEY `debit_notes_approved_by_foreign` (`approved_by`),
|
||
KEY `debit_notes_creator_id_index` (`creator_id`),
|
||
KEY `debit_notes_created_by_index` (`created_by`),
|
||
CONSTRAINT `debit_notes_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `debit_notes_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `debit_notes_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `debit_notes_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `purchase_invoices` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `debit_notes_return_id_foreign` FOREIGN KEY (`return_id`) REFERENCES `purchase_returns` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `debit_notes_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `debit_notes`
|
||
--
|
||
|
||
LOCK TABLES `debit_notes` WRITE;
|
||
/*!40000 ALTER TABLE `debit_notes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `debit_notes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `deduction_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `deduction_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `deduction_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `deduction_types_creator_id_index` (`creator_id`),
|
||
KEY `deduction_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `deduction_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `deduction_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `deduction_types`
|
||
--
|
||
|
||
LOCK TABLES `deduction_types` WRITE;
|
||
/*!40000 ALTER TABLE `deduction_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `deduction_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `deductions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `deductions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `deductions` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`deduction_type_id` bigint unsigned NOT NULL,
|
||
`type` enum('fixed','percentage') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`amount` decimal(10,2) NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `deductions_deduction_type_id_foreign` (`deduction_type_id`),
|
||
KEY `deductions_employee_id_foreign` (`employee_id`),
|
||
KEY `deductions_creator_id_index` (`creator_id`),
|
||
KEY `deductions_created_by_index` (`created_by`),
|
||
CONSTRAINT `deductions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `deductions_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `deductions_deduction_type_id_foreign` FOREIGN KEY (`deduction_type_id`) REFERENCES `deduction_types` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `deductions_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `deductions`
|
||
--
|
||
|
||
LOCK TABLES `deductions` WRITE;
|
||
/*!40000 ALTER TABLE `deductions` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `deductions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `departments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `departments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `departments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`department_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`branch_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `departments_branch_id_foreign` (`branch_id`),
|
||
KEY `departments_creator_id_index` (`creator_id`),
|
||
KEY `departments_created_by_index` (`created_by`),
|
||
CONSTRAINT `departments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `departments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `departments_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `departments`
|
||
--
|
||
|
||
LOCK TABLES `departments` WRITE;
|
||
/*!40000 ALTER TABLE `departments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `departments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `designations`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `designations`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `designations` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`designation_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`branch_id` bigint unsigned DEFAULT NULL,
|
||
`department_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `designations_branch_id_foreign` (`branch_id`),
|
||
KEY `designations_department_id_foreign` (`department_id`),
|
||
KEY `designations_creator_id_index` (`creator_id`),
|
||
KEY `designations_created_by_index` (`created_by`),
|
||
CONSTRAINT `designations_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `designations_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `designations_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `designations_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `designations`
|
||
--
|
||
|
||
LOCK TABLES `designations` WRITE;
|
||
/*!40000 ALTER TABLE `designations` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `designations` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `document`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `document`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `document` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`subject` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`user_id` int NOT NULL,
|
||
`project_id` int DEFAULT NULL,
|
||
`type` int NOT NULL,
|
||
`notes` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`additional_description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'document',
|
||
`document_id` int NOT NULL DEFAULT '0',
|
||
`template_id` int NOT NULL DEFAULT '0',
|
||
`workspace_id` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `document`
|
||
--
|
||
|
||
LOCK TABLES `document` WRITE;
|
||
/*!40000 ALTER TABLE `document` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `document` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `document_attechments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `document_attechments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `document_attechments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`document_id` bigint unsigned NOT NULL,
|
||
`user_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`files` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace_id` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `document_attechments`
|
||
--
|
||
|
||
LOCK TABLES `document_attechments` WRITE;
|
||
/*!40000 ALTER TABLE `document_attechments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `document_attechments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `document_categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `document_categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `document_categories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`document_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` tinyint(1) NOT NULL DEFAULT '1',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `document_categories_creator_id_index` (`creator_id`),
|
||
KEY `document_categories_created_by_index` (`created_by`),
|
||
CONSTRAINT `document_categories_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `document_categories_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `document_categories`
|
||
--
|
||
|
||
LOCK TABLES `document_categories` WRITE;
|
||
/*!40000 ALTER TABLE `document_categories` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `document_categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `document_comments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `document_comments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `document_comments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`document_id` bigint unsigned NOT NULL,
|
||
`user_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`comment` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace_id` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `document_comments`
|
||
--
|
||
|
||
LOCK TABLES `document_comments` WRITE;
|
||
/*!40000 ALTER TABLE `document_comments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `document_comments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `document_notes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `document_notes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `document_notes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`document_id` bigint unsigned NOT NULL,
|
||
`user_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`note` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace_id` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `document_notes`
|
||
--
|
||
|
||
LOCK TABLES `document_notes` WRITE;
|
||
/*!40000 ALTER TABLE `document_notes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `document_notes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `documents_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `documents_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `documents_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace_id` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `documents_types`
|
||
--
|
||
|
||
LOCK TABLES `documents_types` WRITE;
|
||
/*!40000 ALTER TABLE `documents_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `documents_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `driver_attechments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `driver_attechments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `driver_attechments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`driver_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_size` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `driver_attechments`
|
||
--
|
||
|
||
LOCK TABLES `driver_attechments` WRITE;
|
||
/*!40000 ALTER TABLE `driver_attechments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `driver_attechments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `drivers`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `drivers`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `drivers` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` int NOT NULL,
|
||
`select_driver_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`password` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`lincese_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`lincese_type` int DEFAULT NULL,
|
||
`expiry_date` date DEFAULT NULL,
|
||
`join_date` date DEFAULT NULL,
|
||
`address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`dob` date DEFAULT NULL,
|
||
`Working_time` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`driver_status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `drivers`
|
||
--
|
||
|
||
LOCK TABLES `drivers` WRITE;
|
||
/*!40000 ALTER TABLE `drivers` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `drivers` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `email_template_langs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `email_template_langs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `email_template_langs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`parent_id` int NOT NULL DEFAULT '0',
|
||
`lang` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`subject` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`content` text COLLATE utf8mb4_unicode_ci,
|
||
`module_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`variables` json DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=145 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `email_template_langs`
|
||
--
|
||
|
||
LOCK TABLES `email_template_langs` WRITE;
|
||
/*!40000 ALTER TABLE `email_template_langs` DISABLE KEYS */;
|
||
INSERT INTO `email_template_langs` VALUES (1,1,'ar','Login Detail','<p>مرحبا، <br>مرحبا بك في {app_name}.</p><p><b>البريد الإلكتروني </b>: {email}<br><b>كلمه السر</b> : {password}</p><p>{app_url}</p><p>شكر،<br>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(2,1,'da','Login Detail','<p>Hej, <br>Velkommen til {app_name}.</p><p><b>E-mail </b>: {email}<br><b>Adgangskode</b> : {password}</p><p>{app_url}</p><p>Tak,<br>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(3,1,'de','Login Detail','<p>Hallo, <br>Willkommen zu {app_name}.</p><p><b>Email </b>: {email}<br><b>Passwort</b> : {password}</p><p>{app_url}</p><p>Vielen Dank,<br>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(4,1,'en','Login Detail','<p>Hello, <br />Welcome to {app_name}</p>\n <p><strong>Email </strong>: {email}<br /><strong>Password</strong> : {password}</p>\n <p>{app_url}</p>\n <p>Thanks,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(5,1,'es','Login Detail','<p>Hola, <br>Bienvenido a {app_name}.</p><p><b>Correo electrónico </b>: {email}<br><b>Contraseña</b> : {password}</p><p>{app_url}</p><p>Gracias,<br>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(6,1,'fr','Login Detail','<p>Bonjour, <br>Bienvenue à {app_name}.</p><p><b>Email </b>: {email}<br><b>Mot de passe</b> : {password}</p><p>{app_url}</p><p>Merci,<br>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(7,1,'it','Login Detail','<p>Ciao, <br>Benvenuto a {app_name}.</p><p><b>E-mail </b>: {email}<br><b>Parola d\'ordine</b> : {password}</p><p>{app_url}</p><p>Grazie,<br>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(8,1,'ja','Login Detail','<p>こんにちは、 <br>へようこそ {app_name}.</p><p><b>Eメール </b>: {email}<br><b>パスワード</b> : {password}</p><p>{app_url}</p><p>おかげで、<br>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(9,1,'nl','Login Detail','<p>Hallo, <br>Welkom bij {app_name}.</p><p><b>E-mail </b>: {email}<br><b>Wachtwoord</b> : {password}</p><p>{app_url}</p><p>Bedankt,<br>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(10,1,'pl','Login Detail','<p>Witaj, <br>Witamy w {app_name}.</p><p><b>E-mail </b>: {email}<br><b>Hasło</b> : {password}</p><p>{app_url}</p><p>Dzięki,<br>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(11,1,'pt','Login Detail','<p>Olá, Bem-vindo a {app_name}.</p>\n <p>E-mail: {email}</p>\n <p>Senha: {password}</p>\n <p>{app_url}</p>\n <p> </p>\n <p>Obrigado,</p>\n <p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(12,1,'pt-BR','Login Detail','<p>Olá, Bem-vindo a {app_name}.</p>\n <p>E-mail: {email}</p>\n <p>Senha: {password}</p>\n <p>{app_url}</p>\n <p> </p>\n <p>Obrigado,</p>\n <p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(13,1,'ru','Login Detail','<p>Привет, <br>Добро пожаловать в {app_name}.</p><p><b>Электронная почта </b>: {email}<br><b>Пароль</b> : {password}</p><p>{app_url}</p><p>Спасибо,<br>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(14,1,'he','Login Detail','<p>שלום,<br />ברוך הבא אל {app_name}</p><p><strong>אימייל </strong>: {email}<br /><strong>סיסמה</strong> : {password}</p><p>{app_url}</p><p>תודה,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(15,1,'tr','Login Detail','<p>Merhaba,<br />{app_name} uygulamasına hoş geldiniz</p><p><strong>E-posta </strong>: {email}<br /><strong>Şifre</strong> : {password}</p><p>{app_url}</p><p>Teşekkürler,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(16,1,'zh','Login Detail','<p>您好,<br />欢迎使用 {app_name}</p><p><strong>邮箱 </strong>: {email}<br /><strong>密码</strong> : {password}</p><p>{app_url}</p><p>谢谢,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Name\\\": \\\"name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Password\\\": \\\"password\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(17,2,'ar','Customer Invoice Send','<p>مرحبا ، {invoice_name}</p>\n <p>مرحبا بك في {app_name}</p>\n <p>أتمنى أن يجدك هذا البريد الإلكتروني جيدا برجاء الرجوع الى رقم الفاتورة الملحقة {invoice_number} للخدمة / الخدمة.</p>\n <p>ببساطة اضغط على الاختيار بأسفل.</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">تحميل فاتورة</strong> </a></span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">دفع الفاتورة</strong> </a></span></p>\n <p>إشعر بالحرية للوصول إلى الخارج إذا عندك أي أسئلة.</p>\n <p>شكرا لك</p>\n <p> </p>\n <p>Regards,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(18,2,'da','Customer Invoice Send','<p>Hej, {invoice_name}</p>\n <p>Velkommen til {app_name}</p>\n <p>Håber denne e-mail finder dig godt! Se vedlagte fakturanummer {invoice_number} for product/service.</p>\n <p>Klik på knappen nedenfor.</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Download faktura</strong> </a></span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Betal faktura</strong> </a></span></p>\n <p>Du er velkommen til at række ud, hvis du har nogen spørgsmål.</p>\n <p>Tak.</p>\n <p> </p>\n <p>Med venlig hilsen</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(19,2,'de','Customer Invoice Send','<p>Hi, {invoice_name}</p>\n <p>Willkommen bei {app_name}</p>\n <p>Hoffe, diese E-Mail findet dich gut! Bitte beachten Sie die beigefügte Rechnungsnummer {invoice_number} für Produkt/Service.</p>\n <p>Klicken Sie einfach auf den Button unten.</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Download Rechnung</strong> </a></span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Rechnung bezahlen</strong> </a></span></p>\n <p>Fühlen Sie sich frei, wenn Sie Fragen haben.</p>\n <p>Vielen Dank,</p>\n <p> </p>\n <p>Betrachtet,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n ',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(20,2,'en','Customer Invoice Send','<p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Hi, {invoice_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Welcome to {app_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Hope this email finds you well! Please see attached invoice number {invoice_number} for product/service.</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Simply click on the button below.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Download Invoice</strong> </a></span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Pay Invoice</strong> </a></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Feel free to reach out if you have any questions.</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Thank You,</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Regards,</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">{company_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(21,2,'es','Customer Invoice Send','<p>Hi, {invoice_name}</p>\n <p> </p>\n <p>Bienvenido a {app_name}</p>+\n <p> </p>\n <p>¡Espero que este email le encuentre bien! Consulte el número de factura adjunto {invoice_number} para el producto/servicio.</p>\n <p> </p>\n <p>Simplemente haga clic en el botón de abajo.</p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Descargar factura</strong> </a></span></p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Factura de pago</strong> </a></span></p>\n <p> </p>\n <p>Siéntase libre de llegar si usted tiene alguna pregunta.</p>\n <p> </p>\n <p>Gracias,</p>\n <p> </p>\n <p>Considerando,</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(22,2,'fr','Customer Invoice Send','<p>Bonjour, {invoice_name}</p>\n <p> </p>\n <p>Bienvenue dans {app_name}</p>\n <p> </p>\n <p>Jespère que ce courriel vous trouve bien ! Voir le numéro de facture {invoice_number} pour le produit/service.</p>\n <p> </p>\n <p>Cliquez simplement sur le bouton ci-dessous.</p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Télécharger la facture</strong> </a></span></p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Payer sa commande</strong> </a></span></p>\n <p> </p>\n <p>Nhésitez pas à nous contacter si vous avez des questions.</p>\n <p> </p>\n <p>Merci,</p>\n <p> </p>\n <p>Regards,</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(23,2,'it','Customer Invoice Send','<p>Ciao, {invoice_name}</p>\n <p> </p>\n <p>Benvenuti in {app_name}</p>\n <p> </p>\n <p>Spero che questa email ti trovi bene! Si prega di consultare il numero di fattura collegato {invoice_number} per il prodotto/servizio.</p>\n <p> </p>\n <p>Semplicemente clicca sul pulsante sottostante.</p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Scarica Fattura</strong> </a></span></p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Pagare la fattura</strong> </a></span></p>\n <p> </p>\n <p>Sentiti libero di raggiungere se hai domande.</p>\n <p> </p>\n <p>Grazie,</p>\n <p> </p>\n <p>Riguardo,</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(24,2,'ja','Customer Invoice Send','<p>こんにちは、 {invoice_name}</p>\n <p> </p>\n <p>{app_name} へようこそ</p>\n <p> </p>\n <p>この E メールでよくご確認ください。 製品 / サービスについては、添付された請求書番号 {invoice_number} を参照してください。</p>\n <p> </p>\n <p>以下のボタンをクリックしてください。</p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">請求書のダウンロード</strong> </a></span></p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">請求書の支払い</strong> </a></span></p>\n <p> </p>\n <p>質問がある場合は、自由に連絡してください。</p>\n <p> </p>\n <p>ありがとうございます</p>\n <p> </p>\n <p>よろしく</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(25,2,'nl','Customer Invoice Send','<p>Hallo, {invoice_name}</p>\n <p>Welkom bij {app_name}</p>\n <p>Hoop dat deze e-mail je goed vindt! Zie bijgevoegde factuurnummer {invoice_number} voor product/service.</p>\n <p>Klik gewoon op de knop hieronder.</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Factuur downloaden</strong> </a></span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Betaal factuur</strong> </a></span></p>\n <p>Voel je vrij om uit te reiken als je vragen hebt.</p>\n <p>Dank U,</p>\n <p>Betreft:</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(26,2,'pl','Customer Invoice Send','<p>Witaj, {invoice_name}</p>\n <p> </p>\n <p>Witamy w aplikacji {app_name }</p>\n <p> </p>\n <p>Mam nadzieję, że ta wiadomość znajdzie Cię dobrze! Sprawdź załączoną fakturę numer {invoice_number} dla produktu/usługi.</p>\n <p> </p>\n <p>Wystarczy kliknąć na przycisk poniżej.</p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Pobierz fakturę</strong> </a></span></p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Zapłać fakturę</strong> </a></span></p>\n <p> </p>\n <p>Czuj się swobodnie, jeśli masz jakieś pytania.</p>\n <p> </p>\n <p>Dziękuję,</p>\n <p> </p>\n <p>W odniesieniu do</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(27,2,'ru','Customer Invoice Send','<p>Привет, {invoice_name}</p>\n <p> </p>\n <p>Вас приветствует {app_name}</p>\n <p> </p>\n <p>Надеюсь, это электронное письмо найдет вас хорошо! См. вложенный номер счета-фактуры {invoice_number} для производства/услуги.</p>\n <p> </p>\n <p>Просто нажмите на кнопку внизу.</p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Скачать счет</strong> </a></span></p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Оплатить счет</strong> </a></span></p>\n <p> </p>\n <p>Не стеснитесь, если у вас есть вопросы.</p>\n <p> </p>\n <p>Спасибо.</p>\n <p> </p>\n <p>С уважением,</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(28,2,'pt','Customer Invoice Send','<p>Oi, {invoice_name}</p>\n <p> </p>\n <p>Bem-vindo a {app_name}</p>\n <p> </p>\n <p>Espero que este e-mail encontre você bem! Por favor, consulte o número da fatura anexa {invoice_number} para produto/serviço.</p>\n <p> </p>\n <p>Basta clicar no botão abaixo.</p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Baixe o Invoice</strong> </a></span></p>\n <p> </p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Fatura de pagamento</strong> </a></span></p>\n <p> </p>\n <p>Sinta-se à vontade para alcançar fora se você tiver alguma dúvida.</p>\n <p> </p>\n <p>Obrigado,</p>\n <p> </p>\n <p>Considera,</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(29,2,'pt-BR','Customer Invoice Send','<p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Olá, {invoice_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Bem-vindo(a) ao {app_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Espero que este e-mail o(a) encontre bem! Em anexo, você encontrará a fatura número {invoice_number} referente ao produto/serviço.</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Basta clicar no botão abaixo.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Baixar Fatura</strong> </a></span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Pagar Fatura</strong> </a></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Se tiver alguma dúvida, não hesite em entrar em contato.</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Obrigado,</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">Atenciosamente,</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">{company_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: common-ligatures; background-color: #f8f8f8;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(30,2,'he','Customer Invoice Send','<p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">שלום, {invoice_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">ברוך הבא ל-{app_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">אני מקווה שהאימייל הזה מוצא אותך בטוב! מצורפת חשבונית מספר {invoice_number} עבור המוצר/השירות.</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">פשוט לחץ על הכפתור למטה.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; text-decoration: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: white; font-weight: bold;\">הורד חשבונית</strong></a></span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; text-decoration: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: white; font-weight: bold;\">שלם חשבונית</strong></a></span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">אל תהסס לפנות אם יש לך שאלות.</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">תודה,</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">בברכה,</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">{company_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(31,2,'tr','Customer Invoice Send','<p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">Merhaba, {invoice_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">{app_name}’e hoş geldiniz</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">Umarım bu e-posta sizi iyi bulur! {invoice_number} numaralı fatura ürün/hizmet için ektedir.</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">Aşağıdaki butona tıklamanız yeterlidir.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; text-decoration: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: white; font-weight: bold;\">Faturayı İndir</strong></a></span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; text-decoration: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: white; font-weight: bold;\">Faturayı Öde</strong></a></span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">Herhangi bir sorunuz olursa bizimle iletişime geçmekten çekinmeyin.</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">Teşekkürler,</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">Saygılarımızla,</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">{company_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(32,2,'zh','Customer Invoice Send','<p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">您好,{invoice_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">欢迎使用 {app_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">希望您一切安好!随信附上编号为 {invoice_number} 的发票(产品/服务)。</span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif; font-size: 15px; background-color: #f8f8f8;\">请点击下面的按钮。</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; text-decoration: none;\" href=\"{invoice_url}\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: white; font-weight: bold;\">下载发票</strong></a></span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; text-decoration: none;\" href=\"{pay_invoice_url}\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: white; font-weight: bold;\">支付发票</strong></a></span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">如有任何问题,请随时联系我们。</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">谢谢!</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">此致敬礼,</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">{company_name}</span></p>\n <p><span style=\"color: #1d1c1d; font-size: 15px; background-color: #f8f8f8;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Invoice Name\\\": \\\"invoice_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Download Invoice \\\": \\\"invoice_url\\\",\\n \\\"Pay Invoice\\\" : \\\"pay_invoice_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(33,3,'ar','Payment Reminder','<p>عزيزي ، {payment_name}</p>\n <p>آمل أن تكون بخير. هذا مجرد تذكير بأن الدفع على الفاتورة {invoice_number} الاجمالي {payment_dueAmount} ، والتي قمنا بارسالها على {payment_date} مستحق اليوم.</p>\n <p>يمكنك دفع مبلغ لحساب البنك المحدد على الفاتورة.</p>\n <p>أنا متأكد أنت مشغول ، لكني أقدر إذا أنت يمكن أن تأخذ a لحظة ونظرة على الفاتورة عندما تحصل على فرصة.</p>\n <p>إذا كان لديك أي سؤال مهما يكن ، يرجى الرد وسأكون سعيدا لتوضيحها.</p>\n <p> </p>\n <p>شكرا </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(34,3,'da','Payment Reminder','<p>Kære, {payment_name}</p>\n <p>Dette er blot en påmindelse om, at betaling på faktura {invoice_number} i alt {payment_dueAmount}, som vi sendte til {payment_date}, er forfalden i dag.</p>\n <p>Du kan foretage betalinger til den bankkonto, der er angivet på fakturaen.</p>\n <p>Jeg er sikker på du har travlt, men jeg ville sætte pris på, hvis du kunne tage et øjeblik og se på fakturaen, når du får en chance.</p>\n <p>Hvis De har nogen spørgsmål, så svar venligst, og jeg vil med glæde tydeliggøre dem.</p>\n <p> </p>\n <p>Tak. </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(35,3,'de','Payment Reminder','<p>Sehr geehrte/r, {payment_name}</p>\n <p>Ich hoffe, Sie sind gut. Dies ist nur eine Erinnerung, dass die Zahlung auf Rechnung {invoice_number} total {payment_dueAmount}, die wir gesendet am {payment_date} ist heute fällig.</p>\n <p>Sie können die Zahlung auf das auf der Rechnung angegebene Bankkonto vornehmen.</p>\n <p>Ich bin sicher, Sie sind beschäftigt, aber ich würde es begrüßen, wenn Sie einen Moment nehmen und über die Rechnung schauen könnten, wenn Sie eine Chance bekommen.</p>\n <p>Wenn Sie irgendwelche Fragen haben, antworten Sie bitte und ich würde mich freuen, sie zu klären.</p>\n <p> </p>\n <p>Danke, </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(36,3,'en','Payment Reminder','<p>Dear, {payment_name}</p>\n <p>I hope you’re well.This is just a reminder that payment on invoice {invoice_number} total dueAmount {payment_dueAmount} , which we sent on {payment_date} is due today.</p>\n <p>You can make payment to the bank account specified on the invoice.</p>\n <p>I’m sure you’re busy, but I’d appreciate if you could take a moment and look over the invoice when you get a chance.</p>\n <p>If you have any questions whatever, please reply and I’d be happy to clarify them.</p>\n <p> </p>\n <p>Thanks, </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(37,3,'es','Payment Reminder','<p>Estimado, {payment_name}</p>\n <p>Espero que estés bien. Esto es sólo un recordatorio de que el pago en la factura {invoice_number} total {payment_dueAmount}, que enviamos en {payment_date} se vence hoy.</p>\n <p>Puede realizar el pago a la cuenta bancaria especificada en la factura.</p>\n <p>Estoy seguro de que estás ocupado, pero agradecería si podrías tomar un momento y mirar sobre la factura cuando tienes una oportunidad.</p>\n <p>Si tiene alguna pregunta, por favor responda y me gustaría aclararlas.</p>\n <p> </p>\n <p>Gracias, </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(38,3,'fr','Payment Reminder','<p>Cher, {payment_name}</p>\n <p>Jespère que vous êtes bien, ce nest quun rappel que le paiement sur facture {invoice_number}total {payment_dueAmount}, que nous avons envoyé le {payment_date} est dû aujourdhui.</p>\n <p>Vous pouvez effectuer le paiement sur le compte bancaire indiqué sur la facture.</p>\n <p>Je suis sûr que vous êtes occupé, mais je vous serais reconnaissant de prendre un moment et de regarder la facture quand vous aurez une chance.</p>\n <p>Si vous avez des questions, veuillez répondre et je serais heureux de les clarifier.</p>\n <p> </p>\n <p>Merci, </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(39,3,'it','Payment Reminder','<p>Caro, {payment_name}</p>\n <p>Spero che tu stia bene, questo è solo un promemoria che il pagamento sulla fattura {invoice_number} totale {payment_dueAmount}, che abbiamo inviato su {payment_date} è dovuto oggi.</p>\n <p>È possibile effettuare il pagamento al conto bancario specificato sulla fattura.</p>\n <p>Sono sicuro che sei impegnato, ma apprezzerei se potessi prenderti un momento e guardare la fattura quando avrai una chance.</p>\n <p>Se avete domande qualunque, vi prego di rispondere e sarei felice di chiarirle.</p>\n <p> </p>\n <p>Grazie, </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(40,3,'ja','Payment Reminder','<p>ID、 {payment_name}</p>\n <p>これは、 {payment_dueAmount} の合計 {payment_dueAmount} に対する支払いが今日予定されていることを思い出させていただきたいと思います。</p>\n <p>請求書に記載されている銀行口座に対して支払いを行うことができます。</p>\n <p>お忙しいのは確かですが、機会があれば、少し時間をかけてインボイスを見渡すことができればありがたいのですが。</p>\n <p>何か聞きたいことがあるなら、お返事をお願いしますが、喜んでお答えします。</p>\n <p> </p>\n <p>ありがとう。 </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(41,3,'nl','Payment Reminder','<p>Geachte, {payment_name}</p>\n <p>Ik hoop dat u goed bent. Dit is gewoon een herinnering dat betaling op factuur {invoice_number} totaal {payment_dueAmount}, die we verzonden op {payment_date} is vandaag verschuldigd.</p>\n <p>U kunt betaling doen aan de bankrekening op de factuur.</p>\n <p>Ik weet zeker dat je het druk hebt, maar ik zou het op prijs stellen als je even over de factuur kon kijken als je een kans krijgt.</p>\n <p>Als u vragen hebt, beantwoord dan uw antwoord en ik wil ze graag verduidelijken.</p>\n <p> </p>\n <p>Bedankt. </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(42,3,'pl','Payment Reminder','<p>Drogi, {payment_name}</p>\n <p>Mam nadzieję, że jesteś dobrze. To jest tylko przypomnienie, że płatność na fakturze {invoice_number} total {payment_dueAmount}, które wysłaliśmy na {payment_date} jest dzisiaj.</p>\n <p>Płatność można dokonać na rachunek bankowy podany na fakturze.</p>\n <p>Jestem pewien, że jesteś zajęty, ale byłbym wdzięczny, gdybyś mógł wziąć chwilę i spojrzeć na fakturę, kiedy masz szansę.</p>\n <p>Jeśli masz jakieś pytania, proszę o odpowiedź, a ja chętnie je wyjaśniam.</p>\n <p> </p>\n <p>Dziękuję, </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(43,3,'ru','Payment Reminder','<p>Уважаемый, {payment_name}</p>\n <p>Я надеюсь, что вы хорошо. Это просто напоминание о том, что оплата по счету {invoice_number} всего {payment_dueAmount}, которое мы отправили в {payment_date}, сегодня.</p>\n <p>Вы можете произвести платеж на банковский счет, указанный в счете-фактуре.</p>\n <p>Я уверена, что ты занята, но я была бы признательна, если бы ты смог бы поглядеться на счет, когда у тебя появится шанс.</p>\n <p>Если у вас есть вопросы, пожалуйста, ответьте, и я буду рад их прояснить.</p>\n <p> </p>\n <p>Спасибо. </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(44,3,'pt','Payment Reminder','<p>Querido, {payment_name}</p>\n <p>Espero que você esteja bem. Este é apenas um lembrete de que o pagamento na fatura {invoice_number} total {payment_dueAmount}, que enviamos em {payment_date} é devido hoje.</p>\n <p>Você pode fazer o pagamento à conta bancária especificada na fatura.</p>\n <p>Eu tenho certeza que você está ocupado, mas eu agradeceria se você pudesse tirar um momento e olhar sobre a fatura quando tiver uma chance.</p>\n <p>Se você tiver alguma dúvida o que for, por favor, responda e eu ficaria feliz em esclarecê-las.</p>\n <p> </p>\n <p>Obrigado, </p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(45,3,'pt-BR','Payment Reminder','<p>Prezado(a), {payment_name}</p>\n <p>Espero que esteja bem. Este é apenas um lembrete de que o pagamento da fatura {invoice_number}, no valor total de {payment_dueAmount}, que enviamos em {payment_date}, vence hoje.</p>\n <p>Você pode efetuar o pagamento na conta bancária especificada na fatura.</p>\n <p>Tenho certeza de que você está ocupado(a), mas agradeceria se pudesse reservar um momento para revisar a fatura assim que tiver oportunidade.</p>\n <p>Se tiver alguma dúvida, por favor responda a este e-mail e terei prazer em esclarecê-las.</p>\n <p> </p>\n <p>Obrigado,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(46,3,'he','Payment Reminder','<p>יקר/ה, {payment_name}</p>\n <p>אני מקווה שהכול בסדר אצלך. זהו רק תזכורת שהתשלום על חשבונית {invoice_number}, בסכום כולל של {payment_dueAmount}, שנשלחה בתאריך {payment_date}, חל היום.</p>\n <p>באפשרותך לבצע את התשלום לחשבון הבנק המצוין בחשבונית.</p>\n <p>אני בטוח/ה שאתה עסוק/ה, אבל אעריך אם תוכל/י להקדיש רגע ולעיין בחשבונית כשיתאפשר לך.</p>\n <p>אם יש לך שאלות כלשהן, אנא השב/י למייל ואשמח להבהיר אותן.</p>\n <p> </p>\n <p>תודה,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(47,3,'tr','Payment Reminder','<p>Sayın {payment_name},</p>\n <p>Umarım iyisinizdir. Bu yalnızca bir hatırlatmadır: {payment_date} tarihinde gönderdiğimiz {invoice_number} numaralı faturanın toplam tutarı {payment_dueAmount} olup, bugün vadesi dolmaktadır.</p>\n <p>Ödemeyi faturada belirtilen banka hesabına yapabilirsiniz.</p>\n <p>Yoğun olduğunuzu biliyorum, ancak fırsat bulduğunuzda faturayı gözden geçirmenizi çok takdir ederim.</p>\n <p>Herhangi bir sorunuz olursa, lütfen bu e-postayı yanıtlayın; memnuniyetle açıklık getireceğim.</p>\n <p> </p>\n <p>Teşekkürler,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(48,3,'zh','Payment Reminder','<p>尊敬的 {payment_name},</p>\n <p>希望您一切顺利。这只是一个提醒:我们于 {payment_date} 发送的编号为 {invoice_number} 的发票,总金额 {payment_dueAmount},今天到期。</p>\n <p>您可以将付款转至发票中指定的银行账户。</p>\n <p>我理解您可能很忙,但如果您有时间,请抽空查看一下发票。</p>\n <p>如果您有任何问题,请随时回复邮件,我将很乐意为您解答。</p>\n <p> </p>\n <p>谢谢,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>\n <p> </p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Due Amount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(49,4,'ar','Invoice Payment Create','<p>مرحبا</p>\n <p>مرحبا بك في {app_name}</p>\n <p>عزيزي {payment_name}</p>\n <p>لقد قمت باستلام المبلغ الخاص بك {payment_amount} لبرنامج {invoice_number} الذي تم تقديمه في التاريخ {payment_date}</p>\n <p>مقدار الاستحقاق {invoice_number} الخاص بك هو {payment_dueAmount}</p>\n <p>ونحن نقدر الدفع الفوري لكم ونتطلع إلى استمرار العمل معكم في المستقبل.</p>\n <p> </p>\n <p>شكرا جزيلا لكم ويوم جيد ! !</p>\n <p> </p>\n <p>Regards,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(50,4,'da','Invoice Payment Create','<p>Hej.</p>\n <p>Velkommen til {app_name}</p>\n <p>Kære {payment_name}</p>\n <p>Vi har modtaget din mængde {payment_amount} betaling for {invoice_number} undert.d. på dato {payment_date}</p>\n <p>Dit {invoice_number} Forfaldsbeløb er {payment_dueAmount}</p>\n <p>Vi sætter pris på din hurtige betaling og ser frem til fortsatte forretninger med dig i fremtiden.</p>\n <p>Mange tak, og ha en god dag!</p>\n <p> </p>\n <p>Med venlig hilsen</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(51,4,'de','Invoice Payment Create','<p>Hi,</p>\n <p>Willkommen bei {app_name}</p>\n <p>Sehr geehrter {payment_name}</p>\n <p>Wir haben Ihre Zahlung {payment_amount} für {invoice_number}, die am Datum {payment_date} übergeben wurde, erhalten.</p>\n <p>Ihr {invoice_number} -fälliger Betrag ist {payment_dueAmount}</p>\n <p>Wir freuen uns über Ihre prompte Bezahlung und freuen uns auf das weitere Geschäft mit Ihnen in der Zukunft.</p>\n <p>Vielen Dank und habe einen guten Tag!!</p>\n <p> </p>\n <p>Betrachtet,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(52,4,'en','Invoice Payment Create','<p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px; font-variant-ligatures: common-ligatures;\">Hi,</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px; font-variant-ligatures: common-ligatures;\">Welcome to {app_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px; font-variant-ligatures: common-ligatures;\">Dear {payment_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px; font-variant-ligatures: common-ligatures;\">We have recieved your amount {payment_amount} payment for {invoice_number} submited on date {payment_date}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px; font-variant-ligatures: common-ligatures;\">Your {invoice_number} Due amount is {payment_dueAmount}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px; font-variant-ligatures: common-ligatures;\">We appreciate your prompt payment and look forward to continued business with you in the future.</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px; font-variant-ligatures: common-ligatures;\">Thank you very much and have a good day!!</span></span></p>\n <p> </p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px; font-variant-ligatures: common-ligatures;\">Regards,</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px; font-variant-ligatures: common-ligatures;\">{company_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px; font-variant-ligatures: common-ligatures;\">{app_url}</span></span></p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(53,4,'es','Invoice Payment Create','<p>Hola,</p>\n <p>Bienvenido a {app_name}</p>\n <p>Estimado {payment_name}</p>\n <p>Hemos recibido su importe {payment_amount} pago para {invoice_number} submitado en la fecha {payment_date}</p>\n <p>El importe de {invoice_number} Due es {payment_dueAmount}</p>\n <p>Agradecemos su pronto pago y esperamos continuar con sus negocios con usted en el futuro.</p>\n <p>Muchas gracias y que tengan un buen día!!</p>\n <p> </p>\n <p>Considerando,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(54,4,'fr','Invoice Payment Create','<p>Salut,</p>\n <p>Bienvenue dans {app_name}</p>\n <p>Cher {payment_name}</p>\n <p>Nous avons reçu votre montant {payment_amount} de paiement pour {invoice_number} soumis le {payment_date}</p>\n <p>Votre {invoice_number} Montant dû est {payment_dueAmount}</p>\n <p>Nous apprécions votre rapidité de paiement et nous attendons avec impatience de poursuivre vos activités avec vous à lavenir.</p>\n <p>Merci beaucoup et avez une bonne journée ! !</p>\n <p> </p>\n <p>Regards,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(55,4,'it','Invoice Payment Create','<p>Ciao,</p>\n <p>Benvenuti in {app_name}</p>\n <p>Caro {payment_name}</p>\n <p>Abbiamo ricevuto la tua quantità {payment_amount} pagamento per {invoice_number} subita alla data {payment_date}</p>\n <p>Il tuo {invoice_number} A somma cifra è {payment_dueAmount}</p>\n <p>Apprezziamo il tuo tempestoso pagamento e non vedo lora di continuare a fare affari con te in futuro.</p>\n <p>Grazie mille e buona giornata!!</p>\n <p> </p>\n <p>Riguardo,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(56,4,'ja','Invoice Payment Create','<p>こんにちは。</p>\n <p>{app_name} へようこそ</p>\n <p>{ payment_name} に出れます</p>\n <p>{ payment_date} 日付で提出された {請求書番号} の支払金額 } の金額を回収しました。 }</p>\n <p>お客様の {請求書番号} 予定額は {payment_dueAmount} です</p>\n <p>お客様の迅速な支払いを評価し、今後も継続してビジネスを継続することを期待しています。</p>\n <p>ありがとうございます。良い日をお願いします。</p>\n <p> </p>\n <p>よろしく</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(57,4,'nl','Invoice Payment Create','<p>Hallo,</p>\n <p>Welkom bij {app_name}</p>\n <p>Beste {payment_name}</p>\n <p>We hebben uw bedrag ontvangen {payment_amount} betaling voor {invoice_number} ingediend op datum {payment_date}</p>\n <p>Uw {invoice_number} verschuldigde bedrag is {payment_dueAmount}</p>\n <p>Wij waarderen uw snelle betaling en kijken uit naar verdere zaken met u in de toekomst.</p>\n <p>Hartelijk dank en hebben een goede dag!!</p>\n <p> </p>\n <p>Betreft:</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(58,4,'pl','Invoice Payment Create','<p>Witam,</p>\n <p>Witamy w aplikacji {app_name }</p>\n <p>Droga {payment_name}</p>\n <p>Odebrano kwotę {payment_amount } płatności za {invoice_number} w dniu {payment_date}, który został zastąpiony przez użytkownika.</p>\n <p>{invoice_number} Kwota należna: {payment_dueAmount}</p>\n <p>Doceniamy Twoją szybką płatność i czekamy na kontynuację działalności gospodarczej z Tobą w przyszłości.</p>\n <p>Dziękuję bardzo i mam dobry dzień!!</p>\n <p> </p>\n <p>W odniesieniu do</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(59,4,'ru','Invoice Payment Create','<p>Привет.</p>\n <p>Вас приветствует {app_name}</p>\n <p>Дорогая {payment_name}</p>\n <p>Мы получили вашу сумму оплаты {payment_amount} для {invoice_number}, подавшей на дату {payment_date}</p>\n <p>Ваша {invoice_number} Должная сумма-{payment_dueAmount}</p>\n <p>Мы ценим вашу своевременную оплату и надеемся на продолжение бизнеса с вами в будущем.</p>\n <p>Большое спасибо и хорошего дня!!</p>\n <p> </p>\n <p>С уважением,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(60,4,'pt','Invoice Payment Create','<p>Oi,</p>\n <p>Bem-vindo a {app_name}</p>\n <p>Querido {payment_name}</p>\n <p>Nós recibimos sua quantia {payment_amount} pagamento para {invoice_number} requisitado na data {payment_date}</p>\n <p>Sua quantia {invoice_number} Due é {payment_dueAmount}</p>\n <p>Agradecemos o seu pronto pagamento e estamos ansiosos para continuarmos os negócios com você no futuro.</p>\n <p>Muito obrigado e tenha um bom dia!!</p>\n <p> </p>\n <p>Considera,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(61,4,'pt-BR','Invoice Payment Create','<p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Olá,</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Bem-vindo(a) ao {app_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Prezado(a) {payment_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Recebemos o seu pagamento de {payment_amount} referente à fatura {invoice_number}, submetida em {payment_date}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">O valor pendente da fatura {invoice_number} é {payment_dueAmount}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Agradecemos o seu pagamento imediato e esperamos continuar a fazer negócios com você no futuro.</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Muito obrigado e tenha um ótimo dia!</span></span></p>\n <p> </p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Atenciosamente,</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">{company_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">{app_url}</span></span></p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(62,4,'he','Invoice Payment Create','<p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">שלום,</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">ברוך הבא ל-{app_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">יקר/ה {payment_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">קיבלנו את התשלום שלך בסך {payment_amount} עבור חשבונית {invoice_number}, שהוגשה בתאריך {payment_date}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">הסכום שנותר לתשלום עבור חשבונית {invoice_number} הוא {payment_dueAmount}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">אנו מעריכים את התשלום המהיר שלך ומצפים להמשך שיתוף פעולה בעתיד.</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">תודה רבה ויום נעים!</span></span></p>\n <p> </p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">בברכה,</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">{company_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">{app_url}</span></span></p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(63,4,'tr','Invoice Payment Create','<p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Merhaba,</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">{app_name}’e hoş geldiniz</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Sayın {payment_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">{payment_date} tarihinde gönderilen {invoice_number} numaralı fatura için {payment_amount} tutarında ödemenizi aldık</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">{invoice_number} numaralı faturanızın kalan tutarı {payment_dueAmount}’dir</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Hızlı ödemeniz için teşekkür eder, gelecekteki iş birliklerimizi sabırsızlıkla bekleriz.</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Çok teşekkür ederiz, iyi günler dileriz!</span></span></p>\n <p> </p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">Saygılarımızla,</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">{company_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">{app_url}</span></span></p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(64,4,'zh','Invoice Payment Create','<p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">您好,</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">欢迎使用 {app_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">尊敬的 {payment_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">我们已收到您于 {payment_date} 提交的编号为 {invoice_number} 的付款,金额为 {payment_amount}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">您在 {invoice_number} 的未付款金额为 {payment_dueAmount}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">感谢您的及时付款,期待未来继续与您合作。</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">非常感谢,祝您有美好的一天!</span></span></p>\n <p> </p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">此致敬礼,</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">{company_name}</span></span></p>\n <p><span style=\"color: #1d1c1d; font-family: Slack-Lato, Slack-Fractions, appleLogo, sans-serif;\"><span style=\"font-size: 15px;\">{app_url}</span></span></p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Invoice Number\\\": \\\"invoice_number\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment dueAmount\\\": \\\"payment_dueAmount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(65,5,'ar','Proposal Send','<p>مرحبا ، {proposal_name}</p>\n <p>أتمنى أن يجدك هذا البريد الإلكتروني جيدا برجاء الرجوع الى رقم الاقتراح المرفق {proposal_number} للمنتج / الخدمة.</p>\n <p>اضغط ببساطة على الاختيار بأسفل</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">عرض</strong> </a></span></p>\n <p>إشعر بالحرية للوصول إلى الخارج إذا عندك أي أسئلة.</p>\n <p>شكرا لعملك ! !</p>\n <p> </p>\n <p>Regards,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(66,5,'da','Proposal Send','<p>Hej, {proposal_name}</p>\n <p>Håber denne e-mail finder dig godt! Se det vedhæftede forslag nummer {proposal_number} for product/service.</p>\n <p>klik bare på knappen nedenfor</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Forslag</strong> </a></span></p>\n <p>Du er velkommen til at række ud, hvis du har nogen spørgsmål.</p>\n <p>Tak for din virksomhed!</p>\n <p> </p>\n <p>Med venlig hilsen</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(67,5,'de','Proposal Send','<p>Hi, {proposal_name}</p>\n <p>Hoffe, diese E-Mail findet dich gut! Bitte sehen Sie die angehängte Vorschlagsnummer {proposal_number} für Produkt/Service an.</p>\n <p>Klicken Sie einfach auf den Button unten</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Vorschlag</strong> </a></span></p>\n <p>Fühlen Sie sich frei, wenn Sie Fragen haben.</p>\n <p>Vielen Dank für Ihr Unternehmen!!</p>\n <p> </p>\n <p>Betrachtet,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(68,5,'en','Proposal Send','<p>Hi, {proposal_name}</p>\n <p>Hope this email finds you well! Please see attached proposal number {proposal_number} for product/service.</p>\n <p>simply click on the button below</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Proposal</strong> </a></span></p>\n <p>Feel free to reach out if you have any questions.</p>\n <p>Thank you for your business!!</p>\n <p> </p>\n <p>Regards,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(69,5,'es','Proposal Send','<p>Hi, {proposal_name}</p>\n <p>¡Espero que este email le encuentre bien! Consulte el número de propuesta adjunto {proposal_number} para el producto/servicio.</p>\n <p>simplemente haga clic en el botón de abajo</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Propuesta</strong> </a></span></p>\n <p>Siéntase libre de llegar si usted tiene alguna pregunta.</p>\n <p>¡Gracias por su negocio!!</p>\n <p> </p>\n <p>Considerando,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(70,5,'fr','Proposal Send','<p>Salut, {proposal_name}</p>\n <p>Jespère que ce courriel vous trouve bien ! Veuillez consulter le numéro de la proposition jointe {proposal_number} pour le produit/service.</p>\n <p>Il suffit de cliquer sur le bouton ci-dessous</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Proposition</strong> </a></span></p>\n <p>Nhésitez pas à nous contacter si vous avez des questions.</p>\n <p>Merci pour votre entreprise ! !</p>\n <p> </p>\n <p>Regards,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(71,5,'it','Proposal Send','<p>Ciao, {proposal_name}</p>\n <p>Spero che questa email ti trovi bene! Si prega di consultare il numero di proposta allegato {proposal_number} per il prodotto/servizio.</p>\n <p>semplicemente clicca sul pulsante sottostante</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Proposta</strong> </a></span></p>\n <p>Sentiti libero di raggiungere se hai domande.</p>\n <p>Grazie per il tuo business!!</p>\n <p> </p>\n <p>Riguardo,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(72,5,'ja','Proposal Send','<p>こんにちは、 {proposal_name}</p>\n <p>この E メールでよくご確認ください。 製品 / サービスの添付されたプロポーザル番号 {proposal_number} を参照してください。</p>\n <p>下のボタンをクリックするだけで</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">提案</strong> </a></span></p>\n <p>質問がある場合は、自由に連絡してください。</p>\n <p>お客様のビジネスに感謝します。</p>\n <p> </p>\n <p>よろしく</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(73,5,'nl','Proposal Send','<p>Hallo, {proposal_name}</p>\n <p>Hoop dat deze e-mail je goed vindt! Zie bijgevoegde nummer {proposal_number} voor product/service.</p>\n <p>gewoon klikken op de knop hieronder</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Voorstel</strong> </a></span></p>\n <p>Voel je vrij om uit te reiken als je vragen hebt.</p>\n <p>Dank u voor uw bedrijf!!</p>\n <p> </p>\n <p>Betreft:</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(74,5,'pl','Proposal Send','<p>Witaj, {proposal_name}</p>\n <p>Mam nadzieję, że ta wiadomość znajdzie Cię dobrze! Proszę zapoznać się z załączonym numerem wniosku {proposal_number} dla produktu/usługi.</p>\n <p>po prostu kliknij na przycisk poniżej</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Wniosek</strong> </a></span></p>\n <p>Czuj się swobodnie, jeśli masz jakieś pytania.</p>\n <p>Dziękujemy za prowadzenie działalności!!</p>\n <p> </p>\n <p>W odniesieniu do</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(75,5,'ru','Proposal Send','<p>Здравствуйте, {proposal_name}</p>\n <p>Надеюсь, это электронное письмо найдет вас хорошо! См. вложенное предложение номер {proposal_number} для product/service.</p>\n <p>просто нажмите на кнопку внизу</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Предложение</strong> </a></span></p>\n <p>Не стеснитесь, если у вас есть вопросы.</p>\n <p>Спасибо за ваше дело!</p>\n <p> </p>\n <p>С уважением,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(76,5,'pt','Proposal Send','<p>Oi, {proposal_name}</p>\n <p>Espero que este e-mail encontre você bem! Por favor, consulte o número da proposta anexada {proposal_number} para produto/serviço.</p>\n <p>basta clicar no botão abaixo</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Proposta</strong> </a></span></p>\n <p>Sinta-se à vontade para alcançar fora se você tiver alguma dúvida.</p>\n <p>Obrigado pelo seu negócio!!</p>\n <p> </p>\n <p>Considera,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(77,5,'pt-BR','Proposal Send','<p>Olá, {proposal_name}</p>\n <p>Espero que este e-mail o encontre bem! Em anexo está a proposta número {proposal_number} para o produto/serviço.</p>\n <p>Simplesmente clique no botão abaixo</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Proposta</strong> </a></span></p>\n <p>Fique à vontade para entrar em contato se tiver alguma dúvida.</p>\n <p>Obrigado pelo seu negócio!!</p>\n <p> </p>\n <p>Atenciosamente,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(78,5,'he','Proposal Send','<p>שלום, {proposal_name}</p>\n <p>אני מקווה שמייל זה מוצא אותך בטוב! מצורפת הצעת מחיר מספר {proposal_number} עבור מוצר/שירות.</p>\n <p>פשוט לחץ על הכפתור למטה</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">הצעה</strong> </a></span></p>\n <p>אל תהסס לפנות אלינו אם יש לך שאלות.</p>\n <p>תודה על העסק שלך!!</p>\n <p> </p>\n <p>בברכה,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(79,5,'tr','Proposal Send','<p>Merhaba, {proposal_name}</p>\n <p>Umarım bu e-posta sizi iyi bulur! {proposal_number} numaralı teklif ürün/hizmet için ekte yer almaktadır.</p>\n <p>Aşağıdaki butona tıklamanız yeterlidir</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Teklif</strong> </a></span></p>\n <p>Herhangi bir sorunuz olursa bizimle iletişime geçmekten çekinmeyin.</p>\n <p>İşiniz için teşekkür ederiz!!</p>\n <p> </p>\n <p>Saygılarımızla,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(80,5,'zh','Proposal Send','<p>您好, {proposal_name}</p>\n <p>希望您一切顺利!随信附上编号为 {proposal_number} 的产品/服务提案。</p>\n <p>只需点击下面的按钮</p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{proposal_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">提案</strong> </a></span></p>\n <p>如有任何问题,请随时与我们联系。</p>\n <p>感谢您的合作!!</p>\n <p> </p>\n <p>此致,</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"proposal Name\\\": \\\"proposal_name\\\",\\n \\\"proposal Number\\\": \\\"proposal_number\\\",\\n \\\"proposal Url\\\": \\\"proposal_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(81,6,'ar','New Helpdesk Ticket','<p>مرحبا بك<br />الى {app_name}</p>\n <p><strong>البريد الالكتروني : { email } </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>كود بطاقة طلب الخدمة: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">تحقق من صلاحية</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Thanks,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(82,6,'da','New Helpdesk Ticket','<p>Velkommen<br />to {app_name}</p>\n <p><strong>E-mail : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>Ticket ID: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Validerer din</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Tak,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(83,6,'de','New Helpdesk Ticket','<p>Begrüßung<br />to {app_name}</p>\n <p><strong>Email : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>Ticket ID: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Überprüfen von</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Vielen Dank,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(84,6,'en','New Helpdesk Ticket','<p>Welcome<br />to {app_name}</p>\n <p><strong>Email : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>Ticket ID: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Validating your</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Thanks,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(85,6,'es','New Helpdesk Ticket','<p>Bienvenido<br />to {app_name}</p>\n <p><strong>Correo electrónico : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>ID de ticket: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Validación de la</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Gracias,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(86,6,'fr','New Helpdesk Ticket','<p>Bienvenue<br />to {app_name}</p>\n <p><strong>Courrier électronique : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>ID de ticket: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Validation de votre</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Merci,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(87,6,'it','New Helpdesk Ticket','<p>Benvenuto<br />to {app_name}</p>\n <p><strong>Email : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>ID ticket: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Convalida del tuo</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Grazie,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(88,6,'ja','New Helpdesk Ticket','<p>ようこそ<br />to {app_name}</p>\n <p><strong>E メール: {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>チケット ID: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">検証しています</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>ありがと,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(89,6,'nl','New Helpdesk Ticket','<p>Welkom<br />to {app_name}</p>\n <p><strong>E-mail : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>Ticket-ID: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Bezig met valideren van uw</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Bedankt,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(90,6,'pl','New Helpdesk Ticket','<p>Powitanie<br />to {app_name}</p>\n <p><strong>Adres e-mail : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>Id. zgłoszenia: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Sprawdzanie poprawności</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Dziękujemy,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(91,6,'ru','New Helpdesk Ticket','<p>Приветствие<br />to {app_name}</p>\n <p><strong>Электронная почта : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>ID паспорта: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Проверка правильности</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Спасибо,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(92,6,'pt','New Helpdesk Ticket','<p>Bem-vindo<br />to {app_name}</p>\n <p><strong>E-mail : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>ID do chamado: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Validando seu</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Obrigado,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(93,6,'tr','New Helpdesk Ticket','<p>Hoş geldiniz<br />{app_name}\'e</p>\n <p><strong>E-posta : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>Bilet ID: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Doğruluyorsunuz</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Teşekkürler,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(94,6,'pt-BR','New Helpdesk Ticket','<p>Bem-vindo<br />ao {app_name}</p>\n <p><strong>Email : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>ID do Ticket: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Validando seu</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>Obrigado,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(95,6,'he','New Helpdesk Ticket','<p>ברוך הבא<br />ל-{app_name}</p>\n <p><strong>אימייל : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>מספר כרטיס: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">מאמת את שלך</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>תודה,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(96,6,'zh','New Helpdesk Ticket','<p>欢迎<br />来到 {app_name}</p>\n <p><strong>邮箱 : {email} </strong><strong><br /><strong><strong>\n <p><strong><strong><strong> </strong>工单编号: {ticket_id}<br />\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{ticket_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">正在验证您的</strong> </a></span></p>\n </strong> </a></span></span></p>\n <p>{app_url}</p>\n <p>谢谢,<br />{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\": \\\"ticket_name\\\",\\n \\\"Email\\\": \\\"email\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Password\\\": \\\"password\\\",\\n \\\"Ticket Url\\\": \\\"ticket_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(97,7,'ar','Helpdesk Ticket Reply','<p>مرحبا ، مرحبا بك في {app_name}.</p><p> </p><p>{ ticket_name }</p><p>{ ticket_id }</p><p> </p><p>الوصف : { reply_description }</p><p> </p><p>شكرا</p><p>{company_name}</p></p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(98,7,'da','Helpdesk Ticket Reply','<p>Hej, velkommen til {app_name}.</p><p> </p><p>{ ticket_name }</p><p>{ ticket_id }</p><p> </p><p>Beskrivelse: { reply_description }</p><p> </p><p>Tak.</p><p>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(99,7,'de','Helpdesk Ticket Reply','<p>Hallo, Willkommen bei {app_name}.</p><p> </p><p>{ticketname}</p><p>{ticket_id}</p><p> </p><p>Beschreibung: {reply_description}</p><p> </p><p>Danke,</p><p>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(100,7,'en','Helpdesk Ticket Reply','<p>Hello, <br />Welcome to {app_name}.</p><p>{ticket_name}</p><p>{ticket_id}</p><p><strong>Description</strong> : {reply_description}</p><p>Thanks,<br />{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(101,7,'es','Helpdesk Ticket Reply','<p>Hola, Bienvenido a {app_name}.</p><p> </p><p>{ticket_name}</p><p>{ticket_id}</p><p> </p><p>Descripción: {reply_description}</p><p> </p><p>Gracias,</p><p>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(102,7,'fr','Helpdesk Ticket Reply','<p>Hola, Bienvenido a {app_name}.</p><p> </p><p>{ticket_name}</p><p>{ticket_id}</p><p> </p><p>Descripción: {reply_description}</p><p> </p><p>Gracias,</p><p>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(103,7,'it','Helpdesk Ticket Reply','<p>Ciao, Benvenuti in {app_name}.</p><p> </p><p>{ticket_name}</p><p>{ticket_id}</p><p> </p><p>Descrizione: {reply_description}</p><p> </p><p>Grazie,</p><p>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(104,7,'ja','Helpdesk Ticket Reply','<p>こんにちは、 {app_name}へようこそ。</p><p> </p><p>{ticket_name}</p><p>{ticket_id}</p><p> </p><p>説明 : {reply_description}</p><p> </p><p>ありがとう。</p><p>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(105,7,'nl','Helpdesk Ticket Reply','<p>Hallo, Welkom bij {app_name}.</p><p> </p><p>{ ticket_name }</p><p>{ ticket_id }</p><p> </p><p>Beschrijving: { reply_description }</p><p> </p><p>Bedankt.</p><p>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(106,7,'pl','Helpdesk Ticket Reply','<p>Witaj, Witamy w aplikacji {app_name }.</p><p> </p><p>{ticket_name }</p><p>{ticket_id }</p><p> </p><p>Opis: {reply_description }</p><p> </p><p>Dziękuję,</p><p>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(107,7,'ru','Helpdesk Ticket Reply','<p>Здравствуйте, Добро пожаловать в {app_name}.</p><p> </p><p>Witaj, Witamy w aplikacji {app_name }.</p><p> </p><p>{ticket_name }</p><p>{ticket_id }</p><p> </p><p>Opis: {reply_description }</p><p> </p><p>Dziękuję,</p><p>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(108,7,'pt','Helpdesk Ticket Reply','<p>Olá, Bem-vindo a {app_name}.</p><p> </p><p>{ticket_name}</p><p>{ticket_id}</p><p> </p><p>Descrição: {reply_description}</p><p> </p><p>Obrigado,</p><p>{company_name}</p><p>{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(109,7,'tr','Helpdesk Ticket Reply','<p>Merhaba, <br />{app_name}\'e hoş geldiniz.</p><p>{ticket_name}</p><p>{ticket_id}</p><p><strong>Açıklama</strong> : {reply_description}</p><p>Teşekkürler,<br />{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(110,7,'pt-BR','Helpdesk Ticket Reply','<p>Olá, <br />Bem-vindo ao {app_name}.</p><p>{ticket_name}</p><p>{ticket_id}</p><p><strong>Descrição</strong> : {reply_description}</p><p>Obrigado,<br />{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(111,7,'he','Helpdesk Ticket Reply','<p>שלום, <br />ברוך הבא ל-{app_name}.</p><p>{ticket_name}</p><p>{ticket_id}</p><p><strong>תיאור</strong> : {reply_description}</p><p>תודה,<br />{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(112,7,'zh','Helpdesk Ticket Reply','<p>您好, <br />欢迎来到 {app_name}。</p><p>{ticket_name}</p><p>{ticket_id}</p><p><strong>描述</strong> : {reply_description}</p><p>谢谢,<br />{app_name}</p>',NULL,'\"{\\n \\\"App Name\\\" : \\\"app_name\\\",\\n \\\"Company Name\\\" : \\\"company_name\\\",\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"Ticket Name\\\" : \\\"ticket_name\\\",\\n \\\"Ticket Id\\\" : \\\"ticket_id\\\",\\n \\\"Ticket Description\\\" : \\\"reply_description\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(113,8,'ar','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">مرحبا ، {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">مرحبا بك في {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">أتمنى أن يجدك هذا البريد الإلكتروني جيدا ! ! برجاء الرجوع الى رقم الفاتورة الملحقة {purchase_number} للحصول على المنتج / الخدمة.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">ببساطة اضغط على الاختيار بأسفل.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">عملية الشراء</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">إشعر بالحرية للوصول إلى الخارج إذا عندك أي أسئلة.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">شكرا لك</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Regards,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(114,8,'da','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Hej, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Velkommen til {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Håber denne e-mail finder dig godt! Se vedlagte fakturanummer {purchase_number} for product/service.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Klik på knappen nedenfor.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">køb</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Du er velkommen til at række ud, hvis du har nogen spørgsmål.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Tak.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Med venlig hilsen</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(115,8,'de','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Hi, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Willkommen bei {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Hoffe, diese E-Mail findet dich gut!! Sehen Sie sich die beigefügte Rechnungsnummer {purchase_number} für Produkt/Service an.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Klicken Sie einfach auf den Button unten.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Kauf</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Fühlen Sie sich frei, wenn Sie Fragen haben.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Vielen Dank,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Betrachtet,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(116,8,'en','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Hi, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Welcome to {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Hope this email finds you well!! Please see attached Purchase number {purchase_number} for product/service.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Simply click on the button below.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">purchase</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Feel free to reach out if you have any questions.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Thank You,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Regards,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(117,8,'es','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Hi, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Bienvenido a {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">¡Espero que este correo te encuentre bien!! Consulte el número de factura adjunto {purchase_number} para el producto/servicio.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Simplemente haga clic en el botón de abajo.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">compra</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Siéntase libre de llegar si usted tiene alguna pregunta.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Gracias,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Considerando,</span></p>\n <p><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(118,8,'fr','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Salut, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Bienvenue dans {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Jespère que ce courriel vous trouve bien ! ! Veuillez consulter le numéro de facture {purchase_number} associé au produit / service.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Cliquez simplement sur le bouton ci-dessous.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Achat</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Nhésitez pas à nous contacter si vous avez des questions.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Merci,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Regards,</span></p>\n <p><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(119,8,'it','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Ciao, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Benvenuti in {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Spero che questa email ti trovi bene!! Si prega di consultare il numero di fattura allegato {purchase_number} per il prodotto/servizio.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Semplicemente clicca sul pulsante sottostante.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">acquisto</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Sentiti libero di raggiungere se hai domande.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Grazie,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Riguardo,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(120,8,'ja','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">こんにちは、 {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_name} へようこそ</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">この E メールによりよく検出されます !! 製品 / サービスの添付された請求番号 {purchase_number} を参照してください。</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">以下のボタンをクリックしてください。</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">購入</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">質問がある場合は、自由に連絡してください。</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">ありがとうございます</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">よろしく</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(121,8,'nl','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Hallo, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Welkom bij {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Hoop dat deze e-mail je goed vindt!! Zie bijgevoegde factuurnummer {purchase_number} voor product/service.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Klik gewoon op de knop hieronder.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Aankoop</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Voel je vrij om uit te reiken als je vragen hebt.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Dank U,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Betreft:</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(122,8,'pl','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Witaj, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Witamy w aplikacji {app_name }</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Mam nadzieję, że ta wiadomość e-mail znajduje Cię dobrze!! Zapoznaj się z załączonym numerem rachunku {purchase_number } dla produktu/usługi.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Wystarczy kliknąć na przycisk poniżej.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">zakup</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Czuj się swobodnie, jeśli masz jakieś pytania.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Dziękuję,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">W odniesieniu do</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(123,8,'ru','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Привет, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Вас приветствует {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Надеюсь, это письмо найдет вас хорошо! См. прилагаемый номер счета {purchase_number} для product/service.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Просто нажмите на кнопку внизу.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">покупка</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Не стеснитесь, если у вас есть вопросы.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Спасибо.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">С уважением,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(124,8,'pt','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Oi, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Bem-vindo a {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Espero que este e-mail encontre você bem!! Por favor, consulte o número de faturamento conectado {purchase_number} para produto/serviço.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Basta clicar no botão abaixo.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">compra</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Sinta-se à vontade para alcançar fora se você tiver alguma dúvida.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Obrigado,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Considera,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(125,8,'pt-BR','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Olá, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Bem-vindo ao {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Espero que este e-mail o encontre bem!! Em anexo está a compra número {purchase_number} para o produto/serviço.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Basta clicar no botão abaixo.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Compra</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Fique à vontade para entrar em contato se tiver alguma dúvida.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Obrigado,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Atenciosamente,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(126,8,'he','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">שלום, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">ברוך הבא ל-{app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">אני מקווה שמייל זה מוצא אותך בטוב!! מצורפת רכישה מספר {purchase_number} עבור מוצר/שירות.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">פשוט לחץ על הכפתור למטה.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">רכישה</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">אל תהסס לפנות אלינו אם יש לך שאלות.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">תודה,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">בברכה,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(127,8,'tr','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Merhaba, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_name}\'e hoş geldiniz</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Umarım bu e-posta sizi iyi bulur!! {purchase_number} numaralı satın alma ürün/hizmet için ekte yer almaktadır.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Aşağıdaki butona tıklamanız yeterlidir.</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">Satın alma</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Herhangi bir sorunuz olursa bizimle iletişime geçmekten çekinmeyin.</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Teşekkürler,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">Saygılarımızla,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(128,8,'zh','Purchase Send','<p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">您好, {purchase_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">欢迎来到 {app_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">希望您一切顺利!! 附件中包含编号为 {purchase_number} 的产品/服务采购单。</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">只需点击下面的按钮。</span></p>\n <p style=\"text-align: center;\" align=\"center\"><span style=\"font-size: 18pt;\"><a style=\"background: #6676ef; color: #ffffff; font-family: \"Open Sans\", Helvetica, Arial, sans-serif; font-weight: normal; line-height: 120%; margin: 0px; text-decoration: none; text-transform: none;\" href=\"{purchase_url}\" target=\"_blank\" rel=\"noopener\"> <strong style=\"color: white; font-weight: bold; text: white;\">采购</strong> </a></span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">如有任何问题,请随时联系我们。</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">谢谢,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">此致,</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{company_name}</span></p>\n <p style=\"line-height: 28px; font-family: Nunito,;\"><span style=\"font-family: sans-serif;\">{app_url}</span></p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Purchase Name\\\": \\\"purchase_name\\\",\\n \\\"Purchase Number\\\": \\\"purchase_number\\\",\\n \\\"purchase_url\\\": \\\"purchase_url\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(129,9,'ar','Purchase Payment Create','<p>مرحبا ، {payment_name}</p>\n <p> </p>\n <p>مرحبا بك في {app_name}</p>\n <p> </p>\n <p>نحن نكتب لإبلاغكم بأننا قد أرسلنا مدفوعات {payment_bill} الخاصة بك.</p>\n <p> </p>\n <p>لقد أرسلنا قيمتك {payment_amount} لأجل {payment_bill} قمت بالاحالة في التاريخ {payment_date} من خلال {payment_method}.</p>\n <p> </p>\n <p>شكرا جزيلا لك وطاب يومك ! !!!</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(130,9,'da','Purchase Payment Create','<p>Hej, {payment_name}</p>\n <p> </p>\n <p>Velkommen til {app_name}</p>\n <p> </p>\n <p>Vi skriver for at informere dig om, at vi har sendt din {payment_bill}-betaling.</p>\n <p> </p>\n <p>Vi har sendt dit beløb {payment_amount} betaling for {payment_bill} undertvist på dato {payment_date} via {payment_method}.</p>\n <p> </p>\n <p>Mange tak, og ha en god dag!</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(131,9,'de','Purchase Payment Create','<p>Hi, {payment_name}</p>\n <p> </p>\n <p>Willkommen bei {app_name}</p>\n <p> </p>\n <p>Wir schreiben Ihnen mitzuteilen, dass wir Ihre Zahlung von {payment_bill} gesendet haben.</p>\n <p> </p>\n <p>Wir haben Ihre Zahlung {payment_amount} Zahlung für {payment_bill} am Datum {payment_date} über {payment_method} gesendet.</p>\n <p> </p>\n <p>Vielen Dank und haben einen guten Tag! !!!</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(132,9,'en','Purchase Payment Create','<p>Hi, {payment_name}</p>\n <p>Welcome to {app_name}</p>\n <p>We are writing to inform you that we has sent your {payment_bill} payment.</p>\n <p>We has sent your amount {payment_amount} payment for {payment_bill} submited on date {payment_date} via {payment_method}.</p>\n <p>Thank You very much and have a good day !!!!</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(133,9,'es','Purchase Payment Create','<p>Hi, {payment_name}</p>\n <p> </p>\n <p>Bienvenido a {app_name}</p>\n <p> </p>\n <p>Estamos escribiendo para informarle que hemos enviado su pago {payment_bill}.</p>\n <p> </p>\n <p>Hemos enviado su importe {payment_amount} pago para {payment_bill} submitado en la fecha {payment_date} a través de {payment_method}.</p>\n <p> </p>\n <p>Thank You very much and have a good day! !!!</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(134,9,'fr','Purchase Payment Create','<p>Salut, {payment_name}</p>\n <p> </p>\n <p>Bienvenue dans {app_name}</p>\n <p> </p>\n <p>Nous vous écrivons pour vous informer que nous avons envoyé votre paiement {payment_bill}.</p>\n <p> </p>\n <p>Nous avons envoyé votre paiement {payment_amount} pour {payment_bill} soumis à la date {payment_date} via {payment_method}.</p>\n <p> </p>\n <p>Merci beaucoup et avez un bon jour ! !!!</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(135,9,'it','Purchase Payment Create','<p>Ciao, {payment_name}</p>\n <p> </p>\n <p>Benvenuti in {app_name}</p>\n <p> </p>\n <p>Scriviamo per informarti che abbiamo inviato il tuo pagamento {payment_bill}.</p>\n <p> </p>\n <p>Abbiamo inviato la tua quantità {payment_amount} pagamento per {payment_bill} subita alla data {payment_date} tramite {payment_method}.</p>\n <p> </p>\n <p>Grazie mille e buona giornata! !!!</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(136,9,'ja','Purchase Payment Create','<p>こんにちは、 {payment_name}</p>\n <p> </p>\n <p>{app_name} へようこそ</p>\n <p> </p>\n <p>{payment_bill} の支払いを送信したことをお知らせするために執筆しています。</p>\n <p> </p>\n <p>{payment_date} に提出された {payment_議案} に対する金額 {payment_date} の支払いは、 {payment_method}を介して送信されました。</p>\n <p> </p>\n <p>ありがとうございます。良い日をお願いします。</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(137,9,'nl','Purchase Payment Create','<p>Hallo, {payment_name}</p>\n <p> </p>\n <p>Welkom bij {app_name}</p>\n <p> </p>\n <p>Wij schrijven u om u te informeren dat wij uw betaling van {payment_bill} hebben verzonden.</p>\n <p> </p>\n <p>We hebben uw bedrag {payment_amount} betaling voor {payment_bill} verzonden op datum {payment_date} via {payment_method}.</p>\n <p> </p>\n <p>Hartelijk dank en hebben een goede dag! !!!</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(138,9,'pl','Purchase Payment Create','<p>Witaj, {payment_name}</p>\n <p> </p>\n <p>Witamy w aplikacji {app_name }</p>\n <p> </p>\n <p>Piszemy, aby poinformować Cię, że wysłaliśmy Twoją płatność {payment_bill }.</p>\n <p> </p>\n <p>Twoja kwota {payment_amount } została wysłana przez użytkownika {payment_bill } w dniu {payment_date} za pomocą metody {payment_method}.</p>\n <p> </p>\n <p>Dziękuję bardzo i mam dobry dzień! !!!</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(139,9,'ru','Purchase Payment Create','<p>Привет, {payment_name}</p>\n <p> </p>\n <p>Вас приветствует {app_name}</p>\n <p> </p>\n <p>Мы пишем, чтобы сообщить вам, что мы отправили вашу оплату {payment_bill}.</p>\n <p> </p>\n <p>Мы отправили вашу сумму оплаты {payment_amount} для {payment_bill}, подав на дату {payment_date} через {payment_method}.</p>\n <p> </p>\n <p>Большое спасибо и хорошего дня! !!!</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(140,9,'pt','Purchase Payment Create','<p>Oi, {payment_name}</p>\n <p> </p>\n <p>Bem-vindo a {app_name}</p>\n <p> </p>\n <p>Estamos escrevendo para informá-lo que enviamos o seu pagamento {payment_bill}.</p>\n <p> </p>\n <p>Nós enviamos sua quantia {payment_amount} pagamento por {payment_bill} requisitado na data {payment_date} via {payment_method}.</p>\n <p> </p>\n <p>Muito obrigado e tenha um bom dia! !!!</p>\n <p> </p>\n <p>{company_name}</p>\n <p> </p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(141,9,'pt-BR','Purchase Payment Create','<p>Olá, {payment_name}</p>\n <p>Bem-vindo ao {app_name}</p>\n <p>Estamos escrevendo para informar que enviamos o pagamento do {payment_bill}.</p>\n <p>Enviamos o valor de {payment_amount} referente ao {payment_bill}, submetido na data {payment_date}, via {payment_method}.</p>\n <p>Muito obrigado e tenha um ótimo dia !!!!</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(142,9,'he','Purchase Payment Create','<p>שלום, {payment_name}</p>\n <p>ברוך הבא ל-{app_name}</p>\n <p>אנו כותבים כדי להודיע לך ששלחנו את התשלום עבור {payment_bill}.</p>\n <p>שלחנו את הסכום {payment_amount} עבור {payment_bill}, שהוגש בתאריך {payment_date}, באמצעות {payment_method}.</p>\n <p>תודה רבה ויום טוב !!!!</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(143,9,'tr','Purchase Payment Create','<p>Merhaba, {payment_name}</p>\n <p>{app_name}\'e hoş geldiniz</p>\n <p>{payment_bill} ödemenizin gönderildiğini bildirmek için yazıyoruz.</p>\n <p>{payment_date} tarihinde {payment_method} aracılığıyla gönderilen {payment_bill} için {payment_amount} tutarındaki ödemeniz gönderilmiştir.</p>\n <p>Çok teşekkür ederiz ve iyi günler dileriz !!!!</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26'),(144,9,'zh','Purchase Payment Create','<p>您好, {payment_name}</p>\n <p>欢迎来到 {app_name}</p>\n <p>我们写信通知您,您的 {payment_bill} 付款已发送。</p>\n <p>我们已通过 {payment_method} 于 {payment_date} 发送金额为 {payment_amount} 的 {payment_bill} 付款。</p>\n <p>非常感谢,祝您有美好的一天 !!!!</p>\n <p>{company_name}</p>\n <p>{app_url}</p>',NULL,'\"{\\n \\\"App Url\\\": \\\"app_url\\\",\\n \\\"App Name\\\": \\\"app_name\\\",\\n \\\"Company Name\\\": \\\"company_name\\\",\\n \\\"Payment Name\\\": \\\"payment_name\\\",\\n \\\"Payment Bill\\\": \\\"payment_bill\\\",\\n \\\"Payment Amount\\\": \\\"payment_amount\\\",\\n \\\"Payment Date\\\": \\\"payment_date\\\",\\n \\\"Payment Method\\\": \\\"payment_method\\\"\\n }\"','2026-05-01 13:57:26','2026-05-01 13:57:26');
|
||
/*!40000 ALTER TABLE `email_template_langs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `email_templates`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `email_templates`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `email_templates` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`from` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`module_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `email_templates_creator_id_index` (`creator_id`),
|
||
KEY `email_templates_created_by_index` (`created_by`),
|
||
CONSTRAINT `email_templates_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `email_templates_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `email_templates`
|
||
--
|
||
|
||
LOCK TABLES `email_templates` WRITE;
|
||
/*!40000 ALTER TABLE `email_templates` DISABLE KEYS */;
|
||
INSERT INTO `email_templates` VALUES (1,'New User','nnterp','general',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(2,'Customer Invoice Send','nnterp','general',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(3,'Payment Reminder','nnterp','general',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(4,'Invoice Payment Create','nnterp','general',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(5,'Proposal Send','nnterp','general',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(6,'New Helpdesk Ticket','nnterp','general',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(7,'New Helpdesk Ticket Reply','nnterp','general',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(8,'Purchase Send','nnterp','general',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(9,'Purchase Payment Create','nnterp','general',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26');
|
||
/*!40000 ALTER TABLE `email_templates` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `employee_certifications`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `employee_certifications`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `employee_certifications` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`certification_id` bigint unsigned NOT NULL,
|
||
`certificate_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`issue_date` date NOT NULL,
|
||
`expiry_date` date DEFAULT NULL,
|
||
`document_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` enum('active','expiring','expired','renewed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`verified_by` bigint unsigned DEFAULT NULL,
|
||
`verified_at` timestamp NULL DEFAULT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `employee_certifications_certification_id_foreign` (`certification_id`),
|
||
KEY `employee_certifications_verified_by_foreign` (`verified_by`),
|
||
KEY `employee_certifications_created_by_foreign` (`created_by`),
|
||
KEY `employee_certifications_user_id_status_index` (`user_id`,`status`),
|
||
KEY `employee_certifications_expiry_date_status_index` (`expiry_date`,`status`),
|
||
CONSTRAINT `employee_certifications_certification_id_foreign` FOREIGN KEY (`certification_id`) REFERENCES `certifications` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `employee_certifications_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `employee_certifications_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `employee_certifications_verified_by_foreign` FOREIGN KEY (`verified_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `employee_certifications`
|
||
--
|
||
|
||
LOCK TABLES `employee_certifications` WRITE;
|
||
/*!40000 ALTER TABLE `employee_certifications` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `employee_certifications` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `employee_document_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `employee_document_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `employee_document_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`document_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`is_required` tinyint(1) NOT NULL DEFAULT '0',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `employee_document_types_creator_id_index` (`creator_id`),
|
||
KEY `employee_document_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `employee_document_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `employee_document_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `employee_document_types`
|
||
--
|
||
|
||
LOCK TABLES `employee_document_types` WRITE;
|
||
/*!40000 ALTER TABLE `employee_document_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `employee_document_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `employee_documents`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `employee_documents`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `employee_documents` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`document_type_id` bigint unsigned NOT NULL,
|
||
`file_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `employee_documents_user_id_foreign` (`user_id`),
|
||
KEY `employee_documents_creator_id_foreign` (`creator_id`),
|
||
KEY `employee_documents_created_by_foreign` (`created_by`),
|
||
KEY `employee_documents_document_type_id_foreign` (`document_type_id`),
|
||
CONSTRAINT `employee_documents_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `employee_documents_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employee_documents_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `employee_document_types` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `employee_documents_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `employee_documents`
|
||
--
|
||
|
||
LOCK TABLES `employee_documents` WRITE;
|
||
/*!40000 ALTER TABLE `employee_documents` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `employee_documents` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `employee_salary_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `employee_salary_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `employee_salary_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`salary_structure_id` bigint unsigned NOT NULL,
|
||
`salary_component_id` bigint unsigned NOT NULL,
|
||
`amount` decimal(12,2) NOT NULL DEFAULT '0.00',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `employee_salary_items_salary_structure_id_foreign` (`salary_structure_id`),
|
||
KEY `employee_salary_items_salary_component_id_foreign` (`salary_component_id`),
|
||
CONSTRAINT `employee_salary_items_salary_component_id_foreign` FOREIGN KEY (`salary_component_id`) REFERENCES `salary_components` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `employee_salary_items_salary_structure_id_foreign` FOREIGN KEY (`salary_structure_id`) REFERENCES `employee_salary_structures` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `employee_salary_items`
|
||
--
|
||
|
||
LOCK TABLES `employee_salary_items` WRITE;
|
||
/*!40000 ALTER TABLE `employee_salary_items` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `employee_salary_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `employee_salary_structures`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `employee_salary_structures`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `employee_salary_structures` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`gross_salary` decimal(12,2) NOT NULL DEFAULT '0.00',
|
||
`daily_rate` decimal(10,2) DEFAULT NULL,
|
||
`pay_frequency` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'semi-monthly',
|
||
`pay_group_id` bigint unsigned DEFAULT NULL,
|
||
`is_exempt` tinyint(1) NOT NULL DEFAULT '0',
|
||
`statutory_override` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'null=follow global, auto, manual',
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `employee_salary_structures_user_id_status_unique` (`user_id`,`status`),
|
||
KEY `employee_salary_structures_pay_group_id_foreign` (`pay_group_id`),
|
||
KEY `employee_salary_structures_created_by_index` (`created_by`),
|
||
CONSTRAINT `employee_salary_structures_pay_group_id_foreign` FOREIGN KEY (`pay_group_id`) REFERENCES `pay_groups` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employee_salary_structures_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `employee_salary_structures`
|
||
--
|
||
|
||
LOCK TABLES `employee_salary_structures` WRITE;
|
||
/*!40000 ALTER TABLE `employee_salary_structures` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `employee_salary_structures` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `employee_skills`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `employee_skills`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `employee_skills` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`skill_id` bigint unsigned NOT NULL,
|
||
`proficiency_level` tinyint NOT NULL DEFAULT '1' COMMENT '1-5 scale',
|
||
`self_assessed_at` timestamp NULL DEFAULT NULL,
|
||
`verified_by` bigint unsigned DEFAULT NULL,
|
||
`verified_at` timestamp NULL DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `employee_skills_user_id_skill_id_unique` (`user_id`,`skill_id`),
|
||
KEY `employee_skills_skill_id_foreign` (`skill_id`),
|
||
KEY `employee_skills_created_by_index` (`created_by`),
|
||
KEY `employee_skills_proficiency_level_index` (`proficiency_level`),
|
||
CONSTRAINT `employee_skills_skill_id_foreign` FOREIGN KEY (`skill_id`) REFERENCES `skills` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `employee_skills_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `employee_skills`
|
||
--
|
||
|
||
LOCK TABLES `employee_skills` WRITE;
|
||
/*!40000 ALTER TABLE `employee_skills` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `employee_skills` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `employee_transfers`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `employee_transfers`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `employee_transfers` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`from_branch_id` bigint unsigned DEFAULT NULL,
|
||
`from_department_id` bigint unsigned DEFAULT NULL,
|
||
`from_designation_id` bigint unsigned DEFAULT NULL,
|
||
`to_branch_id` bigint unsigned DEFAULT NULL,
|
||
`to_department_id` bigint unsigned DEFAULT NULL,
|
||
`to_designation_id` bigint unsigned DEFAULT NULL,
|
||
`transfer_date` date DEFAULT NULL,
|
||
`effective_date` date NOT NULL,
|
||
`reason` text COLLATE utf8mb4_unicode_ci,
|
||
`status` enum('pending','approved','in progress','rejected','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`document` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `employee_transfers_employee_id_foreign` (`employee_id`),
|
||
KEY `employee_transfers_from_branch_id_foreign` (`from_branch_id`),
|
||
KEY `employee_transfers_from_department_id_foreign` (`from_department_id`),
|
||
KEY `employee_transfers_from_designation_id_foreign` (`from_designation_id`),
|
||
KEY `employee_transfers_to_branch_id_foreign` (`to_branch_id`),
|
||
KEY `employee_transfers_to_department_id_foreign` (`to_department_id`),
|
||
KEY `employee_transfers_to_designation_id_foreign` (`to_designation_id`),
|
||
KEY `employee_transfers_approved_by_foreign` (`approved_by`),
|
||
KEY `employee_transfers_creator_id_foreign` (`creator_id`),
|
||
KEY `employee_transfers_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `employee_transfers_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employee_transfers_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `employee_transfers_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employee_transfers_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `employee_transfers_from_branch_id_foreign` FOREIGN KEY (`from_branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employee_transfers_from_department_id_foreign` FOREIGN KEY (`from_department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employee_transfers_from_designation_id_foreign` FOREIGN KEY (`from_designation_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employee_transfers_to_branch_id_foreign` FOREIGN KEY (`to_branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employee_transfers_to_department_id_foreign` FOREIGN KEY (`to_department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employee_transfers_to_designation_id_foreign` FOREIGN KEY (`to_designation_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `employee_transfers`
|
||
--
|
||
|
||
LOCK TABLES `employee_transfers` WRITE;
|
||
/*!40000 ALTER TABLE `employee_transfers` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `employee_transfers` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `employees`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `employees`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `employees` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`work_mode` enum('office','remote','hybrid') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'office',
|
||
`date_of_birth` date DEFAULT NULL,
|
||
`gender` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Male',
|
||
`shift` bigint unsigned DEFAULT NULL,
|
||
`attendance_policy` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`date_of_joining` date DEFAULT NULL,
|
||
`employment_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||
`address_line_1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`address_line_2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`state` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`country` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`postal_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`emergency_contact_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`emergency_contact_relationship` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`emergency_contact_number` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`bank_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`account_holder_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`account_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`bank_identifier_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`bank_branch` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`tax_payer_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`basic_salary` decimal(10,2) DEFAULT NULL,
|
||
`hours_per_day` decimal(8,2) DEFAULT NULL,
|
||
`days_per_week` decimal(8,2) DEFAULT NULL,
|
||
`rate_per_hour` decimal(8,2) DEFAULT NULL,
|
||
`user_id` bigint unsigned DEFAULT NULL,
|
||
`branch_id` bigint unsigned DEFAULT NULL,
|
||
`department_id` bigint unsigned DEFAULT NULL,
|
||
`designation_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `employees_shift_foreign` (`shift`),
|
||
KEY `employees_user_id_foreign` (`user_id`),
|
||
KEY `employees_branch_id_foreign` (`branch_id`),
|
||
KEY `employees_department_id_foreign` (`department_id`),
|
||
KEY `employees_designation_id_foreign` (`designation_id`),
|
||
KEY `employees_creator_id_index` (`creator_id`),
|
||
KEY `employees_created_by_index` (`created_by`),
|
||
CONSTRAINT `employees_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employees_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `employees_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employees_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employees_designation_id_foreign` FOREIGN KEY (`designation_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employees_shift_foreign` FOREIGN KEY (`shift`) REFERENCES `shifts` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `employees_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `employees`
|
||
--
|
||
|
||
LOCK TABLES `employees` WRITE;
|
||
/*!40000 ALTER TABLE `employees` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `employees` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `engagement_assignments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `engagement_assignments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `engagement_assignments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`engagement_role_id` bigint unsigned NOT NULL,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`assigned_by` bigint unsigned NOT NULL,
|
||
`status` enum('proposed','confirmed','active','completed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'proposed',
|
||
`hours_allocated` decimal(8,2) DEFAULT NULL,
|
||
`start_date` date DEFAULT NULL,
|
||
`end_date` date DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `engagement_assignments_engagement_role_id_foreign` (`engagement_role_id`),
|
||
KEY `engagement_assignments_assigned_by_foreign` (`assigned_by`),
|
||
KEY `engagement_assignments_user_id_status_index` (`user_id`,`status`),
|
||
CONSTRAINT `engagement_assignments_assigned_by_foreign` FOREIGN KEY (`assigned_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `engagement_assignments_engagement_role_id_foreign` FOREIGN KEY (`engagement_role_id`) REFERENCES `engagement_roles` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `engagement_assignments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `engagement_assignments`
|
||
--
|
||
|
||
LOCK TABLES `engagement_assignments` WRITE;
|
||
/*!40000 ALTER TABLE `engagement_assignments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `engagement_assignments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `engagement_forecasts`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `engagement_forecasts`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `engagement_forecasts` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`engagement_id` bigint unsigned NOT NULL,
|
||
`period` date NOT NULL,
|
||
`forecasted_hours` decimal(8,2) NOT NULL DEFAULT '0.00',
|
||
`forecasted_headcount` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `engagement_forecasts_engagement_id_period_unique` (`engagement_id`,`period`),
|
||
CONSTRAINT `engagement_forecasts_engagement_id_foreign` FOREIGN KEY (`engagement_id`) REFERENCES `engagements` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `engagement_forecasts`
|
||
--
|
||
|
||
LOCK TABLES `engagement_forecasts` WRITE;
|
||
/*!40000 ALTER TABLE `engagement_forecasts` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `engagement_forecasts` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `engagement_roles`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `engagement_roles`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `engagement_roles` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`engagement_id` bigint unsigned NOT NULL,
|
||
`role_title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`designation_id` bigint unsigned DEFAULT NULL,
|
||
`required_count` int NOT NULL DEFAULT '1',
|
||
`required_skills` json DEFAULT NULL,
|
||
`start_date` date DEFAULT NULL,
|
||
`end_date` date DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `engagement_roles_engagement_id_foreign` (`engagement_id`),
|
||
KEY `engagement_roles_designation_id_foreign` (`designation_id`),
|
||
CONSTRAINT `engagement_roles_designation_id_foreign` FOREIGN KEY (`designation_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `engagement_roles_engagement_id_foreign` FOREIGN KEY (`engagement_id`) REFERENCES `engagements` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `engagement_roles`
|
||
--
|
||
|
||
LOCK TABLES `engagement_roles` WRITE;
|
||
/*!40000 ALTER TABLE `engagement_roles` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `engagement_roles` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `engagement_schedules`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `engagement_schedules`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `engagement_schedules` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`engagement_id` bigint unsigned NOT NULL,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`date` date NOT NULL,
|
||
`start_time` time DEFAULT NULL,
|
||
`end_time` time DEFAULT NULL,
|
||
`hours` decimal(5,2) NOT NULL DEFAULT '8.00',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `engagement_schedules_engagement_id_user_id_date_unique` (`engagement_id`,`user_id`,`date`),
|
||
KEY `engagement_schedules_created_by_foreign` (`created_by`),
|
||
KEY `engagement_schedules_user_id_date_index` (`user_id`,`date`),
|
||
KEY `engagement_schedules_engagement_id_date_index` (`engagement_id`,`date`),
|
||
CONSTRAINT `engagement_schedules_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `engagement_schedules_engagement_id_foreign` FOREIGN KEY (`engagement_id`) REFERENCES `engagements` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `engagement_schedules_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `engagement_schedules`
|
||
--
|
||
|
||
LOCK TABLES `engagement_schedules` WRITE;
|
||
/*!40000 ALTER TABLE `engagement_schedules` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `engagement_schedules` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `engagement_templates`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `engagement_templates`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `engagement_templates` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`type` enum('audit','tax','advisory','bas','other') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'other',
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`default_roles` json DEFAULT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `engagement_templates_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `engagement_templates_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `engagement_templates`
|
||
--
|
||
|
||
LOCK TABLES `engagement_templates` WRITE;
|
||
/*!40000 ALTER TABLE `engagement_templates` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `engagement_templates` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `engagements`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `engagements`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `engagements` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`client_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`project_id` bigint unsigned DEFAULT NULL,
|
||
`type` enum('audit','tax','advisory','bas','other') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'other',
|
||
`status` enum('pursuit','open','active','completed','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pursuit',
|
||
`priority` enum('high','medium','low') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'medium',
|
||
`start_date` date DEFAULT NULL,
|
||
`end_date` date DEFAULT NULL,
|
||
`budget_hours` decimal(10,2) DEFAULT NULL,
|
||
`partner_id` bigint unsigned DEFAULT NULL,
|
||
`manager_id` bigint unsigned DEFAULT NULL,
|
||
`branch_id` bigint unsigned DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `engagements_project_id_foreign` (`project_id`),
|
||
KEY `engagements_partner_id_foreign` (`partner_id`),
|
||
KEY `engagements_manager_id_foreign` (`manager_id`),
|
||
KEY `engagements_created_by_foreign` (`created_by`),
|
||
KEY `engagements_status_created_by_index` (`status`,`created_by`),
|
||
KEY `engagements_branch_id_foreign` (`branch_id`),
|
||
CONSTRAINT `engagements_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `engagements_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `engagements_manager_id_foreign` FOREIGN KEY (`manager_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `engagements_partner_id_foreign` FOREIGN KEY (`partner_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `engagements_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `engagements`
|
||
--
|
||
|
||
LOCK TABLES `engagements` WRITE;
|
||
/*!40000 ALTER TABLE `engagements` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `engagements` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `event_departments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `event_departments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `event_departments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`event_id` bigint unsigned NOT NULL,
|
||
`department_id` bigint unsigned NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `event_departments_event_id_department_id_unique` (`event_id`,`department_id`),
|
||
KEY `event_departments_department_id_foreign` (`department_id`),
|
||
KEY `event_departments_creator_id_index` (`creator_id`),
|
||
KEY `event_departments_created_by_index` (`created_by`),
|
||
CONSTRAINT `event_departments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `event_departments_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `event_departments_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `event_departments_event_id_foreign` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `event_departments`
|
||
--
|
||
|
||
LOCK TABLES `event_departments` WRITE;
|
||
/*!40000 ALTER TABLE `event_departments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `event_departments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `event_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `event_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `event_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`event_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `event_types_creator_id_index` (`creator_id`),
|
||
KEY `event_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `event_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `event_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `event_types`
|
||
--
|
||
|
||
LOCK TABLES `event_types` WRITE;
|
||
/*!40000 ALTER TABLE `event_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `event_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `events`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `events`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `events` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`event_type_id` bigint unsigned DEFAULT NULL,
|
||
`start_date` date DEFAULT NULL,
|
||
`end_date` date DEFAULT NULL,
|
||
`start_time` time DEFAULT NULL,
|
||
`end_time` time DEFAULT NULL,
|
||
`location` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` enum('pending','approved','reject') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `events_event_type_id_foreign` (`event_type_id`),
|
||
KEY `events_approved_by_foreign` (`approved_by`),
|
||
KEY `events_creator_id_index` (`creator_id`),
|
||
KEY `events_created_by_index` (`created_by`),
|
||
CONSTRAINT `events_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `events_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `events_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `events_event_type_id_foreign` FOREIGN KEY (`event_type_id`) REFERENCES `event_types` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `events`
|
||
--
|
||
|
||
LOCK TABLES `events` WRITE;
|
||
/*!40000 ALTER TABLE `events` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `events` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `expense_categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `expense_categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `expense_categories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`category_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`category_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_active` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`gl_account_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `expense_categories_gl_account_id_foreign` (`gl_account_id`),
|
||
KEY `expense_categories_creator_id_index` (`creator_id`),
|
||
KEY `expense_categories_created_by_index` (`created_by`),
|
||
CONSTRAINT `expense_categories_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `expense_categories_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `expense_categories_gl_account_id_foreign` FOREIGN KEY (`gl_account_id`) REFERENCES `chart_of_accounts` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `expense_categories`
|
||
--
|
||
|
||
LOCK TABLES `expense_categories` WRITE;
|
||
/*!40000 ALTER TABLE `expense_categories` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `expense_categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `expenses`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `expenses`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `expenses` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`expense_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`expense_date` date NOT NULL,
|
||
`category_id` bigint unsigned NOT NULL,
|
||
`bank_account_id` bigint unsigned NOT NULL,
|
||
`chart_of_account_id` bigint unsigned DEFAULT NULL,
|
||
`reference_number` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`amount` decimal(15,2) NOT NULL,
|
||
`status` enum('draft','approved','posted') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `expenses_category_id_foreign` (`category_id`),
|
||
KEY `expenses_bank_account_id_foreign` (`bank_account_id`),
|
||
KEY `expenses_chart_of_account_id_foreign` (`chart_of_account_id`),
|
||
KEY `expenses_approved_by_index` (`approved_by`),
|
||
KEY `expenses_creator_id_index` (`creator_id`),
|
||
KEY `expenses_created_by_index` (`created_by`),
|
||
CONSTRAINT `expenses_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `expenses_bank_account_id_foreign` FOREIGN KEY (`bank_account_id`) REFERENCES `bank_accounts` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `expenses_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `expense_categories` (`id`),
|
||
CONSTRAINT `expenses_chart_of_account_id_foreign` FOREIGN KEY (`chart_of_account_id`) REFERENCES `chart_of_accounts` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `expenses_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `expenses_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `expenses`
|
||
--
|
||
|
||
LOCK TABLES `expenses` WRITE;
|
||
/*!40000 ALTER TABLE `expenses` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `expenses` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `failed_jobs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `failed_jobs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `failed_jobs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT 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;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `failed_jobs`
|
||
--
|
||
|
||
LOCK TABLES `failed_jobs` WRITE;
|
||
/*!40000 ALTER TABLE `failed_jobs` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `failed_jobs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `fleet_customers`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `fleet_customers`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `fleet_customers` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` int NOT NULL,
|
||
`customer` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`client_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`address` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `fleet_customers`
|
||
--
|
||
|
||
LOCK TABLES `fleet_customers` WRITE;
|
||
/*!40000 ALTER TABLE `fleet_customers` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `fleet_customers` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `fleet_logbooks`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `fleet_logbooks`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `fleet_logbooks` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`driver_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`vehicle_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`start_date` date NOT NULL,
|
||
`end_date` date NOT NULL,
|
||
`start_odometer` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`end_odometer` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`rate` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`total_distance` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`total_price` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`notes` longtext COLLATE utf8mb4_unicode_ci,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `fleet_logbooks`
|
||
--
|
||
|
||
LOCK TABLES `fleet_logbooks` WRITE;
|
||
/*!40000 ALTER TABLE `fleet_logbooks` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `fleet_logbooks` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `fleet_payments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `fleet_payments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `fleet_payments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`pay_amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`booking_id` int NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `fleet_payments`
|
||
--
|
||
|
||
LOCK TABLES `fleet_payments` WRITE;
|
||
/*!40000 ALTER TABLE `fleet_payments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `fleet_payments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `fuel_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `fuel_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `fuel_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `fuel_types`
|
||
--
|
||
|
||
LOCK TABLES `fuel_types` WRITE;
|
||
/*!40000 ALTER TABLE `fuel_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `fuel_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `fuels`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `fuels`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `fuels` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`driver_name` int NOT NULL,
|
||
`vehicle_name` int NOT NULL,
|
||
`fill_date` timestamp NOT NULL,
|
||
`quantity` int NOT NULL,
|
||
`cost` int NOT NULL,
|
||
`total_cost` int NOT NULL,
|
||
`odometer_reading` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`fuel_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`notes` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `fuels`
|
||
--
|
||
|
||
LOCK TABLES `fuels` WRITE;
|
||
/*!40000 ALTER TABLE `fuels` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `fuels` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `helpdesk_categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `helpdesk_categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `helpdesk_categories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`color` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#3B82F6',
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `helpdesk_categories_creator_id_index` (`creator_id`),
|
||
KEY `helpdesk_categories_created_by_index` (`created_by`),
|
||
CONSTRAINT `helpdesk_categories_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `helpdesk_categories_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `helpdesk_categories`
|
||
--
|
||
|
||
LOCK TABLES `helpdesk_categories` WRITE;
|
||
/*!40000 ALTER TABLE `helpdesk_categories` DISABLE KEYS */;
|
||
INSERT INTO `helpdesk_categories` VALUES (1,'Technical Support','Technical issues and troubleshooting','#3B82F6',1,1,1,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(2,'Billing','Billing and payment related queries','#10B981',1,1,1,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(3,'Feature Request','New feature suggestions and requests','#F59E0B',1,1,1,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(4,'Bug Report','Software bugs and issues','#EF4444',1,1,1,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(5,'General Inquiry','General questions and information','#8B5CF6',1,1,1,'2026-05-01 13:57:39','2026-05-01 13:57:39');
|
||
/*!40000 ALTER TABLE `helpdesk_categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `helpdesk_replies`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `helpdesk_replies`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `helpdesk_replies` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`ticket_id` bigint unsigned NOT NULL,
|
||
`message` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`attachments` json DEFAULT NULL,
|
||
`is_internal` tinyint(1) NOT NULL DEFAULT '0',
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `helpdesk_replies_ticket_id_index` (`ticket_id`),
|
||
KEY `helpdesk_replies_created_by_index` (`created_by`),
|
||
CONSTRAINT `helpdesk_replies_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `helpdesk_replies_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `helpdesk_tickets` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `helpdesk_replies`
|
||
--
|
||
|
||
LOCK TABLES `helpdesk_replies` WRITE;
|
||
/*!40000 ALTER TABLE `helpdesk_replies` DISABLE KEYS */;
|
||
INSERT INTO `helpdesk_replies` VALUES (1,1,'The problem is still occurring. Here are the additional details you requested.',NULL,0,2,'2026-04-15 16:57:39','2026-05-01 13:57:39'),(2,1,'I have reviewed your case and here is the solution: Please try clearing your browser cache and cookies.',NULL,0,1,'2026-04-15 19:57:39','2026-05-01 13:57:39'),(3,1,'I appreciate your help. Is there anything else I need to do?',NULL,0,2,'2026-04-15 20:57:39','2026-05-01 13:57:39'),(4,1,'Issue resolved. Adding to knowledge base for future reference.',NULL,1,1,'2026-04-15 20:57:39','2026-05-01 13:57:39'),(5,2,'I have tried the suggested solution but the issue persists. Could you please provide additional assistance?',NULL,0,2,'2026-04-18 17:57:39','2026-05-01 13:57:39'),(6,2,'Customer reported similar issue last week. Check ticket #12340 for reference.',NULL,1,1,'2026-04-18 17:57:39','2026-05-01 13:57:39'),(7,2,'Thank you for the quick response. The issue has been resolved successfully.',NULL,0,2,'2026-04-18 21:57:39','2026-05-01 13:57:39'),(8,2,'Your issue has been escalated to our technical team. We will update you within 24 hours.',NULL,0,1,'2026-04-18 21:57:39','2026-05-01 13:57:39'),(9,2,'I have tried the suggested solution but the issue persists. Could you please provide additional assistance?',NULL,0,2,'2026-04-19 01:57:39','2026-05-01 13:57:39'),(10,3,'I appreciate your help. Is there anything else I need to do?',NULL,0,2,'2026-04-09 15:57:39','2026-05-01 13:57:39'),(11,3,'The problem has been identified and fixed. Please try again and let us know if you need further assistance.',NULL,0,1,'2026-04-09 19:57:39','2026-05-01 13:57:39'),(12,3,'Thank you for the quick response. The issue has been resolved successfully.',NULL,0,2,'2026-04-09 20:57:39','2026-05-01 13:57:39'),(13,3,'Customer reported similar issue last week. Check ticket #12340 for reference.',NULL,1,1,'2026-04-09 22:57:39','2026-05-01 13:57:39'),(14,3,'I need more clarification on the steps provided. Could you please elaborate?',NULL,0,2,'2026-04-10 01:57:39','2026-05-01 13:57:39'),(15,4,'I have tried the suggested solution but the issue persists. Could you please provide additional assistance?',NULL,0,2,'2026-04-13 15:57:39','2026-05-01 13:57:39'),(16,4,'I have reviewed your case and here is the solution: Please try clearing your browser cache and cookies.',NULL,0,1,'2026-04-13 16:57:39','2026-05-01 13:57:39'),(17,4,'Thank you for the quick response. The issue has been resolved successfully.',NULL,0,2,'2026-04-13 20:57:39','2026-05-01 13:57:39'),(18,4,'I have reviewed your case and here is the solution: Please try clearing your browser cache and cookies.',NULL,0,1,'2026-04-13 23:57:39','2026-05-01 13:57:39'),(19,4,'I have tried the suggested solution but the issue persists. Could you please provide additional assistance?',NULL,0,2,'2026-04-14 01:57:39','2026-05-01 13:57:39'),(20,4,'This might be related to the recent system update. Need to investigate further.',NULL,1,1,'2026-04-14 03:57:39','2026-05-01 13:57:39'),(21,5,'I have tried the suggested solution but the issue persists. Could you please provide additional assistance?',NULL,0,2,'2026-04-24 16:57:39','2026-05-01 13:57:39'),(22,5,'We have processed your request. Your account has been updated accordingly.',NULL,0,1,'2026-04-24 18:57:39','2026-05-01 13:57:39'),(23,5,'I have tried the suggested solution but the issue persists. Could you please provide additional assistance?',NULL,0,2,'2026-04-24 18:57:39','2026-05-01 13:57:39'),(24,5,'Thank you for contacting support. We are looking into your issue and will get back to you shortly.',NULL,0,1,'2026-04-24 20:57:39','2026-05-01 13:57:39'),(25,6,'Thank you for the quick response. The issue has been resolved successfully.',NULL,0,2,'2026-04-01 15:57:39','2026-05-01 13:57:39'),(26,6,'We have processed your request. Your account has been updated accordingly.',NULL,0,1,'2026-04-01 16:57:39','2026-05-01 13:57:39'),(27,6,'I need more clarification on the steps provided. Could you please elaborate?',NULL,0,2,'2026-04-01 18:57:39','2026-05-01 13:57:39'),(28,6,'We have processed your request. Your account has been updated accordingly.',NULL,0,1,'2026-04-01 22:57:39','2026-05-01 13:57:39'),(29,6,'I need more clarification on the steps provided. Could you please elaborate?',NULL,0,2,'2026-04-01 23:57:39','2026-05-01 13:57:39'),(30,6,'We have processed your request. Your account has been updated accordingly.',NULL,0,1,'2026-04-02 02:57:39','2026-05-01 13:57:39'),(31,7,'Thank you for the quick response. The issue has been resolved successfully.',NULL,0,2,'2026-04-05 15:57:39','2026-05-01 13:57:39'),(32,7,'I have reviewed your case and here is the solution: Please try clearing your browser cache and cookies.',NULL,0,1,'2026-04-05 17:57:39','2026-05-01 13:57:39'),(33,7,'I need more clarification on the steps provided. Could you please elaborate?',NULL,0,2,'2026-04-05 20:57:39','2026-05-01 13:57:39'),(34,7,'Your issue has been escalated to our technical team. We will update you within 24 hours.',NULL,0,1,'2026-04-05 20:57:39','2026-05-01 13:57:39'),(35,8,'The problem is still occurring. Here are the additional details you requested.',NULL,0,2,'2026-04-22 15:57:39','2026-05-01 13:57:39'),(36,8,'We have processed your request. Your account has been updated accordingly.',NULL,0,1,'2026-04-22 17:57:39','2026-05-01 13:57:39'),(37,8,'I have tried the suggested solution but the issue persists. Could you please provide additional assistance?',NULL,0,2,'2026-04-22 21:57:39','2026-05-01 13:57:39'),(38,8,'The problem has been identified and fixed. Please try again and let us know if you need further assistance.',NULL,0,1,'2026-04-22 20:57:39','2026-05-01 13:57:39'),(39,8,'The problem is still occurring. Here are the additional details you requested.',NULL,0,2,'2026-04-23 01:57:39','2026-05-01 13:57:39'),(40,8,'Escalating to Level 2 support team for advanced troubleshooting.',NULL,1,1,'2026-04-23 00:57:39','2026-05-01 13:57:39'),(41,9,'I appreciate your help. Is there anything else I need to do?',NULL,0,2,'2026-04-16 15:57:39','2026-05-01 13:57:39'),(42,9,'We have processed your request. Your account has been updated accordingly.',NULL,0,1,'2026-04-16 17:57:39','2026-05-01 13:57:39'),(43,9,'The problem is still occurring. Here are the additional details you requested.',NULL,0,2,'2026-04-16 21:57:39','2026-05-01 13:57:39'),(44,9,'Customer verification completed. Safe to proceed with account changes.',NULL,1,1,'2026-04-16 22:57:39','2026-05-01 13:57:39'),(45,10,'I have tried the suggested solution but the issue persists. Could you please provide additional assistance?',NULL,0,2,'2026-04-27 16:57:39','2026-05-01 13:57:39'),(46,10,'Your issue has been escalated to our technical team. We will update you within 24 hours.',NULL,0,1,'2026-04-27 18:57:39','2026-05-01 13:57:39'),(47,10,'The problem is still occurring. Here are the additional details you requested.',NULL,0,2,'2026-04-27 20:57:39','2026-05-01 13:57:39'),(48,10,'This might be related to the recent system update. Need to investigate further.',NULL,1,1,'2026-04-27 22:57:39','2026-05-01 13:57:39'),(49,10,'I appreciate your help. Is there anything else I need to do?',NULL,0,2,'2026-04-28 00:57:39','2026-05-01 13:57:39'),(50,10,'Your issue has been escalated to our technical team. We will update you within 24 hours.',NULL,0,1,'2026-04-28 00:57:39','2026-05-01 13:57:39'),(51,11,'The problem is still occurring. Here are the additional details you requested.',NULL,0,2,'2026-04-23 16:57:39','2026-05-01 13:57:39'),(52,11,'We have processed your request. Your account has been updated accordingly.',NULL,0,1,'2026-04-23 19:57:39','2026-05-01 13:57:39'),(53,11,'I appreciate your help. Is there anything else I need to do?',NULL,0,2,'2026-04-23 18:57:39','2026-05-01 13:57:39'),(54,11,'This might be related to the recent system update. Need to investigate further.',NULL,1,1,'2026-04-23 23:57:39','2026-05-01 13:57:39'),(55,12,'I have tried the suggested solution but the issue persists. Could you please provide additional assistance?',NULL,0,2,'2026-04-16 17:57:39','2026-05-01 13:57:39'),(56,12,'Escalating to Level 2 support team for advanced troubleshooting.',NULL,1,1,'2026-04-16 19:57:39','2026-05-01 13:57:39'),(57,12,'I have tried the suggested solution but the issue persists. Could you please provide additional assistance?',NULL,0,2,'2026-04-16 20:57:39','2026-05-01 13:57:39'),(58,12,'Customer verification completed. Safe to proceed with account changes.',NULL,1,1,'2026-04-16 22:57:39','2026-05-01 13:57:39'),(59,12,'The problem is still occurring. Here are the additional details you requested.',NULL,0,2,'2026-04-16 23:57:39','2026-05-01 13:57:39'),(60,12,'I have reviewed your case and here is the solution: Please try clearing your browser cache and cookies.',NULL,0,1,'2026-04-17 00:57:39','2026-05-01 13:57:39'),(61,13,'I appreciate your help. Is there anything else I need to do?',NULL,0,2,'2026-04-01 14:57:39','2026-05-01 13:57:39'),(62,13,'We have processed your request. Your account has been updated accordingly.',NULL,0,1,'2026-04-01 18:57:39','2026-05-01 13:57:39'),(63,13,'I need more clarification on the steps provided. Could you please elaborate?',NULL,0,2,'2026-04-01 20:57:39','2026-05-01 13:57:39'),(64,13,'Customer reported similar issue last week. Check ticket #12340 for reference.',NULL,1,1,'2026-04-01 20:57:39','2026-05-01 13:57:39'),(65,14,'Thank you for the quick response. The issue has been resolved successfully.',NULL,0,2,'2026-04-23 16:57:39','2026-05-01 13:57:39'),(66,14,'I have reviewed your case and here is the solution: Please try clearing your browser cache and cookies.',NULL,0,1,'2026-04-23 19:57:39','2026-05-01 13:57:39'),(67,14,'I need more clarification on the steps provided. Could you please elaborate?',NULL,0,2,'2026-04-23 18:57:39','2026-05-01 13:57:39'),(68,14,'Issue resolved. Adding to knowledge base for future reference.',NULL,1,1,'2026-04-23 23:57:39','2026-05-01 13:57:39'),(69,14,'I appreciate your help. Is there anything else I need to do?',NULL,0,2,'2026-04-23 22:57:39','2026-05-01 13:57:39'),(70,15,'I have tried the suggested solution but the issue persists. Could you please provide additional assistance?',NULL,0,2,'2026-04-02 14:57:39','2026-05-01 13:57:39'),(71,15,'The problem has been identified and fixed. Please try again and let us know if you need further assistance.',NULL,0,1,'2026-04-02 19:57:39','2026-05-01 13:57:39'),(72,15,'I need more clarification on the steps provided. Could you please elaborate?',NULL,0,2,'2026-04-02 21:57:39','2026-05-01 13:57:39'),(73,15,'We have processed your request. Your account has been updated accordingly.',NULL,0,1,'2026-04-02 22:57:39','2026-05-01 13:57:39'),(74,15,'I appreciate your help. Is there anything else I need to do?',NULL,0,2,'2026-04-03 00:57:39','2026-05-01 13:57:39'),(75,15,'The problem has been identified and fixed. Please try again and let us know if you need further assistance.',NULL,0,1,'2026-04-03 03:57:39','2026-05-01 13:57:39');
|
||
/*!40000 ALTER TABLE `helpdesk_replies` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `helpdesk_tickets`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `helpdesk_tickets`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `helpdesk_tickets` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`ticket_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` enum('open','in_progress','resolved','closed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
|
||
`priority` enum('low','medium','high','urgent') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'medium',
|
||
`category_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`resolved_at` timestamp NULL DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `helpdesk_tickets_ticket_id_unique` (`ticket_id`),
|
||
KEY `helpdesk_tickets_category_id_index` (`category_id`),
|
||
KEY `helpdesk_tickets_created_by_index` (`created_by`),
|
||
CONSTRAINT `helpdesk_tickets_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `helpdesk_categories` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `helpdesk_tickets_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `helpdesk_tickets`
|
||
--
|
||
|
||
LOCK TABLES `helpdesk_tickets` WRITE;
|
||
/*!40000 ALTER TABLE `helpdesk_tickets` DISABLE KEYS */;
|
||
INSERT INTO `helpdesk_tickets` VALUES (1,'12345001','Login Issues with Two-Factor Authentication','I am unable to log into my account. The two-factor authentication code is not working properly. I have tried multiple times but keep getting an error message.','open','high',1,2,NULL,'2026-04-15 13:57:39','2026-05-01 13:57:39'),(2,'12345002','Payment Processing Error','My payment was declined but the amount was charged to my card. Please help resolve this billing issue as soon as possible.','in_progress','urgent',1,2,NULL,'2026-04-18 13:57:39','2026-05-01 13:57:39'),(3,'12345003','Feature Request: Dark Mode','Would it be possible to add a dark mode theme to the application? This would greatly improve usability during night hours.','open','low',1,2,NULL,'2026-04-09 13:57:39','2026-05-01 13:57:39'),(4,'12345004','Data Export Not Working','The export functionality is not generating the CSV file. I need to export my data for reporting purposes.','resolved','medium',1,2,'2026-04-29 13:57:39','2026-04-13 13:57:39','2026-05-01 13:57:39'),(5,'12345005','Account Suspension Appeal','My account was suspended without clear reason. I believe this was done in error and would like to appeal this decision.','closed','high',1,2,NULL,'2026-04-24 13:57:39','2026-05-01 13:57:39'),(6,'12345006','Password Reset Not Working','I clicked on forgot password but never received the reset email. I have checked spam folder as well.','open','medium',1,2,NULL,'2026-04-01 13:57:39','2026-05-01 13:57:39'),(7,'12345007','Mobile App Crashes on Startup','The mobile application crashes immediately after opening. This started happening after the latest update.','in_progress','high',1,2,NULL,'2026-04-05 13:57:39','2026-05-01 13:57:39'),(8,'12345008','Subscription Upgrade Request','I would like to upgrade my current plan to the premium version. Please guide me through the process.','resolved','low',1,2,'2026-04-30 13:57:39','2026-04-22 13:57:39','2026-05-01 13:57:39'),(9,'12345009','API Integration Issues','Having trouble integrating with your API. Getting 401 unauthorized errors despite using correct credentials.','open','high',1,2,NULL,'2026-04-16 13:57:39','2026-05-01 13:57:39'),(10,'12345010','File Upload Size Limit','Cannot upload files larger than 5MB. Need to increase the upload limit for my business requirements.','in_progress','medium',1,2,NULL,'2026-04-27 13:57:39','2026-05-01 13:57:39'),(11,'12345011','Email Notifications Not Received','I am not receiving any email notifications from the system. Please check my notification settings.','open','medium',1,2,NULL,'2026-04-23 13:57:39','2026-05-01 13:57:39'),(12,'12345012','Dashboard Loading Slowly','The main dashboard takes more than 30 seconds to load. This is affecting my daily workflow significantly.','resolved','medium',1,2,'2026-04-28 13:57:39','2026-04-16 13:57:39','2026-05-01 13:57:39'),(13,'12345013','Bulk Data Import Failed','Attempted to import 1000 records via CSV but the process failed at 50%. No error message was displayed.','open','urgent',1,2,NULL,'2026-04-01 13:57:39','2026-05-01 13:57:39'),(14,'12345014','User Permission Management','Need help setting up role-based permissions for my team members. The current setup is confusing.','closed','low',1,2,NULL,'2026-04-23 13:57:39','2026-05-01 13:57:39'),(15,'12345015','Security Vulnerability Report','Found a potential security issue in the user profile section. Please contact me for detailed information.','in_progress','urgent',1,2,NULL,'2026-04-02 13:57:39','2026-05-01 13:57:39');
|
||
/*!40000 ALTER TABLE `helpdesk_tickets` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `holiday_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `holiday_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `holiday_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`holiday_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `holiday_types_creator_id_index` (`creator_id`),
|
||
KEY `holiday_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `holiday_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `holiday_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `holiday_types`
|
||
--
|
||
|
||
LOCK TABLES `holiday_types` WRITE;
|
||
/*!40000 ALTER TABLE `holiday_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `holiday_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `holidays`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `holidays`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `holidays` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`start_date` date NOT NULL,
|
||
`end_date` date NOT NULL,
|
||
`holiday_type_id` bigint unsigned DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`is_paid` tinyint(1) NOT NULL DEFAULT '1',
|
||
`is_sync_google_calendar` tinyint(1) NOT NULL DEFAULT '0',
|
||
`is_sync_outlook_calendar` tinyint(1) NOT NULL DEFAULT '0',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `holidays_holiday_type_id_foreign` (`holiday_type_id`),
|
||
KEY `holidays_creator_id_foreign` (`creator_id`),
|
||
KEY `holidays_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `holidays_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `holidays_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `holidays_holiday_type_id_foreign` FOREIGN KEY (`holiday_type_id`) REFERENCES `holiday_types` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `holidays`
|
||
--
|
||
|
||
LOCK TABLES `holidays` WRITE;
|
||
/*!40000 ALTER TABLE `holidays` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `holidays` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_ambulance_calls`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_ambulance_calls`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_ambulance_calls` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`ambulance_id` bigint unsigned NOT NULL,
|
||
`patient_id` bigint unsigned DEFAULT NULL,
|
||
`caller_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`caller_phone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`pickup_address` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Dispatched',
|
||
`dispatch_time` datetime DEFAULT NULL,
|
||
`arrival_time` datetime DEFAULT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_ambulance_calls`
|
||
--
|
||
|
||
LOCK TABLES `hospital_ambulance_calls` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_ambulance_calls` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `hospital_ambulance_calls` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_ambulances`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_ambulances`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_ambulances` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`vehicle_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`vehicle_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Basic',
|
||
`year` int DEFAULT NULL,
|
||
`driver_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`driver_phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Available',
|
||
`last_service_date` date DEFAULT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_ambulances`
|
||
--
|
||
|
||
LOCK TABLES `hospital_ambulances` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_ambulances` DISABLE KEYS */;
|
||
INSERT INTO `hospital_ambulances` VALUES (1,'NCR-AMB-001','ALS',NULL,'Roberto \"Bert\" Manalo','09191001001','Available',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(2,'NCR-AMB-002','BLS',NULL,'Ernesto \"Ernie\" Pagaduan','09191002002','On Call',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(3,'NCR-AMB-003','ALS',NULL,'Manuel \"Manny\" Recto','09191003003','Available',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(4,'R4A-AMB-001','BLS',NULL,'Danilo \"Danny\" Castillo','09191004004','Under Maintenance',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09');
|
||
/*!40000 ALTER TABLE `hospital_ambulances` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_appointments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_appointments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_appointments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`patient_id` bigint unsigned NOT NULL,
|
||
`doctor_id` bigint unsigned NOT NULL,
|
||
`appointment_date` datetime NOT NULL,
|
||
`start_time` time DEFAULT NULL,
|
||
`end_time` time DEFAULT NULL,
|
||
`consultation_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`appointment_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Consultation',
|
||
`reason` text COLLATE utf8mb4_unicode_ci,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pending',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_appointments`
|
||
--
|
||
|
||
LOCK TABLES `hospital_appointments` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_appointments` DISABLE KEYS */;
|
||
INSERT INTO `hospital_appointments` VALUES (1,1,4,'2026-04-23 09:00:00',NULL,NULL,0.00,'Consultation',NULL,'Confirmed','Routine cardiac checkup',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(2,10,7,'2026-04-23 10:00:00',NULL,NULL,0.00,'Consultation',NULL,'Pending','Pediatric follow-up visit',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(3,7,1,'2026-04-23 11:00:00',NULL,NULL,0.00,'Consultation',NULL,'Pending','Knee pain consultation',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(4,3,5,'2026-04-24 14:00:00',NULL,NULL,0.00,'Consultation',NULL,'Pending','Headache and dizziness assessment',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(5,8,6,'2026-04-24 15:00:00',NULL,NULL,0.00,'Consultation',NULL,'Pending','Prenatal checkup',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(6,9,4,'2026-04-21 09:00:00',NULL,NULL,0.00,'Consultation',NULL,'Completed','ECG and stress test results review',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(7,4,8,'2026-04-22 13:00:00',NULL,NULL,0.00,'Consultation',NULL,'Completed','Annual physical exam',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(8,6,3,'2026-04-20 10:30:00',NULL,NULL,0.00,'Consultation',NULL,'Cancelled','Skin allergy evaluation',2,'2026-04-23 06:16:09','2026-04-23 06:16:09');
|
||
/*!40000 ALTER TABLE `hospital_appointments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_beds`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_beds`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_beds` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`ward_id` bigint unsigned NOT NULL,
|
||
`bed_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Standard',
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Available',
|
||
`patient_id` bigint unsigned DEFAULT NULL,
|
||
`assigned_date` date DEFAULT NULL,
|
||
`discharge_date` date DEFAULT NULL,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_beds`
|
||
--
|
||
|
||
LOCK TABLES `hospital_beds` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_beds` DISABLE KEYS */;
|
||
INSERT INTO `hospital_beds` VALUES (1,1,'GA-001','Standard','Occupied',1,'2026-04-19',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(2,1,'GA-002','Standard','Occupied',10,'2026-04-19',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(3,1,'GA-003','Standard','Occupied',7,'2026-04-21',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(4,1,'GA-004','Standard','Occupied',3,'2026-04-19',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(5,1,'GA-005','Standard','Occupied',4,'2026-04-20',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(6,1,'GA-006','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(7,2,'GB-001','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(8,2,'GB-002','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(9,2,'GB-003','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(10,2,'GB-004','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(11,2,'GB-005','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(12,2,'GB-006','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(13,3,'PV-001','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(14,3,'PV-002','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(15,3,'PV-003','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(16,3,'PV-004','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(17,4,'ICU-001','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(18,4,'ICU-002','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(19,4,'ICU-003','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(20,4,'ICU-004','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(21,5,'PD-001','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(22,5,'PD-002','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(23,5,'PD-003','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(24,5,'PD-004','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(25,6,'MT-001','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(26,6,'MT-002','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(27,6,'MT-003','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(28,6,'MT-004','Standard','Available',NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09');
|
||
/*!40000 ALTER TABLE `hospital_beds` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_doctors`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_doctors`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_doctors` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`specialization` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`license_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`gender` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Male',
|
||
`years_experience` int NOT NULL DEFAULT '0',
|
||
`consultation_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`qualifications` text COLLATE utf8mb4_unicode_ci,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Active',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `hospital_doctors_email_unique` (`email`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_doctors`
|
||
--
|
||
|
||
LOCK TABLES `hospital_doctors` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_doctors` DISABLE KEYS */;
|
||
INSERT INTO `hospital_doctors` VALUES (1,'Dr. Juan Carlos Dela Cruz','jcdelacruz@hospital.ph','09171234567','Cardiology',NULL,'Male',0,0.00,NULL,'Active',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(2,'Dr. Maria Santos Reyes','msreyes@hospital.ph','09182345678','Pediatrics',NULL,'Male',0,0.00,NULL,'Active',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(3,'Dr. Ricardo Bautista','rbautista@hospital.ph','09193456789','Orthopedics',NULL,'Male',0,0.00,NULL,'Active',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(4,'Dr. Angela Mae Garcia','amgarcia@hospital.ph','09204567890','Neurology',NULL,'Male',0,0.00,NULL,'Active',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(5,'Dr. Jose Rizal Mendoza','jrmendoza@hospital.ph','09215678901','General Surgery',NULL,'Male',0,0.00,NULL,'Active',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(6,'Dr. Patricia Anne Villanueva','pavillanueva@hospital.ph','09226789012','OB-GYN',NULL,'Male',0,0.00,NULL,'Active',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(7,'Dr. Fernando Aquino','faquino@hospital.ph','09237890123','Dermatology',NULL,'Male',0,0.00,NULL,'Active',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(8,'Dr. Rosario Lim Tan','rltan@hospital.ph','09248901234','Internal Medicine',NULL,'Male',0,0.00,NULL,'Active',2,'2026-04-23 06:16:09','2026-04-23 06:16:09');
|
||
/*!40000 ALTER TABLE `hospital_doctors` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_lab_tests`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_lab_tests`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_lab_tests` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`patient_id` bigint unsigned NOT NULL,
|
||
`doctor_id` bigint unsigned NOT NULL,
|
||
`test_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`test_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Blood',
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pending',
|
||
`priority` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Normal',
|
||
`result` text COLLATE utf8mb4_unicode_ci,
|
||
`test_date` date DEFAULT NULL,
|
||
`result_date` date DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_lab_tests`
|
||
--
|
||
|
||
LOCK TABLES `hospital_lab_tests` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_lab_tests` DISABLE KEYS */;
|
||
INSERT INTO `hospital_lab_tests` VALUES (1,1,4,'Complete Blood Count (CBC)','Blood',NULL,'Completed','Normal','WBC 7.5, RBC 4.8, Hgb 14.2, Hct 42%, Plt 250','2026-04-16','2026-04-17',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(2,1,4,'Lipid Panel','Blood',NULL,'Completed','Normal','Total Cholesterol 220, LDL 140, HDL 45, Triglycerides 180','2026-04-16','2026-04-17',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(3,4,8,'Fasting Blood Sugar','Blood',NULL,'Completed','Normal','FBS: 145 mg/dL (High)','2026-04-02','2026-04-03',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(4,4,8,'HbA1c','Blood',NULL,'Completed','Normal','7.2%','2026-04-02','2026-04-03',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(5,10,7,'Chest X-Ray','Imaging',NULL,'Completed','Normal','No active pulmonary infiltrates. Normal cardiac silhouette.','2026-04-18','2026-04-18',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(6,9,4,'ECG / 12-Lead','Diagnostic',NULL,'Pending','Normal',NULL,'2026-04-23',NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(7,6,3,'Skin Allergy Panel','Blood',NULL,'Pending','Normal',NULL,'2026-04-24',NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(8,8,6,'Prenatal Ultrasound','Imaging',NULL,'Pending','Normal',NULL,'2026-04-24',NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09');
|
||
/*!40000 ALTER TABLE `hospital_lab_tests` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_medical_records`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_medical_records`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_medical_records` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`patient_id` bigint unsigned NOT NULL,
|
||
`doctor_id` bigint unsigned NOT NULL,
|
||
`appointment_id` bigint unsigned DEFAULT NULL,
|
||
`diagnosis` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`treatment_plan` text COLLATE utf8mb4_unicode_ci,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_medical_records`
|
||
--
|
||
|
||
LOCK TABLES `hospital_medical_records` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_medical_records` DISABLE KEYS */;
|
||
INSERT INTO `hospital_medical_records` VALUES (1,1,4,NULL,'Hypertension Stage 1','Amlodipine 5mg daily, low-sodium diet','Blood pressure 140/90. Follow up in 2 weeks.',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(2,10,7,NULL,'Acute Bronchitis','Amoxicillin 500mg TID for 7 days, rest, increase fluid intake','Productive cough for 5 days. Chest x-ray clear.',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(3,7,1,NULL,'Osteoarthritis - Right Knee','Celecoxib 200mg BID, physical therapy 3x weekly','X-ray shows mild joint space narrowing.',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(4,3,5,NULL,'Migraine with Aura','Sumatriptan 50mg as needed, prophylactic Propranolol 40mg daily','Patient reports 3-4 episodes per month.',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(5,4,8,NULL,'Type 2 Diabetes Mellitus','Metformin 500mg BID, lifestyle modifications','HbA1c 7.2%. Advised diabetic diet.',2,'2026-04-23 06:16:09','2026-04-23 06:16:09');
|
||
/*!40000 ALTER TABLE `hospital_medical_records` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_medicines`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_medicines`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_medicines` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`category` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`company` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`composition` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`unit` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Tablet',
|
||
`quantity` int NOT NULL DEFAULT '0',
|
||
`reorder_level` int NOT NULL DEFAULT '10',
|
||
`batch_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`price` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`expiry_date` date DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_medicines`
|
||
--
|
||
|
||
LOCK TABLES `hospital_medicines` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_medicines` DISABLE KEYS */;
|
||
INSERT INTO `hospital_medicines` VALUES (1,'Paracetamol 500mg','Analgesic','Unilab',NULL,'Tablet',500,10,NULL,2.50,'2027-06-30',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(2,'Amoxicillin 500mg','Antibiotic','Pascual Lab',NULL,'Tablet',300,10,NULL,8.00,'2026-12-31',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(3,'Amlodipine 5mg','Antihypertensive','Ritemed',NULL,'Tablet',200,10,NULL,5.50,'2027-03-15',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(4,'Metformin 500mg','Antidiabetic','Unilab',NULL,'Tablet',250,10,NULL,4.00,'2027-09-30',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(5,'Losartan 50mg','Antihypertensive','Ritemed',NULL,'Tablet',180,10,NULL,6.00,'2027-01-31',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(6,'Cetirizine 10mg','Antihistamine','Pascual Lab',NULL,'Tablet',350,10,NULL,3.50,'2027-08-15',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(7,'Omeprazole 20mg','Proton Pump Inhibitor','Unilab',NULL,'Tablet',120,10,NULL,7.00,'2026-11-30',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(8,'Salbutamol Nebule 2.5mg','Bronchodilator','GlaxoSmithKline',NULL,'Tablet',8,10,NULL,12.00,'2026-10-15',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(9,'Insulin Glargine 100U/mL','Antidiabetic','Sanofi',NULL,'Tablet',5,10,NULL,1800.00,'2026-08-31',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(10,'Clopidogrel 75mg','Antiplatelet','Ritemed',NULL,'Tablet',3,10,NULL,15.00,'2027-05-31',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09');
|
||
/*!40000 ALTER TABLE `hospital_medicines` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_patients`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_patients`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_patients` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`dob` date DEFAULT NULL,
|
||
`gender` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`address` text COLLATE utf8mb4_unicode_ci,
|
||
`blood_group` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`emergency_contact_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`emergency_contact_phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`medical_history` text COLLATE utf8mb4_unicode_ci,
|
||
`allergies` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `hospital_patients_email_unique` (`email`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_patients`
|
||
--
|
||
|
||
LOCK TABLES `hospital_patients` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_patients` DISABLE KEYS */;
|
||
INSERT INTO `hospital_patients` VALUES (1,'Andres Bonifacio Jr.','abonifacio@gmail.com','09171111111','1985-06-15','Male','Brgy. Bagumbayan, Taguig City',NULL,NULL,NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(2,'Maria Clara Ramos','mcramos@gmail.com','09172222222','1992-03-22','Female','San Miguel, Manila',NULL,NULL,NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(3,'Emilio Aguinaldo Santos','easantos@gmail.com','09173333333','1978-11-30','Male','Kawit, Cavite',NULL,NULL,NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(4,'Gabriela Silang Cruz','gscruz@gmail.com','09174444444','1990-08-19','Female','Vigan, Ilocos Sur',NULL,NULL,NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(5,'Lapu-Lapu Magaling','llmagaling@gmail.com','09175555555','1975-04-27','Male','Lapu-Lapu City, Cebu',NULL,NULL,NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(6,'Teresa Magbanua Perez','tmperez@gmail.com','09176666666','1988-12-05','Female','Jaro, Iloilo City',NULL,NULL,NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(7,'Diego Silang Reyes','dsreyes@gmail.com','09177777777','1995-07-14','Male','Sta. Cruz, Ilocos Sur',NULL,NULL,NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(8,'Josefa Llanes Escoda','jlescoda@gmail.com','09178888888','1982-01-20','Female','Tondo, Manila',NULL,NULL,NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(9,'Ramon Magsaysay Lopez','rmlopez@gmail.com','09179999999','1969-09-11','Male','Imus, Cavite',NULL,NULL,NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(10,'Corazon Aquino Diaz','cadiaz@gmail.com','09180000001','1993-02-25','Female','Paniqui, Tarlac',NULL,NULL,NULL,NULL,NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09');
|
||
/*!40000 ALTER TABLE `hospital_patients` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_surgeries`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_surgeries`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_surgeries` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`patient_id` bigint unsigned NOT NULL,
|
||
`doctor_id` bigint unsigned NOT NULL,
|
||
`surgery_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`category` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`surgery_date` datetime NOT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Scheduled',
|
||
`operation_theater` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`estimated_duration` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`anesthesia_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_surgeries`
|
||
--
|
||
|
||
LOCK TABLES `hospital_surgeries` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_surgeries` DISABLE KEYS */;
|
||
INSERT INTO `hospital_surgeries` VALUES (1,7,2,'Arthroscopic Knee Surgery','Orthopedic','2026-04-28 08:00:00','Scheduled','OT-1',NULL,NULL,'Right knee. NPO after midnight. Pre-op clearance obtained.',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(2,4,2,'Appendectomy','General','2026-03-24 10:00:00','Completed','OT-2',NULL,NULL,'Laparoscopic. No complications. Discharged after 2 days.',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(3,9,4,'Coronary Angioplasty','Cardiac','2026-05-03 07:00:00','Scheduled','OT-3',NULL,NULL,'Single vessel disease. Stent placement planned.',2,'2026-04-23 06:16:09','2026-04-23 06:16:09');
|
||
/*!40000 ALTER TABLE `hospital_surgeries` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_visitors`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_visitors`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_visitors` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`visitor_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`relation` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`patient_id` bigint unsigned DEFAULT NULL,
|
||
`id_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`id_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`check_in` datetime NOT NULL,
|
||
`check_out` datetime DEFAULT NULL,
|
||
`purpose` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_visitors`
|
||
--
|
||
|
||
LOCK TABLES `hospital_visitors` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_visitors` DISABLE KEYS */;
|
||
INSERT INTO `hospital_visitors` VALUES (1,'Elena Dela Cruz','09281111111','Wife',1,NULL,NULL,'2026-04-23 12:16:09',NULL,'Visit husband in General Ward',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(2,'Marco Dela Cruz','09281111112','Son',1,NULL,NULL,'2026-04-23 12:16:09',NULL,'Visit father',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(3,'Pedro Ramos','09282222222','Father',10,NULL,NULL,'2026-04-23 13:16:09',NULL,'Checking on daughter recovery',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(4,'Lourdes Santos','09283333333','Wife',7,NULL,NULL,'2026-04-23 11:16:09','2026-04-23 13:16:09','Brought clothes and food',2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(5,'Antonio Cruz','09284444444','Husband',3,NULL,NULL,'2026-04-23 13:31:09',NULL,'Accompanying wife for consultation',2,'2026-04-23 06:16:09','2026-04-23 06:16:09');
|
||
/*!40000 ALTER TABLE `hospital_visitors` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hospital_wards`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hospital_wards`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hospital_wards` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'General',
|
||
`total_beds` int NOT NULL DEFAULT '0',
|
||
`available_beds` int NOT NULL DEFAULT '0',
|
||
`floor` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hospital_wards`
|
||
--
|
||
|
||
LOCK TABLES `hospital_wards` WRITE;
|
||
/*!40000 ALTER TABLE `hospital_wards` DISABLE KEYS */;
|
||
INSERT INTO `hospital_wards` VALUES (1,'General Ward A','General',20,17,'1st Floor',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(2,'General Ward B','General',20,18,'1st Floor',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(3,'Private Ward','Private',10,9,'2nd Floor',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(4,'ICU','ICU',8,7,'3rd Floor',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(5,'Pediatric Ward','Pediatric',15,15,'2nd Floor',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09'),(6,'Maternity Ward','Maternity',12,12,'2nd Floor',NULL,2,'2026-04-23 06:16:09','2026-04-23 06:16:09');
|
||
/*!40000 ALTER TABLE `hospital_wards` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `hrm_documents`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `hrm_documents`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `hrm_documents` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`document_category_id` bigint unsigned DEFAULT NULL,
|
||
`document` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`effective_date` date DEFAULT NULL,
|
||
`status` enum('pending','approve','reject') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`uploaded_by` bigint unsigned DEFAULT NULL,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `hrm_documents_document_category_id_foreign` (`document_category_id`),
|
||
KEY `hrm_documents_uploaded_by_foreign` (`uploaded_by`),
|
||
KEY `hrm_documents_approved_by_foreign` (`approved_by`),
|
||
KEY `hrm_documents_creator_id_index` (`creator_id`),
|
||
KEY `hrm_documents_created_by_index` (`created_by`),
|
||
CONSTRAINT `hrm_documents_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `hrm_documents_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `hrm_documents_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `hrm_documents_document_category_id_foreign` FOREIGN KEY (`document_category_id`) REFERENCES `document_categories` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `hrm_documents_uploaded_by_foreign` FOREIGN KEY (`uploaded_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `hrm_documents`
|
||
--
|
||
|
||
LOCK TABLES `hrm_documents` WRITE;
|
||
/*!40000 ALTER TABLE `hrm_documents` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `hrm_documents` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `insurance_booking`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `insurance_booking`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `insurance_booking` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`insurance_id` int NOT NULL,
|
||
`start_date` date NOT NULL,
|
||
`end_date` date NOT NULL,
|
||
`amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `insurance_booking`
|
||
--
|
||
|
||
LOCK TABLES `insurance_booking` WRITE;
|
||
/*!40000 ALTER TABLE `insurance_booking` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `insurance_booking` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `insurances`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `insurances`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `insurances` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`insurance_provider` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`vehicle_name` int NOT NULL,
|
||
`start_date` date NOT NULL,
|
||
`end_date` date NOT NULL,
|
||
`scheduled_date` date NOT NULL,
|
||
`scheduled_period` int NOT NULL,
|
||
`deductible` int NOT NULL,
|
||
`charge_payable` int NOT NULL,
|
||
`policy_number` int NOT NULL,
|
||
`policy_document` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`notes` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `insurances`
|
||
--
|
||
|
||
LOCK TABLES `insurances` WRITE;
|
||
/*!40000 ALTER TABLE `insurances` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `insurances` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `ip_restricts`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `ip_restricts`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `ip_restricts` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`ip` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `ip_restricts_creator_id_index` (`creator_id`),
|
||
KEY `ip_restricts_created_by_index` (`created_by`),
|
||
CONSTRAINT `ip_restricts_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `ip_restricts_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `ip_restricts`
|
||
--
|
||
|
||
LOCK TABLES `ip_restricts` WRITE;
|
||
/*!40000 ALTER TABLE `ip_restricts` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `ip_restricts` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `job_batches`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `job_batches`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `job_batches` (
|
||
`id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`total_jobs` int NOT NULL,
|
||
`pending_jobs` int NOT NULL,
|
||
`failed_jobs` int NOT NULL,
|
||
`failed_job_ids` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`options` mediumtext COLLATE utf8mb4_unicode_ci,
|
||
`cancelled_at` int DEFAULT NULL,
|
||
`created_at` int NOT NULL,
|
||
`finished_at` int DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `job_batches`
|
||
--
|
||
|
||
LOCK TABLES `job_batches` WRITE;
|
||
/*!40000 ALTER TABLE `job_batches` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `job_batches` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `jobs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `jobs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `jobs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`queue` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`attempts` tinyint unsigned NOT NULL,
|
||
`reserved_at` int unsigned DEFAULT NULL,
|
||
`available_at` int unsigned NOT NULL,
|
||
`created_at` int unsigned NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `jobs_queue_index` (`queue`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `jobs`
|
||
--
|
||
|
||
LOCK TABLES `jobs` WRITE;
|
||
/*!40000 ALTER TABLE `jobs` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `jobs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `journal_entries`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `journal_entries`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `journal_entries` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`date` date DEFAULT NULL,
|
||
`reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`journal_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
`journal_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`journal_date` date DEFAULT NULL,
|
||
`entry_type` enum('automatic','manual') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`reference_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`reference_id` bigint unsigned DEFAULT NULL,
|
||
`total_debit` decimal(15,2) DEFAULT NULL,
|
||
`total_credit` decimal(15,2) DEFAULT NULL,
|
||
`status` enum('draft','posted','reversed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `journal_entries`
|
||
--
|
||
|
||
LOCK TABLES `journal_entries` WRITE;
|
||
/*!40000 ALTER TABLE `journal_entries` DISABLE KEYS */;
|
||
INSERT INTO `journal_entries` VALUES (1,NULL,NULL,'Purchase Invoice #P-TEST-NP6SN-0',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-001','2026-04-25','automatic','purchase_invoice',2,1094.46,1094.46,'posted',2),(2,NULL,NULL,'Service Invoice #S-TEST-7NITR-0',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-002','2026-04-24','automatic','service_invoice',1,7179.36,7179.36,'posted',2),(3,NULL,NULL,'Purchase Invoice #P-TEST-EOWHL-1',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-003','2026-04-23','automatic','purchase_invoice',3,507.20,507.20,'posted',2),(4,NULL,NULL,'Service Invoice #S-TEST-EZ0CG-1',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-004','2026-04-22','automatic','service_invoice',2,314.80,314.80,'posted',2),(5,NULL,NULL,'Purchase Invoice #P-TEST-KSGOT-2',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-005','2026-04-20','automatic','purchase_invoice',4,306.88,306.88,'posted',2),(6,NULL,NULL,'Service Invoice #S-TEST-HRM1L-2',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-006','2026-04-03','automatic','service_invoice',3,68.31,68.31,'posted',2),(7,NULL,NULL,'Purchase Invoice #P-TEST-9TFYX-3',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-007','2026-04-21','automatic','purchase_invoice',5,1433.52,1433.52,'posted',2),(8,NULL,NULL,'Service Invoice #S-TEST-XDVP7-3',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-008','2026-04-10','automatic','service_invoice',4,4187.96,4187.96,'posted',2),(9,NULL,NULL,'Purchase Invoice #P-TEST-LVQCH-4',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-009','2026-04-16','automatic','purchase_invoice',6,2192.00,2192.00,'posted',2),(10,NULL,NULL,'Service Invoice #S-TEST-GH2OT-4',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-010','2026-04-01','automatic','service_invoice',5,236.10,236.10,'posted',2),(11,NULL,NULL,'Purchase Invoice #P-TEST-ELZRJ-5',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-011','2026-04-21','automatic','purchase_invoice',7,1939.00,1939.00,'posted',2),(12,NULL,NULL,'Service Invoice #S-TEST-LCA2P-5',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-012','2026-04-15','automatic','service_invoice',6,2991.40,2991.40,'posted',2),(13,NULL,NULL,'Purchase Invoice #P-TEST-ZMBM6-6',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-013','2026-04-10','automatic','purchase_invoice',8,384.78,384.78,'posted',2),(14,NULL,NULL,'Service Invoice #S-TEST-B3K6S-6',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-014','2026-04-02','automatic','service_invoice',7,653.88,653.88,'posted',2),(15,NULL,NULL,'Purchase Invoice #P-TEST-HQF4P-7',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-015','2026-04-24','automatic','purchase_invoice',9,1900.22,1900.22,'posted',2),(16,NULL,NULL,'Service Invoice #S-TEST-DHRZA-7',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-016','2026-04-25','automatic','service_invoice',8,179.05,179.05,'posted',2),(17,NULL,NULL,'Purchase Invoice #P-TEST-64118-8',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-017','2026-04-20','automatic','purchase_invoice',10,2740.10,2740.10,'posted',2),(18,NULL,NULL,'Service Invoice #S-TEST-WFALW-8',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-018','2026-04-09','automatic','service_invoice',9,153.08,153.08,'posted',2),(19,NULL,NULL,'Purchase Invoice #P-TEST-0VPI4-9',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-019','2026-04-03','automatic','purchase_invoice',11,1853.94,1853.94,'posted',2),(20,NULL,NULL,'Service Invoice #S-TEST-RC09H-9',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-020','2026-04-13','automatic','service_invoice',10,136.62,136.62,'posted',2),(21,NULL,NULL,'Purchase Invoice #P-TEST-IABVB-10',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-021','2026-04-01','automatic','purchase_invoice',12,2623.50,2623.50,'posted',2),(22,NULL,NULL,'Service Invoice #S-TEST-DNIII-10',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-022','2026-04-22','automatic','service_invoice',11,2991.40,2991.40,'posted',2),(23,NULL,NULL,'Purchase Invoice #P-TEST-GC3L6-11',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-023','2026-04-15','automatic','purchase_invoice',13,1415.47,1415.47,'posted',2),(24,NULL,NULL,'Service Invoice #S-TEST-ZF1K8-11',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-024','2026-04-10','automatic','service_invoice',12,606.70,606.70,'posted',2),(25,NULL,NULL,'Purchase Invoice #P-TEST-2QJPL-12',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-025','2026-04-09','automatic','purchase_invoice',14,963.68,963.68,'posted',2),(26,NULL,NULL,'Service Invoice #S-TEST-WTD7G-12',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-026','2026-04-19','automatic','service_invoice',13,459.24,459.24,'posted',2),(27,NULL,NULL,'Purchase Invoice #P-TEST-AYM59-13',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-027','2026-04-19','automatic','purchase_invoice',15,1268.00,1268.00,'posted',2),(28,NULL,NULL,'Service Invoice #S-TEST-UOISK-13',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-028','2026-04-15','automatic','service_invoice',14,459.24,459.24,'posted',2),(29,NULL,NULL,'Purchase Invoice #P-TEST-5H02Q-14',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-029','2026-04-24','automatic','purchase_invoice',16,709.52,709.52,'posted',2),(30,NULL,NULL,'Service Invoice #S-TEST-X11NN-14',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-030','2026-04-19','automatic','service_invoice',15,716.20,716.20,'posted',2),(31,NULL,NULL,'Purchase Invoice #P-TEST-5CVBY-15',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-031','2026-04-07','automatic','purchase_invoice',17,698.04,698.04,'posted',2),(32,NULL,NULL,'Service Invoice #S-TEST-FDBDS-15',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-032','2026-04-19','automatic','service_invoice',16,4337.53,4337.53,'posted',2),(33,NULL,NULL,'Purchase Invoice #P-TEST-YAKR1-16',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-033','2026-04-17','automatic','purchase_invoice',18,1686.93,1686.93,'posted',2),(34,NULL,NULL,'Service Invoice #S-TEST-SQXAH-16',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-034','2026-04-22','automatic','service_invoice',17,236.10,236.10,'posted',2),(35,NULL,NULL,'Purchase Invoice #P-TEST-3FOMU-17',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-035','2026-04-12','automatic','purchase_invoice',19,471.01,471.01,'posted',2),(36,NULL,NULL,'Service Invoice #S-TEST-VQ2YC-17',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-036','2026-04-25','automatic','service_invoice',18,294.20,294.20,'posted',2),(37,NULL,NULL,'Purchase Invoice #P-TEST-J0BOZ-18',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-037','2026-04-09','automatic','purchase_invoice',20,362.00,362.00,'posted',2),(38,NULL,NULL,'Service Invoice #S-TEST-N1A7U-18',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-038','2026-04-04','automatic','service_invoice',19,314.80,314.80,'posted',2),(39,NULL,NULL,'Purchase Invoice #P-TEST-KMAG6-19',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-039','2026-04-23','automatic','purchase_invoice',21,492.32,492.32,'posted',2),(40,NULL,NULL,'Service Invoice #S-TEST-MRSK2-19',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-040','2026-04-05','automatic','service_invoice',20,204.93,204.93,'posted',2),(41,NULL,NULL,'Purchase Invoice #P-TEST-7BICA-20',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-041','2026-04-17','automatic','purchase_invoice',22,775.60,775.60,'posted',2),(42,NULL,NULL,'Service Invoice #S-TEST-ZWTKG-20',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-042','2026-04-26','automatic','service_invoice',21,6281.94,6281.94,'posted',2),(43,NULL,NULL,'Purchase Invoice #P-TEST-ZLSP3-21',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-043','2026-04-05','automatic','purchase_invoice',23,1923.90,1923.90,'posted',2),(44,NULL,NULL,'Service Invoice #S-TEST-NTTVO-21',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-044','2026-04-23','automatic','service_invoice',22,765.44,765.44,'posted',2),(45,NULL,NULL,'Purchase Invoice #P-TEST-HOPHV-22',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-045','2026-04-24','automatic','purchase_invoice',24,362.00,362.00,'posted',2),(46,NULL,NULL,'Service Invoice #S-TEST-ST1BA-22',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-046','2026-04-08','automatic','service_invoice',23,121.34,121.34,'posted',2),(47,NULL,NULL,'Purchase Invoice #P-TEST-AQ0ZY-23',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-047','2026-04-18','automatic','purchase_invoice',25,420.09,420.09,'posted',2),(48,NULL,NULL,'Service Invoice #S-TEST-DFPUL-23',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-048','2026-04-06','automatic','service_invoice',24,73.55,73.55,'posted',2),(49,NULL,NULL,'Purchase Invoice #P-TEST-RI2FL-24',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-049','2026-04-23','automatic','purchase_invoice',26,697.40,697.40,'posted',2),(50,NULL,NULL,'Service Invoice #S-TEST-INWYP-24',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-050','2026-04-16','automatic','service_invoice',25,367.75,367.75,'posted',2),(51,NULL,NULL,'Purchase Invoice #P-TEST-EQPQH-25',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-051','2026-04-22','automatic','purchase_invoice',27,416.48,416.48,'posted',2),(52,NULL,NULL,'Service Invoice #S-TEST-OZRTL-25',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-052','2026-04-25','automatic','service_invoice',26,6581.08,6581.08,'posted',2),(53,NULL,NULL,'Purchase Invoice #P-TEST-BAK0V-26',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-053','2026-04-16','automatic','purchase_invoice',28,613.76,613.76,'posted',2),(54,NULL,NULL,'Service Invoice #S-TEST-VQNPZ-26',NULL,0,2,'2026-05-01 13:25:26','2026-05-01 13:25:26','JE-2026-054','2026-04-26','automatic','service_invoice',27,382.72,382.72,'posted',2),(55,NULL,NULL,'Purchase Invoice #P-TEST-CXO5T-27',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-055','2026-04-15','automatic','purchase_invoice',29,854.32,854.32,'posted',2),(56,NULL,NULL,'Service Invoice #S-TEST-R52YU-27',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-056','2026-04-28','automatic','service_invoice',28,606.70,606.70,'posted',2),(57,NULL,NULL,'Purchase Invoice #P-TEST-KP03U-28',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-057','2026-04-07','automatic','purchase_invoice',30,2483.58,2483.58,'posted',2),(58,NULL,NULL,'Service Invoice #S-TEST-GMSFN-28',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-058','2026-04-20','automatic','service_invoice',29,73.55,73.55,'posted',2),(59,NULL,NULL,'Purchase Invoice #P-TEST-PKPRV-29',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-059','2026-04-04','automatic','purchase_invoice',31,284.96,284.96,'posted',2),(60,NULL,NULL,'Service Invoice #S-TEST-GKBOA-29',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-060','2026-04-09','automatic','service_invoice',30,956.80,956.80,'posted',2),(61,NULL,NULL,'Purchase Invoice #P-TEST-OHCK4-30',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-061','2026-04-12','automatic','purchase_invoice',32,1404.56,1404.56,'posted',2),(62,NULL,NULL,'Service Invoice #S-TEST-9X3W4-30',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-062','2026-04-20','automatic','service_invoice',31,5234.95,5234.95,'posted',2),(63,NULL,NULL,'Purchase Invoice #P-TEST-DIYVP-31',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-063','2026-04-04','automatic','purchase_invoice',33,1566.21,1566.21,'posted',2),(64,NULL,NULL,'Service Invoice #S-TEST-9HJC3-31',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-064','2026-04-18','automatic','service_invoice',32,121.34,121.34,'posted',2),(65,NULL,NULL,'Purchase Invoice #P-TEST-NHJ4K-32',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-065','2026-04-30','automatic','purchase_invoice',34,548.25,548.25,'posted',2),(66,NULL,NULL,'Service Invoice #S-TEST-6XIDD-32',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-066','2026-04-30','automatic','service_invoice',33,4337.53,4337.53,'posted',2),(67,NULL,NULL,'Purchase Invoice #P-TEST-ZNKSO-33',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-067','2026-04-18','automatic','purchase_invoice',35,557.92,557.92,'posted',2),(68,NULL,NULL,'Service Invoice #S-TEST-3ZMOX-33',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-068','2026-04-29','automatic','service_invoice',34,956.80,956.80,'posted',2),(69,NULL,NULL,'Purchase Invoice #P-TEST-J2C5J-34',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-069','2026-04-18','automatic','purchase_invoice',36,1066.45,1066.45,'posted',2),(70,NULL,NULL,'Service Invoice #S-TEST-OGDIA-34',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-070','2026-04-12','automatic','service_invoice',35,392.73,392.73,'posted',2),(71,NULL,NULL,'Purchase Invoice #P-TEST-ZKEJS-35',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-071','2026-04-01','automatic','purchase_invoice',37,1779.12,1779.12,'posted',2),(72,NULL,NULL,'Service Invoice #S-TEST-TPBSL-35',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-072','2026-04-06','automatic','service_invoice',36,6132.37,6132.37,'posted',2),(73,NULL,NULL,'Purchase Invoice #P-TEST-AQYVX-36',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-073','2026-04-03','automatic','purchase_invoice',38,657.90,657.90,'posted',2),(74,NULL,NULL,'Service Invoice #S-TEST-Z5LBS-36',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-074','2026-04-16','automatic','service_invoice',37,163.47,163.47,'posted',2),(75,NULL,NULL,'Purchase Invoice #P-TEST-HWJWJ-37',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-075','2026-04-12','automatic','purchase_invoice',39,2536.05,2536.05,'posted',2),(76,NULL,NULL,'Service Invoice #S-TEST-MNKQQ-37',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-076','2026-04-28','automatic','service_invoice',38,314.80,314.80,'posted',2),(77,NULL,NULL,'Purchase Invoice #P-TEST-Q7423-38',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-077','2026-04-19','automatic','purchase_invoice',40,891.10,891.10,'posted',2),(78,NULL,NULL,'Service Invoice #S-TEST-JNRKJ-38',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-078','2026-04-01','automatic','service_invoice',39,765.40,765.40,'posted',2),(79,NULL,NULL,'Purchase Invoice #P-TEST-XRYM2-39',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-079','2026-04-23','automatic','purchase_invoice',41,700.15,700.15,'posted',2),(80,NULL,NULL,'Service Invoice #S-TEST-UP24P-39',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-080','2026-04-04','automatic','service_invoice',40,68.31,68.31,'posted',2),(81,NULL,NULL,'Purchase Invoice #P-TEST-5XLYE-40',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-081','2026-04-26','automatic','purchase_invoice',42,1018.98,1018.98,'posted',2),(82,NULL,NULL,'Service Invoice #S-TEST-66NWL-40',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-082','2026-04-27','automatic','service_invoice',41,3140.97,3140.97,'posted',2),(83,NULL,NULL,'Purchase Invoice #P-TEST-HFS8M-41',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-083','2026-04-17','automatic','purchase_invoice',43,854.88,854.88,'posted',2),(84,NULL,NULL,'Service Invoice #S-TEST-MXSLA-41',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-084','2026-04-03','automatic','service_invoice',42,68.31,68.31,'posted',2),(85,NULL,NULL,'Purchase Invoice #P-TEST-IUHZJ-42',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-085','2026-04-02','automatic','purchase_invoice',44,710.08,710.08,'posted',2),(86,NULL,NULL,'Service Invoice #S-TEST-JNYFW-42',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-086','2026-04-30','automatic','service_invoice',43,179.05,179.05,'posted',2),(87,NULL,NULL,'Purchase Invoice #P-TEST-MAYBI-43',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-087','2026-04-01','automatic','purchase_invoice',45,1049.40,1049.40,'posted',2),(88,NULL,NULL,'Service Invoice #S-TEST-BW0YD-43',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-088','2026-04-04','automatic','service_invoice',44,523.64,523.64,'posted',2),(89,NULL,NULL,'Purchase Invoice #P-TEST-SX7EZ-44',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-089','2026-04-22','automatic','purchase_invoice',46,1632.40,1632.40,'posted',2),(90,NULL,NULL,'Service Invoice #S-TEST-JXHJW-44',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-090','2026-04-14','automatic','service_invoice',45,364.02,364.02,'posted',2),(91,NULL,NULL,'Purchase Invoice #P-TEST-0JBPX-45',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-091','2026-04-29','automatic','purchase_invoice',47,1887.00,1887.00,'posted',2),(92,NULL,NULL,'Service Invoice #S-TEST-UASO3-45',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-092','2026-04-05','automatic','service_invoice',46,7478.50,7478.50,'posted',2),(93,NULL,NULL,'Purchase Invoice #P-TEST-BCHS8-46',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-093','2026-04-22','automatic','purchase_invoice',48,1609.37,1609.37,'posted',2),(94,NULL,NULL,'Service Invoice #S-TEST-IDYN7-46',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-094','2026-04-28','automatic','service_invoice',47,261.82,261.82,'posted',2),(95,NULL,NULL,'Purchase Invoice #P-TEST-HVZWH-47',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-095','2026-04-10','automatic','purchase_invoice',49,874.92,874.92,'posted',2),(96,NULL,NULL,'Service Invoice #S-TEST-HXXSY-47',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-096','2026-04-24','automatic','service_invoice',48,523.64,523.64,'posted',2),(97,NULL,NULL,'Purchase Invoice #P-TEST-KDEDG-48',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-097','2026-04-09','automatic','purchase_invoice',50,394.63,394.63,'posted',2),(98,NULL,NULL,'Service Invoice #S-TEST-4SEZM-48',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-098','2026-04-27','automatic','service_invoice',49,326.94,326.94,'posted',2),(99,NULL,NULL,'Purchase Invoice #P-TEST-UIXRF-49',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-099','2026-04-09','automatic','purchase_invoice',51,840.18,840.18,'posted',2),(100,NULL,NULL,'Service Invoice #S-TEST-UXST5-49',NULL,0,2,'2026-05-01 13:25:27','2026-05-01 13:25:27','JE-2026-100','2026-04-26','automatic','service_invoice',50,956.80,956.80,'posted',2);
|
||
/*!40000 ALTER TABLE `journal_entries` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `journal_entry_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `journal_entry_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `journal_entry_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`journal_entry_id` bigint unsigned NOT NULL,
|
||
`account_id` bigint unsigned NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`debit_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`credit_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `journal_entry_items_journal_entry_id_index` (`journal_entry_id`),
|
||
KEY `journal_entry_items_account_id_index` (`account_id`),
|
||
KEY `journal_entry_items_creator_id_index` (`creator_id`),
|
||
KEY `journal_entry_items_created_by_index` (`created_by`),
|
||
CONSTRAINT `journal_entry_items_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `chart_of_accounts` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `journal_entry_items_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `journal_entry_items_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `journal_entry_items_journal_entry_id_foreign` FOREIGN KEY (`journal_entry_id`) REFERENCES `journal_entries` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `journal_entry_items`
|
||
--
|
||
|
||
LOCK TABLES `journal_entry_items` WRITE;
|
||
/*!40000 ALTER TABLE `journal_entry_items` DISABLE KEYS */;
|
||
INSERT INTO `journal_entry_items` VALUES (1,1,8,'Purchase from Frances Roberts',1094.46,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(2,1,16,'Purchase from vendor',0.00,1094.46,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(3,2,7,'Service to Miss Gretchen Harvey I',7179.36,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(4,2,29,'Service revenue',0.00,7179.36,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(5,3,8,'Purchase from Frances Roberts',507.20,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(6,3,16,'Purchase from vendor',0.00,507.20,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(7,4,7,'Service to Miss Gretchen Harvey I',314.80,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(8,4,29,'Service revenue',0.00,314.80,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(9,5,8,'Purchase from Frances Roberts',306.88,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(10,5,16,'Purchase from vendor',0.00,306.88,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(11,6,7,'Service to Mrs. Mina Brown',68.31,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(12,6,29,'Service revenue',0.00,68.31,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(13,7,8,'Purchase from Norene Hessel',1433.52,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(14,7,16,'Purchase from vendor',0.00,1433.52,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(15,8,7,'Service to Aurelia Gleichner',4187.96,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(16,8,29,'Service revenue',0.00,4187.96,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(17,9,8,'Purchase from Libbie Raynor',2192.00,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(18,9,16,'Purchase from vendor',0.00,2192.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(19,10,7,'Service to Mrs. Margarette Haag',236.10,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(20,10,29,'Service revenue',0.00,236.10,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(21,11,8,'Purchase from Prof. Christiana Cummings DDS',1939.00,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(22,11,16,'Purchase from vendor',0.00,1939.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(23,12,7,'Service to Mrs. Margarette Haag',2991.40,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(24,12,29,'Service revenue',0.00,2991.40,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(25,13,8,'Purchase from Libbie Raynor',384.78,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(26,13,16,'Purchase from vendor',0.00,384.78,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(27,14,7,'Service to Mrs. Mina Brown',653.88,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(28,14,29,'Service revenue',0.00,653.88,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(29,15,8,'Purchase from Norene Hessel',1900.22,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(30,15,16,'Purchase from vendor',0.00,1900.22,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(31,16,7,'Service to Mrs. Margarette Haag',179.05,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(32,16,29,'Service revenue',0.00,179.05,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(33,17,8,'Purchase from Norene Hessel',2740.10,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(34,17,16,'Purchase from vendor',0.00,2740.10,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(35,18,7,'Service to Aurelia Gleichner',153.08,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(36,18,29,'Service revenue',0.00,153.08,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(37,19,8,'Purchase from Prof. Franco Streich',1853.94,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(38,19,16,'Purchase from vendor',0.00,1853.94,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(39,20,7,'Service to Aurelia Gleichner',136.62,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(40,20,29,'Service revenue',0.00,136.62,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(41,21,8,'Purchase from Prof. Christiana Cummings DDS',2623.50,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(42,21,16,'Purchase from vendor',0.00,2623.50,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(43,22,7,'Service to Mrs. Mina Brown',2991.40,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(44,22,29,'Service revenue',0.00,2991.40,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(45,23,8,'Purchase from Frances Roberts',1415.47,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(46,23,16,'Purchase from vendor',0.00,1415.47,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(47,24,7,'Service to Miss Gretchen Harvey I',606.70,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(48,24,29,'Service revenue',0.00,606.70,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(49,25,8,'Purchase from Libbie Raynor',963.68,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(50,25,16,'Purchase from vendor',0.00,963.68,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(51,26,7,'Service to Miss Gretchen Harvey I',459.24,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(52,26,29,'Service revenue',0.00,459.24,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(53,27,8,'Purchase from Frances Roberts',1268.00,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(54,27,16,'Purchase from vendor',0.00,1268.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(55,28,7,'Service to Davonte Gibson',459.24,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(56,28,29,'Service revenue',0.00,459.24,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(57,29,8,'Purchase from Norene Hessel',709.52,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(58,29,16,'Purchase from vendor',0.00,709.52,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(59,30,7,'Service to Aurelia Gleichner',716.20,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(60,30,29,'Service revenue',0.00,716.20,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(61,31,8,'Purchase from Frances Roberts',698.04,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(62,31,16,'Purchase from vendor',0.00,698.04,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(63,32,7,'Service to Miss Gretchen Harvey I',4337.53,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(64,32,29,'Service revenue',0.00,4337.53,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(65,33,8,'Purchase from Frances Roberts',1686.93,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(66,33,16,'Purchase from vendor',0.00,1686.93,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(67,34,7,'Service to Mrs. Mina Brown',236.10,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(68,34,29,'Service revenue',0.00,236.10,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(69,35,8,'Purchase from Prof. Franco Streich',471.01,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(70,35,16,'Purchase from vendor',0.00,471.01,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(71,36,7,'Service to Mrs. Mina Brown',294.20,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(72,36,29,'Service revenue',0.00,294.20,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(73,37,8,'Purchase from Prof. Franco Streich',362.00,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(74,37,16,'Purchase from vendor',0.00,362.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(75,38,7,'Service to Mrs. Mina Brown',314.80,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(76,38,29,'Service revenue',0.00,314.80,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(77,39,8,'Purchase from Prof. Christiana Cummings DDS',492.32,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(78,39,16,'Purchase from vendor',0.00,492.32,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(79,40,7,'Service to Miss Gretchen Harvey I',204.93,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(80,40,29,'Service revenue',0.00,204.93,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(81,41,8,'Purchase from Norene Hessel',775.60,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(82,41,16,'Purchase from vendor',0.00,775.60,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(83,42,7,'Service to Mrs. Margarette Haag',6281.94,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(84,42,29,'Service revenue',0.00,6281.94,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(85,43,8,'Purchase from Prof. Franco Streich',1923.90,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(86,43,16,'Purchase from vendor',0.00,1923.90,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(87,44,7,'Service to Aurelia Gleichner',765.44,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(88,44,29,'Service revenue',0.00,765.44,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(89,45,8,'Purchase from Prof. Franco Streich',362.00,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(90,45,16,'Purchase from vendor',0.00,362.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(91,46,7,'Service to Aurelia Gleichner',121.34,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(92,46,29,'Service revenue',0.00,121.34,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(93,47,8,'Purchase from Prof. Christiana Cummings DDS',420.09,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(94,47,16,'Purchase from vendor',0.00,420.09,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(95,48,7,'Service to Davonte Gibson',73.55,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(96,48,29,'Service revenue',0.00,73.55,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(97,49,8,'Purchase from Libbie Raynor',697.40,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(98,49,16,'Purchase from vendor',0.00,697.40,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(99,50,7,'Service to Mrs. Mina Brown',367.75,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(100,50,29,'Service revenue',0.00,367.75,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(101,51,8,'Purchase from Prof. Franco Streich',416.48,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(102,51,16,'Purchase from vendor',0.00,416.48,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(103,52,7,'Service to Mrs. Mina Brown',6581.08,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(104,52,29,'Service revenue',0.00,6581.08,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(105,53,8,'Purchase from Frances Roberts',613.76,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(106,53,16,'Purchase from vendor',0.00,613.76,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(107,54,7,'Service to Mrs. Mina Brown',382.72,0.00,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(108,54,29,'Service revenue',0.00,382.72,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(109,55,8,'Purchase from Prof. Franco Streich',854.32,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(110,55,16,'Purchase from vendor',0.00,854.32,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(111,56,7,'Service to Miss Gretchen Harvey I',606.70,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(112,56,29,'Service revenue',0.00,606.70,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(113,57,8,'Purchase from Norene Hessel',2483.58,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(114,57,16,'Purchase from vendor',0.00,2483.58,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(115,58,7,'Service to Miss Gretchen Harvey I',73.55,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(116,58,29,'Service revenue',0.00,73.55,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(117,59,8,'Purchase from Frances Roberts',284.96,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(118,59,16,'Purchase from vendor',0.00,284.96,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(119,60,7,'Service to Mrs. Margarette Haag',956.80,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(120,60,29,'Service revenue',0.00,956.80,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(121,61,8,'Purchase from Prof. Christiana Cummings DDS',1404.56,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(122,61,16,'Purchase from vendor',0.00,1404.56,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(123,62,7,'Service to Davonte Gibson',5234.95,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(124,62,29,'Service revenue',0.00,5234.95,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(125,63,8,'Purchase from Norene Hessel',1566.21,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(126,63,16,'Purchase from vendor',0.00,1566.21,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(127,64,7,'Service to Mrs. Mina Brown',121.34,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(128,64,29,'Service revenue',0.00,121.34,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(129,65,8,'Purchase from Norene Hessel',548.25,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(130,65,16,'Purchase from vendor',0.00,548.25,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(131,66,7,'Service to Mrs. Mina Brown',4337.53,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(132,66,29,'Service revenue',0.00,4337.53,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(133,67,8,'Purchase from Prof. Christiana Cummings DDS',557.92,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(134,67,16,'Purchase from vendor',0.00,557.92,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(135,68,7,'Service to Aurelia Gleichner',956.80,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(136,68,29,'Service revenue',0.00,956.80,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(137,69,8,'Purchase from Frances Roberts',1066.45,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(138,69,16,'Purchase from vendor',0.00,1066.45,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(139,70,7,'Service to Aurelia Gleichner',392.73,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(140,70,29,'Service revenue',0.00,392.73,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(141,71,8,'Purchase from Norene Hessel',1779.12,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(142,71,16,'Purchase from vendor',0.00,1779.12,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(143,72,7,'Service to Mrs. Mina Brown',6132.37,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(144,72,29,'Service revenue',0.00,6132.37,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(145,73,8,'Purchase from Norene Hessel',657.90,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(146,73,16,'Purchase from vendor',0.00,657.90,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(147,74,7,'Service to Mrs. Mina Brown',163.47,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(148,74,29,'Service revenue',0.00,163.47,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(149,75,8,'Purchase from Norene Hessel',2536.05,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(150,75,16,'Purchase from vendor',0.00,2536.05,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(151,76,7,'Service to Mrs. Mina Brown',314.80,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(152,76,29,'Service revenue',0.00,314.80,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(153,77,8,'Purchase from Libbie Raynor',891.10,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(154,77,16,'Purchase from vendor',0.00,891.10,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(155,78,7,'Service to Miss Gretchen Harvey I',765.40,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(156,78,29,'Service revenue',0.00,765.40,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(157,79,8,'Purchase from Prof. Christiana Cummings DDS',700.15,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(158,79,16,'Purchase from vendor',0.00,700.15,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(159,80,7,'Service to Davonte Gibson',68.31,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(160,80,29,'Service revenue',0.00,68.31,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(161,81,8,'Purchase from Frances Roberts',1018.98,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(162,81,16,'Purchase from vendor',0.00,1018.98,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(163,82,7,'Service to Mrs. Margarette Haag',3140.97,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(164,82,29,'Service revenue',0.00,3140.97,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(165,83,8,'Purchase from Prof. Christiana Cummings DDS',854.88,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(166,83,16,'Purchase from vendor',0.00,854.88,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(167,84,7,'Service to Miss Gretchen Harvey I',68.31,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(168,84,29,'Service revenue',0.00,68.31,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(169,85,8,'Purchase from Frances Roberts',710.08,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(170,85,16,'Purchase from vendor',0.00,710.08,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(171,86,7,'Service to Miss Gretchen Harvey I',179.05,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(172,86,29,'Service revenue',0.00,179.05,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(173,87,8,'Purchase from Libbie Raynor',1049.40,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(174,87,16,'Purchase from vendor',0.00,1049.40,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(175,88,7,'Service to Aurelia Gleichner',523.64,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(176,88,29,'Service revenue',0.00,523.64,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(177,89,8,'Purchase from Prof. Franco Streich',1632.40,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(178,89,16,'Purchase from vendor',0.00,1632.40,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(179,90,7,'Service to Mrs. Mina Brown',364.02,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(180,90,29,'Service revenue',0.00,364.02,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(181,91,8,'Purchase from Frances Roberts',1887.00,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(182,91,16,'Purchase from vendor',0.00,1887.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(183,92,7,'Service to Aurelia Gleichner',7478.50,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(184,92,29,'Service revenue',0.00,7478.50,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(185,93,8,'Purchase from Frances Roberts',1609.37,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(186,93,16,'Purchase from vendor',0.00,1609.37,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(187,94,7,'Service to Miss Gretchen Harvey I',261.82,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(188,94,29,'Service revenue',0.00,261.82,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(189,95,8,'Purchase from Libbie Raynor',874.92,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(190,95,16,'Purchase from vendor',0.00,874.92,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(191,96,7,'Service to Aurelia Gleichner',523.64,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(192,96,29,'Service revenue',0.00,523.64,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(193,97,8,'Purchase from Prof. Christiana Cummings DDS',394.63,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(194,97,16,'Purchase from vendor',0.00,394.63,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(195,98,7,'Service to Aurelia Gleichner',326.94,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(196,98,29,'Service revenue',0.00,326.94,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(197,99,8,'Purchase from Norene Hessel',840.18,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(198,99,16,'Purchase from vendor',0.00,840.18,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(199,100,7,'Service to Mrs. Margarette Haag',956.80,0.00,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(200,100,29,'Service revenue',0.00,956.80,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27');
|
||
/*!40000 ALTER TABLE `journal_entry_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `journal_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `journal_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `journal_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`journal` int NOT NULL DEFAULT '0',
|
||
`account` int NOT NULL DEFAULT '0',
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`debit` double NOT NULL DEFAULT '0',
|
||
`credit` double NOT NULL DEFAULT '0',
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `journal_items`
|
||
--
|
||
|
||
LOCK TABLES `journal_items` WRITE;
|
||
/*!40000 ALTER TABLE `journal_items` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `journal_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `labels`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `labels`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `labels` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`color` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#FF6B6B',
|
||
`pipeline_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `labels_pipeline_id_foreign` (`pipeline_id`),
|
||
KEY `labels_creator_id_index` (`creator_id`),
|
||
KEY `labels_created_by_index` (`created_by`),
|
||
CONSTRAINT `labels_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `labels_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `labels_pipeline_id_foreign` FOREIGN KEY (`pipeline_id`) REFERENCES `pipelines` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `labels`
|
||
--
|
||
|
||
LOCK TABLES `labels` WRITE;
|
||
/*!40000 ALTER TABLE `labels` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `labels` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `landing_page_settings`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `landing_page_settings`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `landing_page_settings` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`company_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`contact_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`contact_phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`contact_address` text COLLATE utf8mb4_unicode_ci,
|
||
`config_sections` json DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `landing_page_settings`
|
||
--
|
||
|
||
LOCK TABLES `landing_page_settings` WRITE;
|
||
/*!40000 ALTER TABLE `landing_page_settings` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `landing_page_settings` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `lead_activity_logs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `lead_activity_logs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `lead_activity_logs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`lead_id` bigint unsigned NOT NULL,
|
||
`log_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`remark` text COLLATE utf8mb4_unicode_ci,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `lead_activity_logs_user_id_index` (`user_id`),
|
||
KEY `lead_activity_logs_lead_id_index` (`lead_id`),
|
||
CONSTRAINT `lead_activity_logs_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `lead_activity_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `lead_activity_logs`
|
||
--
|
||
|
||
LOCK TABLES `lead_activity_logs` WRITE;
|
||
/*!40000 ALTER TABLE `lead_activity_logs` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `lead_activity_logs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `lead_calls`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `lead_calls`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `lead_calls` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`lead_id` bigint unsigned NOT NULL,
|
||
`subject` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`call_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`duration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`call_result` longtext COLLATE utf8mb4_unicode_ci,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `lead_calls_lead_id_index` (`lead_id`),
|
||
KEY `lead_calls_user_id_index` (`user_id`),
|
||
CONSTRAINT `lead_calls_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `lead_calls_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `lead_calls`
|
||
--
|
||
|
||
LOCK TABLES `lead_calls` WRITE;
|
||
/*!40000 ALTER TABLE `lead_calls` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `lead_calls` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `lead_discussions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `lead_discussions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `lead_discussions` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`lead_id` bigint unsigned NOT NULL,
|
||
`comment` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `lead_discussions_lead_id_index` (`lead_id`),
|
||
KEY `lead_discussions_creator_id_index` (`creator_id`),
|
||
KEY `lead_discussions_created_by_index` (`created_by`),
|
||
CONSTRAINT `lead_discussions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `lead_discussions_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `lead_discussions_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `lead_discussions`
|
||
--
|
||
|
||
LOCK TABLES `lead_discussions` WRITE;
|
||
/*!40000 ALTER TABLE `lead_discussions` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `lead_discussions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `lead_emails`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `lead_emails`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `lead_emails` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`lead_id` bigint unsigned NOT NULL,
|
||
`to` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`subject` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `lead_emails_lead_id_index` (`lead_id`),
|
||
CONSTRAINT `lead_emails_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `lead_emails`
|
||
--
|
||
|
||
LOCK TABLES `lead_emails` WRITE;
|
||
/*!40000 ALTER TABLE `lead_emails` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `lead_emails` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `lead_files`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `lead_files`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `lead_files` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`lead_id` bigint unsigned NOT NULL,
|
||
`file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `lead_files_lead_id_index` (`lead_id`),
|
||
CONSTRAINT `lead_files_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `lead_files`
|
||
--
|
||
|
||
LOCK TABLES `lead_files` WRITE;
|
||
/*!40000 ALTER TABLE `lead_files` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `lead_files` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `lead_stages`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `lead_stages`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `lead_stages` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`order` int DEFAULT NULL,
|
||
`pipeline_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `lead_stages_pipeline_id_foreign` (`pipeline_id`),
|
||
KEY `lead_stages_creator_id_index` (`creator_id`),
|
||
KEY `lead_stages_created_by_index` (`created_by`),
|
||
CONSTRAINT `lead_stages_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `lead_stages_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `lead_stages_pipeline_id_foreign` FOREIGN KEY (`pipeline_id`) REFERENCES `pipelines` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `lead_stages`
|
||
--
|
||
|
||
LOCK TABLES `lead_stages` WRITE;
|
||
/*!40000 ALTER TABLE `lead_stages` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `lead_stages` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `lead_tasks`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `lead_tasks`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `lead_tasks` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`lead_id` bigint unsigned NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`date` date NOT NULL,
|
||
`time` time NOT NULL,
|
||
`priority` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `lead_tasks_lead_id_index` (`lead_id`),
|
||
KEY `lead_tasks_created_by_index` (`created_by`),
|
||
KEY `lead_tasks_creator_id_index` (`creator_id`),
|
||
CONSTRAINT `lead_tasks_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `lead_tasks_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`),
|
||
CONSTRAINT `lead_tasks_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `lead_tasks`
|
||
--
|
||
|
||
LOCK TABLES `lead_tasks` WRITE;
|
||
/*!40000 ALTER TABLE `lead_tasks` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `lead_tasks` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `leads`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `leads`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `leads` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`subject` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`user_id` bigint unsigned DEFAULT NULL,
|
||
`pipeline_id` bigint unsigned DEFAULT NULL,
|
||
`stage_id` bigint unsigned DEFAULT NULL,
|
||
`sources` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`products` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`notes` longtext COLLATE utf8mb4_unicode_ci,
|
||
`labels` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`order` int DEFAULT NULL,
|
||
`phone` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`is_converted` int NOT NULL DEFAULT '0',
|
||
`date` date DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `leads_user_id_index` (`user_id`),
|
||
KEY `leads_pipeline_id_index` (`pipeline_id`),
|
||
KEY `leads_stage_id_index` (`stage_id`),
|
||
KEY `leads_creator_id_index` (`creator_id`),
|
||
KEY `leads_created_by_index` (`created_by`),
|
||
CONSTRAINT `leads_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `leads_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `leads_pipeline_id_foreign` FOREIGN KEY (`pipeline_id`) REFERENCES `pipelines` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `leads_stage_id_foreign` FOREIGN KEY (`stage_id`) REFERENCES `lead_stages` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `leads_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `leads`
|
||
--
|
||
|
||
LOCK TABLES `leads` WRITE;
|
||
/*!40000 ALTER TABLE `leads` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `leads` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `leave_applications`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `leave_applications`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `leave_applications` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`leave_type_id` bigint unsigned DEFAULT NULL,
|
||
`start_date` date DEFAULT NULL,
|
||
`end_date` date DEFAULT NULL,
|
||
`total_days` int DEFAULT NULL,
|
||
`reason` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`status` enum('pending','approved','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`attachment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`approver_comment` longtext COLLATE utf8mb4_unicode_ci,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`approved_at` timestamp NULL DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `leave_applications_employee_id_foreign` (`employee_id`),
|
||
KEY `leave_applications_leave_type_id_foreign` (`leave_type_id`),
|
||
KEY `leave_applications_approved_by_foreign` (`approved_by`),
|
||
KEY `leave_applications_creator_id_index` (`creator_id`),
|
||
KEY `leave_applications_created_by_index` (`created_by`),
|
||
CONSTRAINT `leave_applications_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `leave_applications_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `leave_applications_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `leave_applications_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `leave_applications_leave_type_id_foreign` FOREIGN KEY (`leave_type_id`) REFERENCES `leave_types` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `leave_applications`
|
||
--
|
||
|
||
LOCK TABLES `leave_applications` WRITE;
|
||
/*!40000 ALTER TABLE `leave_applications` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `leave_applications` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `leave_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `leave_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `leave_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`max_days_per_year` int DEFAULT NULL,
|
||
`is_paid` tinyint(1) NOT NULL DEFAULT '0',
|
||
`color` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#FF6B6B',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `leave_types_creator_id_index` (`creator_id`),
|
||
KEY `leave_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `leave_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `leave_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `leave_types`
|
||
--
|
||
|
||
LOCK TABLES `leave_types` WRITE;
|
||
/*!40000 ALTER TABLE `leave_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `leave_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `licenses`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `licenses`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `licenses` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `licenses`
|
||
--
|
||
|
||
LOCK TABLES `licenses` WRITE;
|
||
/*!40000 ALTER TABLE `licenses` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `licenses` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `loan_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `loan_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `loan_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `loan_types_creator_id_index` (`creator_id`),
|
||
KEY `loan_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `loan_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `loan_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `loan_types`
|
||
--
|
||
|
||
LOCK TABLES `loan_types` WRITE;
|
||
/*!40000 ALTER TABLE `loan_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `loan_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `loans`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `loans`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `loans` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`loan_type_id` bigint unsigned NOT NULL,
|
||
`type` enum('fixed','percentage') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`amount` decimal(10,2) NOT NULL,
|
||
`start_date` date NOT NULL,
|
||
`end_date` date NOT NULL,
|
||
`reason` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `loans_loan_type_id_foreign` (`loan_type_id`),
|
||
KEY `loans_employee_id_foreign` (`employee_id`),
|
||
KEY `loans_creator_id_index` (`creator_id`),
|
||
KEY `loans_created_by_index` (`created_by`),
|
||
CONSTRAINT `loans_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `loans_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `loans_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `loans_loan_type_id_foreign` FOREIGN KEY (`loan_type_id`) REFERENCES `loan_types` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `loans`
|
||
--
|
||
|
||
LOCK TABLES `loans` WRITE;
|
||
/*!40000 ALTER TABLE `loans` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `loans` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `login_histories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `login_histories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `login_histories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned DEFAULT NULL,
|
||
`ip` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`date` date NOT NULL,
|
||
`details` json NOT NULL,
|
||
`type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'login',
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `login_histories_user_id_index` (`user_id`),
|
||
KEY `login_histories_created_by_index` (`created_by`),
|
||
CONSTRAINT `login_histories_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `login_histories_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `login_histories`
|
||
--
|
||
|
||
LOCK TABLES `login_histories` WRITE;
|
||
/*!40000 ALTER TABLE `login_histories` DISABLE KEYS */;
|
||
INSERT INTO `login_histories` VALUES (1,2,'127.0.0.1','2026-04-23','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/\", \"browser_language\": \"en\"}','company',2,'2026-04-23 06:00:55','2026-04-23 06:00:55'),(2,1,'127.0.0.1','2026-04-23','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/\", \"browser_language\": \"en\"}','superadmin',1,'2026-04-23 06:01:05','2026-04-23 06:01:05'),(3,2,'127.0.0.1','2026-04-23','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/\", \"browser_language\": \"en\"}','company',2,'2026-04-23 06:03:31','2026-04-23 06:03:31'),(4,2,'127.0.0.1','2026-04-27','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/\", \"browser_language\": \"en\"}','company',2,'2026-04-27 06:35:05','2026-04-27 06:35:05'),(5,1,'127.0.0.1','2026-04-27','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/\", \"browser_language\": \"en\"}','superadmin',1,'2026-04-27 06:39:15','2026-04-27 06:39:15'),(6,2,'127.0.0.1','2026-04-27','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/\", \"browser_language\": \"en\"}','company',2,'2026-04-27 06:45:10','2026-04-27 06:45:10'),(7,2,'127.0.0.1','2026-05-01','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/\", \"browser_language\": \"en\"}','company',2,'2026-05-01 06:13:08','2026-05-01 06:13:08'),(8,2,'127.0.0.1','2026-05-01','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/\", \"browser_language\": \"en\"}','company',2,'2026-05-01 08:17:15','2026-05-01 08:17:15'),(9,1,'127.0.0.1','2026-05-01','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/\", \"browser_language\": \"en\"}','superadmin',1,'2026-05-01 13:57:23','2026-05-01 13:57:23'),(10,2,'127.0.0.1','2026-05-01','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/login\", \"browser_language\": \"en\"}','company',2,'2026-05-01 14:01:36','2026-05-01 14:01:36'),(11,2,'127.0.0.1','2026-05-01','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/login\", \"browser_language\": \"en\"}','company',2,'2026-05-01 14:39:50','2026-05-01 14:39:50'),(12,2,'127.0.0.1','2026-05-01','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/login\", \"browser_language\": \"en\"}','company',2,'2026-05-01 15:54:25','2026-05-01 15:54:25'),(13,2,'127.0.0.1','2026-05-02','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/\", \"browser_language\": \"en\"}','company',2,'2026-05-02 00:28:25','2026-05-02 00:28:25'),(14,2,'127.0.0.1','2026-05-02','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/login\", \"browser_language\": \"en\"}','company',2,'2026-05-02 02:09:53','2026-05-02 02:09:53'),(15,2,'127.0.0.1','2026-05-02','{\"as\": null, \"isp\": null, \"lat\": null, \"lon\": null, \"org\": null, \"zip\": null, \"city\": null, \"query\": \"127.0.0.1\", \"region\": null, \"status\": \"success\", \"country\": null, \"os_name\": \"macOS\", \"timezone\": null, \"regionName\": null, \"countryCode\": null, \"device_type\": \"desktop\", \"browser_name\": \"Chrome\", \"referrer_host\": \"erp-new.test\", \"referrer_path\": \"/login\", \"browser_language\": \"en\"}','company',2,'2026-05-02 02:19:29','2026-05-02 02:19:29');
|
||
/*!40000 ALTER TABLE `login_histories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `maintenance_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `maintenance_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `maintenance_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `maintenance_types`
|
||
--
|
||
|
||
LOCK TABLES `maintenance_types` WRITE;
|
||
/*!40000 ALTER TABLE `maintenance_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `maintenance_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `maintenances`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `maintenances`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `maintenances` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`service_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`service_for` int NOT NULL,
|
||
`vehicle_name` int NOT NULL,
|
||
`maintenance_type` int NOT NULL,
|
||
`service_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`charge` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`charge_bear_by` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`maintenance_date` date NOT NULL,
|
||
`priority` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`total_cost` int NOT NULL,
|
||
`notes` longtext COLLATE utf8mb4_unicode_ci,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `maintenances`
|
||
--
|
||
|
||
LOCK TABLES `maintenances` WRITE;
|
||
/*!40000 ALTER TABLE `maintenances` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `maintenances` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `marketplace_settings`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `marketplace_settings`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `marketplace_settings` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Marketplace',
|
||
`subtitle` text COLLATE utf8mb4_unicode_ci,
|
||
`module` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`config_sections` json DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `marketplace_settings`
|
||
--
|
||
|
||
LOCK TABLES `marketplace_settings` WRITE;
|
||
/*!40000 ALTER TABLE `marketplace_settings` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `marketplace_settings` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `media`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `media`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `media` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`model_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`model_id` bigint unsigned NOT NULL,
|
||
`uuid` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`collection_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`mime_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`disk` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`conversions_disk` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`size` bigint unsigned NOT NULL,
|
||
`manipulations` json NOT NULL,
|
||
`custom_properties` json NOT NULL,
|
||
`generated_conversions` json NOT NULL,
|
||
`responsive_images` json NOT NULL,
|
||
`order_column` int unsigned DEFAULT NULL,
|
||
`directory_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `media_uuid_unique` (`uuid`),
|
||
KEY `media_model_type_model_id_index` (`model_type`,`model_id`),
|
||
KEY `media_directory_id_foreign` (`directory_id`),
|
||
KEY `media_order_column_index` (`order_column`),
|
||
KEY `media_creator_id_index` (`creator_id`),
|
||
KEY `media_created_by_index` (`created_by`),
|
||
CONSTRAINT `media_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `media_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `media_directory_id_foreign` FOREIGN KEY (`directory_id`) REFERENCES `media_directories` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `media`
|
||
--
|
||
|
||
LOCK TABLES `media` WRITE;
|
||
/*!40000 ALTER TABLE `media` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `media` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `media_directories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `media_directories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `media_directories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`parent_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned NOT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `media_directories_slug_unique` (`slug`),
|
||
KEY `media_directories_parent_id_foreign` (`parent_id`),
|
||
KEY `media_directories_creator_id_foreign` (`creator_id`),
|
||
KEY `media_directories_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `media_directories_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `media_directories_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `media_directories_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `media_directories` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `media_directories`
|
||
--
|
||
|
||
LOCK TABLES `media_directories` WRITE;
|
||
/*!40000 ALTER TABLE `media_directories` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `media_directories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_accounting_maps`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_accounting_maps`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_accounting_maps` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`account_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`chart_account_id` bigint unsigned DEFAULT NULL,
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `mfg_accounting_maps_account_type_workspace_unique` (`account_type`,`workspace`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_accounting_maps`
|
||
--
|
||
|
||
LOCK TABLES `mfg_accounting_maps` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_accounting_maps` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_accounting_maps` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_coils`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_coils`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_coils` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` bigint unsigned NOT NULL,
|
||
`parent_coil_id` bigint unsigned DEFAULT NULL,
|
||
`coil_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`supplier` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`heat_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`mill_cert_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`color_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`material_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'galvanized',
|
||
`gauge_mm` decimal(6,3) NOT NULL,
|
||
`width_mm` decimal(8,2) NOT NULL,
|
||
`original_weight_kg` decimal(10,2) NOT NULL,
|
||
`current_weight_kg` decimal(10,2) NOT NULL,
|
||
`original_length_m` decimal(10,2) DEFAULT NULL,
|
||
`status` enum('available','locked','in_production','partial','consumed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'available',
|
||
`received_date` date DEFAULT NULL,
|
||
`purchase_price` decimal(12,2) NOT NULL DEFAULT '0.00',
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `mfg_coils_coil_number_unique` (`coil_number`),
|
||
KEY `mfg_coils_item_id_foreign` (`item_id`),
|
||
KEY `mfg_coils_parent_coil_id_foreign` (`parent_coil_id`),
|
||
KEY `mfg_coils_workspace_status_index` (`workspace`,`status`),
|
||
KEY `mfg_coils_coil_number_index` (`coil_number`),
|
||
CONSTRAINT `mfg_coils_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `mfg_items` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `mfg_coils_parent_coil_id_foreign` FOREIGN KEY (`parent_coil_id`) REFERENCES `mfg_coils` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_coils`
|
||
--
|
||
|
||
LOCK TABLES `mfg_coils` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_coils` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_coils` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_finished_goods`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_finished_goods`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_finished_goods` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` bigint unsigned NOT NULL,
|
||
`profile_id` bigint unsigned NOT NULL,
|
||
`length_mm` decimal(10,2) NOT NULL,
|
||
`thickness_mm` decimal(6,3) NOT NULL,
|
||
`width_mm` decimal(8,2) NOT NULL,
|
||
`color_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`brand` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`stock_quantity` int NOT NULL DEFAULT '0',
|
||
`reserved_quantity` int NOT NULL DEFAULT '0',
|
||
`selling_price` decimal(12,2) NOT NULL DEFAULT '0.00',
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `mfg_finished_goods_item_id_foreign` (`item_id`),
|
||
KEY `mfg_finished_goods_profile_id_foreign` (`profile_id`),
|
||
KEY `mfg_finished_goods_workspace_profile_id_index` (`workspace`,`profile_id`),
|
||
CONSTRAINT `mfg_finished_goods_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `mfg_items` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `mfg_finished_goods_profile_id_foreign` FOREIGN KEY (`profile_id`) REFERENCES `mfg_profiles` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_finished_goods`
|
||
--
|
||
|
||
LOCK TABLES `mfg_finished_goods` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_finished_goods` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_finished_goods` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`sku` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`type` enum('raw_coil','remnant','finished_good','accessory') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`unit_cost` decimal(12,2) NOT NULL DEFAULT '0.00',
|
||
`unit` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'kg',
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `mfg_items_sku_unique` (`sku`),
|
||
KEY `mfg_items_workspace_type_index` (`workspace`,`type`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_items`
|
||
--
|
||
|
||
LOCK TABLES `mfg_items` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_items` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_job_orders`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_job_orders`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_job_orders` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`job_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`sales_order_id` bigint unsigned DEFAULT NULL,
|
||
`profile_id` bigint unsigned NOT NULL,
|
||
`required_pieces` int NOT NULL,
|
||
`required_length_m` decimal(10,2) NOT NULL,
|
||
`total_linear_meters` decimal(12,2) NOT NULL,
|
||
`produced_pieces` int NOT NULL DEFAULT '0',
|
||
`produced_length_m` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`status` enum('pending','in_progress','completed','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`priority` enum('low','normal','high','urgent') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'normal',
|
||
`scheduled_date` date DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `mfg_job_orders_job_number_unique` (`job_number`),
|
||
KEY `mfg_job_orders_sales_order_id_foreign` (`sales_order_id`),
|
||
KEY `mfg_job_orders_profile_id_foreign` (`profile_id`),
|
||
KEY `mfg_job_orders_workspace_status_index` (`workspace`,`status`),
|
||
CONSTRAINT `mfg_job_orders_profile_id_foreign` FOREIGN KEY (`profile_id`) REFERENCES `mfg_profiles` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `mfg_job_orders_sales_order_id_foreign` FOREIGN KEY (`sales_order_id`) REFERENCES `mfg_sales_orders` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_job_orders`
|
||
--
|
||
|
||
LOCK TABLES `mfg_job_orders` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_job_orders` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_job_orders` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_machines`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_machines`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_machines` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`type` enum('decoiler','slitter','roll_former','shear','leveler','bender') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`model_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`location` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` enum('operational','maintenance','offline') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'operational',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_machines`
|
||
--
|
||
|
||
LOCK TABLES `mfg_machines` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_machines` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_machines` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_production_outputs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_production_outputs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_production_outputs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`production_run_id` bigint unsigned NOT NULL,
|
||
`finished_good_id` bigint unsigned DEFAULT NULL,
|
||
`profile_id` bigint unsigned NOT NULL,
|
||
`length_m` decimal(10,2) NOT NULL,
|
||
`quantity` int NOT NULL,
|
||
`weight_kg` decimal(10,2) NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `mfg_production_outputs_production_run_id_foreign` (`production_run_id`),
|
||
KEY `mfg_production_outputs_finished_good_id_foreign` (`finished_good_id`),
|
||
KEY `mfg_production_outputs_profile_id_foreign` (`profile_id`),
|
||
CONSTRAINT `mfg_production_outputs_finished_good_id_foreign` FOREIGN KEY (`finished_good_id`) REFERENCES `mfg_finished_goods` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `mfg_production_outputs_production_run_id_foreign` FOREIGN KEY (`production_run_id`) REFERENCES `mfg_production_runs` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `mfg_production_outputs_profile_id_foreign` FOREIGN KEY (`profile_id`) REFERENCES `mfg_profiles` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_production_outputs`
|
||
--
|
||
|
||
LOCK TABLES `mfg_production_outputs` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_production_outputs` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_production_outputs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_production_runs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_production_runs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_production_runs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`run_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`job_order_id` bigint unsigned DEFAULT NULL,
|
||
`coil_id` bigint unsigned NOT NULL,
|
||
`machine_id` bigint unsigned DEFAULT NULL,
|
||
`operator_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`operator_id` int DEFAULT NULL,
|
||
`coil_weight_start_kg` decimal(10,2) NOT NULL,
|
||
`coil_weight_end_kg` decimal(10,2) DEFAULT NULL,
|
||
`weight_used_kg` decimal(10,2) DEFAULT NULL,
|
||
`total_output_length_m` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`total_output_pieces` int NOT NULL DEFAULT '0',
|
||
`status` enum('setup','running','paused','completed','aborted') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'setup',
|
||
`started_at` timestamp NULL DEFAULT NULL,
|
||
`completed_at` timestamp NULL DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `mfg_production_runs_run_number_unique` (`run_number`),
|
||
KEY `mfg_production_runs_job_order_id_foreign` (`job_order_id`),
|
||
KEY `mfg_production_runs_coil_id_foreign` (`coil_id`),
|
||
KEY `mfg_production_runs_machine_id_foreign` (`machine_id`),
|
||
KEY `mfg_production_runs_workspace_status_index` (`workspace`,`status`),
|
||
CONSTRAINT `mfg_production_runs_coil_id_foreign` FOREIGN KEY (`coil_id`) REFERENCES `mfg_coils` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `mfg_production_runs_job_order_id_foreign` FOREIGN KEY (`job_order_id`) REFERENCES `mfg_job_orders` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `mfg_production_runs_machine_id_foreign` FOREIGN KEY (`machine_id`) REFERENCES `mfg_machines` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_production_runs`
|
||
--
|
||
|
||
LOCK TABLES `mfg_production_runs` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_production_runs` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_production_runs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_profiles`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_profiles`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_profiles` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`profile_type` enum('roofing','purlin','deck','spandrel','gutter','ridge_cap','flashing','custom','bended','plainsheet','roll_up_leaf') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`default_width_mm` decimal(8,2) NOT NULL,
|
||
`default_thickness_mm` decimal(6,3) NOT NULL,
|
||
`density_kg_m3` decimal(10,2) NOT NULL DEFAULT '7850.00',
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_profiles`
|
||
--
|
||
|
||
LOCK TABLES `mfg_profiles` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_profiles` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_profiles` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_remnants`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_remnants`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_remnants` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` bigint unsigned NOT NULL,
|
||
`source_coil_id` bigint unsigned NOT NULL,
|
||
`remnant_tag` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`remaining_weight_kg` decimal(10,2) NOT NULL,
|
||
`remaining_length_m` decimal(10,2) DEFAULT NULL,
|
||
`gauge_mm` decimal(6,3) NOT NULL,
|
||
`width_mm` decimal(8,2) NOT NULL,
|
||
`color_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` enum('available','reserved','consumed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'available',
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `mfg_remnants_remnant_tag_unique` (`remnant_tag`),
|
||
KEY `mfg_remnants_item_id_foreign` (`item_id`),
|
||
KEY `mfg_remnants_source_coil_id_foreign` (`source_coil_id`),
|
||
KEY `mfg_remnants_workspace_status_index` (`workspace`,`status`),
|
||
CONSTRAINT `mfg_remnants_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `mfg_items` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `mfg_remnants_source_coil_id_foreign` FOREIGN KEY (`source_coil_id`) REFERENCES `mfg_coils` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_remnants`
|
||
--
|
||
|
||
LOCK TABLES `mfg_remnants` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_remnants` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_remnants` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_sales_order_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_sales_order_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_sales_order_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`sales_order_id` bigint unsigned NOT NULL,
|
||
`profile_id` bigint unsigned DEFAULT NULL,
|
||
`source_coil_id` bigint unsigned DEFAULT NULL,
|
||
`product_description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`pieces` int NOT NULL,
|
||
`length_per_piece_m` decimal(10,2) NOT NULL,
|
||
`total_quantity` decimal(12,2) NOT NULL,
|
||
`unit` enum('LM','kg','pcs') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'LM',
|
||
`unit_price` decimal(12,2) NOT NULL,
|
||
`subtotal` decimal(14,2) NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `mfg_sales_order_items_sales_order_id_foreign` (`sales_order_id`),
|
||
KEY `mfg_sales_order_items_profile_id_foreign` (`profile_id`),
|
||
KEY `mfg_sales_order_items_source_coil_id_foreign` (`source_coil_id`),
|
||
CONSTRAINT `mfg_sales_order_items_profile_id_foreign` FOREIGN KEY (`profile_id`) REFERENCES `mfg_profiles` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `mfg_sales_order_items_sales_order_id_foreign` FOREIGN KEY (`sales_order_id`) REFERENCES `mfg_sales_orders` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `mfg_sales_order_items_source_coil_id_foreign` FOREIGN KEY (`source_coil_id`) REFERENCES `mfg_coils` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_sales_order_items`
|
||
--
|
||
|
||
LOCK TABLES `mfg_sales_order_items` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_sales_order_items` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_sales_order_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_sales_orders`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_sales_orders`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_sales_orders` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`order_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`customer_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`customer_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`customer_phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`order_date` date NOT NULL,
|
||
`due_date` date DEFAULT NULL,
|
||
`status` enum('draft','confirmed','in_production','completed','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`subtotal` decimal(14,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(12,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(12,2) NOT NULL DEFAULT '0.00',
|
||
`total` decimal(14,2) NOT NULL DEFAULT '0.00',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `mfg_sales_orders_order_number_unique` (`order_number`),
|
||
KEY `mfg_sales_orders_workspace_status_index` (`workspace`,`status`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_sales_orders`
|
||
--
|
||
|
||
LOCK TABLES `mfg_sales_orders` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_sales_orders` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_sales_orders` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `mfg_stock_movements`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `mfg_stock_movements`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `mfg_stock_movements` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` bigint unsigned NOT NULL,
|
||
`movement_type` enum('receive','issue','adjust','transfer','production_in','production_out','sale') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`quantity` decimal(12,2) NOT NULL,
|
||
`unit` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'kg',
|
||
`reference_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`reference_id` bigint unsigned DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `mfg_stock_movements_item_id_foreign` (`item_id`),
|
||
KEY `mfg_stock_movements_workspace_item_id_index` (`workspace`,`item_id`),
|
||
KEY `mfg_stock_movements_reference_type_reference_id_index` (`reference_type`,`reference_id`),
|
||
CONSTRAINT `mfg_stock_movements_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `mfg_items` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `mfg_stock_movements`
|
||
--
|
||
|
||
LOCK TABLES `mfg_stock_movements` WRITE;
|
||
/*!40000 ALTER TABLE `mfg_stock_movements` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `mfg_stock_movements` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `migrations`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `migrations`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `migrations` (
|
||
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
||
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`batch` int NOT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=306 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `migrations`
|
||
--
|
||
|
||
LOCK TABLES `migrations` WRITE;
|
||
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
|
||
INSERT INTO `migrations` VALUES (1,'0001_01_01_000000_create_users_table',1),(2,'0001_01_01_000001_create_cache_table',1),(3,'0001_01_01_000002_create_jobs_table',1),(4,'0001_01_01_000003_create_personal_access_tokens_table',1),(5,'2023_06_10_043700_create_ai_templates_table',1),(6,'2023_06_10_050110_create_ai_template_categories_table',1),(7,'2023_06_10_051036_create_ai_template_languages_table',1),(8,'2023_06_10_052024_create_ai_template_prompts_table',1),(9,'2023_06_10_071056_create_ai_prompt_histories_table',1),(10,'2023_06_10_101058_create_ai_prompt_responses_table',1),(11,'2023_06_15_050547_create_assistant_templates_table',1),(12,'2023_11_09_072655_create_journal_entries',1),(13,'2023_11_09_072707_create_journal_items',1),(14,'2023_11_23_060933_create_custom_fields_table',1),(15,'2023_11_23_060954_create_custom_field_values_table',1),(16,'2023_11_23_061026_create_custom_custom_fields_module_list_table',1),(17,'2023_11_23_072808_create_drivers_table',1),(18,'2023_11_23_072826_create_licenses_table',1),(19,'2023_11_23_072842_create_vehicle_types_table',1),(20,'2023_11_23_072938_create_recurrings_table',1),(21,'2023_11_23_073000_create_maintenance_types_table',1),(22,'2023_11_23_073015_create_fleet_customers_table',1),(23,'2023_11_23_073035_create_vehicles_table',1),(24,'2023_11_23_083315_create_insurances_table',1),(25,'2023_11_23_083330_create_fuels_table',1),(26,'2023_11_23_083349_create_bookings_table',1),(27,'2023_11_23_083410_create_fleet_payments_table',1),(28,'2023_11_23_083426_create_maintenances_table',1),(29,'2023_11_23_083440_create_fuel_types_table',1),(30,'2024_01_15_000000_create_notifications_table',1),(31,'2024_02_12_034023_create_notification_template_langs_table',1),(32,'2024_02_27_100854_create_document_table',1),(33,'2024_02_27_100935_create_documents_types_table',1),(34,'2024_02_27_101003_create_document_comments_table',1),(35,'2024_02_27_101025_create_document_notes_table',1),(36,'2024_02_27_101056_create_document_attechments_table',1),(37,'2024_04_16_064739_create_vehicle_invoice_table',1),(38,'2024_04_19_111538_add_rate_to_vehicles_table',1),(39,'2024_05_10_070016_create_bookings_business_hours_table',1),(40,'2024_05_14_095935_create_bookings_customers_table',1),(41,'2024_05_16_040739_create_bookings_appointments_table',1),(42,'2024_05_22_111346_create_bookings_staff_table',1),(43,'2024_05_27_093256_create_bookings_extra_services_table',1),(44,'2024_05_27_121408_create_bookings_packages_table',1),(45,'2024_06_11_033622_create_bookings_duration_table',1),(46,'2024_06_27_092817_add_staff_name_to_drivers_table',1),(47,'2024_06_28_061840_add_client_name_to_fleet_customers_table',1),(48,'2024_07_23_050322_create_driver_attechments_table',1),(49,'2024_07_25_084028_create_fleet_logbooks_table',1),(50,'2024_07_26_092654_create_insurance_booking_table',1),(51,'2024_08_07_071841_drop_client_id_from_drivers_table',1),(52,'2024_08_28_104321_update_info_tables',1),(53,'2024_09_09_065136_update_slug_in_document_table',1),(54,'2025_01_15_000000_create_projects_table',1),(55,'2025_01_15_120000_create_helpdesk_categories_table',1),(56,'2025_01_15_120001_create_helpdesk_tickets_table',1),(57,'2025_01_15_120002_create_helpdesk_replies_table',1),(58,'2025_01_16_000000_create_project_users_table',1),(59,'2025_01_17_000000_create_project_clients_table',1),(60,'2025_01_18_000000_create_project_milestones_table',1),(61,'2025_01_19_000000_create_task_stages_table',1),(62,'2025_01_20_000000_create_bug_stages_table',1),(63,'2025_01_20_000004_create_newsletter_subscribers_table',1),(64,'2025_01_21_000000_create_project_tasks_table',1),(65,'2025_01_22_000000_create_task_comments_table',1),(66,'2025_01_22_000001_create_task_subtasks_table',1),(67,'2025_01_23_035121_create_project_bugs_table',1),(68,'2025_01_23_035122_create_bug_comments_table',1),(69,'2025_01_24_000000_create_project_files_table',1),(70,'2025_08_12_105132_create_permission_tables',1),(71,'2025_08_12_105136_create_warehouses_table',1),(72,'2025_08_18_104001_create_settings_table',1),(73,'2025_08_25_032702_create_media_directories_table',1),(74,'2025_08_25_032809_create_media_table',1),(75,'2025_08_28_083657_create_add_ons_table',1),(76,'2025_08_28_083708_create_user_active_modules_table',1),(77,'2025_09_01_000001_create_plans_table',1),(78,'2025_09_02_043140_create_email_templates_table',1),(79,'2025_09_02_043357_create_email_template_langs_table',1),(80,'2025_09_02_120820_create_bank_transfer_payments_table',1),(81,'2025_09_03_055622_create_orders_table',1),(82,'2025_09_03_055623_create_coupons_table',1),(83,'2025_09_03_055624_create_user_coupons_table',1),(84,'2025_09_09_000002_create_landing_page_settings_table',1),(85,'2025_09_09_000002_create_marketplace_settings_table',1),(86,'2025_09_09_072036_create_login_histories_table',1),(87,'2025_09_09_091805_create_product_service_categories_table',1),(88,'2025_09_09_091806_create_product_service_items_table',1),(89,'2025_09_10_000003_create_custom_pages_table',1),(90,'2025_09_11_000000_create_product_service_taxes_table',1),(91,'2025_09_12_000000_create_product_service_units_table',1),(92,'2025_09_13_000000_create_warehouse_stocks_table',1),(93,'2025_09_13_000002_create_transfers_table',1),(94,'2025_09_16_112923_create_ch_messages_table',1),(95,'2025_09_16_112929_create_ch_favorites_table',1),(96,'2025_09_16_999999_add_active_status_to_users',1),(97,'2025_09_17_999999_create_ch_pinned_table',1),(98,'2025_09_19_051742_create_pipelines_table',1),(99,'2025_09_19_051751_create_lead_stages_table',1),(100,'2025_09_19_051756_create_deal_stages_table',1),(101,'2025_09_19_051759_create_labels_table',1),(102,'2025_09_19_051802_create_sources_table',1),(103,'2025_09_19_053000_create_project_activity_logs_table',1),(104,'2025_09_19_054403_create_vendors_table',1),(105,'2025_09_19_054404_create_customers_table',1),(106,'2025_09_19_095250_create_leads_table',1),(107,'2025_09_19_095251_create_lead_tasks_table',1),(108,'2025_09_19_095252_create_user_leads_table',1),(109,'2025_09_19_095253_create_lead_calls_table',1),(110,'2025_09_19_095254_create_lead_emails_table',1),(111,'2025_09_19_095255_create_lead_discussions_table',1),(112,'2025_09_19_095256_create_lead_files_table',1),(113,'2025_09_19_095257_create_lead_activity_logs_table',1),(114,'2025_09_19_113901_create_account_categories_table',1),(115,'2025_09_19_113908_create_account_types_table',1),(116,'2025_09_22_101716_create_chart_of_accounts_table',1),(117,'2025_09_22_102616_create_opening_balances_table',1),(118,'2025_09_23_105344_create_deals_table',1),(119,'2025_09_23_105345_create_client_deals_table',1),(120,'2025_09_23_105346_create_user_deals_table',1),(121,'2025_09_24_095534_create_deal_emails_table',1),(122,'2025_09_24_100216_create_deal_discussions_table',1),(123,'2025_09_24_101253_create_deal_calls_table',1),(124,'2025_09_25_100915_create_bank_accounts_table',1),(125,'2025_09_25_100916_create_journal_entries_table',1),(126,'2025_09_25_100917_create_journal_entry_items_table',1),(127,'2025_09_25_100920_create_bank_transactions_table',1),(128,'2025_09_25_100925_create_bank_transfers_table',1),(129,'2025_09_26_035056_create_client_permissions_table',1),(130,'2025_09_26_035057_create_deal_tasks_table',1),(131,'2025_09_26_035058_create_deal_activity_logs_table',1),(132,'2025_09_26_035059_create_deal_files_table',1),(133,'2025_09_26_102328_create_purchase_invoices_table',1),(134,'2025_09_26_102329_create_purchase_returns_table',1),(135,'2025_09_26_102334_create_purchase_invoice_items_table',1),(136,'2025_09_26_102335_create_purchase_invoice_item_taxes_table',1),(137,'2025_09_26_102335_create_vendor_payments_table',1),(138,'2025_09_26_102336_create_purchase_return_items_table',1),(139,'2025_09_26_102337_create_purchase_return_item_taxes_table',1),(140,'2025_09_26_102338_create_debit_notes_table',1),(141,'2025_09_26_102339_create_debit_note_items_table',1),(142,'2025_09_26_102340_create_debit_note_item_taxes_table',1),(143,'2025_09_26_102340_create_sales_invoices_table',1),(144,'2025_09_26_102341_create_debit_note_applications_table',1),(145,'2025_09_26_102341_create_sales_invoice_items_table',1),(146,'2025_09_26_102342_create_sales_invoice_item_taxes_table',1),(147,'2025_09_26_102342_create_vendor_payment_allocations_table',1),(148,'2025_09_26_102344_create_sales_invoice_returns_table',1),(149,'2025_09_26_102345_create_sales_invoice_return_items_table',1),(150,'2025_09_26_102346_create_sales_invoice_return_item_taxes_table',1),(151,'2025_09_26_102347_create_credit_notes_table',1),(152,'2025_09_26_102348_create_credit_note_items_table',1),(153,'2025_09_26_102349_create_credit_note_item_taxes_table',1),(154,'2025_09_26_102350_create_customer_payments_table',1),(155,'2025_09_26_102351_create_customer_payment_allocations_table',1),(156,'2025_09_26_102352_create_credit_note_applications_table',1),(157,'2025_09_30_000001_create_pos_table',1),(158,'2025_09_30_000002_create_pos_items_table',1),(159,'2025_09_30_000003_create_pos_payments_table',1),(160,'2025_10_03_062636_create_branches_table',1),(161,'2025_10_03_065257_create_departments_table',1),(162,'2025_10_03_072103_create_designations_table',1),(163,'2025_10_03_102101_create_employee_document_types_table',1),(164,'2025_10_03_102102_create_shifts_table',1),(165,'2025_10_03_104915_create_employees_table',1),(166,'2025_10_06_091850_create_award_types_table',1),(167,'2025_10_06_093852_create_awards_table',1),(168,'2025_10_06_112503_create_promotions_table',1),(169,'2025_10_06_123503_create_employee_documents_table',1),(170,'2025_10_07_060235_create_resignations_table',1),(171,'2025_10_07_092423_create_termination_types_table',1),(172,'2025_10_07_093544_create_terminations_table',1),(173,'2025_10_07_120550_create_warning_types_table',1),(174,'2025_10_07_122919_create_warnings_table',1),(175,'2025_10_08_062604_create_complaint_types_table',1),(176,'2025_10_08_070200_create_complaints_table',1),(177,'2025_10_09_043736_create_employee_transfers_table',1),(178,'2025_10_09_071422_create_holiday_types_table',1),(179,'2025_10_09_094925_create_holidays_table',1),(180,'2025_10_09_112023_create_document_categories_table',1),(181,'2025_10_09_121614_create_hrm_documents_table',1),(182,'2025_10_10_120000_create_acknowledgments_table',1),(183,'2025_10_13_064205_create_announcement_categories_table',1),(184,'2025_10_13_083935_create_announcements_table',1),(185,'2025_10_13_085010_create_announcement_departments_table',1),(186,'2025_10_14_064320_create_event_types_table',1),(187,'2025_10_14_065758_create_events_table',1),(188,'2025_10_15_035216_create_event_departments_table',1),(189,'2025_10_16_060524_create_leave_types_table',1),(190,'2025_10_16_071333_create_leave_applications_table',1),(191,'2025_11_03_064139_create_attendances_table',1),(192,'2025_11_05_052453_create_allowance_types_table',1),(193,'2025_11_05_053540_create_deduction_types_table',1),(194,'2025_11_05_054916_create_loan_types_table',1),(195,'2025_11_06_105850_create_payrolls_table',1),(196,'2025_11_07_000001_create_payroll_entries_table',1),(197,'2025_11_10_120000_create_sales_proposals_table',1),(198,'2025_11_10_120001_create_sales_proposal_items_table',1),(199,'2025_11_10_120002_create_sales_proposal_item_taxes_table',1),(200,'2025_11_11_054833_create_revenue_categories_table',1),(201,'2025_11_11_054834_create_expense_categories_table',1),(202,'2025_11_11_092117_create_revenues_table',1),(203,'2025_11_11_092118_create_expenses_table',1),(204,'2025_11_12_061951_create_deductions_table',1),(205,'2025_11_12_062109_create_loans_table',1),(206,'2025_11_12_062150_create_overtimes_table',1),(207,'2025_11_12_062232_create_allowances_table',1),(208,'2025_12_17_120932_create_ip_restricts_table',1),(209,'2026_02_09_065225_add_default_pipeline_to_users_table',1),(210,'2026_03_04_000001_create_apikey_setiings_table',1),(211,'2026_03_04_000002_create_work_spaces_table',1),(212,'2026_03_10_000001_create_salary_components_table',1),(213,'2026_03_10_000002_create_pay_groups_table',1),(214,'2026_03_10_000003_create_employee_salary_structures_table',1),(215,'2026_03_10_000004_create_employee_salary_items_table',1),(216,'2026_03_10_000005_create_payroll_settings_table',1),(217,'2026_03_10_000006_add_advanced_columns_to_payroll_entries',1),(218,'2026_03_14_000001_create_skill_categories_table',1),(219,'2026_03_14_000001_register_wfm_modules_in_add_ons',1),(220,'2026_03_14_000002_create_skills_table',1),(221,'2026_03_14_000003_create_employee_skills_table',1),(222,'2026_03_14_000004_create_skill_requirements_table',1),(223,'2026_03_14_000005_create_skill_assessments_table',1),(224,'2026_03_14_000006_add_training_url_to_skills',1),(225,'2026_03_14_000007_create_review_cycles_and_skill_reviews_tables',1),(226,'2026_03_14_100001_create_certifications_table',1),(227,'2026_03_14_100002_create_employee_certifications_table',1),(228,'2026_03_14_100003_create_certification_renewals_table',1),(229,'2026_03_14_180000_update_pm_tables_for_lifecycle_workflows',1),(230,'2026_03_14_190000_create_pm_financial_links_tables',1),(231,'2026_03_14_195000_create_pm_notes_attachments_tables',1),(232,'2026_03_14_200000_create_pm_messages_and_tenant_link',1),(233,'2026_03_14_200001_create_engagements_table',1),(234,'2026_03_14_200002_create_engagement_roles_table',1),(235,'2026_03_14_200003_create_engagement_assignments_table',1),(236,'2026_03_14_200004_create_engagement_forecasts_table',1),(237,'2026_03_14_200005_create_engagement_templates_table',1),(238,'2026_03_14_200006_create_engagement_schedules_table',1),(239,'2026_03_14_200007_add_branch_id_to_engagements',1),(240,'2026_03_14_300001_create_pm_lookup_tables',1),(241,'2026_03_14_300001_create_time_entries_table',1),(242,'2026_03_14_300002_create_pm_properties_table',1),(243,'2026_03_14_300002_create_utilization_targets_table',1),(244,'2026_03_14_300003_create_cost_rates_table',1),(245,'2026_03_14_300003_create_pm_property_related_tables',1),(246,'2026_03_14_300004_create_pm_lease_maintenance_audit_tables',1),(247,'2026_03_14_300004_create_utilization_rules_and_alerts_tables',1),(248,'2026_03_14_300005_add_work_mode_to_employees',1),(249,'2026_03_14_300005_register_property_management_addon',1),(250,'2026_03_14_300006_create_utilization_forecasts_table',1),(251,'2026_03_15_000001_add_payroll_columns_to_attendances',1),(252,'2026_03_15_000002_create_attendance_logs_table',1),(253,'2026_03_15_000004_add_statutory_override_to_salary_structures',1),(254,'2026_03_16_000001_create_ai_forecasts_table',1),(255,'2026_03_16_000002_create_ai_forecast_history_table',1),(256,'2026_03_17_195318_add_semi_monthly_to_payroll_frequency',1),(257,'2026_03_17_202700_create_payroll_entry_adjustments_table',1),(258,'2026_03_17_204700_add_cutoff_number_to_payrolls',1),(259,'2026_03_18_000001_create_mfg_items_table',1),(260,'2026_03_18_000002_create_mfg_profiles_table',1),(261,'2026_03_18_000003_create_mfg_machines_table',1),(262,'2026_03_18_000004_create_mfg_coils_table',1),(263,'2026_03_18_000005_create_mfg_remnants_table',1),(264,'2026_03_18_000006_create_mfg_finished_goods_table',1),(265,'2026_03_18_000007_create_mfg_sales_orders_table',1),(266,'2026_03_18_000008_create_mfg_sales_order_items_table',1),(267,'2026_03_18_000009_create_mfg_job_orders_table',1),(268,'2026_03_18_000010_create_mfg_production_runs_table',1),(269,'2026_03_18_000011_create_mfg_production_outputs_table',1),(270,'2026_03_18_000012_create_mfg_stock_movements_table',1),(271,'2026_03_18_000013_create_mfg_accounting_maps_table',1),(272,'2026_03_19_000001_expand_profile_types_add_brand',1),(273,'2026_04_23_000001_create_hospital_doctors_table',1),(274,'2026_04_23_000002_create_hospital_patients_table',1),(275,'2026_04_23_000003_create_hospital_appointments_table',1),(276,'2026_04_23_000004_create_hospital_medical_records_table',1),(277,'2026_04_23_000005_create_hospital_beds_table',1),(278,'2026_04_23_000006_create_hospital_lab_tests_table',1),(279,'2026_04_23_000007_create_hospital_surgeries_table',1),(280,'2026_04_23_000008_create_hospital_ambulances_table',1),(281,'2026_04_23_000009_create_hospital_medicines_table',1),(282,'2026_04_23_000010_create_hospital_visitors_table',1),(283,'2026_04_23_000002_add_comprehensive_fields_to_hospital_tables',2),(284,'2026_04_23_000011_add_comprehensive_fields_to_hospital_tables',3),(285,'2026_05_01_142011_create_warehouse_stock_movements_table',4),(286,'2026_05_01_142012_create_warehouse_transfers_table',4),(287,'2026_05_01_142013_create_warehouse_transfer_items_table',4),(288,'2026_05_01_172601_add_is_received_to_purchase_invoices_table',5),(289,'2026_05_01_173735_create_warehouse_receipts_table',6),(290,'2026_05_01_173736_create_warehouse_receipt_items_table',7),(291,'2026_05_01_174948_add_min_stock_level_to_product_service_items_table',8),(292,'2026_05_01_180133_add_batch_and_expiry_to_warehouse_tables',9),(293,'2026_05_01_182648_add_dispatched_qty_to_sales_invoice_items_table',10),(294,'2026_05_01_195852_add_requires_password_change_to_users_table',11),(295,'2026_05_01_203135_create_activity_log_table',12),(296,'2026_05_01_203200_add_batch_uuid_to_activity_log_table',13),(297,'2026_05_02_000001_create_asset_categories_table',14),(298,'2026_05_02_000002_create_assets_table',14),(299,'2026_05_02_000003_create_asset_depreciations_table',14),(300,'2026_05_02_000004_create_asset_maintenances_table',14),(301,'2026_05_02_000005_create_asset_disposals_table',14),(302,'2026_05_02_000006_create_asset_assignments_table',14),(303,'2026_05_02_000007_create_asset_insurances_table',14),(304,'2026_05_02_000008_create_asset_import_logs_table',14),(305,'2026_05_02_000009_add_enterprise_fields',15);
|
||
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `model_has_permissions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `model_has_permissions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `model_has_permissions` (
|
||
`permission_id` bigint unsigned NOT NULL,
|
||
`model_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`model_id` bigint unsigned NOT NULL,
|
||
PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
|
||
KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`),
|
||
CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `model_has_permissions`
|
||
--
|
||
|
||
LOCK TABLES `model_has_permissions` WRITE;
|
||
/*!40000 ALTER TABLE `model_has_permissions` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `model_has_permissions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `model_has_roles`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `model_has_roles`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `model_has_roles` (
|
||
`role_id` bigint unsigned NOT NULL,
|
||
`model_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`model_id` bigint unsigned NOT NULL,
|
||
PRIMARY KEY (`role_id`,`model_id`,`model_type`),
|
||
KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`),
|
||
CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `model_has_roles`
|
||
--
|
||
|
||
LOCK TABLES `model_has_roles` WRITE;
|
||
/*!40000 ALTER TABLE `model_has_roles` DISABLE KEYS */;
|
||
INSERT INTO `model_has_roles` VALUES (1,'App\\Models\\User',1),(2,'App\\Models\\User',2),(2,'App\\Models\\User',54),(2,'App\\Models\\User',55),(2,'App\\Models\\User',56),(2,'App\\Models\\User',57),(2,'App\\Models\\User',58),(3,'App\\Models\\User',59),(4,'App\\Models\\User',60),(3,'App\\Models\\User',61),(4,'App\\Models\\User',62),(3,'App\\Models\\User',63),(4,'App\\Models\\User',64),(3,'App\\Models\\User',65),(4,'App\\Models\\User',66),(3,'App\\Models\\User',67),(4,'App\\Models\\User',68),(3,'App\\Models\\User',69),(4,'App\\Models\\User',70),(3,'App\\Models\\User',71),(4,'App\\Models\\User',72),(3,'App\\Models\\User',73),(4,'App\\Models\\User',74),(3,'App\\Models\\User',75),(4,'App\\Models\\User',76),(3,'App\\Models\\User',77),(4,'App\\Models\\User',78),(5,'App\\Models\\User',79),(5,'App\\Models\\User',80),(5,'App\\Models\\User',81),(5,'App\\Models\\User',82),(5,'App\\Models\\User',83),(5,'App\\Models\\User',84),(5,'App\\Models\\User',85),(5,'App\\Models\\User',86),(5,'App\\Models\\User',87),(5,'App\\Models\\User',88),(5,'App\\Models\\User',89),(5,'App\\Models\\User',90),(5,'App\\Models\\User',91),(5,'App\\Models\\User',92),(5,'App\\Models\\User',93),(4,'App\\Models\\User',94),(4,'App\\Models\\User',95),(4,'App\\Models\\User',96),(4,'App\\Models\\User',97),(4,'App\\Models\\User',98),(4,'App\\Models\\User',99),(4,'App\\Models\\User',100),(4,'App\\Models\\User',101),(4,'App\\Models\\User',102),(4,'App\\Models\\User',103),(4,'App\\Models\\User',104),(4,'App\\Models\\User',105),(4,'App\\Models\\User',106),(4,'App\\Models\\User',107),(4,'App\\Models\\User',108);
|
||
/*!40000 ALTER TABLE `model_has_roles` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `newsletter_subscribers`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `newsletter_subscribers`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `newsletter_subscribers` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`subscribed_at` timestamp NOT NULL,
|
||
`ip_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`country` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`region` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`country_code` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`isp` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`org` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`timezone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`latitude` decimal(10,8) DEFAULT NULL,
|
||
`longitude` decimal(11,8) DEFAULT NULL,
|
||
`user_agent` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`browser` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`os` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`device` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `newsletter_subscribers_email_unique` (`email`),
|
||
KEY `newsletter_subscribers_subscribed_at_index` (`subscribed_at`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `newsletter_subscribers`
|
||
--
|
||
|
||
LOCK TABLES `newsletter_subscribers` WRITE;
|
||
/*!40000 ALTER TABLE `newsletter_subscribers` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `newsletter_subscribers` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `notification_template_langs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `notification_template_langs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `notification_template_langs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`parent_id` int NOT NULL DEFAULT '0',
|
||
`lang` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`module` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`content` text COLLATE utf8mb4_unicode_ci,
|
||
`variables` json DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `notification_template_langs`
|
||
--
|
||
|
||
LOCK TABLES `notification_template_langs` WRITE;
|
||
/*!40000 ALTER TABLE `notification_template_langs` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `notification_template_langs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `notifications`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `notifications`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `notifications` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`module` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`type` varchar(188) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`action` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`permissions` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `notifications`
|
||
--
|
||
|
||
LOCK TABLES `notifications` WRITE;
|
||
/*!40000 ALTER TABLE `notifications` DISABLE KEYS */;
|
||
INSERT INTO `notifications` VALUES (1,'general','mail','New User','on','manage-users','2026-05-01 13:57:26','2026-05-01 13:57:26'),(2,'general','mail','Customer Invoice Send','on','invoice send','2026-05-01 13:57:26','2026-05-01 13:57:26'),(3,'general','mail','Payment Reminder','on','invoice manage','2026-05-01 13:57:26','2026-05-01 13:57:26'),(4,'general','mail','Invoice Payment Create','on','invoice payment create','2026-05-01 13:57:26','2026-05-01 13:57:26'),(5,'general','mail','Proposal Status Updated','on','proposal send','2026-05-01 13:57:26','2026-05-01 13:57:26'),(6,'general','mail','New Helpdesk Ticket','on','helpdesk manage','2026-05-01 13:57:26','2026-05-01 13:57:26'),(7,'general','mail','New Helpdesk Ticket Reply','on','helpdesk manage','2026-05-01 13:57:26','2026-05-01 13:57:26'),(8,'general','mail','Purchase Send','on','purchase send','2026-05-01 13:57:26','2026-05-01 13:57:26'),(9,'general','mail','Purchase Payment Create','on','purchase payment create','2026-05-01 13:57:26','2026-05-01 13:57:26');
|
||
/*!40000 ALTER TABLE `notifications` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `opening_balances`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `opening_balances`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `opening_balances` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`account_id` bigint unsigned NOT NULL,
|
||
`financial_year` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`opening_balance` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`balance_type` enum('debit','credit') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`effective_date` date NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `opening_balances_account_id_foreign` (`account_id`),
|
||
KEY `opening_balances_creator_id_foreign` (`creator_id`),
|
||
KEY `opening_balances_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `opening_balances_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `chart_of_accounts` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `opening_balances_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `opening_balances_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `opening_balances`
|
||
--
|
||
|
||
LOCK TABLES `opening_balances` WRITE;
|
||
/*!40000 ALTER TABLE `opening_balances` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `opening_balances` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `orders`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `orders`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `orders` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`order_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`card_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`card_exp_month` int DEFAULT NULL,
|
||
`card_exp_year` int DEFAULT NULL,
|
||
`plan_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`plan_id` bigint unsigned DEFAULT NULL,
|
||
`price` decimal(10,2) NOT NULL,
|
||
`discount_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`currency` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'USD',
|
||
`txn_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`payment_status` enum('pending','succeeded','failed','refunded') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`payment_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'bank_transfer',
|
||
`receipt` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `orders_order_id_unique` (`order_id`),
|
||
KEY `orders_plan_id_foreign` (`plan_id`),
|
||
KEY `orders_created_by_index` (`created_by`),
|
||
CONSTRAINT `orders_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `orders_plan_id_foreign` FOREIGN KEY (`plan_id`) REFERENCES `plans` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=115 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `orders`
|
||
--
|
||
|
||
LOCK TABLES `orders` WRITE;
|
||
/*!40000 ALTER TABLE `orders` DISABLE KEYS */;
|
||
INSERT INTO `orders` VALUES (1,'9F4B1535CF4C','Dr. Royce Kertzmann MD','wtillman@example.com','**** **** **** 2514',6,2027,'Trial',1,65.85,15.92,'USD','e21331c4-0e34-333b-ad60-a7e0c493cf64','succeeded','Stripe','http://www.champlin.info/distinctio-voluptatem-aut-ad-consequatur-aliquid-natus-omnis',2,'2026-01-17 15:15:30','2026-01-17 15:15:30'),(2,'9F4B1535D568','Keely Jast','ibednar@example.net','**** **** **** 9476',12,2027,'Trial',1,290.98,33.85,'GBP','174f565f-2513-31f6-a42d-522c18561f08','succeeded','Stripe',NULL,2,'2026-01-17 21:19:26','2026-01-17 21:19:26'),(3,'9F4B1535D82B','Mr. Adonis D\'Amore','reyes.miller@example.com','**** **** **** 9577',1,2024,'Trial',1,174.56,26.27,'EUR','51bafc47-5653-32c7-9b9e-de99f2a61c8d','succeeded','Paypal','http://www.weissnat.com/repellendus-ut-vero-aperiam-adipisci.html',2,'2026-01-06 13:51:34','2026-01-06 13:51:34'),(4,'9F4B1535DB0F','Letha Schmitt','cgreenfelder@example.com','**** **** **** 1183',10,2025,'Trial',1,224.83,47.44,'USD','649e1c2e-2445-3565-85ba-1fedda4db236','succeeded','Paypal',NULL,2,'2026-01-29 22:22:08','2026-01-29 22:22:08'),(5,'9F4B1535DD5B','Dr. Brayan Durgan','upton.yvonne@example.com','**** **** **** 3578',9,2025,'Trial',1,100.85,17.99,'GBP','90a676c8-45c0-3ff7-88a3-84f84e87618e','succeeded','Paypal',NULL,2,'2026-01-05 12:06:09','2026-01-05 12:06:09'),(6,'9F4B1535DF9F','Savannah McKenzie','qmills@example.com','**** **** **** 6434',7,2026,'Trial',1,68.73,3.46,'GBP','72cc28c8-ecbe-371b-a38b-3594cad3d265','succeeded','Paypal','https://okuneva.com/sint-error-sed-velit-error-corporis-et.html',2,'2026-01-26 12:06:07','2026-01-26 12:06:07'),(7,'9F4B1535E20B','Angelita Armstrong','caesar.quitzon@example.org','**** **** **** 9043',11,2027,'Trial',1,216.33,24.13,'EUR','8c1a351c-27d4-38e4-a53a-45bbe9caaba9','succeeded','Bank Transfer','http://mertz.biz/architecto-at-voluptates-consequatur-quam-quaerat',2,'2026-01-02 07:15:55','2026-01-02 07:15:55'),(8,'9F4B1535E428','Donnie Daugherty','emery38@example.net','**** **** **** 1520',2,2027,'Trial',1,267.98,10.09,'EUR','176697ee-a6e7-367f-989b-d9f01c4d8387','succeeded','Stripe','http://www.herman.com/aut-ex-nesciunt-nobis-porro-sapiente-debitis-quo.html',2,'2026-01-17 21:02:36','2026-01-17 21:02:36'),(9,'9F4B1535E6AE','Prof. Mustafa Windler Jr.','caesar26@example.net','**** **** **** 3921',10,2030,'Trial',1,258.06,61.48,'GBP','61415d63-1611-3e54-9503-22144a87879b','succeeded','Paypal',NULL,2,'2026-01-13 10:13:17','2026-01-13 10:13:17'),(10,'9F4B1535E918','Abner Blick','zola.batz@example.com','**** **** **** 8773',8,2026,'Trial',1,73.22,19.11,'GBP','f6eb567b-a07f-35cd-a3de-100d4086ad1b','succeeded','Bank Transfer',NULL,2,'2026-01-19 22:47:13','2026-01-19 22:47:13'),(11,'9F4B1535EB5E','Jayme Gleichner','edward89@example.net','**** **** **** 0815',1,2024,'Trial',1,71.04,17.08,'GBP','e9b62ea7-1e64-32b9-ad06-a1f96e2e1803','succeeded','Paypal','http://bailey.com/est-quasi-officia-et-rerum',2,'2026-01-20 00:15:02','2026-01-20 00:15:02'),(12,'9F4B1535EDB5','Lavern Sawayn PhD','nmurray@example.net','**** **** **** 3636',4,2025,'Trial',1,54.08,13.41,'EUR','c9d85161-cfa7-3cff-bf58-235fc867998b','succeeded','Stripe','http://www.kub.org/voluptatem-ipsam-non-a-ipsum-ut-voluptatibus',2,'2026-01-05 19:26:26','2026-01-05 19:26:26'),(13,'9F4B1535EFC2','Prof. Esmeralda Schiller Sr.','tristin39@example.org','**** **** **** 4611',3,2026,'Trial',1,251.31,35.12,'EUR','d545fa6a-9520-3125-ab8f-b4030a0ae9e3','succeeded','Bank Transfer','http://bahringer.biz/mollitia-numquam-occaecati-est-id-eum-itaque-rerum.html',2,'2026-01-22 15:34:46','2026-01-22 15:34:46'),(14,'9F4B1535F1EB','Olga Bailey','harvey.orpha@example.org','**** **** **** 9684',6,2028,'Trial',1,56.07,0.37,'EUR','cf339173-4dd3-3835-b8ef-c2bbe7c22a6d','succeeded','Bank Transfer','http://lind.net/et-tempore-alias-dolores-voluptas-rem-fugit-ratione.html',2,'2026-01-30 10:58:37','2026-01-30 10:58:37'),(15,'9F4B1535F42C','Brooke Kessler','nhoppe@example.com','**** **** **** 6823',3,2027,'Trial',1,141.99,14.27,'USD','1917a260-ab2c-345b-ba4d-a20a6676916c','succeeded','Bank Transfer','http://www.oberbrunner.com/natus-explicabo-quae-et-distinctio-unde-quis',2,'2026-01-13 01:39:59','2026-01-13 01:39:59'),(16,'9F4B1535F6A0','Jimmie Morar','marie31@example.net','**** **** **** 5015',9,2027,'Trial',1,163.82,27.10,'USD','1e1f6319-a15c-3b6e-9ace-9069e283a894','succeeded','Bank Transfer',NULL,2,'2026-02-16 08:12:37','2026-02-16 08:12:37'),(17,'9F4B1535F926','Prof. Athena Johnston','ludie.huel@example.org','**** **** **** 6506',5,2024,'Trial',1,126.35,13.36,'EUR','84f3a39d-cfbf-3f61-8463-a5dd54f752e1','succeeded','Paypal',NULL,2,'2026-02-25 14:19:21','2026-02-25 14:19:21'),(18,'9F4B1535FBA8','Lilla Hamill','mtorphy@example.net','**** **** **** 3708',4,2024,'Trial',1,86.91,2.01,'GBP','fd6ff9f9-730e-3e9b-8e2e-5f642a0f1fb4','succeeded','Bank Transfer','http://tillman.org/voluptates-doloremque-harum-velit.html',2,'2026-02-24 10:08:32','2026-02-24 10:08:32'),(19,'9F4B1535FE53','Ivory Friesen','tromp.rupert@example.com','**** **** **** 5287',8,2025,'Trial',1,220.00,50.12,'EUR','e3369174-7848-30ef-b889-4fc1f806770e','succeeded','Bank Transfer',NULL,2,'2026-02-18 20:47:12','2026-02-18 20:47:12'),(20,'9F4B1536010F','Ms. Anais O\'Kon','diego91@example.org','**** **** **** 0473',5,2025,'Trial',1,247.11,13.78,'GBP','16dc4e53-6148-3872-a36f-da6fc9bfa278','succeeded','Bank Transfer','http://www.powlowski.com/minima-consequuntur-voluptas-sed-in-beatae',2,'2026-02-19 16:09:39','2026-02-19 16:09:39'),(21,'9F4B153603D9','Uriah Pfannerstill','eddie.towne@example.net','**** **** **** 4686',9,2024,'Trial',1,85.51,21.93,'EUR','28a6fcf8-d694-398e-9a94-ae3dfc480714','succeeded','Stripe',NULL,2,'2026-03-26 08:31:15','2026-03-26 08:31:15'),(22,'9F4B1536068A','Marvin Glover DDS','dedrick49@example.net','**** **** **** 6970',5,2025,'Trial',1,106.79,4.24,'GBP','c64822a9-44e2-3452-bb29-cb46090e4197','succeeded','Stripe',NULL,2,'2026-03-24 15:54:09','2026-03-24 15:54:09'),(23,'9F4B153608BC','Hilton Nikolaus','flatley.nestor@example.com','**** **** **** 6114',9,2026,'Trial',1,215.00,21.87,'USD','59e66924-37ff-3091-be4e-e86b659a324d','succeeded','Paypal',NULL,2,'2026-03-24 11:57:06','2026-03-24 11:57:06'),(24,'9F4B15360AB1','Selmer Klocko','ima.schowalter@example.com','**** **** **** 3555',12,2027,'Trial',1,74.66,20.28,'GBP','71c25918-3439-34ef-a811-14bd182db32f','succeeded','Bank Transfer',NULL,2,'2026-03-23 20:48:36','2026-03-23 20:48:36'),(25,'9F4B15360CA8','Leonie Thiel DDS','tremayne.dibbert@example.org','**** **** **** 2947',4,2030,'Trial',1,140.36,16.81,'EUR','d335a071-033b-327e-a775-71a57eada430','succeeded','Stripe',NULL,2,'2026-03-17 13:07:46','2026-03-17 13:07:46'),(26,'9F4B15360E92','Rusty Kuhn','vivianne.stamm@example.net','**** **** **** 2071',5,2029,'Trial',1,222.49,10.68,'GBP','7530f9cc-f25f-3a50-8682-cd16c13a043f','succeeded','Stripe','http://www.jacobson.biz/pariatur-facilis-ullam-numquam-nostrum-saepe-molestias',2,'2026-03-16 07:40:49','2026-03-16 07:40:49'),(27,'9F4B1536117B','Esmeralda Olson','reichel.bernadette@example.com','**** **** **** 8718',11,2024,'Trial',1,53.34,10.41,'USD','e312b52f-b20b-3223-9832-f312d9ca76c3','succeeded','Bank Transfer','http://www.weissnat.org/in-qui-tempore-voluptatem-praesentium-et-dolor-nostrum-nam',2,'2026-03-20 11:54:47','2026-03-20 11:54:47'),(28,'9F4B15361375','Lyda Jones','milo.barton@example.org','**** **** **** 7329',6,2027,'Trial',1,131.22,14.03,'GBP','d528a2fc-91c0-3d3d-81c4-22f4a85d3214','succeeded','Bank Transfer','https://www.okon.org/ab-recusandae-quod-vel-aliquid-ut-ut',2,'2026-03-06 04:41:20','2026-03-06 04:41:20'),(29,'9F4B153661C7','Oma Doyle','jamir.russel@example.net','**** **** **** 4739',6,2024,'Trial',1,163.35,2.57,'GBP','4b72b6c7-a15c-3340-a335-48c9b20abb3f','succeeded','Stripe','http://www.nolan.com/est-maiores-temporibus-qui-blanditiis-quasi-eos-magnam-omnis',2,'2026-03-06 00:29:08','2026-03-06 00:29:08'),(30,'9F4B153663F8','Prof. Marcelle Armstrong I','robbie68@example.com','**** **** **** 1295',9,2027,'Trial',1,101.80,8.30,'GBP','aa3d4b21-363e-3a2c-9155-81b2ef085f16','succeeded','Bank Transfer','http://kuhic.org/nemo-excepturi-minima-fugit-qui',2,'2026-03-12 12:33:58','2026-03-12 12:33:58'),(31,'9F4B1536672A','Henriette Hermiston','bernadette27@example.com','**** **** **** 3493',7,2028,'Trial',1,65.49,14.71,'EUR','77be8e78-fab0-3b98-91ef-c84d3fbb8d84','succeeded','Bank Transfer','http://walter.biz/laboriosam-non-dolores-qui-dolores.html',2,'2026-03-24 03:36:07','2026-03-24 03:36:07'),(32,'9F4B15366918','Reginald Anderson','carter.osvaldo@example.net','**** **** **** 7725',1,2027,'Trial',1,203.50,45.68,'EUR','1d0410b4-2654-3741-b60e-5cb9b479b394','succeeded','Bank Transfer','http://dooley.com/',2,'2026-04-23 03:44:30','2026-04-23 03:44:30'),(33,'9F4B15366BD6','Princess Jast I','jrowe@example.org','**** **** **** 5669',2,2029,'Trial',1,56.87,2.51,'EUR','8bf48bb5-fb24-3a4a-8c3c-5d0180441357','succeeded','Stripe','https://larson.com/numquam-ea-voluptatem-soluta-doloribus-sunt-ullam.html',2,'2026-04-20 20:16:53','2026-04-20 20:16:53'),(34,'9F4B15366E88','Roma Witting','elizabeth.hermiston@example.net','**** **** **** 6335',3,2029,'Trial',1,167.80,48.34,'USD','5739fb56-665c-386a-a22d-6f5f21094d62','succeeded','Stripe','http://hirthe.biz/eius-similique-qui-quo-earum-accusamus.html',2,'2026-04-24 04:01:02','2026-04-24 04:01:02'),(35,'9F4B15367111','Dr. Jazmyn Wintheiser DVM','byost@example.com','**** **** **** 6205',3,2029,'Trial',1,62.60,14.69,'EUR','1c674db9-7d87-30ec-87b2-86948e8691b0','succeeded','Paypal','http://lang.com/',2,'2026-04-29 11:06:11','2026-04-29 11:06:11'),(36,'9F4B153673B3','Prof. Moses Carroll I','hellen.sawayn@example.net','**** **** **** 7813',1,2024,'Trial',1,100.75,12.35,'EUR','899b3162-7fc1-3c49-ab43-f17d8cc7d3b6','succeeded','Paypal',NULL,2,'2026-04-17 11:24:41','2026-04-17 11:24:41'),(37,'9F4B1536765E','Kimberly Stamm II','connor.douglas@example.org','**** **** **** 8882',4,2029,'Trial',1,189.92,21.91,'EUR','5275690b-7ec1-362e-82b5-746470d51694','succeeded','Bank Transfer','http://www.zieme.net/est-aspernatur-provident-sed-molestias-quasi',2,'2026-04-11 05:41:00','2026-04-11 05:41:00'),(38,'9F4B153678FB','Bernardo Bauch','noah.hills@example.org','**** **** **** 6197',7,2026,'Trial',1,60.56,0.50,'USD','01405f36-4ada-3ecf-a83d-98c9cc021cc1','succeeded','Bank Transfer',NULL,2,'2026-04-05 12:54:26','2026-04-05 12:54:26'),(39,'9F4B15367BB2','Jordane Predovic','hsatterfield@example.net','**** **** **** 8458',11,2030,'Trial',1,238.05,46.65,'EUR','3b432b52-d22d-3cf0-8ab4-8134d710a299','succeeded','Paypal',NULL,2,'2026-04-19 19:06:10','2026-04-19 19:06:10'),(40,'9F4B15367E48','Mertie Schmitt','swaelchi@example.com','**** **** **** 3839',5,2026,'Trial',1,173.37,44.78,'EUR','b788f2bb-196a-31eb-887f-19a605140d33','succeeded','Paypal','https://www.wolff.info/magnam-in-exercitationem-sed',2,'2026-04-05 21:01:34','2026-04-05 21:01:34'),(41,'9F4B1536801B','Prof. Florence Gutkowski V','hettie84@example.com','**** **** **** 3328',9,2029,'Trial',1,281.78,62.51,'GBP','b81a0e65-adc6-31b3-9e24-937af0b3738d','succeeded','Paypal',NULL,2,'2026-05-21 14:29:41','2026-05-21 14:29:41'),(42,'9F4B153681A2','Damion Emmerich','houston.crist@example.org','**** **** **** 7700',4,2024,'Trial',1,254.84,13.35,'EUR','3ac3d525-50e1-3079-818d-64a30d35dd10','succeeded','Stripe',NULL,2,'2026-05-23 22:35:21','2026-05-23 22:35:21'),(43,'9F4B15368435','Mr. Llewellyn DuBuque','elisa.stroman@example.com','**** **** **** 5159',10,2025,'Trial',1,241.32,14.09,'EUR','7b5d8c1d-c992-3142-9c2f-4bd909acb110','succeeded','Paypal','http://www.nolan.com/occaecati-at-hic-doloremque-rerum-ut.html',2,'2026-05-14 20:48:25','2026-05-14 20:48:25'),(44,'9F4B153686E9','Philip Nikolaus','maci.schamberger@example.com','**** **** **** 1262',3,2024,'Trial',1,288.80,72.53,'USD','e60d428e-7cc3-312d-8666-4be2ada75bfe','succeeded','Stripe','https://kutch.info/enim-aut-tempora-error-corrupti.html',2,'2026-05-03 06:50:48','2026-05-03 06:50:48'),(45,'9F4B15368950','Gaetano Hintz DDS','kutch.geovanni@example.net','**** **** **** 1264',2,2027,'Trial',1,64.17,18.46,'EUR','de9d022f-8e74-306e-b051-4361aa52e6ad','succeeded','Stripe','http://klocko.com/sit-minus-ut-id-voluptas-debitis-eveniet-asperiores',2,'2026-05-23 02:17:55','2026-05-23 02:17:55'),(46,'9F4B15368B25','Dr. Adonis Wilderman','rbartell@example.com','**** **** **** 0556',10,2030,'Trial',1,175.43,17.07,'USD','642bca4b-9546-3852-9301-97365c2a809d','succeeded','Stripe',NULL,2,'2026-05-05 02:35:08','2026-05-05 02:35:08'),(47,'9F4B15368CB5','Mrs. Jannie Simonis IV','muriel.vandervort@example.org','**** **** **** 2651',8,2029,'Trial',1,72.29,0.04,'EUR','d9a3673b-1377-3b0a-a624-10a769f020ed','succeeded','Bank Transfer',NULL,2,'2026-06-08 20:05:34','2026-06-08 20:05:34'),(48,'9F4B15368F7D','Ms. Marcelle Davis DVM','haley.rowland@example.org','**** **** **** 4244',7,2030,'Trial',1,199.47,26.69,'USD','f1856eb2-3405-37e6-ae18-c7601e19da49','succeeded','Bank Transfer',NULL,2,'2026-06-06 21:28:49','2026-06-06 21:28:49'),(49,'9F4B15369106','Zoie Gerhold III','pward@example.com','**** **** **** 5377',9,2029,'Trial',1,39.47,2.21,'GBP','7df0f163-1d86-31de-8e5b-f08136fc6a51','succeeded','Paypal','http://www.gulgowski.net/',2,'2026-06-13 17:18:12','2026-06-13 17:18:12'),(50,'9F4B15369275','Annie Berge DDS','harvey.quitzon@example.net','**** **** **** 5613',2,2024,'Trial',1,188.97,49.63,'EUR','4dd4b8e8-1201-32c1-b9d0-e127be3a2512','succeeded','Stripe','http://www.macejkovic.com/omnis-officia-voluptatibus-totam-illo',2,'2026-06-12 01:26:09','2026-06-12 01:26:09'),(51,'9F4B15369424','Alia Aufderhar','fern.toy@example.org','**** **** **** 1005',7,2029,'Trial',1,242.37,12.32,'USD','ce8f1805-5f19-3a4b-98d8-8a26336da661','succeeded','Paypal',NULL,2,'2026-06-01 08:40:41','2026-06-01 08:40:41'),(52,'9F4B15369596','Suzanne Legros','drogahn@example.net','**** **** **** 6712',5,2026,'Trial',1,70.40,20.62,'USD','2490b9b8-50f4-3cd2-840c-84d0ef0a2025','succeeded','Bank Transfer','http://dicki.com/error-vitae-veniam-earum-repellat',2,'2026-06-15 13:06:53','2026-06-15 13:06:53'),(53,'9F4B1536983E','Dr. Casimer Kuhlman','makenzie.stoltenberg@example.net','**** **** **** 4519',10,2027,'Trial',1,192.57,24.22,'USD','8ec1b475-cd72-34aa-999e-46dc101be6b7','succeeded','Bank Transfer','http://www.borer.biz/et-praesentium-fugit-nihil-dicta',2,'2026-06-23 17:12:22','2026-06-23 17:12:22'),(54,'9F4B15369AE6','Ayla Walker','schaden.nedra@example.net','**** **** **** 6414',7,2026,'Trial',1,278.43,48.99,'EUR','943474fb-c0bb-3291-9180-90b6c0f6ad85','succeeded','Paypal','http://www.leannon.com/vel-voluptas-distinctio-harum-occaecati-consequuntur-omnis',2,'2026-06-01 20:29:02','2026-06-01 20:29:02'),(55,'9F4B15369D81','Bret Gislason III','marilyne79@example.net','**** **** **** 0179',11,2025,'Trial',1,225.53,25.17,'USD','e387c1a0-f55b-3677-ba01-278d44109bb3','succeeded','Paypal','http://www.heller.org/velit-quia-nisi-sed-beatae-in-eaque.html',2,'2026-06-13 09:42:35','2026-06-13 09:42:35'),(56,'9F4B15369F59','Retha Emmerich','angelo95@example.org','**** **** **** 7025',6,2025,'Trial',1,77.86,3.09,'GBP','ae284ab2-d23f-3c15-9102-33cd645b99bd','succeeded','Stripe',NULL,2,'2026-06-05 14:33:20','2026-06-05 14:33:20'),(57,'9F4B1536A186','Nelda Ratke','gabe13@example.com','**** **** **** 0065',11,2030,'Trial',1,83.54,0.16,'EUR','67ccd7dc-e6dd-3fbc-acbe-2c9ef753595a','succeeded','Stripe','http://koelpin.com/',2,'2026-06-16 07:31:49','2026-06-16 07:31:49'),(58,'9F4B1536A522','Preston White','nstracke@example.com','**** **** **** 0251',7,2028,'Trial',1,92.74,26.77,'EUR','965f5f34-b21e-306f-adc8-68710689cf6d','succeeded','Paypal',NULL,2,'2026-06-05 03:21:23','2026-06-05 03:21:23'),(59,'9F4B1536A8D1','Britney Schaden','graham.lebsack@example.net','**** **** **** 5452',11,2030,'Trial',1,255.40,66.34,'EUR','a096c5af-e0ba-3771-b41d-93175ddb5eaa','succeeded','Paypal',NULL,2,'2026-06-04 11:01:06','2026-06-04 11:01:06'),(60,'9F4B1536ABBE','Issac Marquardt','wunsch.nathen@example.net','**** **** **** 1904',4,2025,'Trial',1,296.99,2.77,'EUR','24538bab-7373-30ea-bb58-73a84c0097af','succeeded','Stripe',NULL,2,'2026-06-04 13:51:42','2026-06-04 13:51:42'),(61,'9F4B1536AEA4','Opal Quitzon','victor50@example.org','**** **** **** 8371',12,2028,'Trial',1,124.72,8.42,'EUR','754f6b18-3207-3549-a57b-f64ed4453aef','succeeded','Bank Transfer',NULL,2,'2026-06-01 05:38:48','2026-06-01 05:38:48'),(62,'9F4B1536B0F9','Kaelyn Shanahan','sylvester.torphy@example.net','**** **** **** 8719',4,2029,'Trial',1,274.41,9.06,'EUR','8c8ddc36-0672-3977-8743-4da562efa876','succeeded','Paypal','https://www.bode.info/itaque-placeat-excepturi-et-eius-nihil-voluptates-ipsa-ut',2,'2026-07-14 19:53:24','2026-07-14 19:53:24'),(63,'9F4B1536B394','Jessica Will','ericka.koepp@example.org','**** **** **** 5232',8,2028,'Trial',1,84.39,10.95,'EUR','c2ca9d7d-63dc-3c1f-848d-685c23f08191','succeeded','Paypal',NULL,2,'2026-07-04 09:20:07','2026-07-04 09:20:07'),(64,'9F4B1536B63A','Melody Ziemann','paul95@example.net','**** **** **** 9590',6,2030,'Trial',1,269.33,8.60,'GBP','5e8c4b5a-cadb-3645-91f4-60ee6cbbdbca','succeeded','Bank Transfer','http://www.dare.com/aliquam-odit-laudantium-sed-non',2,'2026-07-03 06:44:47','2026-07-03 06:44:47'),(65,'9F4B1536B8CD','Judy Murphy','bauch.bette@example.com','**** **** **** 8549',5,2026,'Trial',1,34.75,3.84,'EUR','323c2dbd-f704-3a9a-8019-ebe42cc4f28c','succeeded','Stripe',NULL,2,'2026-07-01 13:02:26','2026-07-01 13:02:26'),(66,'9F4B1536BDD8','Sallie Monahan','kiarra90@example.net','**** **** **** 6309',8,2026,'Trial',1,96.44,15.25,'GBP','7d3ae1e9-781b-34c8-a713-b825c9ee0ff9','succeeded','Bank Transfer','http://www.schroeder.com/quod-in-nisi-ipsum-similique-accusamus',2,'2026-07-26 17:17:21','2026-07-26 17:17:21'),(67,'9F4B1536C0E7','Benton Cruickshank','tyrese93@example.org','**** **** **** 7181',2,2028,'Trial',1,58.79,12.12,'USD','f9fb7ac2-bc3b-3984-b642-4c76b9f0d191','succeeded','Stripe','http://www.kilback.com/doloremque-qui-facilis-voluptate-quis-est-et-consequatur',2,'2026-08-20 17:41:58','2026-08-20 17:41:58'),(68,'9F4B1536C363','Prof. Madyson Turner I','alexander.runolfsdottir@example.net','**** **** **** 6874',4,2028,'Trial',1,59.14,6.43,'USD','9c835a6f-ebfb-358f-8446-54671c528bcf','succeeded','Bank Transfer','http://murphy.org/ipsam-sit-impedit-quae',2,'2026-08-29 16:30:36','2026-08-29 16:30:36'),(69,'9F4B1536C5DC','Elsa Cassin','ewolff@example.net','**** **** **** 4028',5,2028,'Trial',1,127.74,15.27,'USD','dbb1bccc-7da0-3fd5-8d04-5d18cb9593aa','succeeded','Stripe',NULL,2,'2026-08-14 17:03:19','2026-08-14 17:03:19'),(70,'9F4B1536C8A3','Ollie Douglas PhD','connelly.leora@example.com','**** **** **** 2838',9,2026,'Trial',1,63.59,13.14,'EUR','e6b61aab-15ac-3c7f-8f54-31dbea053003','succeeded','Bank Transfer',NULL,2,'2026-08-27 13:43:36','2026-08-27 13:43:36'),(71,'9F4B1536CB0F','Wilhelmine Wiza','ursula30@example.net','**** **** **** 6390',8,2029,'Trial',1,129.33,14.18,'EUR','aea7f68d-4072-3618-8162-2d3f39d491fe','succeeded','Paypal',NULL,2,'2026-08-05 15:22:21','2026-08-05 15:22:21'),(72,'9F4B1536CDF3','Dr. Daisy Hagenes V','trantow.alexie@example.net','**** **** **** 2627',8,2028,'Trial',1,205.74,2.85,'EUR','480b22b4-c9a2-303b-9e38-c15cc0997845','succeeded','Stripe','http://bashirian.com/eos-voluptatibus-voluptates-consectetur.html',2,'2026-08-15 10:45:23','2026-08-15 10:45:23'),(73,'9F4B1536D086','Tristin Wolff III','lolita.balistreri@example.org','**** **** **** 1674',2,2026,'Trial',1,270.83,75.44,'GBP','9a3c0007-df10-3568-b1e0-ed1bfa5de563','succeeded','Paypal',NULL,2,'2026-08-16 19:44:17','2026-08-16 19:44:17'),(74,'9F4B1536D2D3','Abbie Rodriguez','hagenes.mertie@example.org','**** **** **** 2630',7,2025,'Trial',1,272.48,65.40,'USD','69d7a67d-3cb1-30d9-98ac-25d0b248bae6','succeeded','Stripe',NULL,2,'2026-08-12 17:13:28','2026-08-12 17:13:28'),(75,'9F4B1536D6FA','Prof. Nyah Erdman DDS','jarod56@example.org','**** **** **** 4061',8,2027,'Trial',1,92.78,16.66,'USD','fa274432-8f7f-3f04-9086-ccc5785da8cd','succeeded','Bank Transfer',NULL,2,'2026-08-03 05:59:01','2026-08-03 05:59:01'),(76,'9F4B1536D9DE','Prof. Abel Larson DDS','heidi73@example.com','**** **** **** 8176',11,2026,'Trial',1,192.54,21.28,'USD','b110bfae-957e-3744-a06b-fcf5a3f01024','succeeded','Stripe',NULL,2,'2026-08-14 06:07:19','2026-08-14 06:07:19'),(77,'9F4B1536DC80','Melissa Runolfsdottir','lwatsica@example.org','**** **** **** 1574',5,2029,'Trial',1,35.01,5.77,'GBP','2a6cd16f-e7cb-3b72-b7ca-1f8fae1b23ef','succeeded','Stripe',NULL,2,'2026-08-29 01:21:13','2026-08-29 01:21:13'),(78,'9F4B1536E03F','Bennett McKenzie','cmayer@example.net','**** **** **** 8485',6,2026,'Trial',1,56.60,7.22,'EUR','4bc51683-177f-3040-a2b3-4ca467407eac','succeeded','Bank Transfer','http://www.mitchell.biz/doloremque-est-corporis-quis-beatae-adipisci-maiores',2,'2026-08-24 00:43:31','2026-08-24 00:43:31'),(79,'9F4B1536FE54','Sheldon Murray','fern.quigley@example.org','**** **** **** 9958',10,2026,'Trial',1,157.17,14.33,'GBP','06b6ae9e-19e8-3826-bc6d-619dc4f6d22e','succeeded','Stripe','https://nicolas.org/placeat-iusto-est-vel-corporis-voluptatem-labore-dolorum-ipsam.html',2,'2026-08-29 13:28:13','2026-08-29 13:28:13'),(80,'9F4B15370075','Bessie Graham','kane06@example.org','**** **** **** 6821',9,2025,'Trial',1,144.63,20.43,'GBP','5c899f68-43af-3db9-abcc-b98dce6040b1','succeeded','Bank Transfer',NULL,2,'2026-08-29 20:56:43','2026-08-29 20:56:43'),(81,'9F4B1537023D','Edd Lebsack III','whitney82@example.org','**** **** **** 4168',5,2029,'Trial',1,189.92,27.32,'EUR','c99824ee-31d7-349b-b3c7-e0e030756c72','succeeded','Paypal','http://www.marvin.biz/provident-officia-quia-illum',2,'2026-09-03 16:33:28','2026-09-03 16:33:28'),(82,'9F4B153703C0','Hope Baumbach','jade35@example.com','**** **** **** 0123',5,2030,'Trial',1,176.49,50.05,'USD','d41a1447-d5a2-3ad5-90bc-681dc4675721','succeeded','Bank Transfer',NULL,2,'2026-09-17 06:12:22','2026-09-17 06:12:22'),(83,'9F4B15370576','Tanner McDermott','frami.coty@example.org','**** **** **** 3193',8,2026,'Trial',1,169.30,48.05,'USD','8b5b88ec-06e8-35d0-9d7c-c78cdc0fbf43','succeeded','Paypal','http://www.mueller.com/aperiam-ut-necessitatibus-iste-dolores-adipisci-laborum.html',2,'2026-09-26 14:08:57','2026-09-26 14:08:57'),(84,'9F4B15370702','Mrs. Elnora Carter I','elisabeth27@example.com','**** **** **** 0452',8,2030,'Trial',1,124.27,36.46,'USD','8997f692-1a8a-3919-bee0-07198190476a','succeeded','Stripe','http://brown.org/deleniti-hic-laudantium-dolores-eveniet-iste-aut-id-nesciunt',2,'2026-09-09 11:11:33','2026-09-09 11:11:33'),(85,'9F4B15370887','Geo Boyle MD','thora18@example.net','**** **** **** 0815',6,2026,'Trial',1,230.60,15.02,'EUR','8f2e142f-fab2-38cf-8dcd-b38113b067ce','succeeded','Bank Transfer','http://www.casper.com/molestiae-adipisci-aut-quis-tenetur-consequatur-et-doloremque',2,'2026-09-20 18:59:44','2026-09-20 18:59:44'),(86,'9F4B15370A95','Dudley Mayert DDS','vernice62@example.com','**** **** **** 0919',11,2026,'Trial',1,220.99,24.25,'EUR','3de3d57a-dcb8-377e-8943-12c5902de6cb','succeeded','Bank Transfer',NULL,2,'2026-09-28 04:00:49','2026-09-28 04:00:49'),(87,'9F4B15370D53','Ms. Eva Stoltenberg','cora.daniel@example.org','**** **** **** 0474',1,2029,'Trial',1,66.11,14.87,'GBP','1cc2e8dc-ab80-3b35-b2ae-6f49f0e8fc98','succeeded','Stripe',NULL,2,'2026-09-09 05:05:54','2026-09-09 05:05:54'),(88,'9F4B15370EFF','Prof. Enola Strosin DDS','ankunding.jennie@example.org','**** **** **** 1383',5,2029,'Trial',1,109.32,5.16,'EUR','19f3e06e-91a1-3632-a3b3-8b65bca490a9','succeeded','Bank Transfer','http://mcglynn.com/voluptas-et-aspernatur-itaque-a',2,'2026-09-07 20:33:43','2026-09-07 20:33:43'),(89,'9F4B1537107E','Cassie Bernhard','idella.satterfield@example.org','**** **** **** 3010',7,2028,'Trial',1,142.97,41.02,'USD','0795c689-2946-3ee9-9318-140226450a64','succeeded','Stripe','http://www.hirthe.org/',2,'2026-09-25 06:40:07','2026-09-25 06:40:07'),(90,'9F4B153711F8','Gus Fisher','carlos.nader@example.net','**** **** **** 9451',7,2024,'Trial',1,106.30,13.25,'GBP','0689712e-d801-3730-811b-da54d8f2ffb4','succeeded','Bank Transfer',NULL,2,'2026-09-01 23:02:10','2026-09-01 23:02:10'),(91,'9F4B15371369','Mr. Adolphus Greenfelder Jr.','jackson.senger@example.net','**** **** **** 3569',12,2026,'Trial',1,92.14,22.42,'USD','529e29c1-1626-3206-ae6e-824275c9313b','succeeded','Paypal',NULL,2,'2026-09-06 01:26:17','2026-09-06 01:26:17'),(92,'9F4B153714E3','Genesis Fahey','rcartwright@example.org','**** **** **** 3038',2,2025,'Trial',1,45.13,9.33,'USD','48443855-8285-3233-bada-b6c347f8468c','succeeded','Bank Transfer',NULL,2,'2026-09-24 05:37:09','2026-09-24 05:37:09'),(93,'9F4B153716B1','Paula Spinka','gutmann.arnold@example.com','**** **** **** 2708',12,2030,'Trial',1,41.01,6.64,'USD','bc28edf4-bf5f-34ad-a09c-9e547c2326b9','succeeded','Paypal','https://www.feeney.com/culpa-enim-excepturi-molestias-id-quasi-doloremque-vel',2,'2026-09-22 05:44:30','2026-09-22 05:44:30'),(94,'9F4B15371928','Miss Assunta Auer IV','strosin.jarred@example.com','**** **** **** 3941',11,2024,'Trial',1,94.55,9.73,'GBP','f628d07c-0955-3bde-97d5-d5eef76142d8','succeeded','Paypal',NULL,2,'2026-09-30 18:56:20','2026-09-30 18:56:20'),(95,'9F4B15371ACE','Maurine Boyle','weissnat.davonte@example.net','**** **** **** 2492',7,2026,'Trial',1,256.21,46.46,'EUR','43913459-9b2a-35aa-94e6-373360479533','succeeded','Stripe',NULL,2,'2026-10-04 00:38:13','2026-10-04 00:38:13'),(96,'9F4B15371C40','Houston Bergstrom','kayli.brekke@example.org','**** **** **** 1487',8,2030,'Trial',1,226.03,58.41,'EUR','00e1e57e-9ce4-35e8-925f-f6eb571ca12c','succeeded','Paypal',NULL,2,'2026-10-23 16:37:28','2026-10-23 16:37:28'),(97,'9F4B15371E1A','Josefina Kulas IV','tavares96@example.net','**** **** **** 6650',11,2028,'Trial',1,49.45,13.36,'GBP','a08d4290-a1ee-3f93-95d7-ff1059903bcd','succeeded','Bank Transfer','http://www.hermiston.com/',2,'2026-10-22 22:04:31','2026-10-22 22:04:31'),(98,'9F4B15371FCB','Chaz Bahringer Sr.','jones.belle@example.org','**** **** **** 6522',5,2028,'Trial',1,160.22,36.44,'EUR','11f792d2-cd06-3eb2-b319-43b332450a9c','succeeded','Stripe','https://swaniawski.com/asperiores-praesentium-et-iusto-deleniti-recusandae-non.html',2,'2026-10-15 18:50:22','2026-10-15 18:50:22'),(99,'9F4B15372384','Mr. Reinhold Kulas','guido.morissette@example.net','**** **** **** 3589',6,2030,'Trial',1,173.53,24.39,'GBP','76b088f8-1a7c-3158-ab43-353f2682df42','succeeded','Paypal','http://hane.info/et-et-qui-soluta-rerum-architecto-voluptatibus-earum',2,'2026-10-02 21:40:01','2026-10-02 21:40:01'),(100,'9F4B15372516','Ms. Georgianna Rutherford','zspinka@example.com','**** **** **** 3998',6,2024,'Trial',1,271.40,74.35,'GBP','e9b8f5e9-d4d7-3262-81f1-3418216237d0','succeeded','Stripe',NULL,2,'2026-10-03 15:58:06','2026-10-03 15:58:06'),(101,'9F4B15372744','Kevin Gutmann','wmarvin@example.com','**** **** **** 3131',3,2028,'Trial',1,103.00,29.29,'GBP','c0c01ee2-ab19-35bc-be76-acd2a560f219','succeeded','Paypal',NULL,2,'2026-11-24 21:21:34','2026-11-24 21:21:34'),(102,'9F4B15372A5C','Mr. Daren Gerhold Jr.','tyreek38@example.org','**** **** **** 5348',7,2027,'Trial',1,111.07,0.93,'GBP','42215ba8-5e2d-3870-975c-dae8697023d1','succeeded','Stripe',NULL,2,'2026-11-26 14:40:57','2026-11-26 14:40:57'),(103,'9F4B15372C4E','Meghan Willms','ottilie.turner@example.com','**** **** **** 5144',7,2024,'Trial',1,166.41,43.42,'GBP','d81ce6c2-605e-3f93-8344-78fd340602c3','succeeded','Bank Transfer','http://toy.com/reiciendis-praesentium-voluptas-magnam-omnis-cum-voluptatum',2,'2026-11-21 02:49:32','2026-11-21 02:49:32'),(104,'9F4B15372DC8','Prof. Cecile Dooley','eulalia.leannon@example.org','**** **** **** 3407',12,2028,'Trial',1,74.51,9.08,'GBP','d0502928-1011-39f0-b6c4-0ae9d4b653d7','succeeded','Bank Transfer','http://schuster.com/tempore-consequatur-error-dolor-sunt-ad-delectus-quae-minus',2,'2026-11-03 23:51:40','2026-11-03 23:51:40'),(105,'9F4B15372F3A','Eino Donnelly','mathias62@example.com','**** **** **** 3428',4,2027,'Trial',1,231.19,2.98,'USD','237b5328-b1a3-39bf-9d4b-3fb554e0b846','succeeded','Paypal',NULL,2,'2026-11-24 04:09:46','2026-11-24 04:09:46'),(106,'9F4B15373174','Kavon Moen Jr.','berry05@example.org','**** **** **** 2181',5,2030,'Trial',1,76.43,11.37,'GBP','4df1a00f-dad2-3f12-b711-cdbcd4e6e7c5','succeeded','Bank Transfer','http://www.rogahn.com/maiores-fugiat-voluptatum-rerum-distinctio',2,'2026-11-26 14:26:52','2026-11-26 14:26:52'),(107,'9F4B153732E4','Emelie Gleason V','orn.norris@example.com','**** **** **** 6829',7,2028,'Trial',1,93.79,25.35,'EUR','aaf45163-b5a5-3e40-bdf0-ee2bf1d5b687','succeeded','Paypal','http://www.kuhic.com/totam-non-alias-dolorem-error-quia-non-itaque.html',2,'2026-11-16 03:03:35','2026-11-16 03:03:35'),(108,'9F4B15373458','Maude Johns','zstehr@example.net','**** **** **** 9176',8,2027,'Trial',1,245.28,31.05,'USD','6ecc8e28-43a0-3d07-a504-aad77c0c1238','succeeded','Stripe','https://considine.com/suscipit-voluptates-sed-occaecati-eum-recusandae-porro-harum.html',2,'2026-12-25 10:42:42','2026-12-25 10:42:42'),(109,'9F4B153735C5','Kylee Murphy','runolfsson.elroy@example.net','**** **** **** 2827',10,2028,'Trial',1,266.90,66.98,'GBP','d9c2d325-ed56-39b0-b8d7-15ff398d5d92','succeeded','Stripe','http://www.muller.net/quisquam-est-quidem-distinctio',2,'2026-12-18 15:35:14','2026-12-18 15:35:14'),(110,'9F4B153738D1','Mrs. Breana Gerlach PhD','braun.priscilla@example.net','**** **** **** 4083',6,2024,'Trial',1,95.03,23.23,'EUR','684ef474-0579-350d-8a76-07ff77676198','succeeded','Bank Transfer',NULL,2,'2026-12-13 07:56:08','2026-12-13 07:56:08'),(111,'9F4B15373A7C','Felton Kulas','kyra.murray@example.org','**** **** **** 2253',2,2028,'Trial',1,294.59,4.57,'GBP','5c396f3a-72fc-3714-a0cd-e46fe7c3b4d5','succeeded','Paypal',NULL,2,'2026-12-14 17:03:26','2026-12-14 17:03:26'),(112,'9F4B15373C0B','Favian Donnelly','gottlieb.brannon@example.net','**** **** **** 2538',2,2027,'Trial',1,159.30,21.90,'GBP','0a75dc73-8179-3b55-babb-39a8ce5af3ec','succeeded','Paypal','http://schulist.com/tenetur-est-reiciendis-saepe-voluptate.html',2,'2026-12-14 02:17:03','2026-12-14 02:17:03'),(113,'9F4B15373DA1','Ellen Cummerata II','ebony28@example.com','**** **** **** 1271',11,2026,'Trial',1,186.91,8.89,'GBP','78d1b684-336c-377f-8557-e38518c503a6','succeeded','Bank Transfer',NULL,2,'2026-12-03 02:56:01','2026-12-03 02:56:01'),(114,'9F4B15373F4D','Merritt Lind','auer.kaylee@example.net','**** **** **** 9210',4,2025,'Trial',1,64.62,14.72,'EUR','585f98a7-eb64-3215-a93a-157ed8dfed47','succeeded','Bank Transfer',NULL,2,'2026-12-01 06:39:33','2026-12-01 06:39:33');
|
||
/*!40000 ALTER TABLE `orders` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `overtimes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `overtimes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `overtimes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`total_days` int NOT NULL,
|
||
`hours` decimal(8,2) NOT NULL,
|
||
`rate` decimal(10,2) NOT NULL,
|
||
`start_date` date NOT NULL,
|
||
`end_date` date NOT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`status` enum('active','expired') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `overtimes_employee_id_foreign` (`employee_id`),
|
||
KEY `overtimes_creator_id_index` (`creator_id`),
|
||
KEY `overtimes_created_by_index` (`created_by`),
|
||
CONSTRAINT `overtimes_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `overtimes_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `overtimes_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `overtimes`
|
||
--
|
||
|
||
LOCK TABLES `overtimes` WRITE;
|
||
/*!40000 ALTER TABLE `overtimes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `overtimes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `password_reset_tokens`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `password_reset_tokens`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `password_reset_tokens` (
|
||
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`email`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `password_reset_tokens`
|
||
--
|
||
|
||
LOCK TABLES `password_reset_tokens` WRITE;
|
||
/*!40000 ALTER TABLE `password_reset_tokens` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `password_reset_tokens` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pay_groups`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pay_groups`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pay_groups` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`type` enum('office','daily') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'office',
|
||
`annual_working_days` int NOT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pay_groups_created_by_index` (`created_by`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pay_groups`
|
||
--
|
||
|
||
LOCK TABLES `pay_groups` WRITE;
|
||
/*!40000 ALTER TABLE `pay_groups` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pay_groups` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `payroll_entries`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `payroll_entries`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `payroll_entries` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`payroll_id` bigint unsigned NOT NULL,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`salary_structure_id` bigint unsigned DEFAULT NULL,
|
||
`basic_salary` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`total_allowances` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`total_deductions` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`total_loans` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`gross_pay` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`net_pay` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`per_day_salary` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`daily_rate` decimal(10,2) DEFAULT NULL,
|
||
`hourly_rate` decimal(10,2) DEFAULT NULL,
|
||
`working_days` int NOT NULL DEFAULT '0',
|
||
`present_days` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`half_days` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`half_day_deduction` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`absent_days` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`absent_day_deduction` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`paid_leave_days` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`unpaid_leave_days` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`unpaid_leave_deduction` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`manual_overtime_hours` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`total_manual_overtimes` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`attendance_overtime_hours` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`attendance_overtime_rate` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`attendance_overtime_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`overtime_hours` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`late_hours` decimal(8,2) NOT NULL DEFAULT '0.00',
|
||
`undertime_hours` decimal(8,2) NOT NULL DEFAULT '0.00',
|
||
`late_deduction` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`undertime_deduction` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`holiday_pay` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`night_diff_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`statutory_breakdown` json DEFAULT NULL,
|
||
`status` enum('paid','unpaid') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'unpaid',
|
||
`allowances_breakdown` json DEFAULT NULL,
|
||
`deductions_breakdown` json DEFAULT NULL,
|
||
`manual_overtimes_breakdown` json DEFAULT NULL,
|
||
`loans_breakdown` json DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `payroll_entries_payroll_id_employee_id_unique` (`payroll_id`,`employee_id`),
|
||
KEY `payroll_entries_employee_id_foreign` (`employee_id`),
|
||
KEY `payroll_entries_creator_id_index` (`creator_id`),
|
||
KEY `payroll_entries_created_by_index` (`created_by`),
|
||
CONSTRAINT `payroll_entries_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `payroll_entries_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `payroll_entries_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `payroll_entries_payroll_id_foreign` FOREIGN KEY (`payroll_id`) REFERENCES `payrolls` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `payroll_entries`
|
||
--
|
||
|
||
LOCK TABLES `payroll_entries` WRITE;
|
||
/*!40000 ALTER TABLE `payroll_entries` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `payroll_entries` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `payroll_entry_adjustments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `payroll_entry_adjustments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `payroll_entry_adjustments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`payroll_entry_id` bigint unsigned NOT NULL,
|
||
`type` enum('earning','deduction') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`amount` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`reason` text COLLATE utf8mb4_unicode_ci,
|
||
`added_by` bigint unsigned NOT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `payroll_entry_adjustments_payroll_entry_id_foreign` (`payroll_entry_id`),
|
||
KEY `payroll_entry_adjustments_added_by_foreign` (`added_by`),
|
||
CONSTRAINT `payroll_entry_adjustments_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`),
|
||
CONSTRAINT `payroll_entry_adjustments_payroll_entry_id_foreign` FOREIGN KEY (`payroll_entry_id`) REFERENCES `payroll_entries` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `payroll_entry_adjustments`
|
||
--
|
||
|
||
LOCK TABLES `payroll_entry_adjustments` WRITE;
|
||
/*!40000 ALTER TABLE `payroll_entry_adjustments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `payroll_entry_adjustments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `payroll_settings`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `payroll_settings`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `payroll_settings` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`value` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `payroll_settings_key_created_by_unique` (`key`,`created_by`),
|
||
KEY `payroll_settings_created_by_index` (`created_by`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `payroll_settings`
|
||
--
|
||
|
||
LOCK TABLES `payroll_settings` WRITE;
|
||
/*!40000 ALTER TABLE `payroll_settings` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `payroll_settings` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `payrolls`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `payrolls`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `payrolls` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`payroll_frequency` enum('weekly','biweekly','semi-monthly','monthly') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'monthly',
|
||
`cutoff_number` tinyint DEFAULT NULL COMMENT '1 = 1st cutoff, 2 = 2nd cutoff. Used for statutory deduction proration.',
|
||
`pay_period_start` date DEFAULT NULL,
|
||
`pay_period_end` date DEFAULT NULL,
|
||
`pay_date` date DEFAULT NULL,
|
||
`notes` longtext COLLATE utf8mb4_unicode_ci,
|
||
`total_gross_pay` decimal(10,2) DEFAULT NULL,
|
||
`total_deductions` decimal(10,2) DEFAULT NULL,
|
||
`total_net_pay` decimal(10,2) DEFAULT NULL,
|
||
`employee_count` int DEFAULT NULL,
|
||
`status` enum('draft','processing','completed','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`is_payroll_paid` enum('paid','unpaid') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'unpaid',
|
||
`bank_account_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `payrolls_bank_account_id_foreign` (`bank_account_id`),
|
||
KEY `payrolls_creator_id_index` (`creator_id`),
|
||
KEY `payrolls_created_by_index` (`created_by`),
|
||
CONSTRAINT `payrolls_bank_account_id_foreign` FOREIGN KEY (`bank_account_id`) REFERENCES `bank_accounts` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `payrolls_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `payrolls_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `payrolls`
|
||
--
|
||
|
||
LOCK TABLES `payrolls` WRITE;
|
||
/*!40000 ALTER TABLE `payrolls` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `payrolls` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `permissions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `permissions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `permissions` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`add_on` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`module` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`label` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`guard_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=931 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `permissions`
|
||
--
|
||
|
||
LOCK TABLES `permissions` WRITE;
|
||
/*!40000 ALTER TABLE `permissions` DISABLE KEYS */;
|
||
INSERT INTO `permissions` VALUES (1,'Hospital','hospital-dashboard','Manage Hospital Dashboard','manage-hospital-dashboard','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(2,'Hospital','hospital','Manage Hospital','manage-hospital','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(3,'Hospital','doctors','Manage Doctors','manage-doctors','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(4,'Hospital','doctors','Create Doctors','create-doctors','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(5,'Hospital','doctors','Edit Doctors','edit-doctors','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(6,'Hospital','doctors','Delete Doctors','delete-doctors','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(7,'Hospital','patients','Manage Patients','manage-patients','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(8,'Hospital','patients','Create Patients','create-patients','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(9,'Hospital','patients','Edit Patients','edit-patients','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(10,'Hospital','patients','Delete Patients','delete-patients','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(11,'Hospital','appointments','Manage Appointments','manage-appointments','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(12,'Hospital','appointments','Create Appointments','create-appointments','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(13,'Hospital','appointments','Edit Appointments','edit-appointments','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(14,'Hospital','appointments','Delete Appointments','delete-appointments','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(15,'Hospital','beds','Manage Beds','manage-beds','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(16,'Hospital','beds','Create Beds','create-beds','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(17,'Hospital','beds','Edit Beds','edit-beds','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(18,'Hospital','beds','Delete Beds','delete-beds','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(19,'Hospital','medical-records','Manage Medical Records','manage-medical-records','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(20,'Hospital','medical-records','Create Medical Records','create-medical-records','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(21,'Hospital','medical-records','Edit Medical Records','edit-medical-records','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(22,'Hospital','medical-records','Delete Medical Records','delete-medical-records','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(23,'Hospital','lab-tests','Manage Lab Tests','manage-lab-tests','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(24,'Hospital','lab-tests','Create Lab Tests','create-lab-tests','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(25,'Hospital','lab-tests','Edit Lab Tests','edit-lab-tests','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(26,'Hospital','lab-tests','Delete Lab Tests','delete-lab-tests','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(27,'Hospital','surgeries','Manage Surgeries','manage-surgeries','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(28,'Hospital','surgeries','Create Surgeries','create-surgeries','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(29,'Hospital','surgeries','Edit Surgeries','edit-surgeries','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(30,'Hospital','surgeries','Delete Surgeries','delete-surgeries','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(31,'Hospital','ambulance','Manage Ambulance','manage-ambulance','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(32,'Hospital','ambulance','Create Ambulance','create-ambulance','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(33,'Hospital','ambulance','Edit Ambulance','edit-ambulance','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(34,'Hospital','ambulance','Delete Ambulance','delete-ambulance','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(35,'Hospital','medicines','Manage Medicines','manage-medicines','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(36,'Hospital','medicines','Create Medicines','create-medicines','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(37,'Hospital','medicines','Edit Medicines','edit-medicines','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(38,'Hospital','medicines','Delete Medicines','delete-medicines','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(39,'Hospital','visitors','Manage Visitors','manage-visitors','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(40,'Hospital','visitors','Create Visitors','create-visitors','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(41,'Hospital','visitors','Delete Visitors','delete-visitors','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(42,'Hospital','hospital-setup','Manage Hospital Setup','manage-hospital-setup','web','2026-04-23 05:56:49','2026-04-23 05:56:49'),(43,'general','dashboard','Manage Dashboard','manage-dashboard','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(44,'general','users','Manage Users','manage-users','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(45,'general','users','Manage All Users','manage-any-users','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(46,'general','users','Manage Own Users','manage-own-users','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(47,'general','users','Create Users','create-users','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(48,'general','users','Edit Users','edit-users','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(49,'general','users','Delete Users','delete-users','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(50,'general','users','Change Password Users','change-password-users','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(51,'general','users','Login As User','impersonate-users','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(52,'general','users','Change Status Users','toggle-status-users','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(53,'general','users','View Login History','view-login-history','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(54,'general','roles','Manage Roles','manage-roles','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(55,'general','roles','Create Roles','create-roles','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(56,'general','roles','Edit Roles','edit-roles','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(57,'general','roles','Delete Roles','delete-roles','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(58,'general','warehouses','Manage Warehouses','manage-warehouses','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(59,'general','warehouses','Manage All Warehouses','manage-any-warehouses','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(60,'general','warehouses','Manage Own Warehouses','manage-own-warehouses','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(61,'general','warehouses','Create Warehouses','create-warehouses','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(62,'general','warehouses','Edit Warehouses','edit-warehouses','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(63,'general','warehouses','Delete Warehouses','delete-warehouses','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(64,'general','transfers','Manage Transfers','manage-transfers','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(65,'general','transfers','Manage All Transfers','manage-any-transfers','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(66,'general','transfers','Manage Own Transfers','manage-own-transfers','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(67,'general','transfers','Create Transfers','create-transfers','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(68,'general','transfers','Edit Transfers','edit-transfers','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(69,'general','transfers','Delete Transfers','delete-transfers','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(70,'general','settings','Manage Settings','manage-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(71,'general','settings','Edit Settings','edit-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(72,'general','settings','Manage Brand Settings','manage-brand-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(73,'general','settings','Edit Brand Settings','edit-brand-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(74,'general','settings','Manage Company Settings','manage-company-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(75,'general','settings','Edit Company Settings','edit-company-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(76,'general','settings','Manage System Settings','manage-system-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(77,'general','settings','Edit System Settings','edit-system-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(78,'general','settings','Manage Currency Settings','manage-currency-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(79,'general','settings','Edit Currency Settings','edit-currency-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(80,'general','settings','Manage Cache Settings','manage-cache-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(81,'general','settings','Clear Cache','clear-cache','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(82,'general','settings','Manage Cookie Settings','manage-cookie-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(83,'general','settings','Edit Cookie Settings','edit-cookie-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(84,'general','settings','Manage SEO Settings','manage-seo-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(85,'general','settings','Edit SEO Settings','edit-seo-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(86,'general','settings','Manage Storage Settings','manage-storage-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(87,'general','settings','Edit Storage Settings','edit-storage-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(88,'general','settings','Manage Email Settings','manage-email-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(89,'general','settings','Edit Email Settings','edit-email-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(90,'general','settings','Test Email','test-email','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(91,'general','settings','Manage Bank Transfer Settings','manage-bank-transfer-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(92,'general','settings','Edit Bank Transfer Settings','edit-bank-transfer-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(93,'general','bank-transfer','Manage Bank Transfer Requests','manage-bank-transfer-requests','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(94,'general','bank-transfer','Approve Bank Transfer Requests','approve-bank-transfer-requests','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(95,'general','bank-transfer','Reject Bank Transfer Requests','reject-bank-transfer-requests','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(96,'general','bank-transfer','Delete Bank Transfer Requests','delete-bank-transfer-requests','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(97,'general','settings','Manage Email Notification Settings','manage-email-notification-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(98,'general','settings','Manage Pusher Settings','manage-pusher-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(99,'general','settings','Edit Pusher Settings','edit-pusher-settings','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(100,'general','media','Manage Media','manage-media','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(101,'general','media','Manage All Media','manage-any-media','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(102,'general','media','Manage Own Media','manage-own-media','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(103,'general','media','Create Media','create-media','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(104,'general','media','Download Media','download-media','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(105,'general','media','Delete Media','delete-media','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(106,'general','media','Manage Media Directories','manage-media-directories','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(107,'general','media','Manage All Media Directories','manage-any-media-directories','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(108,'general','media','Manage Own Media Directories','manage-own-media-directories','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(109,'general','media','Create Media Directories','create-media-directories','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(110,'general','media','Edit Media Directories','edit-media-directories','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(111,'general','media','Delete Media Directories','delete-media-directories','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(112,'general','helpdesk-categories','Manage Helpdesk Categories','manage-helpdesk-categories','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(113,'general','helpdesk-categories','Create Helpdesk Categories','create-helpdesk-categories','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(114,'general','helpdesk-categories','Edit Helpdesk Categories','edit-helpdesk-categories','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(115,'general','helpdesk-categories','Delete Helpdesk Categories','delete-helpdesk-categories','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(116,'general','helpdesk-tickets','Manage Helpdesk Tickets','manage-helpdesk-tickets','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(117,'general','helpdesk-tickets','Manage All Helpdesk Tickets','manage-any-helpdesk-tickets','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(118,'general','helpdesk-tickets','Manage Own Helpdesk Tickets','manage-own-helpdesk-tickets','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(119,'general','helpdesk-tickets','View Helpdesk Tickets','view-helpdesk-tickets','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(120,'general','helpdesk-tickets','Create Helpdesk Tickets','create-helpdesk-tickets','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(121,'general','helpdesk-tickets','Edit Helpdesk Tickets','edit-helpdesk-tickets','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(122,'general','helpdesk-tickets','Delete Helpdesk Tickets','delete-helpdesk-tickets','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(123,'general','helpdesk-replies','Manage Helpdesk Replies','manage-helpdesk-replies','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(124,'general','helpdesk-replies','Create Helpdesk Replies','create-helpdesk-replies','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(125,'general','helpdesk-replies','Delete Helpdesk Replies','delete-helpdesk-replies','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(126,'general','languages','Manage Languages','manage-languages','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(127,'general','languages','Edit Languages','edit-languages','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(128,'general','add-on','Manage Add-on','manage-add-on','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(129,'general','add-on','Manage Actions','manage-actions','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(130,'general','plans','Manage Plans','manage-plans','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(131,'general','plans','Manage All Plans','manage-any-plans','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(132,'general','plans','Manage Own Plans','manage-own-plans','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(133,'general','plans','View Plans','view-plans','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(134,'general','plans','Create Plans','create-plans','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(135,'general','plans','Edit Plans','edit-plans','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(136,'general','plans','Delete Plans','delete-plans','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(137,'general','coupons','Manage Coupons','manage-coupons','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(138,'general','coupons','Manage All Coupons','manage-any-coupons','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(139,'general','coupons','Manage Own Coupons','manage-own-coupons','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(140,'general','coupons','View Coupons','view-coupons','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(141,'general','coupons','Create Coupons','create-coupons','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(142,'general','coupons','Edit Coupons','edit-coupons','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(143,'general','coupons','Delete Coupons','delete-coupons','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(144,'general','profile','Manage Profile','manage-profile','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(145,'general','profile','Edit Profile','edit-profile','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(146,'general','profile','Change Password Profile','change-password-profile','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(147,'general','email-templates','Manage Email Templates','manage-email-templates','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(148,'general','email-templates','Edit Email Templates','edit-email-templates','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(149,'general','notification-templates','Manage Notification Templates','manage-notification-templates','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(150,'general','notification-templates','Edit Notification Templates','edit-notification-templates','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(151,'general','orders','Manage Orders','manage-orders','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(152,'general','messenger','Manage Messenger','manage-messenger','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(153,'general','messenger','Send Messages','send-messages','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(154,'general','messenger','View Messages','view-messages','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(155,'general','messenger','Edit Messages','edit-messages','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(156,'general','messenger','Delete Messages','delete-messages','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(157,'general','messenger','Favorite Messages','toggle-favorite-messages','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(158,'general','messenger','Pinned Messages','toggle-pinned-messages','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(159,'general','purchase-invoices','Manage Purchase Invoices','manage-purchase-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(160,'general','purchase-invoices','Manage All Purchase Invoices','manage-any-purchase-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(161,'general','purchase-invoices','Manage Own Purchase Invoices','manage-own-purchase-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(162,'general','purchase-invoices','View Purchase Invoices','view-purchase-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(163,'general','purchase-invoices','Create Purchase Invoices','create-purchase-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(164,'general','purchase-invoices','Edit Purchase Invoices','edit-purchase-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(165,'general','purchase-invoices','Delete Purchase Invoices','delete-purchase-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(166,'general','purchase-invoices','Post Purchase Invoices','post-purchase-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(167,'general','purchase-invoices','Print Purchase Invoices','print-purchase-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(168,'general','purchase-return-invoices','Manage Purchase Return Invoices','manage-purchase-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(169,'general','purchase-return-invoices','Manage All Purchase Return Invoices','manage-any-purchase-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(170,'general','purchase-return-invoices','Manage Own Purchase Return Invoices','manage-own-purchase-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(171,'general','purchase-return-invoices','View Purchase Return Invoices','view-purchase-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(172,'general','purchase-return-invoices','Create Purchase Return Invoices','create-purchase-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(173,'general','purchase-return-invoices','Delete Purchase Return Invoices','delete-purchase-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(174,'general','purchase-return-invoices','Approve Purchase Return Invoices','approve-purchase-returns-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(175,'general','purchase-return-invoices','Complete Purchase Return Invoices','complete-purchase-returns-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(176,'general','sales-invoices','Manage Sales Invoices','manage-sales-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(177,'general','sales-invoices','Manage All Sales Invoices','manage-any-sales-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(178,'general','sales-invoices','Manage Own Sales Invoices','manage-own-sales-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(179,'general','sales-invoices','View Sales Invoices','view-sales-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(180,'general','sales-invoices','Create Sales Invoices','create-sales-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(181,'general','sales-invoices','Edit Sales Invoices','edit-sales-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(182,'general','sales-invoices','Delete Sales Invoices','delete-sales-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(183,'general','sales-invoices','Post Sales Invoices','post-sales-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(184,'general','sales-invoices','Print Sales Invoices','print-sales-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(185,'general','sales-return-invoices','Manage Sales Return Invoices','manage-sales-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(186,'general','sales-return-invoices','Manage All Sales Return Invoices','manage-any-sales-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(187,'general','sales-return-invoices','Manage Own Sales Return Invoices','manage-own-sales-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(188,'general','sales-return-invoices','View Sales Return Invoices','view-sales-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(189,'general','sales-return-invoices','Create Sales Return Invoices','create-sales-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(190,'general','sales-return-invoices','Delete Sales Return Invoices','delete-sales-return-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(191,'general','sales-return-invoices','Approve Sales Return Invoices','approve-sales-returns-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(192,'general','sales-return-invoices','Complete Sales Return Invoices','complete-sales-returns-invoices','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(193,'general','sales-proposals','Manage Sales Proposals','manage-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(194,'general','sales-proposals','Manage All Sales Proposals','manage-any-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(195,'general','sales-proposals','Manage Own Sales Proposals','manage-own-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(196,'general','sales-proposals','View Sales Proposals','view-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(197,'general','sales-proposals','Create Sales Proposals','create-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(198,'general','sales-proposals','Edit Sales Proposals','edit-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(199,'general','sales-proposals','Delete Sales Proposals','delete-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(200,'general','sales-proposals','Print Sales Proposals','print-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(201,'general','sales-proposals','Sent Sales Proposals','sent-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(202,'general','sales-proposals','Accept Sales Proposals','accept-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(203,'general','sales-proposals','Convert Sales Proposals','convert-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(204,'general','sales-proposals','Reject Sales Proposals','reject-sales-proposals','web','2026-04-23 06:00:40','2026-04-23 06:00:40'),(205,'Hrm','Dashboard','Manage HRM Dashboard','manage-hrm-dashboard','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(206,'Hrm','hrm','Manage Hrm','manage-hrm','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(207,'Hrm','branches','Manage Branches','manage-branches','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(208,'Hrm','branches','Manage All Branches','manage-any-branches','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(209,'Hrm','branches','Manage Own Branches','manage-own-branches','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(210,'Hrm','branches','Create Branches','create-branches','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(211,'Hrm','branches','Edit Branches','edit-branches','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(212,'Hrm','branches','Delete Branches','delete-branches','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(213,'Hrm','departments','Manage Departments','manage-departments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(214,'Hrm','departments','Manage All Departments','manage-any-departments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(215,'Hrm','departments','Manage Own Departments','manage-own-departments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(216,'Hrm','departments','Create Departments','create-departments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(217,'Hrm','departments','Edit Departments','edit-departments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(218,'Hrm','departments','Delete Departments','delete-departments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(219,'Hrm','designations','Manage Designations','manage-designations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(220,'Hrm','designations','Manage All Designations','manage-any-designations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(221,'Hrm','designations','Manage Own Designations','manage-own-designations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(222,'Hrm','designations','Create Designations','create-designations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(223,'Hrm','designations','Edit Designations','edit-designations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(224,'Hrm','designations','Delete Designations','delete-designations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(225,'Hrm','employee-document-types','Manage Document Types','manage-employee-document-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(226,'Hrm','employee-document-types','Manage All Document Types','manage-any-employee-document-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(227,'Hrm','employee-document-types','Manage Own Document Types','manage-own-employee-document-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(228,'Hrm','employee-document-types','Create Document Types','create-employee-document-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(229,'Hrm','employee-document-types','Edit Document Types','edit-employee-document-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(230,'Hrm','employee-document-types','Delete Document Types','delete-employee-document-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(231,'Hrm','employees','Manage Employees','manage-employees','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(232,'Hrm','employees','Manage All Employees','manage-any-employees','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(233,'Hrm','employees','Manage Own Employees','manage-own-employees','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(234,'Hrm','employees','View Employees','view-employees','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(235,'Hrm','employees','Create Employees','create-employees','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(236,'Hrm','employees','Edit Employees','edit-employees','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(237,'Hrm','employees','Delete Employees','delete-employees','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(238,'Hrm','award-types','Manage Award Types','manage-award-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(239,'Hrm','award-types','Manage All Award Types','manage-any-award-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(240,'Hrm','award-types','Manage Own Award Types','manage-own-award-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(241,'Hrm','award-types','Create Award Types','create-award-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(242,'Hrm','award-types','Edit Award Types','edit-award-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(243,'Hrm','award-types','Delete Award Types','delete-award-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(244,'Hrm','awards','Manage Awards','manage-awards','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(245,'Hrm','awards','Manage All Awards','manage-any-awards','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(246,'Hrm','awards','Manage Own Awards','manage-own-awards','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(247,'Hrm','awards','Create Awards','create-awards','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(248,'Hrm','awards','View Awards','view-awards','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(249,'Hrm','awards','Edit Awards','edit-awards','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(250,'Hrm','awards','Delete Awards','delete-awards','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(251,'Hrm','promotions','Manage Promotions','manage-promotions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(252,'Hrm','promotions','Manage All Promotions','manage-any-promotions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(253,'Hrm','promotions','Manage Own Promotions','manage-own-promotions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(254,'Hrm','promotions','Manage Promotions Status','manage-promotions-status','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(255,'Hrm','promotions','View Promotions','view-promotions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(256,'Hrm','promotions','Create Promotions','create-promotions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(257,'Hrm','promotions','Edit Promotions','edit-promotions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(258,'Hrm','promotions','Delete Promotions','delete-promotions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(259,'Hrm','resignations','Manage Resignations','manage-resignations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(260,'Hrm','resignations','Manage All Resignations','manage-any-resignations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(261,'Hrm','resignations','Manage Own Resignations','manage-own-resignations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(262,'Hrm','resignations','Manage Resignation Status','manage-resignation-status','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(263,'Hrm','resignations','View Resignations','view-resignations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(264,'Hrm','resignations','Create Resignations','create-resignations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(265,'Hrm','resignations','Edit Resignations','edit-resignations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(266,'Hrm','resignations','Delete Resignations','delete-resignations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(267,'Hrm','termination-types','Manage Termination Types','manage-termination-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(268,'Hrm','termination-types','Manage All Termination Types','manage-any-termination-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(269,'Hrm','termination-types','Manage Own Termination Types','manage-own-termination-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(270,'Hrm','termination-types','Create Termination Types','create-termination-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(271,'Hrm','termination-types','Edit Termination Types','edit-termination-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(272,'Hrm','termination-types','Delete Termination Types','delete-termination-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(273,'Hrm','terminations','Manage Terminations','manage-terminations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(274,'Hrm','terminations','Manage All Terminations','manage-any-terminations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(275,'Hrm','terminations','Manage Own Terminations','manage-own-terminations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(276,'Hrm','terminations','Manage Termination Status','manage-termination-status','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(277,'Hrm','terminations','View Terminations','view-terminations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(278,'Hrm','terminations','Create Terminations','create-terminations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(279,'Hrm','terminations','Edit Terminations','edit-terminations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(280,'Hrm','terminations','Delete Terminations','delete-terminations','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(281,'Hrm','warning-types','Manage Warning Types','manage-warning-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(282,'Hrm','warning-types','Manage All Warning Types','manage-any-warning-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(283,'Hrm','warning-types','Manage Own Warning Types','manage-own-warning-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(284,'Hrm','warning-types','Create Warning Types','create-warning-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(285,'Hrm','warning-types','Edit Warning Types','edit-warning-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(286,'Hrm','warning-types','Delete Warning Types','delete-warning-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(287,'Hrm','warnings','Manage Warnings','manage-warnings','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(288,'Hrm','warnings','Manage All Warnings','manage-any-warnings','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(289,'Hrm','warnings','Manage Own Warnings','manage-own-warnings','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(290,'Hrm','warnings','Manage Warning Response','manage-warning-response','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(291,'Hrm','warnings','View Warnings','view-warnings','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(292,'Hrm','warnings','Create Warnings','create-warnings','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(293,'Hrm','warnings','Edit Warnings','edit-warnings','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(294,'Hrm','warnings','Delete Warnings','delete-warnings','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(295,'Hrm','complaint-types','Manage Complaint Types','manage-complaint-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(296,'Hrm','complaint-types','Manage All Complaint Types','manage-any-complaint-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(297,'Hrm','complaint-types','Manage Own Complaint Types','manage-own-complaint-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(298,'Hrm','complaint-types','Create Complaint Types','create-complaint-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(299,'Hrm','complaint-types','Edit Complaint Types','edit-complaint-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(300,'Hrm','complaint-types','Delete Complaint Types','delete-complaint-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(301,'Hrm','complaints','Manage Complaints','manage-complaints','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(302,'Hrm','complaints','Manage All Complaints','manage-any-complaints','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(303,'Hrm','complaints','Manage Own Complaints','manage-own-complaints','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(304,'Hrm','complaints','Manage Complaint Status','manage-complaint-status','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(305,'Hrm','complaints','View Complaints','view-complaints','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(306,'Hrm','complaints','Create Complaints','create-complaints','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(307,'Hrm','complaints','Edit Complaints','edit-complaints','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(308,'Hrm','complaints','Delete Complaints','delete-complaints','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(309,'Hrm','employee-transfers','Manage Employee Transfers','manage-employee-transfers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(310,'Hrm','employee-transfers','Manage All Employee Transfers','manage-any-employee-transfers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(311,'Hrm','employee-transfers','Manage Own Employee Transfers','manage-own-employee-transfers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(312,'Hrm','employee-transfers','Manage Employee Transfers Status','manage-employee-transfers-status','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(313,'Hrm','employee-transfers','View Employee Transfers','view-employee-transfers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(314,'Hrm','employee-transfers','Create Employee Transfers','create-employee-transfers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(315,'Hrm','employee-transfers','Edit Employee Transfers','edit-employee-transfers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(316,'Hrm','employee-transfers','Delete Employee Transfers','delete-employee-transfers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(317,'Hrm','holiday-types','Manage Holiday Types','manage-holiday-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(318,'Hrm','holiday-types','Manage All Holiday Types','manage-any-holiday-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(319,'Hrm','holiday-types','Manage Own Holiday Types','manage-own-holiday-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(320,'Hrm','holiday-types','Create Holiday Types','create-holiday-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(321,'Hrm','holiday-types','Edit Holiday Types','edit-holiday-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(322,'Hrm','holiday-types','Delete Holiday Types','delete-holiday-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(323,'Hrm','holidays','Manage Holidays','manage-holidays','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(324,'Hrm','holidays','Manage All Holidays','manage-any-holidays','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(325,'Hrm','holidays','Manage Own Holidays','manage-own-holidays','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(326,'Hrm','holidays','View Holidays','view-holidays','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(327,'Hrm','holidays','Create Holidays','create-holidays','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(328,'Hrm','holidays','Edit Holidays','edit-holidays','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(329,'Hrm','holidays','Delete Holidays','delete-holidays','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(330,'Hrm','document-categories','Manage Document Categories','manage-document-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(331,'Hrm','document-categories','Manage All Document Categories','manage-any-document-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(332,'Hrm','document-categories','Manage Own Document Categories','manage-own-document-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(333,'Hrm','document-categories','Create Document Categories','create-document-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(334,'Hrm','document-categories','Edit Document Categories','edit-document-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(335,'Hrm','document-categories','Delete Document Categories','delete-document-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(336,'Hrm','hrm-documents','Manage Documents','manage-hrm-documents','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(337,'Hrm','hrm-documents','Manage All Documents','manage-any-hrm-documents','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(338,'Hrm','hrm-documents','Manage Own Documents','manage-own-hrm-documents','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(339,'Hrm','hrm-documents','Manage Documents status','manage-hrm-documents-status','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(340,'Hrm','hrm-documents','View Documents','view-hrm-documents','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(341,'Hrm','hrm-documents','Download Documents','download-hrm-documents','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(342,'Hrm','hrm-documents','Create Documents','create-hrm-documents','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(343,'Hrm','hrm-documents','Edit Documents','edit-hrm-documents','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(344,'Hrm','hrm-documents','Delete Documents','delete-hrm-documents','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(345,'Hrm','acknowledgments','Manage Acknowledgments','manage-acknowledgments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(346,'Hrm','acknowledgments','Manage All Acknowledgments','manage-any-acknowledgments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(347,'Hrm','acknowledgments','Manage Own Acknowledgments','manage-own-acknowledgments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(348,'Hrm','acknowledgments','Manage Acknowledgment Status','manage-acknowledgment-status','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(349,'Hrm','acknowledgments','Download Acknowledgment','download-acknowledgment','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(350,'Hrm','acknowledgments','View Acknowledgments','view-acknowledgments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(351,'Hrm','acknowledgments','Create Acknowledgments','create-acknowledgments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(352,'Hrm','acknowledgments','Edit Acknowledgments','edit-acknowledgments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(353,'Hrm','acknowledgments','Delete Acknowledgments','delete-acknowledgments','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(354,'Hrm','announcement-categories','Manage Announcement Categories','manage-announcement-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(355,'Hrm','announcement-categories','Manage All Announcement Categories','manage-any-announcement-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(356,'Hrm','announcement-categories','Manage Own Announcement Categories','manage-own-announcement-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(357,'Hrm','announcement-categories','Create Announcement Categories','create-announcement-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(358,'Hrm','announcement-categories','Edit Announcement Categories','edit-announcement-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(359,'Hrm','announcement-categories','Delete Announcement Categories','delete-announcement-categories','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(360,'Hrm','announcements','Manage Announcements','manage-announcements','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(361,'Hrm','announcements','Manage All Announcements','manage-any-announcements','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(362,'Hrm','announcements','Manage Own Announcements','manage-own-announcements','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(363,'Hrm','announcements','Manage Announcement Status','manage-announcements-status','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(364,'Hrm','announcements','View Announcements','view-announcements','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(365,'Hrm','announcements','Create Announcements','create-announcements','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(366,'Hrm','announcements','Edit Announcements','edit-announcements','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(367,'Hrm','announcements','Delete Announcements','delete-announcements','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(368,'Hrm','event-types','Manage Event Types','manage-event-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(369,'Hrm','event-types','Manage All Event Types','manage-any-event-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(370,'Hrm','event-types','Manage Own Event Types','manage-own-event-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(371,'Hrm','event-types','Create Event Types','create-event-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(372,'Hrm','event-types','Edit Event Types','edit-event-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(373,'Hrm','event-types','Delete Event Types','delete-event-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(374,'Hrm','events','Manage Events','manage-events','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(375,'Hrm','events','Manage All Events','manage-any-events','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(376,'Hrm','events','Manage Own Events','manage-own-events','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(377,'Hrm','events','Manage Event Status','manage-event-status','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(378,'Hrm','events','View Event Calendar','view-event-calendar','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(379,'Hrm','events','View Events','view-events','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(380,'Hrm','events','Create Events','create-events','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(381,'Hrm','events','Edit Events','edit-events','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(382,'Hrm','events','Delete Events','delete-events','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(383,'Hrm','leave-types','Manage Leave Types','manage-leave-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(384,'Hrm','leave-types','Manage All Leave Types','manage-any-leave-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(385,'Hrm','leave-types','Manage Own Leave Types','manage-own-leave-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(386,'Hrm','leave-types','View Leave Types','view-leave-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(387,'Hrm','leave-types','Create Leave Types','create-leave-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(388,'Hrm','leave-types','Edit Leave Types','edit-leave-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(389,'Hrm','leave-types','Delete Leave Types','delete-leave-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(390,'Hrm','leave-applications','Manage Leave Applications','manage-leave-applications','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(391,'Hrm','leave-applications','Manage All Leave Applications','manage-any-leave-applications','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(392,'Hrm','leave-applications','Manage Own Leave Applications','manage-own-leave-applications','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(393,'Hrm','leave-applications','Manage Leave Status','manage-leave-status','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(394,'Hrm','leave-applications','View Leave Applications','view-leave-applications','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(395,'Hrm','leave-applications','Create Leave Applications','create-leave-applications','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(396,'Hrm','leave-applications','Edit Leave Applications','edit-leave-applications','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(397,'Hrm','leave-applications','Delete Leave Applications','delete-leave-applications','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(398,'Hrm','leave-balance','View Leave Balance','manage-leave-balance','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(399,'Hrm','leave-balance','Manage All Leave Balance','manage-any-leave-balance','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(400,'Hrm','leave-balance','Manage Own Leave Balance','manage-own-leave-balance','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(401,'Hrm','shifts','Manage Shifts','manage-shifts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(402,'Hrm','shifts','Manage All Shifts','manage-any-shifts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(403,'Hrm','shifts','Manage Own Shifts','manage-own-shifts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(404,'Hrm','shifts','View Shifts','view-shifts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(405,'Hrm','shifts','Create Shifts','create-shifts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(406,'Hrm','shifts','Edit Shifts','edit-shifts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(407,'Hrm','shifts','Delete Shifts','delete-shifts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(408,'Hrm','attendances','Manage Attendances','manage-attendances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(409,'Hrm','attendances','Manage All Attendances','manage-any-attendances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(410,'Hrm','attendances','Manage Own Attendances','manage-own-attendances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(411,'Hrm','attendances','View Attendances','view-attendances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(412,'Hrm','attendances','Create Attendances','create-attendances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(413,'Hrm','attendances','Edit Attendances','edit-attendances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(414,'Hrm','attendances','Delete Attendances','delete-attendances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(415,'Hrm','attendances','Clock In','clock-in','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(416,'Hrm','attendances','Clock Out','clock-out','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(417,'Hrm','payslip','Manage Payslip','manage-payslip','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(418,'Hrm','payslip','Manage All Payslip','manage-any-payslip','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(419,'Hrm','payslip','Manage Own Payslip','manage-own-payslip','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(420,'Hrm','payslip','Pay Payslip','pay-payslip','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(421,'Hrm','payslip','Download Payslip','download-payslip','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(422,'Hrm','payslip','View Payslip','view-payslip','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(423,'Hrm','payslip','Delete Payslip','delete-payslip','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(424,'Hrm','set-salary','Manage Set Salary','manage-set-salary','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(425,'Hrm','set-salary','Manage All Set Salary','manage-any-set-salary','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(426,'Hrm','set-salary','Manage Own Set Salary','manage-own-set-salary','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(427,'Hrm','set-salary','View Set Salary','view-set-salary','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(428,'Hrm','set-salary','Create Set Salary','create-set-salary','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(429,'Hrm','set-salary','Edit Set Salary','edit-set-salary','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(430,'Hrm','set-salary','Delete Set Salary','delete-set-salary','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(431,'Hrm','allowance-types','Manage Allowance Types','manage-allowance-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(432,'Hrm','allowance-types','Manage All Allowance Types','manage-any-allowance-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(433,'Hrm','allowance-types','Manage Own Allowance Types','manage-own-allowance-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(434,'Hrm','allowance-types','Create Allowance Types','create-allowance-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(435,'Hrm','allowance-types','Edit Allowance Types','edit-allowance-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(436,'Hrm','allowance-types','Delete Allowance Types','delete-allowance-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(437,'Hrm','deduction-types','Manage Deduction Types','manage-deduction-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(438,'Hrm','deduction-types','Manage All Deduction Types','manage-any-deduction-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(439,'Hrm','deduction-types','Manage Own Deduction Types','manage-own-deduction-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(440,'Hrm','deduction-types','Create Deduction Types','create-deduction-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(441,'Hrm','deduction-types','Edit Deduction Types','edit-deduction-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(442,'Hrm','deduction-types','Delete Deduction Types','delete-deduction-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(443,'Hrm','loan-types','Manage Loan Types','manage-loan-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(444,'Hrm','loan-types','Manage All Loan Types','manage-any-loan-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(445,'Hrm','loan-types','Manage Own Loan Types','manage-own-loan-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(446,'Hrm','loan-types','Create Loan Types','create-loan-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(447,'Hrm','loan-types','Edit Loan Types','edit-loan-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(448,'Hrm','loan-types','Delete Loan Types','delete-loan-types','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(449,'Hrm','allowances','Manage Allowances','manage-allowances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(450,'Hrm','allowances','Manage All Allowances','manage-any-allowances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(451,'Hrm','allowances','Manage Own Allowances','manage-own-allowances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(452,'Hrm','allowances','Create Allowances','create-allowances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(453,'Hrm','allowances','Edit Allowances','edit-allowances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(454,'Hrm','allowances','Delete Allowances','delete-allowances','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(455,'Hrm','deductions','Manage Deductions','manage-deductions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(456,'Hrm','deductions','Manage All Deductions','manage-any-deductions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(457,'Hrm','deductions','Manage Own Deductions','manage-own-deductions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(458,'Hrm','deductions','Create Deductions','create-deductions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(459,'Hrm','deductions','Edit Deductions','edit-deductions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(460,'Hrm','deductions','Delete Deductions','delete-deductions','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(461,'Hrm','loans','Manage Loans','manage-loans','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(462,'Hrm','loans','Manage All Loans','manage-any-loans','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(463,'Hrm','loans','Manage Own Loans','manage-own-loans','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(464,'Hrm','loans','View Loans','view-loans','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(465,'Hrm','loans','Create Loans','create-loans','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(466,'Hrm','loans','Edit Loans','edit-loans','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(467,'Hrm','loans','Delete Loans','delete-loans','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(468,'Hrm','overtimes','Manage Overtimes','manage-overtimes','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(469,'Hrm','overtimes','Manage All Overtimes','manage-any-overtimes','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(470,'Hrm','overtimes','Manage Own Overtimes','manage-own-overtimes','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(471,'Hrm','overtimes','View Overtimes','view-overtimes','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(472,'Hrm','overtimes','Create Overtimes','create-overtimes','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(473,'Hrm','overtimes','Edit Overtimes','edit-overtimes','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(474,'Hrm','overtimes','Delete Overtimes','delete-overtimes','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(475,'Hrm','payrolls','Manage Payrolls','manage-payrolls','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(476,'Hrm','payrolls','Manage All Payrolls','manage-any-payrolls','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(477,'Hrm','payrolls','Manage Own Payrolls','manage-own-payrolls','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(478,'Hrm','payrolls','View Payrolls','view-payrolls','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(479,'Hrm','payrolls','View All Payrolls','view-any-payrolls','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(480,'Hrm','payrolls','View Own Payrolls','view-own-payrolls','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(481,'Hrm','payrolls','Run Payrolls','run-payrolls','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(482,'Hrm','payrolls','Create Payrolls','create-payrolls','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(483,'Hrm','payrolls','Edit Payrolls','edit-payrolls','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(484,'Hrm','payrolls','Delete Payrolls','delete-payrolls','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(485,'Hrm','working-days','Manage Working Days','manage-working-days','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(486,'Hrm','working-days','Edit Working Days','edit-working-days','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(487,'Hrm','ip-restricts','Manage Ip Restricts','manage-ip-restricts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(488,'Hrm','ip-restricts','Manage All Ip Restricts','manage-any-ip-restricts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(489,'Hrm','ip-restricts','Manage Own Ip Restricts','manage-own-ip-restricts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(490,'Hrm','ip-restricts','Create Ip Restricts','create-ip-restricts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(491,'Hrm','ip-restricts','Edit Ip Restricts','edit-ip-restricts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(492,'Hrm','ip-restricts','Delete Ip Restricts','delete-ip-restricts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(493,'Account','account','Manage Account','manage-account','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(494,'Account','account','Manage Account Dashboard','manage-account-dashboard','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(495,'Account','vendors','Manage Vendors','manage-vendors','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(496,'Account','vendors','Manage All Vendors','manage-any-vendors','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(497,'Account','vendors','Manage Own Vendors','manage-own-vendors','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(498,'Account','vendors','View Vendors','view-vendors','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(499,'Account','vendors','Create Vendors','create-vendors','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(500,'Account','vendors','Edit Vendors','edit-vendors','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(501,'Account','vendors','Delete Vendors','delete-vendors','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(502,'Account','customers','Manage Customers','manage-customers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(503,'Account','customers','Manage All Customers','manage-any-customers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(504,'Account','customers','Manage Own Customers','manage-own-customers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(505,'Account','customers','View Customers','view-customers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(506,'Account','customers','Create Customers','create-customers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(507,'Account','customers','Edit Customers','edit-customers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(508,'Account','customers','Delete Customers','delete-customers','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(509,'Account','bank-accounts','Manage BankAccounts','manage-bank-accounts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(510,'Account','bank-accounts','Manage All BankAccounts','manage-any-bank-accounts','web','2026-04-23 06:03:12','2026-04-23 06:03:12'),(511,'Account','bank-accounts','Manage Own BankAccounts','manage-own-bank-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(512,'Account','bank-accounts','View BankAccounts','view-bank-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(513,'Account','bank-accounts','Create BankAccounts','create-bank-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(514,'Account','bank-accounts','Edit BankAccounts','edit-bank-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(515,'Account','bank-accounts','Delete BankAccounts','delete-bank-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(516,'Account','account-types','Manage AccountTypes','manage-account-types','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(517,'Account','account-types','Manage All AccountTypes','manage-any-account-types','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(518,'Account','account-types','Manage Own AccountTypes','manage-own-account-types','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(519,'Account','account-types','View AccountTypes','view-account-types','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(520,'Account','account-types','Create AccountTypes','create-account-types','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(521,'Account','account-types','Edit AccountTypes','edit-account-types','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(522,'Account','account-types','Delete AccountTypes','delete-account-types','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(523,'Account','chart-of-accounts','Manage ChartOfAccounts','manage-chart-of-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(524,'Account','chart-of-accounts','Manage All ChartOfAccounts','manage-any-chart-of-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(525,'Account','chart-of-accounts','Manage Own ChartOfAccounts','manage-own-chart-of-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(526,'Account','chart-of-accounts','View ChartOfAccounts','view-chart-of-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(527,'Account','chart-of-accounts','Create ChartOfAccounts','create-chart-of-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(528,'Account','chart-of-accounts','Edit ChartOfAccounts','edit-chart-of-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(529,'Account','chart-of-accounts','Delete ChartOfAccounts','delete-chart-of-accounts','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(530,'Account','vendor-payments','Manage Vendor Payments','manage-vendor-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(531,'Account','vendor-payments','Manage All Vendor Payments','manage-any-vendor-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(532,'Account','vendor-payments','Manage Own Vendor Payments','manage-own-vendor-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(533,'Account','vendor-payments','View Vendor Payments','view-vendor-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(534,'Account','vendor-payments','Create Vendor Payments','create-vendor-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(535,'Account','vendor-payments','Cleared Vendor Payments','cleared-vendor-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(536,'Account','vendor-payments','Delete Vendor Payments','delete-vendor-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(537,'Account','customer-payments','Manage Customer Payments','manage-customer-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(538,'Account','customer-payments','Manage All Customer Payments','manage-any-customer-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(539,'Account','customer-payments','Manage Own Customer Payments','manage-own-customer-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(540,'Account','customer-payments','View Customer Payments','view-customer-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(541,'Account','customer-payments','Create Customer Payments','create-customer-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(542,'Account','customer-payments','Clear Customer Payments','cleared-customer-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(543,'Account','customer-payments','Delete Customer Payments','delete-customer-payments','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(544,'Account','bank-transaction','Manage Bank Transaction','manage-bank-transactions','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(545,'Account','bank-transaction','Reconcile Bank Transaction','reconcile-bank-transactions','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(546,'Account','debit-notes','Manage Debit Notes','manage-debit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(547,'Account','debit-notes','Manage All Debit Notes','manage-any-debit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(548,'Account','debit-notes','Manage Own Debit Notes','manage-own-debit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(549,'Account','debit-notes','View Debit Notes','view-debit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(550,'Account','debit-notes','Create Debit Notes','create-debit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(551,'Account','debit-notes','Approve Debit Notes','approve-debit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(552,'Account','debit-notes','Delete Debit Notes','delete-debit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(553,'Account','credit-notes','Manage Credit Notes','manage-credit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(554,'Account','credit-notes','Manage All Credit Notes','manage-any-credit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(555,'Account','credit-notes','Manage Own Credit Notes','manage-own-credit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(556,'Account','credit-notes','View Credit Notes','view-credit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(557,'Account','credit-notes','Create Credit Notes','create-credit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(558,'Account','credit-notes','Approve Credit Notes','approve-credit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(559,'Account','credit-notes','Delete Credit Notes','delete-credit-notes','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(560,'Account','bank-transfers','Manage Bank Transfers','manage-bank-transfers','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(561,'Account','bank-transfers','Manage All Bank Transfers','manage-any-bank-transfers','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(562,'Account','bank-transfers','Manage Own Bank Transfers','manage-own-bank-transfers','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(563,'Account','bank-transfers','View Bank Transfers','view-bank-transfers','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(564,'Account','bank-transfers','Create Bank Transfers','create-bank-transfers','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(565,'Account','bank-transfers','Edit Bank Transfers','edit-bank-transfers','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(566,'Account','bank-transfers','Delete Bank Transfers','delete-bank-transfers','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(567,'Account','bank-transfers','Process Bank Transfers','process-bank-transfers','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(568,'Account','revenue-categories','Manage RevenueCategories','manage-revenue-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(569,'Account','revenue-categories','Manage All RevenueCategories','manage-any-revenue-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(570,'Account','revenue-categories','Manage Own RevenueCategories','manage-own-revenue-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(571,'Account','revenue-categories','Create RevenueCategories','create-revenue-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(572,'Account','revenue-categories','Edit RevenueCategories','edit-revenue-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(573,'Account','revenue-categories','Delete RevenueCategories','delete-revenue-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(574,'Account','expense-categories','Manage ExpenseCategories','manage-expense-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(575,'Account','expense-categories','Manage All ExpenseCategories','manage-any-expense-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(576,'Account','expense-categories','Manage Own ExpenseCategories','manage-own-expense-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(577,'Account','expense-categories','Create ExpenseCategories','create-expense-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(578,'Account','expense-categories','Edit ExpenseCategories','edit-expense-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(579,'Account','expense-categories','Delete ExpenseCategories','delete-expense-categories','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(580,'Account','revenues','Manage Revenues','manage-revenues','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(581,'Account','revenues','Manage All Revenues','manage-any-revenues','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(582,'Account','revenues','Manage Own Revenues','manage-own-revenues','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(583,'Account','revenues','View Revenues','view-revenues','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(584,'Account','revenues','Create Revenues','create-revenues','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(585,'Account','revenues','Edit Revenues','edit-revenues','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(586,'Account','revenues','Delete Revenues','delete-revenues','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(587,'Account','revenues','Approve Revenues','approve-revenues','web','2026-04-23 06:03:13','2026-04-23 06:03:13'),(588,'Account','revenues','Post Revenues','post-revenues','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(589,'Account','expenses','Manage Expenses','manage-expenses','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(590,'Account','expenses','Manage All Expenses','manage-any-expenses','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(591,'Account','expenses','Manage Own Expenses','manage-own-expenses','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(592,'Account','expenses','View Expenses','view-expenses','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(593,'Account','expenses','Create Expenses','create-expenses','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(594,'Account','expenses','Edit Expenses','edit-expenses','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(595,'Account','expenses','Delete Expenses','delete-expenses','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(596,'Account','expenses','Approve Expenses','approve-expenses','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(597,'Account','expenses','Post Expenses','post-expenses','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(598,'Account','account-reports','Manage Account Reports','manage-account-reports','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(599,'Account','account-reports','View Invoice Aging','view-invoice-aging','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(600,'Account','account-reports','Print Invoice Aging','print-invoice-aging','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(601,'Account','account-reports','View Bill Aging','view-bill-aging','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(602,'Account','account-reports','Print Bill Aging','print-bill-aging','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(603,'Account','account-reports','View Tax Summary','view-tax-summary','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(604,'Account','account-reports','Print Tax Summary','print-tax-summary','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(605,'Account','account-reports','View Customer Balance','view-customer-balance','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(606,'Account','account-reports','Print Customer Balance','print-customer-balance','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(607,'Account','account-reports','View Vendor Balance','view-vendor-balance','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(608,'Account','account-reports','Print Vendor Balance','print-vendor-balance','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(609,'Account','account-reports','View Customer Detail Report','view-customer-detail-report','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(610,'Account','account-reports','Print Customer Detail Report','print-customer-detail-report','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(611,'Account','account-reports','View Vendor Detail Report','view-vendor-detail-report','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(612,'Account','account-reports','Print Vendor Detail Report','print-vendor-detail-report','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(613,'Pos','pos','Manage Pos Dashboard','manage-pos-dashboard','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(614,'Pos','pos','Manage Pos','manage-pos','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(615,'Pos','pos','Create Pos','create-pos','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(616,'Pos','pos-orders','Manage Pos Orders','manage-pos-orders','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(617,'Pos','pos-orders','View Pos Orders','view-pos-orders','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(618,'Pos','pos-barcodes','Manage Pos Barcodes','manage-pos-barcodes','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(619,'Pos','pos-barcodes','Print Pos Barcodes','print-pos-barcodes','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(620,'Pos','pos-reports','Manage Pos Reports','manage-pos-reports','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(621,'Pos','pos-reports','View Pos Reports','view-pos-reports','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(622,'Taskly','project','Manage Project Dashboard','manage-project-dashboard','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(623,'Taskly','project','Manage Project','manage-project','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(624,'Taskly','project','Manage All Project','manage-any-project','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(625,'Taskly','project','Manage Own Project','manage-own-project','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(626,'Taskly','project','View Project','view-project','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(627,'Taskly','project','Create Project','create-project','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(628,'Taskly','project','Edit Project','edit-project','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(629,'Taskly','project','Delete Project','delete-project','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(630,'Taskly','project','Duplicate Project','duplicate-project','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(631,'Taskly','project-report','Manage Project Report','manage-project-report','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(632,'Taskly','project-report','View Project Report','view-project-report','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(633,'Taskly','project','Invite Project Member','invite-project-member','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(634,'Taskly','project','Delete Project Member','delete-project-member','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(635,'Taskly','project','Invite Project Client','invite-project-client','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(636,'Taskly','project','Delete Project Client','delete-project-client','web','2026-04-23 06:03:14','2026-04-23 06:03:14'),(637,'Taskly','project-milestone','Manage Project Milestone','manage-project-milestone','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(638,'Taskly','project-milestone','Create Project Milestone','create-project-milestone','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(639,'Taskly','project-milestone','Edit Project Milestone','edit-project-milestone','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(640,'Taskly','project-milestone','Delete Project Milestone','delete-project-milestone','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(641,'Taskly','project-task','Manage Project Task','manage-project-task','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(642,'Taskly','project-task','Manage All Project Task','manage-any-project-task','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(643,'Taskly','project-task','Manage Own Project Task','manage-own-project-task','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(644,'Taskly','project-task','Create Project Task','create-project-task','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(645,'Taskly','project-task','View Project Task','view-project-task','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(646,'Taskly','project-task','Edit Project Task','edit-project-task','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(647,'Taskly','project-task','Delete Project Task','delete-project-task','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(648,'Taskly','project-task','Manage Project Task Comments','manage-project-task-comments','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(649,'Taskly','project-task','Create Project Task Comments','create-project-task-comments','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(650,'Taskly','project-task','Delete Project Task Comments','delete-project-task-comments','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(651,'Taskly','project-task','Manage Project Subtask','manage-project-subtask','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(652,'Taskly','project-task','Create Project Subtask','create-project-subtask','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(653,'Taskly','project-bug','Manage Project Bug','manage-project-bug','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(654,'Taskly','project-bug','Manage All Project Bug','manage-any-project-bug','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(655,'Taskly','project-bug','Manage Own Project Bug','manage-own-project-bug','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(656,'Taskly','project-bug','Create Project Bug','create-project-bug','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(657,'Taskly','project-bug','Edit Project Bug','edit-project-bug','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(658,'Taskly','project-bug','View Project Bug','view-project-bug','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(659,'Taskly','project-bug','Delete Project Bug','delete-project-bug','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(660,'Taskly','project-bug','Manage Project Bug Comments','manage-project-bug-comments','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(661,'Taskly','project-bug','Create Project Bug Comments','create-project-bug-comments','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(662,'Taskly','project-bug','Delete Project Bug Comments','delete-project-bug-comments','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(663,'Taskly','task-stages','Manage Task Stages','manage-task-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(664,'Taskly','task-stages','Manage All Task Stages','manage-any-task-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(665,'Taskly','task-stages','Manage Own Task Stages','manage-own-task-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(666,'Taskly','task-stages','Create Task Stages','create-task-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(667,'Taskly','task-stages','Edit Task Stages','edit-task-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(668,'Taskly','task-stages','Delete Task Stages','delete-task-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(669,'Taskly','bug-stages','Manage Bug Stages','manage-bug-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(670,'Taskly','bug-stages','Manage All Bug Stages','manage-any-bug-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(671,'Taskly','bug-stages','Manage Own Bug Stages','manage-own-bug-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(672,'Taskly','bug-stages','Create Bug Stages','create-bug-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(673,'Taskly','bug-stages','Edit Bug Stages','edit-bug-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(674,'Taskly','bug-stages','Delete Bug Stages','delete-bug-stages','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(675,'ProductService','product-service-item','Manage Product Service','manage-product-service-item','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(676,'ProductService','product-service-item','Manage All Product Service','manage-any-product-service-item','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(677,'ProductService','product-service-item','Manage Own Product Service','manage-own-product-service-item','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(678,'ProductService','product-service-item','View Product Service','view-product-service-item','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(679,'ProductService','product-service-item','Create Product Service','create-product-service-item','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(680,'ProductService','product-service-item','Edit Product Service','edit-product-service-item','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(681,'ProductService','product-service-item','Delete Product Service','delete-product-service-item','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(682,'ProductService','product-service-item','Manage Stock','manage-stock','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(683,'ProductService','product-service-item','Create Stock','create-stock','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(684,'ProductService','product-service-category','Manage Categories','manage-product-service-categories','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(685,'ProductService','product-service-category','Manage All Categories','manage-any-product-service-categories','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(686,'ProductService','product-service-category','Manage Own Categories','manage-own-product-service-categories','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(687,'ProductService','product-service-category','Create Categories','create-product-service-categories','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(688,'ProductService','product-service-category','Edit Categories','edit-product-service-categories','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(689,'ProductService','product-service-category','Delete Categories','delete-product-service-categories','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(690,'ProductService','product-service-tax','Manage Taxes','manage-product-service-taxes','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(691,'ProductService','product-service-tax','Manage All Taxes','manage-any-product-service-taxes','web','2026-04-23 06:03:15','2026-04-23 06:03:15'),(692,'ProductService','product-service-tax','Manage Own Taxes','manage-own-product-service-taxes','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(693,'ProductService','product-service-tax','Create Taxes','create-product-service-taxes','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(694,'ProductService','product-service-tax','Edit Taxes','edit-product-service-taxes','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(695,'ProductService','product-service-tax','Delete Taxes','delete-product-service-taxes','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(696,'ProductService','product-service-unit','Manage Units','manage-product-service-units','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(697,'ProductService','product-service-unit','Manage All Units','manage-any-product-service-units','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(698,'ProductService','product-service-unit','Manage Own Units','manage-own-product-service-units','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(699,'ProductService','product-service-unit','Create Units','create-product-service-units','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(700,'ProductService','product-service-unit','Edit Units','edit-product-service-units','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(701,'ProductService','product-service-unit','Delete Units','delete-product-service-units','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(702,'Lead','lead','Manage CRM Dashboard','manage-crm-dashboard','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(703,'Lead','pipelines','Manage Pipelines','manage-pipelines','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(704,'Lead','pipelines','Manage All Pipelines','manage-any-pipelines','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(705,'Lead','pipelines','Manage Own Pipelines','manage-own-pipelines','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(706,'Lead','pipelines','Create Pipelines','create-pipelines','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(707,'Lead','pipelines','Edit Pipelines','edit-pipelines','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(708,'Lead','pipelines','Delete Pipelines','delete-pipelines','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(709,'Lead','lead-stages','Manage LeadStages','manage-lead-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(710,'Lead','lead-stages','Manage All LeadStages','manage-any-lead-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(711,'Lead','lead-stages','Manage Own LeadStages','manage-own-lead-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(712,'Lead','lead-stages','Create LeadStages','create-lead-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(713,'Lead','lead-stages','Edit LeadStages','edit-lead-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(714,'Lead','lead-stages','Delete LeadStages','delete-lead-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(715,'Lead','deal-stages','Manage DealStages','manage-deal-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(716,'Lead','deal-stages','Manage All DealStages','manage-any-deal-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(717,'Lead','deal-stages','Manage Own DealStages','manage-own-deal-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(718,'Lead','deal-stages','Create DealStages','create-deal-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(719,'Lead','deal-stages','Edit DealStages','edit-deal-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(720,'Lead','deal-stages','Delete DealStages','delete-deal-stages','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(721,'Lead','labels','Manage Labels','manage-labels','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(722,'Lead','labels','Manage All Labels','manage-any-labels','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(723,'Lead','labels','Manage Own Labels','manage-own-labels','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(724,'Lead','labels','Create Labels','create-labels','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(725,'Lead','labels','Edit Labels','edit-labels','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(726,'Lead','labels','Delete Labels','delete-labels','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(727,'Lead','sources','Manage Sources','manage-sources','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(728,'Lead','sources','Manage All Sources','manage-any-sources','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(729,'Lead','sources','Manage Own Sources','manage-own-sources','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(730,'Lead','sources','Create Sources','create-sources','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(731,'Lead','sources','Edit Sources','edit-sources','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(732,'Lead','sources','Delete Sources','delete-sources','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(733,'Lead','leads','Manage Leads','manage-leads','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(734,'Lead','leads','Manage All Leads','manage-any-leads','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(735,'Lead','leads','Manage Own Leads','manage-own-leads','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(736,'Lead','leads','View Leads','view-leads','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(737,'Lead','leads','Create Leads','create-leads','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(738,'Lead','leads','Edit Leads','edit-leads','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(739,'Lead','leads','Delete Leads','delete-leads','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(740,'Lead','leads','Move Leads','lead-move','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(741,'Lead','lead-tasks','Manage Lead Tasks','manage-lead-tasks','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(742,'Lead','lead-tasks','Manage All Lead Tasks','manage-any-lead-tasks','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(743,'Lead','lead-tasks','Manage Own Lead Tasks','manage-own-lead-tasks','web','2026-04-23 06:03:16','2026-04-23 06:03:16'),(744,'Lead','lead-tasks','Create Lead Tasks','create-lead-tasks','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(745,'Lead','lead-tasks','Edit Lead Tasks','edit-lead-tasks','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(746,'Lead','lead-tasks','Delete Lead Tasks','delete-lead-tasks','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(747,'Lead','deals','Manage Deals','manage-deals','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(748,'Lead','deals','Manage All Deals','manage-any-deals','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(749,'Lead','deals','Manage Own Deals','manage-own-deals','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(750,'Lead','deals','View Deals','view-deals','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(751,'Lead','deals','Create Deals','create-deals','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(752,'Lead','deals','Edit Deals','edit-deals','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(753,'Lead','deals','Delete Deals','delete-deals','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(754,'Lead','deals','Move Deals','deal-move','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(755,'Lead','deal-tasks','Manage Deal Tasks','manage-deal-tasks','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(756,'Lead','deal-tasks','Manage All Deal Tasks','manage-any-deal-tasks','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(757,'Lead','deal-tasks','Manage Own Deal Tasks','manage-own-deal-tasks','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(758,'Lead','deal-tasks','Create Deal Tasks','create-deal-tasks','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(759,'Lead','deal-tasks','Edit Deal Tasks','edit-deal-tasks','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(760,'Lead','deal-tasks','Delete Deal Tasks','delete-deal-tasks','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(761,'Lead','reports','Manage Reports','manage-reports','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(762,'Lead','reports','View Reports','view-reports','web','2026-04-23 06:03:17','2026-04-23 06:03:17'),(763,'PropertyManagement','PropertyManagement','Manage Properties','manage-properties','web','2026-04-23 06:07:59','2026-04-23 06:07:59'),(764,'PropertyManagement','PropertyManagement','View Properties','view-properties','web','2026-04-23 06:07:59','2026-04-23 06:07:59'),(765,'PropertyManagement','PropertyManagement','Manage Leases','manage-leases','web','2026-04-23 06:07:59','2026-04-23 06:07:59'),(766,'PropertyManagement','PropertyManagement','Manage Maintenance Requests','manage-maintenance-requests','web','2026-04-23 06:07:59','2026-04-23 06:07:59'),(767,'PropertyManagement','PropertyManagement','Manage Property Audits','manage-property-audits','web','2026-04-23 06:07:59','2026-04-23 06:07:59'),(768,'PropertyManagement','PropertyManagement','Manage Property Settings','manage-property-settings','web','2026-04-23 06:07:59','2026-04-23 06:07:59'),(769,'PropertyManagement','PropertyManagement','View Property Reports','view-property-reports','web','2026-04-23 06:07:59','2026-04-23 06:07:59'),(770,'Warehouse','warehouse','Manage Warehouse','manage-warehouse','web','2026-05-01 08:29:18','2026-05-01 08:29:18'),(771,'Warehouse','warehouse','Manage All Warehouse','manage-any-warehouse','web','2026-05-01 08:29:18','2026-05-01 08:29:18'),(772,'Warehouse','warehouse','Manage Own Warehouse','manage-own-warehouse','web','2026-05-01 08:29:18','2026-05-01 08:29:18'),(773,'Warehouse','warehouse','View Warehouse','view-warehouse','web','2026-05-01 08:29:18','2026-05-01 08:29:18'),(774,'Warehouse','warehouse','Create Warehouse','create-warehouse','web','2026-05-01 08:29:18','2026-05-01 08:29:18'),(775,'Warehouse','warehouse','Edit Warehouse','edit-warehouse','web','2026-05-01 08:29:18','2026-05-01 08:29:18'),(776,'Warehouse','warehouse','Delete Warehouse','delete-warehouse','web','2026-05-01 08:29:18','2026-05-01 08:29:18'),(777,'general','activity-logs','Manage Activity Logs','manage-activity-logs','web','2026-05-01 12:37:13','2026-05-01 12:37:13'),(778,'Fleet','Fleet','Fleet Manage','fleet manage','web','2026-05-01 15:09:16','2026-05-01 15:09:16'),(779,'Fleet','Fleet','Driver Manage','driver manage','web','2026-05-01 15:09:16','2026-05-01 15:09:16'),(780,'Fleet','Fleet','Driver Create','driver create','web','2026-05-01 15:09:16','2026-05-01 15:09:16'),(781,'Fleet','Fleet','Driver Show','driver show','web','2026-05-01 15:09:16','2026-05-01 15:09:16'),(782,'Fleet','Fleet','Driver Edit','driver edit','web','2026-05-01 15:09:16','2026-05-01 15:09:16'),(783,'Fleet','Fleet','Driver Delete','driver delete','web','2026-05-01 15:09:16','2026-05-01 15:09:16'),(784,'Fleet','Fleet','License Manage','license manage','web','2026-05-01 15:09:16','2026-05-01 15:09:16'),(785,'Fleet','Fleet','License Create','license create','web','2026-05-01 15:09:17','2026-05-01 15:09:17'),(786,'Fleet','Fleet','License Edit','license edit','web','2026-05-01 15:09:17','2026-05-01 15:09:17'),(787,'Fleet','Fleet','License Delete','license delete','web','2026-05-01 15:09:17','2026-05-01 15:09:17'),(788,'Fleet','Fleet','Vehicletype Manage','vehicletype manage','web','2026-05-01 15:09:17','2026-05-01 15:09:17'),(789,'Fleet','Fleet','Vehicletype Create','vehicletype create','web','2026-05-01 15:09:17','2026-05-01 15:09:17'),(790,'Fleet','Fleet','Vehicletype Edit','vehicletype edit','web','2026-05-01 15:09:17','2026-05-01 15:09:17'),(791,'Fleet','Fleet','Vehicletype Delete','vehicletype delete','web','2026-05-01 15:09:17','2026-05-01 15:09:17'),(792,'Fleet','Fleet','Fueltype Manage','fueltype manage','web','2026-05-01 15:09:17','2026-05-01 15:09:17'),(793,'Fleet','Fleet','Fueltype Create','fueltype create','web','2026-05-01 15:09:18','2026-05-01 15:09:18'),(794,'Fleet','Fleet','Fueltype Edit','fueltype edit','web','2026-05-01 15:09:18','2026-05-01 15:09:18'),(795,'Fleet','Fleet','Fueltype Delete','fueltype delete','web','2026-05-01 15:09:18','2026-05-01 15:09:18'),(796,'Fleet','Fleet','Recuerring Manage','recuerring manage','web','2026-05-01 15:09:18','2026-05-01 15:09:18'),(797,'Fleet','Fleet','Recuerring Create','recuerring create','web','2026-05-01 15:09:18','2026-05-01 15:09:18'),(798,'Fleet','Fleet','Recuerring Edit','recuerring edit','web','2026-05-01 15:09:18','2026-05-01 15:09:18'),(799,'Fleet','Fleet','Recuerring Delete','recuerring delete','web','2026-05-01 15:09:18','2026-05-01 15:09:18'),(800,'Fleet','Fleet','MaintenanceType Manage','maintenanceType manage','web','2026-05-01 15:09:18','2026-05-01 15:09:18'),(801,'Fleet','Fleet','MaintenanceType Create','maintenanceType create','web','2026-05-01 15:09:18','2026-05-01 15:09:18'),(802,'Fleet','Fleet','MaintenanceType Edit','maintenanceType edit','web','2026-05-01 15:09:19','2026-05-01 15:09:19'),(803,'Fleet','Fleet','MaintenanceType Delete','maintenanceType delete','web','2026-05-01 15:09:19','2026-05-01 15:09:19'),(804,'Fleet','Fleet','Fleet Customer Manage','fleet customer manage','web','2026-05-01 15:09:19','2026-05-01 15:09:19'),(805,'Fleet','Fleet','Fleet Customer Create','fleet customer create','web','2026-05-01 15:09:19','2026-05-01 15:09:19'),(806,'Fleet','Fleet','Fleet Customer Edit','fleet customer edit','web','2026-05-01 15:09:19','2026-05-01 15:09:19'),(807,'Fleet','Fleet','Fleet Customer Delete','fleet customer delete','web','2026-05-01 15:09:19','2026-05-01 15:09:19'),(808,'Fleet','Fleet','Vehicle Manage','vehicle manage','web','2026-05-01 15:09:19','2026-05-01 15:09:19'),(809,'Fleet','Fleet','Vehicle Create','vehicle create','web','2026-05-01 15:09:19','2026-05-01 15:09:19'),(810,'Fleet','Fleet','Vehicle Show','vehicle show','web','2026-05-01 15:09:20','2026-05-01 15:09:20'),(811,'Fleet','Fleet','Vehicle Edit','vehicle edit','web','2026-05-01 15:09:20','2026-05-01 15:09:20'),(812,'Fleet','Fleet','Vehicle Delete','vehicle delete','web','2026-05-01 15:09:20','2026-05-01 15:09:20'),(813,'Fleet','Fleet','Insurance Manage','insurance manage','web','2026-05-01 15:09:20','2026-05-01 15:09:20'),(814,'Fleet','Fleet','Insurance Create','insurance create','web','2026-05-01 15:09:20','2026-05-01 15:09:20'),(815,'Fleet','Fleet','Insurance Edit','insurance edit','web','2026-05-01 15:09:20','2026-05-01 15:09:20'),(816,'Fleet','Fleet','Insurance Show','insurance show','web','2026-05-01 15:09:20','2026-05-01 15:09:20'),(817,'Fleet','Fleet','Insurance Delete','insurance delete','web','2026-05-01 15:09:20','2026-05-01 15:09:20'),(818,'Fleet','Fleet','Fuel Manage','fuel manage','web','2026-05-01 15:09:21','2026-05-01 15:09:21'),(819,'Fleet','Fleet','Fuel Create','fuel create','web','2026-05-01 15:09:21','2026-05-01 15:09:21'),(820,'Fleet','Fleet','Fuel Edit','fuel edit','web','2026-05-01 15:09:21','2026-05-01 15:09:21'),(821,'Fleet','Fleet','Fuel Delete','fuel delete','web','2026-05-01 15:09:21','2026-05-01 15:09:21'),(822,'Fleet','Fleet','Booking Manage','booking manage','web','2026-05-01 15:09:21','2026-05-01 15:09:21'),(823,'Fleet','Fleet','Booking Create','booking create','web','2026-05-01 15:09:21','2026-05-01 15:09:21'),(824,'Fleet','Fleet','Booking Edit','booking edit','web','2026-05-01 15:09:21','2026-05-01 15:09:21'),(825,'Fleet','Fleet','Booking Show','booking show','web','2026-05-01 15:09:21','2026-05-01 15:09:21'),(826,'Fleet','Fleet','Booking Delete','booking delete','web','2026-05-01 15:09:22','2026-05-01 15:09:22'),(827,'Fleet','Fleet','Payment Booking Manage','payment booking manage','web','2026-05-01 15:09:22','2026-05-01 15:09:22'),(828,'Fleet','Fleet','Payment Booking Delete','payment booking delete','web','2026-05-01 15:09:22','2026-05-01 15:09:22'),(829,'Fleet','Fleet','Maintenance Manage','maintenance manage','web','2026-05-01 15:09:22','2026-05-01 15:09:22'),(830,'Fleet','Fleet','Maintenance Create','maintenance create','web','2026-05-01 15:09:22','2026-05-01 15:09:22'),(831,'Fleet','Fleet','Maintenance Edit','maintenance edit','web','2026-05-01 15:09:22','2026-05-01 15:09:22'),(832,'Fleet','Fleet','Maintenance Delete','maintenance delete','web','2026-05-01 15:09:22','2026-05-01 15:09:22'),(833,'Fleet','Fleet','Fleet Dashboard Manage','fleet dashboard manage','web','2026-05-01 15:09:23','2026-05-01 15:09:23'),(834,'Fleet','Fleet','Fleetavailability Manage','fleetavailability manage','web','2026-05-01 15:09:23','2026-05-01 15:09:23'),(835,'Fleet','Fleet','Fleetavailability Show','fleetavailability show','web','2026-05-01 15:09:23','2026-05-01 15:09:23'),(836,'Fleet','Fleet','Fleet Report Manage','fleet report manage','web','2026-05-01 15:09:23','2026-05-01 15:09:23'),(837,'Fleet','Fleet','Report Maintenance Manage','report maintenance manage','web','2026-05-01 15:09:23','2026-05-01 15:09:23'),(838,'Fleet','Fleet','Report Fuelhistoryreport Manage','report fuelhistoryreport manage','web','2026-05-01 15:09:23','2026-05-01 15:09:23'),(839,'Fleet','Fleet','Fleet Logbook Manage','fleet logbook manage','web','2026-05-01 15:09:23','2026-05-01 15:09:23'),(840,'Fleet','Fleet','Fleet Logbook Create','fleet logbook create','web','2026-05-01 15:09:23','2026-05-01 15:09:23'),(841,'Fleet','Fleet','Fleet Logbook Edit','fleet logbook edit','web','2026-05-01 15:09:24','2026-05-01 15:09:24'),(842,'Fleet','Fleet','Fleet Logbook Show','fleet logbook show','web','2026-05-01 15:09:24','2026-05-01 15:09:24'),(843,'Fleet','Fleet','Fleet Logbook Delete','fleet logbook delete','web','2026-05-01 15:09:24','2026-05-01 15:09:24'),(844,'Fleet','Fleet','Fleet Insurance Booking Create','fleet insurance booking create','web','2026-05-01 15:09:24','2026-05-01 15:09:24'),(845,'Fleet','Fleet','Fleet Insurance Booking Edit','fleet insurance booking edit','web','2026-05-01 15:09:24','2026-05-01 15:09:24'),(846,'Fleet','Fleet','Fleet Insurance Booking Delete','fleet insurance booking delete','web','2026-05-01 15:09:24','2026-05-01 15:09:24'),(847,'Bookings','Bookings','Bookings Manage','bookings manage','web','2026-05-01 15:09:25','2026-05-01 15:09:25'),(848,'Bookings','Bookings','Bookings Items Manage','bookings items manage','web','2026-05-01 15:09:25','2026-05-01 15:09:25'),(849,'Bookings','Bookings','Bookingcustomers Manage','bookingcustomers manage','web','2026-05-01 15:09:25','2026-05-01 15:09:25'),(850,'Bookings','Bookings','Bookingcustomers Create','bookingcustomers create','web','2026-05-01 15:09:25','2026-05-01 15:09:25'),(851,'Bookings','Bookings','Bookingcustomers Edit','bookingcustomers edit','web','2026-05-01 15:09:25','2026-05-01 15:09:25'),(852,'Bookings','Bookings','Bookingcustomers Delete','bookingcustomers delete','web','2026-05-01 15:09:25','2026-05-01 15:09:25'),(853,'Bookings','Bookings','Booking Staffs Manage','booking staffs manage','web','2026-05-01 15:09:26','2026-05-01 15:09:26'),(854,'Bookings','Bookings','Booking Staffs Create','booking staffs create','web','2026-05-01 15:09:26','2026-05-01 15:09:26'),(855,'Bookings','Bookings','Booking Staffs Edit','booking staffs edit','web','2026-05-01 15:09:26','2026-05-01 15:09:26'),(856,'Bookings','Bookings','Booking Staffs Delete','booking staffs delete','web','2026-05-01 15:09:26','2026-05-01 15:09:26'),(857,'Bookings','Bookings','Bookings Appointments Manage','bookings appointments manage','web','2026-05-01 15:09:26','2026-05-01 15:09:26'),(858,'Bookings','Bookings','Bookings Appointments Create','bookings appointments create','web','2026-05-01 15:09:26','2026-05-01 15:09:26'),(859,'Bookings','Bookings','Bookings Appointments Show','bookings appointments show','web','2026-05-01 15:09:26','2026-05-01 15:09:26'),(860,'Bookings','Bookings','Bookings Appointments Edit','bookings appointments edit','web','2026-05-01 15:09:27','2026-05-01 15:09:27'),(861,'Bookings','Bookings','Bookings Appointments Delete','bookings appointments delete','web','2026-05-01 15:09:27','2026-05-01 15:09:27'),(862,'Bookings','Bookings','Bookings System-setup Manage','bookings system-setup manage','web','2026-05-01 15:09:27','2026-05-01 15:09:27'),(863,'Bookings','Bookings','Bookings Business Hours Manage','bookings business hours manage','web','2026-05-01 15:09:27','2026-05-01 15:09:27'),(864,'Bookings','Bookings','Bookings Extra Services Manage','bookings extra services manage','web','2026-05-01 15:09:27','2026-05-01 15:09:27'),(865,'Bookings','Bookings','Bookings Extra Services Create','bookings extra services create','web','2026-05-01 15:09:27','2026-05-01 15:09:27'),(866,'Bookings','Bookings','Bookings Extra Services Edit','bookings extra services edit','web','2026-05-01 15:09:27','2026-05-01 15:09:27'),(867,'Bookings','Bookings','Bookings Extra Services Delete','bookings extra services delete','web','2026-05-01 15:09:27','2026-05-01 15:09:27'),(868,'Bookings','Bookings','Bookings Package Manage','bookings package manage','web','2026-05-01 15:09:28','2026-05-01 15:09:28'),(869,'Bookings','Bookings','Bookings Package Create','bookings package create','web','2026-05-01 15:09:28','2026-05-01 15:09:28'),(870,'Bookings','Bookings','Bookings Package Edit','bookings package edit','web','2026-05-01 15:09:28','2026-05-01 15:09:28'),(871,'Bookings','Bookings','Bookings Package Delete','bookings package delete','web','2026-05-01 15:09:28','2026-05-01 15:09:28'),(872,'Bookings','Bookings','Bookings Package Duplicate','bookings package duplicate','web','2026-05-01 15:09:28','2026-05-01 15:09:28'),(873,'Bookings','Bookings','Bookings Dashboard Manage','bookings dashboard manage','web','2026-05-01 15:09:28','2026-05-01 15:09:28'),(874,'Bookings','Bookings','Bookings Location Manage','bookings location manage','web','2026-05-01 15:09:28','2026-05-01 15:09:28'),(875,'Bookings','Bookings','Bookings Description Show','bookings description show','web','2026-05-01 15:09:28','2026-05-01 15:09:28'),(876,'AIDocument','AIDocument','Ai Document Manage','ai document manage','web','2026-05-01 15:09:28','2026-05-01 15:09:28'),(877,'AIDocument','AIDocument','Ai Document Generate','ai document generate','web','2026-05-01 15:09:29','2026-05-01 15:09:29'),(878,'AIDocument','AIDocument','Ai Document Generate PDF','ai document generate PDF','web','2026-05-01 15:09:29','2026-05-01 15:09:29'),(879,'AIDocument','AIDocument','Ai Document Generate Word','ai document generate Word','web','2026-05-01 15:09:29','2026-05-01 15:09:29'),(880,'AIDocument','AIDocument','Ai Document Generate TXT','ai document generate TXT','web','2026-05-01 15:09:29','2026-05-01 15:09:29'),(881,'AIDocument','AIDocument','Ai Document Copy','ai document copy','web','2026-05-01 15:09:29','2026-05-01 15:09:29'),(882,'AIDocument','AIDocument','Ai Document Save','ai document save','web','2026-05-01 15:09:29','2026-05-01 15:09:29'),(883,'AIDocument','AIDocument','Ai Document Create','ai document create','web','2026-05-01 15:09:29','2026-05-01 15:09:29'),(884,'AIDocument','AIDocument','Ai Document View','ai document view','web','2026-05-01 15:09:30','2026-05-01 15:09:30'),(885,'AIDocument','AIDocument','Document History Manage','document history manage','web','2026-05-01 15:09:30','2026-05-01 15:09:30'),(886,'AIDocument','AIDocument','Document History Edit','document history edit','web','2026-05-01 15:09:30','2026-05-01 15:09:30'),(887,'AIDocument','AIDocument','Document History Delete','document history delete','web','2026-05-01 15:09:30','2026-05-01 15:09:30'),(888,'AIDocument','AIDocument','Sidebar Ai Manage','sidebar ai manage','web','2026-05-01 15:09:30','2026-05-01 15:09:30'),(889,'Documents','Documents','Documents Manage','documents manage','web','2026-05-01 15:09:30','2026-05-01 15:09:30'),(890,'Documents','Documents','Documents Create','documents create','web','2026-05-01 15:09:30','2026-05-01 15:09:30'),(891,'Documents','Documents','Documents Edit','documents edit','web','2026-05-01 15:09:31','2026-05-01 15:09:31'),(892,'Documents','Documents','Documents Delete','documents delete','web','2026-05-01 15:09:31','2026-05-01 15:09:31'),(893,'Documents','Documents','Documents Show','documents show','web','2026-05-01 15:09:31','2026-05-01 15:09:31'),(894,'Documents','Documents','Documents Type Manage','documents type manage','web','2026-05-01 15:09:31','2026-05-01 15:09:31'),(895,'Documents','Documents','Documents Type Create','documents type create','web','2026-05-01 15:09:31','2026-05-01 15:09:31'),(896,'Documents','Documents','Documents Type Edit','documents type edit','web','2026-05-01 15:09:31','2026-05-01 15:09:31'),(897,'Documents','Documents','Documents Type Delete','documents type delete','web','2026-05-01 15:09:31','2026-05-01 15:09:31'),(898,'Documents','Documents','Documents Comment Create','documents comment create','web','2026-05-01 15:09:31','2026-05-01 15:09:31'),(899,'Documents','Documents','Documents Comment Delete','documents comment delete','web','2026-05-01 15:09:32','2026-05-01 15:09:32'),(900,'Documents','Documents','Documents Note Create','documents note create','web','2026-05-01 15:09:32','2026-05-01 15:09:32'),(901,'Documents','Documents','Documents Note Delete','documents note delete','web','2026-05-01 15:09:32','2026-05-01 15:09:32'),(902,'DoubleEntry','DoubleEntry','Doubleentry Manage','doubleentry manage','web','2026-05-01 15:09:32','2026-05-01 15:09:32'),(903,'DoubleEntry','DoubleEntry','Report Ledger','report ledger','web','2026-05-01 15:09:32','2026-05-01 15:09:32'),(904,'DoubleEntry','DoubleEntry','Report Balance Sheet','report balance sheet','web','2026-05-01 15:09:32','2026-05-01 15:09:32'),(905,'DoubleEntry','DoubleEntry','Report Profit Loss','report profit loss','web','2026-05-01 15:09:32','2026-05-01 15:09:32'),(906,'DoubleEntry','DoubleEntry','Report Trial Balance','report trial balance','web','2026-05-01 15:09:32','2026-05-01 15:09:32'),(907,'DoubleEntry','DoubleEntry','Journalentry Manage','journalentry manage','web','2026-05-01 15:09:33','2026-05-01 15:09:33'),(908,'DoubleEntry','DoubleEntry','Journalentry Create','journalentry create','web','2026-05-01 15:09:33','2026-05-01 15:09:33'),(909,'DoubleEntry','DoubleEntry','Journalentry Show','journalentry show','web','2026-05-01 15:09:33','2026-05-01 15:09:33'),(910,'DoubleEntry','DoubleEntry','Journalentry Edit','journalentry edit','web','2026-05-01 15:09:33','2026-05-01 15:09:33'),(911,'DoubleEntry','DoubleEntry','Journalentry Delete','journalentry delete','web','2026-05-01 15:09:33','2026-05-01 15:09:33'),(912,'DoubleEntry','DoubleEntry','Report Sales','report sales','web','2026-05-01 15:09:33','2026-05-01 15:09:33'),(913,'DoubleEntry','DoubleEntry','Report Receivables','report receivables','web','2026-05-01 15:09:33','2026-05-01 15:09:33'),(914,'DoubleEntry','DoubleEntry','Report Payables','report payables','web','2026-05-01 15:09:33','2026-05-01 15:09:33'),(915,'AssetManagement','asset-dashboard','Manage Asset Dashboard','manage-asset-dashboard','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(916,'AssetManagement','assets','Manage Assets','manage-assets','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(917,'AssetManagement','assets','Create Assets','create-assets','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(918,'AssetManagement','assets','Edit Assets','edit-assets','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(919,'AssetManagement','assets','Delete Assets','delete-assets','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(920,'AssetManagement','assets','View Assets','view-assets','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(921,'AssetManagement','asset-categories','Manage Asset Categories','manage-asset-categories','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(922,'AssetManagement','asset-assignments','Manage Asset Assignments','manage-asset-assignments','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(923,'AssetManagement','asset-assignments','Create Asset Assignments','create-asset-assignments','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(924,'AssetManagement','asset-depreciation','Manage Asset Depreciation','manage-asset-depreciation','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(925,'AssetManagement','asset-depreciation','Run Depreciation','run-depreciation','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(926,'AssetManagement','asset-maintenance','Manage Asset Maintenance','manage-asset-maintenance','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(927,'AssetManagement','asset-maintenance','Create Asset Maintenance','create-asset-maintenance','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(928,'AssetManagement','asset-disposal','Manage Asset Disposal','manage-asset-disposal','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(929,'AssetManagement','asset-disposal','Create Asset Disposal','create-asset-disposal','web','2026-05-02 01:30:29','2026-05-02 01:30:29'),(930,'AssetManagement','asset-import','Manage Asset Import','manage-asset-import','web','2026-05-02 01:30:29','2026-05-02 01:30:29');
|
||
/*!40000 ALTER TABLE `permissions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `personal_access_tokens`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `personal_access_tokens`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `personal_access_tokens` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`tokenable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`tokenable_id` bigint unsigned NOT NULL,
|
||
`name` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`token` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`abilities` text COLLATE utf8mb4_unicode_ci,
|
||
`last_used_at` timestamp NULL DEFAULT NULL,
|
||
`expires_at` timestamp NULL DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
|
||
KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`),
|
||
KEY `personal_access_tokens_expires_at_index` (`expires_at`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `personal_access_tokens`
|
||
--
|
||
|
||
LOCK TABLES `personal_access_tokens` WRITE;
|
||
/*!40000 ALTER TABLE `personal_access_tokens` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `personal_access_tokens` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pipelines`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pipelines`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pipelines` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pipelines_creator_id_index` (`creator_id`),
|
||
KEY `pipelines_created_by_index` (`created_by`),
|
||
CONSTRAINT `pipelines_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `pipelines_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pipelines`
|
||
--
|
||
|
||
LOCK TABLES `pipelines` WRITE;
|
||
/*!40000 ALTER TABLE `pipelines` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pipelines` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `plans`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `plans`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `plans` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`number_of_users` int NOT NULL DEFAULT '1',
|
||
`custom_plan` tinyint(1) NOT NULL DEFAULT '0',
|
||
`status` tinyint(1) NOT NULL DEFAULT '1',
|
||
`free_plan` tinyint(1) NOT NULL DEFAULT '0',
|
||
`modules` json DEFAULT NULL,
|
||
`package_price_yearly` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`package_price_monthly` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`price_per_user_monthly` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`price_per_user_yearly` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`storage_limit` int NOT NULL DEFAULT '0',
|
||
`price_per_storage_monthly` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`price_per_storage_yearly` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`trial` tinyint(1) NOT NULL DEFAULT '0',
|
||
`trial_days` int NOT NULL DEFAULT '0',
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `plans_created_by_index` (`created_by`),
|
||
CONSTRAINT `plans_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `plans`
|
||
--
|
||
|
||
LOCK TABLES `plans` WRITE;
|
||
/*!40000 ALTER TABLE `plans` DISABLE KEYS */;
|
||
INSERT INTO `plans` VALUES (1,'Trial','Trial plan with all modules enabled',-1,0,1,1,'[\"SkillsMatrix\", \"CertTracker\", \"Engagement\", \"Utilization\", \"PropertyManagement\", \"Hospital\", \"Hrm\", \"Account\", \"Pos\", \"ProductService\", \"Lead\", \"Taskly\", \"Payroll\", \"DoubleEntry\", \"CustomField\", \"Documents\", \"LandingPage\", \"Bookings\", \"CoilManufacturing\", \"Fleet\", \"AIHub\", \"AIAssistant\", \"AIDocument\", \"AIForecasting\", \"Paypal\", \"Stripe\", \"Warehouse\", \"AssetManagement\"]',0.00,0.00,0.00,0.00,999999,0.00,0.00,1,365,1,'2026-04-23 06:02:58','2026-05-02 02:01:41');
|
||
/*!40000 ALTER TABLE `plans` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_amenities`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_amenities`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_amenities` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`icon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`amenity_type_id` bigint unsigned NOT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_amenities_amenity_type_id_foreign` (`amenity_type_id`),
|
||
CONSTRAINT `pm_amenities_amenity_type_id_foreign` FOREIGN KEY (`amenity_type_id`) REFERENCES `pm_amenity_types` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_amenities`
|
||
--
|
||
|
||
LOCK TABLES `pm_amenities` WRITE;
|
||
/*!40000 ALTER TABLE `pm_amenities` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_amenities` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_amenity_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_amenity_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_amenity_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_amenity_types`
|
||
--
|
||
|
||
LOCK TABLES `pm_amenity_types` WRITE;
|
||
/*!40000 ALTER TABLE `pm_amenity_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_amenity_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_area_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_area_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_area_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`unit_value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_area_types`
|
||
--
|
||
|
||
LOCK TABLES `pm_area_types` WRITE;
|
||
/*!40000 ALTER TABLE `pm_area_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_area_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_energy_efficiency_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_energy_efficiency_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_energy_efficiency_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_energy_efficiency_types`
|
||
--
|
||
|
||
LOCK TABLES `pm_energy_efficiency_types` WRITE;
|
||
/*!40000 ALTER TABLE `pm_energy_efficiency_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_energy_efficiency_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_expense_links`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_expense_links`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_expense_links` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`expense_id` bigint unsigned NOT NULL,
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_expense_links_property_id_index` (`property_id`),
|
||
KEY `pm_expense_links_expense_id_index` (`expense_id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_expense_links`
|
||
--
|
||
|
||
LOCK TABLES `pm_expense_links` WRITE;
|
||
/*!40000 ALTER TABLE `pm_expense_links` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_expense_links` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_invoice_links`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_invoice_links`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_invoice_links` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`invoice_id` bigint unsigned NOT NULL,
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`lease_id` bigint unsigned DEFAULT NULL,
|
||
`billing_period` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_invoice_links_property_id_index` (`property_id`),
|
||
KEY `pm_invoice_links_lease_id_index` (`lease_id`),
|
||
KEY `pm_invoice_links_invoice_id_index` (`invoice_id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_invoice_links`
|
||
--
|
||
|
||
LOCK TABLES `pm_invoice_links` WRITE;
|
||
/*!40000 ALTER TABLE `pm_invoice_links` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_invoice_links` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_leases`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_leases`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_leases` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`tenant_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`tenant_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`tenant_phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`tenant_user_id` bigint unsigned DEFAULT NULL,
|
||
`start_date` date NOT NULL,
|
||
`end_date` date NOT NULL,
|
||
`monthly_rent` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`security_deposit` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`lease_status` enum('pending','active','expired','terminated') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`lease_document` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`auto_invoice` tinyint(1) NOT NULL DEFAULT '0',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_leases_property_id_index` (`property_id`),
|
||
KEY `pm_leases_lease_status_index` (`lease_status`),
|
||
KEY `pm_leases_created_by_index` (`created_by`),
|
||
CONSTRAINT `pm_leases_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `pm_properties` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_leases`
|
||
--
|
||
|
||
LOCK TABLES `pm_leases` WRITE;
|
||
/*!40000 ALTER TABLE `pm_leases` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_leases` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_maintenance_files`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_maintenance_files`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_maintenance_files` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`maintenance_request_id` bigint unsigned NOT NULL,
|
||
`filename` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`filepath` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_maintenance_files_maintenance_request_id_foreign` (`maintenance_request_id`),
|
||
CONSTRAINT `pm_maintenance_files_maintenance_request_id_foreign` FOREIGN KEY (`maintenance_request_id`) REFERENCES `pm_maintenance_requests` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_maintenance_files`
|
||
--
|
||
|
||
LOCK TABLES `pm_maintenance_files` WRITE;
|
||
/*!40000 ALTER TABLE `pm_maintenance_files` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_maintenance_files` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_maintenance_requests`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_maintenance_requests`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_maintenance_requests` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`lease_id` bigint unsigned DEFAULT NULL,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`priority` enum('low','medium','high','critical') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'medium',
|
||
`status` enum('open','assigned','in_progress','resolved','closed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
|
||
`assigned_to` bigint unsigned DEFAULT NULL,
|
||
`estimated_cost` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`actual_cost` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`due_date` date DEFAULT NULL,
|
||
`resolved_at` datetime DEFAULT NULL,
|
||
`requested_by` bigint unsigned DEFAULT NULL,
|
||
`requested_by_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'staff',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_maintenance_requests_lease_id_foreign` (`lease_id`),
|
||
KEY `pm_maintenance_requests_property_id_index` (`property_id`),
|
||
KEY `pm_maintenance_requests_status_index` (`status`),
|
||
KEY `pm_maintenance_requests_priority_index` (`priority`),
|
||
KEY `pm_maintenance_requests_created_by_index` (`created_by`),
|
||
CONSTRAINT `pm_maintenance_requests_lease_id_foreign` FOREIGN KEY (`lease_id`) REFERENCES `pm_leases` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `pm_maintenance_requests_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `pm_properties` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_maintenance_requests`
|
||
--
|
||
|
||
LOCK TABLES `pm_maintenance_requests` WRITE;
|
||
/*!40000 ALTER TABLE `pm_maintenance_requests` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_maintenance_requests` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_messages`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_messages`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_messages` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`lease_id` bigint unsigned DEFAULT NULL,
|
||
`sender_id` bigint unsigned NOT NULL,
|
||
`sender_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'tenant',
|
||
`message` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`read_at` timestamp NULL DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_messages_property_id_lease_id_index` (`property_id`,`lease_id`),
|
||
KEY `pm_messages_sender_id_index` (`sender_id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_messages`
|
||
--
|
||
|
||
LOCK TABLES `pm_messages` WRITE;
|
||
/*!40000 ALTER TABLE `pm_messages` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_messages` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_ownership_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_ownership_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_ownership_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_ownership_types`
|
||
--
|
||
|
||
LOCK TABLES `pm_ownership_types` WRITE;
|
||
/*!40000 ALTER TABLE `pm_ownership_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_ownership_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_properties`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_properties`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_properties` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`short_description` text COLLATE utf8mb4_unicode_ci,
|
||
`long_description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`address` text COLLATE utf8mb4_unicode_ci,
|
||
`country` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`zip_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`size` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`bathrooms` int NOT NULL DEFAULT '0',
|
||
`bedrooms` int NOT NULL DEFAULT '0',
|
||
`rooms` int NOT NULL DEFAULT '0',
|
||
`floor` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`sale_price` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`rent_price_incl` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`rent_price_excl` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`main_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`floor_plan_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`video_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`lat` decimal(10,7) DEFAULT NULL,
|
||
`lng` decimal(10,7) DEFAULT NULL,
|
||
`category_id` bigint unsigned DEFAULT NULL,
|
||
`ownership_type_id` bigint unsigned DEFAULT NULL,
|
||
`area_type_id` bigint unsigned DEFAULT NULL,
|
||
`energy_efficiency_type_id` bigint unsigned DEFAULT NULL,
|
||
`status` enum('available','rented','sold','under_maintenance') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'available',
|
||
`purpose` enum('sale','rent','both') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'rent',
|
||
`selected_agent` bigint unsigned DEFAULT NULL,
|
||
`is_featured` tinyint(1) NOT NULL DEFAULT '0',
|
||
`is_enabled` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_properties_ownership_type_id_foreign` (`ownership_type_id`),
|
||
KEY `pm_properties_area_type_id_foreign` (`area_type_id`),
|
||
KEY `pm_properties_energy_efficiency_type_id_foreign` (`energy_efficiency_type_id`),
|
||
KEY `pm_properties_created_by_index` (`created_by`),
|
||
KEY `pm_properties_status_index` (`status`),
|
||
KEY `pm_properties_category_id_index` (`category_id`),
|
||
CONSTRAINT `pm_properties_area_type_id_foreign` FOREIGN KEY (`area_type_id`) REFERENCES `pm_area_types` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `pm_properties_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `pm_property_categories` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `pm_properties_energy_efficiency_type_id_foreign` FOREIGN KEY (`energy_efficiency_type_id`) REFERENCES `pm_energy_efficiency_types` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `pm_properties_ownership_type_id_foreign` FOREIGN KEY (`ownership_type_id`) REFERENCES `pm_ownership_types` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_properties`
|
||
--
|
||
|
||
LOCK TABLES `pm_properties` WRITE;
|
||
/*!40000 ALTER TABLE `pm_properties` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_properties` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_property_amenities`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_property_amenities`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_property_amenities` (
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`amenity_id` bigint unsigned NOT NULL,
|
||
PRIMARY KEY (`property_id`,`amenity_id`),
|
||
KEY `pm_property_amenities_amenity_id_foreign` (`amenity_id`),
|
||
CONSTRAINT `pm_property_amenities_amenity_id_foreign` FOREIGN KEY (`amenity_id`) REFERENCES `pm_amenities` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `pm_property_amenities_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `pm_properties` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_property_amenities`
|
||
--
|
||
|
||
LOCK TABLES `pm_property_amenities` WRITE;
|
||
/*!40000 ALTER TABLE `pm_property_amenities` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_property_amenities` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_property_assignments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_property_assignments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_property_assignments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`role` enum('agent','inspector','manager') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'agent',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `pm_property_assignments_property_id_user_id_role_unique` (`property_id`,`user_id`,`role`),
|
||
CONSTRAINT `pm_property_assignments_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `pm_properties` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_property_assignments`
|
||
--
|
||
|
||
LOCK TABLES `pm_property_assignments` WRITE;
|
||
/*!40000 ALTER TABLE `pm_property_assignments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_property_assignments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_property_attachments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_property_attachments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_property_attachments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`file_size` bigint unsigned NOT NULL DEFAULT '0',
|
||
`uploaded_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_property_attachments_property_id_index` (`property_id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_property_attachments`
|
||
--
|
||
|
||
LOCK TABLES `pm_property_attachments` WRITE;
|
||
/*!40000 ALTER TABLE `pm_property_attachments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_property_attachments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_property_audits`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_property_audits`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_property_audits` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`auditor_id` bigint unsigned NOT NULL,
|
||
`audit_date` date NOT NULL,
|
||
`property_ids` json DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`status` enum('planned','in_progress','completed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'planned',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_property_audits`
|
||
--
|
||
|
||
LOCK TABLES `pm_property_audits` WRITE;
|
||
/*!40000 ALTER TABLE `pm_property_audits` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_property_audits` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_property_categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_property_categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_property_categories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`icon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_property_categories`
|
||
--
|
||
|
||
LOCK TABLES `pm_property_categories` WRITE;
|
||
/*!40000 ALTER TABLE `pm_property_categories` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_property_categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_property_events`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_property_events`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_property_events` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`event_by` bigint unsigned DEFAULT NULL,
|
||
`event_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_property_events_property_id_foreign` (`property_id`),
|
||
CONSTRAINT `pm_property_events_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `pm_properties` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_property_events`
|
||
--
|
||
|
||
LOCK TABLES `pm_property_events` WRITE;
|
||
/*!40000 ALTER TABLE `pm_property_events` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_property_events` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_property_history`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_property_history`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_property_history` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`event` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`field` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`old_value` text COLLATE utf8mb4_unicode_ci,
|
||
`new_value` text COLLATE utf8mb4_unicode_ci,
|
||
`changed_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_property_history_property_id_index` (`property_id`),
|
||
CONSTRAINT `pm_property_history_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `pm_properties` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_property_history`
|
||
--
|
||
|
||
LOCK TABLES `pm_property_history` WRITE;
|
||
/*!40000 ALTER TABLE `pm_property_history` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_property_history` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_property_images`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_property_images`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_property_images` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`image_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`sort_order` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_property_images_property_id_foreign` (`property_id`),
|
||
CONSTRAINT `pm_property_images_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `pm_properties` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_property_images`
|
||
--
|
||
|
||
LOCK TABLES `pm_property_images` WRITE;
|
||
/*!40000 ALTER TABLE `pm_property_images` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_property_images` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_property_leads`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_property_leads`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_property_leads` (
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`lead_id` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`property_id`,`lead_id`),
|
||
CONSTRAINT `pm_property_leads_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `pm_properties` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_property_leads`
|
||
--
|
||
|
||
LOCK TABLES `pm_property_leads` WRITE;
|
||
/*!40000 ALTER TABLE `pm_property_leads` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_property_leads` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pm_property_notes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pm_property_notes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pm_property_notes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`property_id` bigint unsigned NOT NULL,
|
||
`note_text` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`note_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'general',
|
||
`is_pinned` tinyint(1) NOT NULL DEFAULT '0',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pm_property_notes_property_id_index` (`property_id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pm_property_notes`
|
||
--
|
||
|
||
LOCK TABLES `pm_property_notes` WRITE;
|
||
/*!40000 ALTER TABLE `pm_property_notes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pm_property_notes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pos`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pos`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pos` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`sale_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`customer_id` bigint unsigned DEFAULT NULL,
|
||
`warehouse_id` bigint unsigned DEFAULT NULL,
|
||
`pos_date` date NOT NULL,
|
||
`status` enum('completed','pending','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'completed',
|
||
`bank_account_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pos_bank_account_id_foreign` (`bank_account_id`),
|
||
KEY `pos_customer_id_index` (`customer_id`),
|
||
KEY `pos_warehouse_id_index` (`warehouse_id`),
|
||
KEY `pos_creator_id_index` (`creator_id`),
|
||
KEY `pos_created_by_index` (`created_by`),
|
||
CONSTRAINT `pos_bank_account_id_foreign` FOREIGN KEY (`bank_account_id`) REFERENCES `bank_accounts` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `pos_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `pos_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `pos_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `pos_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pos`
|
||
--
|
||
|
||
LOCK TABLES `pos` WRITE;
|
||
/*!40000 ALTER TABLE `pos` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pos` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pos_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pos_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pos_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`pos_id` bigint unsigned DEFAULT NULL,
|
||
`product_id` bigint unsigned DEFAULT NULL,
|
||
`quantity` decimal(8,2) NOT NULL,
|
||
`price` decimal(10,2) NOT NULL,
|
||
`subtotal` decimal(10,2) NOT NULL,
|
||
`tax_ids` json DEFAULT NULL,
|
||
`tax_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(10,2) NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pos_items_pos_id_index` (`pos_id`),
|
||
KEY `pos_items_product_id_index` (`product_id`),
|
||
KEY `pos_items_creator_id_index` (`creator_id`),
|
||
KEY `pos_items_created_by_index` (`created_by`),
|
||
CONSTRAINT `pos_items_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `pos_items_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `pos_items_pos_id_foreign` FOREIGN KEY (`pos_id`) REFERENCES `pos` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `pos_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `product_service_items` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pos_items`
|
||
--
|
||
|
||
LOCK TABLES `pos_items` WRITE;
|
||
/*!40000 ALTER TABLE `pos_items` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pos_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `pos_payments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `pos_payments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `pos_payments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`pos_id` bigint unsigned DEFAULT NULL,
|
||
`discount` decimal(10,2) NOT NULL,
|
||
`amount` decimal(10,2) NOT NULL,
|
||
`discount_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `pos_payments_pos_id_index` (`pos_id`),
|
||
KEY `pos_payments_creator_id_index` (`creator_id`),
|
||
KEY `pos_payments_created_by_index` (`created_by`),
|
||
CONSTRAINT `pos_payments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `pos_payments_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `pos_payments_pos_id_foreign` FOREIGN KEY (`pos_id`) REFERENCES `pos` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `pos_payments`
|
||
--
|
||
|
||
LOCK TABLES `pos_payments` WRITE;
|
||
/*!40000 ALTER TABLE `pos_payments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `pos_payments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `product_service_categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `product_service_categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `product_service_categories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`color` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `product_service_categories_creator_id_index` (`creator_id`),
|
||
KEY `product_service_categories_created_by_index` (`created_by`),
|
||
CONSTRAINT `product_service_categories_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `product_service_categories_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `product_service_categories`
|
||
--
|
||
|
||
LOCK TABLES `product_service_categories` WRITE;
|
||
/*!40000 ALTER TABLE `product_service_categories` DISABLE KEYS */;
|
||
INSERT INTO `product_service_categories` VALUES (1,'General Merchandise','#3498db',NULL,2,'2026-05-01 08:37:51','2026-05-01 08:37:51'),(2,'General Merchandise','#3498db',2,2,'2026-05-01 09:18:50','2026-05-01 09:18:50'),(3,'General Merchandise','#3498db',2,2,'2026-05-01 09:19:09','2026-05-01 09:19:09');
|
||
/*!40000 ALTER TABLE `product_service_categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `product_service_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `product_service_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `product_service_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`sku` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`tax_ids` json DEFAULT NULL,
|
||
`category_id` bigint unsigned DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`long_description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`sale_price` decimal(10,2) DEFAULT NULL,
|
||
`purchase_price` decimal(10,2) DEFAULT NULL,
|
||
`min_stock_level` int NOT NULL DEFAULT '0',
|
||
`unit` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`images` json DEFAULT NULL,
|
||
`type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `product_service_items_category_id_index` (`category_id`),
|
||
KEY `product_service_items_creator_id_index` (`creator_id`),
|
||
KEY `product_service_items_created_by_index` (`created_by`),
|
||
CONSTRAINT `product_service_items_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `product_service_categories` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `product_service_items_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `product_service_items_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `product_service_items`
|
||
--
|
||
|
||
LOCK TABLES `product_service_items` WRITE;
|
||
/*!40000 ALTER TABLE `product_service_items` DISABLE KEYS */;
|
||
INSERT INTO `product_service_items` VALUES (1,'Paracetamol 429mg','MED-BBVSWI',NULL,NULL,NULL,NULL,149.57,18.87,100,NULL,NULL,NULL,'product',1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(2,'Ibuprofen 491mg','MED-HXBQNR',NULL,NULL,NULL,NULL,153.08,31.77,100,NULL,NULL,NULL,'product',1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(3,'Amoxicillin 104mg','MED-L1INHJ',NULL,NULL,NULL,NULL,130.91,14.48,100,NULL,NULL,NULL,'product',1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(4,'Cetirizine 444mg','MED-HTCGVV',NULL,NULL,NULL,NULL,68.31,21.93,100,NULL,NULL,NULL,'product',1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(5,'Losartan 383mg','MED-MBOBSI',NULL,NULL,NULL,NULL,121.34,19.39,100,NULL,NULL,NULL,'product',1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(6,'Amlodipine 302mg','MED-FZWYZA',NULL,NULL,NULL,NULL,191.36,34.98,100,NULL,NULL,NULL,'product',1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(7,'Metformin 489mg','MED-V0W1WT',NULL,NULL,NULL,NULL,78.70,21.92,100,NULL,NULL,NULL,'product',1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(8,'Omeprazole 431mg','MED-9BQDJM',NULL,NULL,NULL,NULL,73.55,29.15,100,NULL,NULL,NULL,'product',1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(9,'Simvastatin 132mg','MED-WMPX0C',NULL,NULL,NULL,NULL,163.47,12.68,100,NULL,NULL,NULL,'product',1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(10,'Azithromycin 254mg','MED-34XTOX',NULL,NULL,NULL,NULL,179.05,12.73,100,NULL,NULL,NULL,'product',1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(11,'Expired generic antibiotic','DEAD-ZSQASW',NULL,NULL,NULL,NULL,150.00,50.00,10,NULL,NULL,NULL,'product',1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26');
|
||
/*!40000 ALTER TABLE `product_service_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `product_service_taxes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `product_service_taxes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `product_service_taxes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`tax_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`rate` decimal(5,2) NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `product_service_taxes_creator_id_index` (`creator_id`),
|
||
KEY `product_service_taxes_created_by_index` (`created_by`),
|
||
CONSTRAINT `product_service_taxes_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `product_service_taxes_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `product_service_taxes`
|
||
--
|
||
|
||
LOCK TABLES `product_service_taxes` WRITE;
|
||
/*!40000 ALTER TABLE `product_service_taxes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `product_service_taxes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `product_service_units`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `product_service_units`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `product_service_units` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`unit_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `product_service_units_creator_id_index` (`creator_id`),
|
||
KEY `product_service_units_created_by_index` (`created_by`),
|
||
CONSTRAINT `product_service_units_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `product_service_units_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `product_service_units`
|
||
--
|
||
|
||
LOCK TABLES `product_service_units` WRITE;
|
||
/*!40000 ALTER TABLE `product_service_units` DISABLE KEYS */;
|
||
INSERT INTO `product_service_units` VALUES (1,'Piece',2,2,'2026-05-01 09:18:50','2026-05-01 09:18:50'),(2,'Piece',2,2,'2026-05-01 09:19:09','2026-05-01 09:19:09');
|
||
/*!40000 ALTER TABLE `product_service_units` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `project_activity_logs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `project_activity_logs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `project_activity_logs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`user_type` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`project_id` bigint unsigned NOT NULL,
|
||
`log_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`remark` text COLLATE utf8mb4_unicode_ci,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `project_activity_logs`
|
||
--
|
||
|
||
LOCK TABLES `project_activity_logs` WRITE;
|
||
/*!40000 ALTER TABLE `project_activity_logs` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `project_activity_logs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `project_bugs`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `project_bugs`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `project_bugs` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`project_id` bigint unsigned NOT NULL,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`priority` enum('High','Medium','Low') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Medium',
|
||
`assigned_to` json DEFAULT NULL,
|
||
`stage_id` bigint unsigned DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `project_bugs_project_id_index` (`project_id`),
|
||
KEY `project_bugs_stage_id_index` (`stage_id`),
|
||
KEY `project_bugs_creator_id_index` (`creator_id`),
|
||
KEY `project_bugs_created_by_index` (`created_by`),
|
||
CONSTRAINT `project_bugs_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `project_bugs_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `project_bugs_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `project_bugs_stage_id_foreign` FOREIGN KEY (`stage_id`) REFERENCES `bug_stages` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `project_bugs`
|
||
--
|
||
|
||
LOCK TABLES `project_bugs` WRITE;
|
||
/*!40000 ALTER TABLE `project_bugs` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `project_bugs` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `project_clients`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `project_clients`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `project_clients` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`project_id` bigint unsigned NOT NULL,
|
||
`client_id` bigint unsigned NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `project_clients_project_id_client_id_unique` (`project_id`,`client_id`),
|
||
KEY `project_clients_client_id_foreign` (`client_id`),
|
||
CONSTRAINT `project_clients_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `project_clients_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `project_clients`
|
||
--
|
||
|
||
LOCK TABLES `project_clients` WRITE;
|
||
/*!40000 ALTER TABLE `project_clients` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `project_clients` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `project_files`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `project_files`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `project_files` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`project_id` bigint unsigned NOT NULL,
|
||
`file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`file_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `project_files_project_id_foreign` (`project_id`),
|
||
CONSTRAINT `project_files_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `project_files`
|
||
--
|
||
|
||
LOCK TABLES `project_files` WRITE;
|
||
/*!40000 ALTER TABLE `project_files` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `project_files` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `project_milestones`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `project_milestones`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `project_milestones` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`project_id` bigint unsigned NOT NULL,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`cost` decimal(10,2) DEFAULT NULL,
|
||
`start_date` date DEFAULT NULL,
|
||
`end_date` date DEFAULT NULL,
|
||
`summary` text COLLATE utf8mb4_unicode_ci,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Incomplete',
|
||
`progress` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `project_milestones_project_id_foreign` (`project_id`),
|
||
CONSTRAINT `project_milestones_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `project_milestones`
|
||
--
|
||
|
||
LOCK TABLES `project_milestones` WRITE;
|
||
/*!40000 ALTER TABLE `project_milestones` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `project_milestones` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `project_tasks`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `project_tasks`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `project_tasks` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`project_id` bigint unsigned NOT NULL,
|
||
`milestone_id` bigint unsigned DEFAULT NULL,
|
||
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`priority` enum('High','Medium','Low') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Medium',
|
||
`assigned_to` json DEFAULT NULL,
|
||
`duration` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`stage_id` bigint unsigned DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `project_tasks_project_id_index` (`project_id`),
|
||
KEY `project_tasks_milestone_id_index` (`milestone_id`),
|
||
KEY `project_tasks_stage_id_index` (`stage_id`),
|
||
KEY `project_tasks_creator_id_index` (`creator_id`),
|
||
KEY `project_tasks_created_by_index` (`created_by`),
|
||
CONSTRAINT `project_tasks_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `project_tasks_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `project_tasks_milestone_id_foreign` FOREIGN KEY (`milestone_id`) REFERENCES `project_milestones` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `project_tasks_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `project_tasks_stage_id_foreign` FOREIGN KEY (`stage_id`) REFERENCES `task_stages` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `project_tasks`
|
||
--
|
||
|
||
LOCK TABLES `project_tasks` WRITE;
|
||
/*!40000 ALTER TABLE `project_tasks` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `project_tasks` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `project_users`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `project_users`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `project_users` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`project_id` bigint unsigned NOT NULL,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `project_users_project_id_user_id_unique` (`project_id`,`user_id`),
|
||
KEY `project_users_user_id_foreign` (`user_id`),
|
||
CONSTRAINT `project_users_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `project_users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `project_users`
|
||
--
|
||
|
||
LOCK TABLES `project_users` WRITE;
|
||
/*!40000 ALTER TABLE `project_users` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `project_users` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `projects`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `projects`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `projects` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`budget` decimal(10,2) DEFAULT NULL,
|
||
`start_date` date DEFAULT NULL,
|
||
`end_date` date DEFAULT NULL,
|
||
`status` enum('Ongoing','Onhold','Finished') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Ongoing',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `projects_creator_id_index` (`creator_id`),
|
||
KEY `projects_created_by_index` (`created_by`),
|
||
CONSTRAINT `projects_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `projects_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `projects`
|
||
--
|
||
|
||
LOCK TABLES `projects` WRITE;
|
||
/*!40000 ALTER TABLE `projects` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `projects` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `promotions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `promotions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `promotions` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`previous_branch_id` bigint unsigned DEFAULT NULL,
|
||
`previous_department_id` bigint unsigned DEFAULT NULL,
|
||
`previous_designation_id` bigint unsigned DEFAULT NULL,
|
||
`current_branch_id` bigint unsigned DEFAULT NULL,
|
||
`current_department_id` bigint unsigned DEFAULT NULL,
|
||
`current_designation_id` bigint unsigned DEFAULT NULL,
|
||
`effective_date` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`document` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` enum('pending','approved','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `promotions_previous_branch_id_foreign` (`previous_branch_id`),
|
||
KEY `promotions_previous_department_id_foreign` (`previous_department_id`),
|
||
KEY `promotions_previous_designation_id_foreign` (`previous_designation_id`),
|
||
KEY `promotions_current_branch_id_foreign` (`current_branch_id`),
|
||
KEY `promotions_current_department_id_foreign` (`current_department_id`),
|
||
KEY `promotions_current_designation_id_foreign` (`current_designation_id`),
|
||
KEY `promotions_employee_id_foreign` (`employee_id`),
|
||
KEY `promotions_approved_by_foreign` (`approved_by`),
|
||
KEY `promotions_creator_id_index` (`creator_id`),
|
||
KEY `promotions_created_by_index` (`created_by`),
|
||
CONSTRAINT `promotions_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `promotions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `promotions_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `promotions_current_branch_id_foreign` FOREIGN KEY (`current_branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `promotions_current_department_id_foreign` FOREIGN KEY (`current_department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `promotions_current_designation_id_foreign` FOREIGN KEY (`current_designation_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `promotions_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `promotions_previous_branch_id_foreign` FOREIGN KEY (`previous_branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `promotions_previous_department_id_foreign` FOREIGN KEY (`previous_department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `promotions_previous_designation_id_foreign` FOREIGN KEY (`previous_designation_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `promotions`
|
||
--
|
||
|
||
LOCK TABLES `promotions` WRITE;
|
||
/*!40000 ALTER TABLE `promotions` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `promotions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `purchase_invoice_item_taxes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `purchase_invoice_item_taxes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `purchase_invoice_item_taxes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` bigint unsigned NOT NULL,
|
||
`tax_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`tax_rate` decimal(5,2) NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `purchase_invoice_item_taxes_item_id_index` (`item_id`),
|
||
CONSTRAINT `purchase_invoice_item_taxes_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `purchase_invoice_items` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `purchase_invoice_item_taxes`
|
||
--
|
||
|
||
LOCK TABLES `purchase_invoice_item_taxes` WRITE;
|
||
/*!40000 ALTER TABLE `purchase_invoice_item_taxes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `purchase_invoice_item_taxes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `purchase_invoice_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `purchase_invoice_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `purchase_invoice_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`invoice_id` bigint unsigned NOT NULL,
|
||
`product_id` bigint unsigned NOT NULL,
|
||
`quantity` int NOT NULL,
|
||
`unit_price` decimal(15,2) NOT NULL,
|
||
`discount_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `purchase_invoice_items_invoice_id_index` (`invoice_id`),
|
||
KEY `purchase_invoice_items_product_id_index` (`product_id`),
|
||
CONSTRAINT `purchase_invoice_items_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `purchase_invoices` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `purchase_invoice_items`
|
||
--
|
||
|
||
LOCK TABLES `purchase_invoice_items` WRITE;
|
||
/*!40000 ALTER TABLE `purchase_invoice_items` DISABLE KEYS */;
|
||
INSERT INTO `purchase_invoice_items` VALUES (1,1,11,200,50.00,0.00,0.00,0.00,0.00,10000.00,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(2,2,1,58,18.87,0.00,0.00,0.00,0.00,1094.46,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(3,3,9,40,12.68,0.00,0.00,0.00,0.00,507.20,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(4,4,7,14,21.92,0.00,0.00,0.00,0.00,306.88,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(5,5,3,99,14.48,0.00,0.00,0.00,0.00,1433.52,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(6,6,7,100,21.92,0.00,0.00,0.00,0.00,2192.00,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(7,7,5,100,19.39,0.00,0.00,0.00,0.00,1939.00,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(8,8,6,11,34.98,0.00,0.00,0.00,0.00,384.78,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(9,9,5,98,19.39,0.00,0.00,0.00,0.00,1900.22,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(10,10,8,94,29.15,0.00,0.00,0.00,0.00,2740.10,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(11,11,6,53,34.98,0.00,0.00,0.00,0.00,1853.94,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(12,12,6,75,34.98,0.00,0.00,0.00,0.00,2623.50,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(13,13,5,73,19.39,0.00,0.00,0.00,0.00,1415.47,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(14,14,9,76,12.68,0.00,0.00,0.00,0.00,963.68,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(15,15,9,100,12.68,0.00,0.00,0.00,0.00,1268.00,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(16,16,3,49,14.48,0.00,0.00,0.00,0.00,709.52,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(17,17,5,36,19.39,0.00,0.00,0.00,0.00,698.04,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(18,18,5,87,19.39,0.00,0.00,0.00,0.00,1686.93,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(19,19,10,37,12.73,0.00,0.00,0.00,0.00,471.01,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(20,20,3,25,14.48,0.00,0.00,0.00,0.00,362.00,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(21,21,3,34,14.48,0.00,0.00,0.00,0.00,492.32,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(22,22,5,40,19.39,0.00,0.00,0.00,0.00,775.60,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(23,23,8,66,29.15,0.00,0.00,0.00,0.00,1923.90,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(24,24,3,25,14.48,0.00,0.00,0.00,0.00,362.00,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(25,25,10,33,12.73,0.00,0.00,0.00,0.00,420.09,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(26,26,9,55,12.68,0.00,0.00,0.00,0.00,697.40,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(27,27,7,19,21.92,0.00,0.00,0.00,0.00,416.48,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(28,28,7,28,21.92,0.00,0.00,0.00,0.00,613.76,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(29,29,3,59,14.48,0.00,0.00,0.00,0.00,854.32,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(30,30,6,71,34.98,0.00,0.00,0.00,0.00,2483.58,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(31,31,7,13,21.92,0.00,0.00,0.00,0.00,284.96,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(32,32,3,97,14.48,0.00,0.00,0.00,0.00,1404.56,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(33,33,1,83,18.87,0.00,0.00,0.00,0.00,1566.21,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(34,34,4,25,21.93,0.00,0.00,0.00,0.00,548.25,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(35,35,9,44,12.68,0.00,0.00,0.00,0.00,557.92,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(36,36,5,55,19.39,0.00,0.00,0.00,0.00,1066.45,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(37,37,2,56,31.77,0.00,0.00,0.00,0.00,1779.12,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(38,38,4,30,21.93,0.00,0.00,0.00,0.00,657.90,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(39,39,8,87,29.15,0.00,0.00,0.00,0.00,2536.05,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(40,40,10,70,12.73,0.00,0.00,0.00,0.00,891.10,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(41,41,10,55,12.73,0.00,0.00,0.00,0.00,700.15,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(42,42,1,54,18.87,0.00,0.00,0.00,0.00,1018.98,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(43,43,7,39,21.92,0.00,0.00,0.00,0.00,854.88,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(44,44,9,56,12.68,0.00,0.00,0.00,0.00,710.08,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(45,45,8,36,29.15,0.00,0.00,0.00,0.00,1049.40,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(46,46,8,56,29.15,0.00,0.00,0.00,0.00,1632.40,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(47,47,1,100,18.87,0.00,0.00,0.00,0.00,1887.00,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(48,48,5,83,19.39,0.00,0.00,0.00,0.00,1609.37,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(49,49,9,69,12.68,0.00,0.00,0.00,0.00,874.92,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(50,50,10,31,12.73,0.00,0.00,0.00,0.00,394.63,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(51,51,10,66,12.73,0.00,0.00,0.00,0.00,840.18,'2026-05-01 13:25:27','2026-05-01 13:25:27');
|
||
/*!40000 ALTER TABLE `purchase_invoice_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `purchase_invoices`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `purchase_invoices`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `purchase_invoices` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`invoice_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`invoice_date` date NOT NULL,
|
||
`due_date` date NOT NULL,
|
||
`vendor_id` bigint unsigned NOT NULL,
|
||
`warehouse_id` bigint unsigned DEFAULT NULL,
|
||
`subtotal` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`paid_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`debit_note_applied` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`balance_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`status` enum('draft','posted','partial','paid','overdue') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`is_received` tinyint(1) NOT NULL DEFAULT '0',
|
||
`payment_terms` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `purchase_invoices_status_invoice_date_index` (`status`,`invoice_date`),
|
||
KEY `purchase_invoices_vendor_id_index` (`vendor_id`),
|
||
KEY `purchase_invoices_creator_id_index` (`creator_id`),
|
||
KEY `purchase_invoices_created_by_index` (`created_by`),
|
||
CONSTRAINT `purchase_invoices_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `purchase_invoices_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `purchase_invoices_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `purchase_invoices`
|
||
--
|
||
|
||
LOCK TABLES `purchase_invoices` WRITE;
|
||
/*!40000 ALTER TABLE `purchase_invoices` DISABLE KEYS */;
|
||
INSERT INTO `purchase_invoices` VALUES (1,'P-TEST-DEAD','2026-01-26','2026-02-02',46,1,10000.00,0.00,0.00,10000.00,0.00,0.00,10000.00,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(2,'P-TEST-NP6SN-0','2026-04-25','2026-05-08',44,1,1094.46,0.00,0.00,1094.46,0.00,0.00,1094.46,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(3,'P-TEST-EOWHL-1','2026-04-23','2026-05-08',44,1,507.20,0.00,0.00,507.20,0.00,0.00,507.20,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(4,'P-TEST-KSGOT-2','2026-04-20','2026-05-08',44,1,306.88,0.00,0.00,306.88,0.00,0.00,306.88,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(5,'P-TEST-9TFYX-3','2026-04-21','2026-05-08',48,1,1433.52,0.00,0.00,1433.52,0.00,0.00,1433.52,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(6,'P-TEST-LVQCH-4','2026-04-16','2026-05-08',45,2,2192.00,0.00,0.00,2192.00,0.00,0.00,2192.00,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(7,'P-TEST-ELZRJ-5','2026-04-21','2026-05-08',46,1,1939.00,0.00,0.00,1939.00,0.00,0.00,1939.00,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(8,'P-TEST-ZMBM6-6','2026-04-10','2026-05-08',45,2,384.78,0.00,0.00,384.78,0.00,0.00,384.78,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(9,'P-TEST-HQF4P-7','2026-04-24','2026-05-08',48,1,1900.22,0.00,0.00,1900.22,0.00,0.00,1900.22,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(10,'P-TEST-64118-8','2026-04-20','2026-05-08',48,2,2740.10,0.00,0.00,2740.10,0.00,0.00,2740.10,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(11,'P-TEST-0VPI4-9','2026-04-03','2026-05-08',47,1,1853.94,0.00,0.00,1853.94,0.00,0.00,1853.94,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(12,'P-TEST-IABVB-10','2026-04-01','2026-05-08',46,1,2623.50,0.00,0.00,2623.50,0.00,0.00,2623.50,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(13,'P-TEST-GC3L6-11','2026-04-15','2026-05-08',44,1,1415.47,0.00,0.00,1415.47,0.00,0.00,1415.47,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(14,'P-TEST-2QJPL-12','2026-04-09','2026-05-08',45,1,963.68,0.00,0.00,963.68,0.00,0.00,963.68,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(15,'P-TEST-AYM59-13','2026-04-19','2026-05-08',44,2,1268.00,0.00,0.00,1268.00,0.00,0.00,1268.00,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(16,'P-TEST-5H02Q-14','2026-04-24','2026-05-08',48,2,709.52,0.00,0.00,709.52,0.00,0.00,709.52,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(17,'P-TEST-5CVBY-15','2026-04-07','2026-05-08',44,2,698.04,0.00,0.00,698.04,0.00,0.00,698.04,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(18,'P-TEST-YAKR1-16','2026-04-17','2026-05-08',44,2,1686.93,0.00,0.00,1686.93,0.00,0.00,1686.93,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(19,'P-TEST-3FOMU-17','2026-04-12','2026-05-08',47,1,471.01,0.00,0.00,471.01,0.00,0.00,471.01,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(20,'P-TEST-J0BOZ-18','2026-04-09','2026-05-08',47,2,362.00,0.00,0.00,362.00,0.00,0.00,362.00,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(21,'P-TEST-KMAG6-19','2026-04-23','2026-05-08',46,1,492.32,0.00,0.00,492.32,0.00,0.00,492.32,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(22,'P-TEST-7BICA-20','2026-04-17','2026-05-08',48,1,775.60,0.00,0.00,775.60,0.00,0.00,775.60,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(23,'P-TEST-ZLSP3-21','2026-04-05','2026-05-08',47,1,1923.90,0.00,0.00,1923.90,0.00,0.00,1923.90,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(24,'P-TEST-HOPHV-22','2026-04-24','2026-05-08',47,1,362.00,0.00,0.00,362.00,0.00,0.00,362.00,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(25,'P-TEST-AQ0ZY-23','2026-04-18','2026-05-08',46,1,420.09,0.00,0.00,420.09,0.00,0.00,420.09,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(26,'P-TEST-RI2FL-24','2026-04-23','2026-05-08',45,2,697.40,0.00,0.00,697.40,0.00,0.00,697.40,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(27,'P-TEST-EQPQH-25','2026-04-22','2026-05-08',47,1,416.48,0.00,0.00,416.48,0.00,0.00,416.48,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(28,'P-TEST-BAK0V-26','2026-04-16','2026-05-08',44,2,613.76,0.00,0.00,613.76,0.00,0.00,613.76,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(29,'P-TEST-CXO5T-27','2026-04-15','2026-05-08',47,1,854.32,0.00,0.00,854.32,0.00,0.00,854.32,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(30,'P-TEST-KP03U-28','2026-04-07','2026-05-08',48,2,2483.58,0.00,0.00,2483.58,0.00,0.00,2483.58,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(31,'P-TEST-PKPRV-29','2026-04-04','2026-05-08',44,1,284.96,0.00,0.00,284.96,0.00,0.00,284.96,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(32,'P-TEST-OHCK4-30','2026-04-12','2026-05-08',46,2,1404.56,0.00,0.00,1404.56,0.00,0.00,1404.56,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(33,'P-TEST-DIYVP-31','2026-04-04','2026-05-08',48,1,1566.21,0.00,0.00,1566.21,0.00,0.00,1566.21,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(34,'P-TEST-NHJ4K-32','2026-04-30','2026-05-08',48,1,548.25,0.00,0.00,548.25,0.00,0.00,548.25,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(35,'P-TEST-ZNKSO-33','2026-04-18','2026-05-08',46,1,557.92,0.00,0.00,557.92,0.00,0.00,557.92,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(36,'P-TEST-J2C5J-34','2026-04-18','2026-05-08',44,2,1066.45,0.00,0.00,1066.45,0.00,0.00,1066.45,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(37,'P-TEST-ZKEJS-35','2026-04-01','2026-05-08',48,1,1779.12,0.00,0.00,1779.12,0.00,0.00,1779.12,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(38,'P-TEST-AQYVX-36','2026-04-03','2026-05-08',48,2,657.90,0.00,0.00,657.90,0.00,0.00,657.90,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(39,'P-TEST-HWJWJ-37','2026-04-12','2026-05-08',48,1,2536.05,0.00,0.00,2536.05,0.00,0.00,2536.05,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(40,'P-TEST-Q7423-38','2026-04-19','2026-05-08',45,1,891.10,0.00,0.00,891.10,0.00,0.00,891.10,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(41,'P-TEST-XRYM2-39','2026-04-23','2026-05-08',46,2,700.15,0.00,0.00,700.15,0.00,0.00,700.15,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(42,'P-TEST-5XLYE-40','2026-04-26','2026-05-08',44,2,1018.98,0.00,0.00,1018.98,0.00,0.00,1018.98,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(43,'P-TEST-HFS8M-41','2026-04-17','2026-05-08',46,2,854.88,0.00,0.00,854.88,0.00,0.00,854.88,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(44,'P-TEST-IUHZJ-42','2026-04-02','2026-05-08',44,2,710.08,0.00,0.00,710.08,0.00,0.00,710.08,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(45,'P-TEST-MAYBI-43','2026-04-01','2026-05-08',45,2,1049.40,0.00,0.00,1049.40,0.00,0.00,1049.40,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(46,'P-TEST-SX7EZ-44','2026-04-22','2026-05-08',47,1,1632.40,0.00,0.00,1632.40,0.00,0.00,1632.40,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(47,'P-TEST-0JBPX-45','2026-04-29','2026-05-08',44,1,1887.00,0.00,0.00,1887.00,0.00,0.00,1887.00,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(48,'P-TEST-BCHS8-46','2026-04-22','2026-05-08',44,1,1609.37,0.00,0.00,1609.37,0.00,0.00,1609.37,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(49,'P-TEST-HVZWH-47','2026-04-10','2026-05-08',45,1,874.92,0.00,0.00,874.92,0.00,0.00,874.92,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(50,'P-TEST-KDEDG-48','2026-04-09','2026-05-08',46,2,394.63,0.00,0.00,394.63,0.00,0.00,394.63,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(51,'P-TEST-UIXRF-49','2026-04-09','2026-05-08',48,1,840.18,0.00,0.00,840.18,0.00,0.00,840.18,'posted',0,NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27');
|
||
/*!40000 ALTER TABLE `purchase_invoices` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `purchase_return_item_taxes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `purchase_return_item_taxes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `purchase_return_item_taxes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` bigint unsigned NOT NULL,
|
||
`tax_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`tax_rate` decimal(5,2) NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `purchase_return_item_taxes_item_id_foreign` (`item_id`),
|
||
CONSTRAINT `purchase_return_item_taxes_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `purchase_return_items` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `purchase_return_item_taxes`
|
||
--
|
||
|
||
LOCK TABLES `purchase_return_item_taxes` WRITE;
|
||
/*!40000 ALTER TABLE `purchase_return_item_taxes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `purchase_return_item_taxes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `purchase_return_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `purchase_return_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `purchase_return_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`return_id` bigint unsigned NOT NULL,
|
||
`product_id` bigint unsigned NOT NULL,
|
||
`original_invoice_item_id` bigint unsigned DEFAULT NULL,
|
||
`original_quantity` int NOT NULL,
|
||
`return_quantity` int NOT NULL,
|
||
`unit_price` decimal(15,2) NOT NULL,
|
||
`discount_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `purchase_return_items_return_id_foreign` (`return_id`),
|
||
CONSTRAINT `purchase_return_items_return_id_foreign` FOREIGN KEY (`return_id`) REFERENCES `purchase_returns` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `purchase_return_items`
|
||
--
|
||
|
||
LOCK TABLES `purchase_return_items` WRITE;
|
||
/*!40000 ALTER TABLE `purchase_return_items` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `purchase_return_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `purchase_returns`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `purchase_returns`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `purchase_returns` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`return_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`return_date` date NOT NULL,
|
||
`vendor_id` bigint unsigned NOT NULL,
|
||
`warehouse_id` bigint unsigned DEFAULT NULL,
|
||
`original_invoice_id` bigint unsigned NOT NULL,
|
||
`reason` enum('defective','wrong_item','damaged','excess_quantity','other') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'defective',
|
||
`subtotal` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`status` enum('draft','approved','completed','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `purchase_returns_original_invoice_id_foreign` (`original_invoice_id`),
|
||
KEY `purchase_returns_status_return_date_index` (`status`,`return_date`),
|
||
KEY `purchase_returns_vendor_id_index` (`vendor_id`),
|
||
KEY `purchase_returns_creator_id_index` (`creator_id`),
|
||
KEY `purchase_returns_created_by_index` (`created_by`),
|
||
CONSTRAINT `purchase_returns_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `purchase_returns_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `purchase_returns_original_invoice_id_foreign` FOREIGN KEY (`original_invoice_id`) REFERENCES `purchase_invoices` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `purchase_returns_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `purchase_returns`
|
||
--
|
||
|
||
LOCK TABLES `purchase_returns` WRITE;
|
||
/*!40000 ALTER TABLE `purchase_returns` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `purchase_returns` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `recurrings`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `recurrings`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `recurrings` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `recurrings`
|
||
--
|
||
|
||
LOCK TABLES `recurrings` WRITE;
|
||
/*!40000 ALTER TABLE `recurrings` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `recurrings` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `resignations`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `resignations`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `resignations` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned DEFAULT NULL,
|
||
`last_working_date` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`reason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` enum('pending','accepted','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`document` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `resignations_employee_id_foreign` (`employee_id`),
|
||
KEY `resignations_approved_by_foreign` (`approved_by`),
|
||
KEY `resignations_creator_id_index` (`creator_id`),
|
||
KEY `resignations_created_by_index` (`created_by`),
|
||
CONSTRAINT `resignations_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `resignations_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `resignations_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `resignations_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `resignations`
|
||
--
|
||
|
||
LOCK TABLES `resignations` WRITE;
|
||
/*!40000 ALTER TABLE `resignations` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `resignations` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `revenue_categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `revenue_categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `revenue_categories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`category_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`category_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_active` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`gl_account_id` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `revenue_categories_gl_account_id_foreign` (`gl_account_id`),
|
||
KEY `revenue_categories_creator_id_index` (`creator_id`),
|
||
KEY `revenue_categories_created_by_index` (`created_by`),
|
||
CONSTRAINT `revenue_categories_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `revenue_categories_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `revenue_categories_gl_account_id_foreign` FOREIGN KEY (`gl_account_id`) REFERENCES `chart_of_accounts` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `revenue_categories`
|
||
--
|
||
|
||
LOCK TABLES `revenue_categories` WRITE;
|
||
/*!40000 ALTER TABLE `revenue_categories` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `revenue_categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `revenues`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `revenues`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `revenues` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`revenue_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`revenue_date` date NOT NULL,
|
||
`category_id` bigint unsigned NOT NULL,
|
||
`bank_account_id` bigint unsigned NOT NULL,
|
||
`chart_of_account_id` bigint unsigned DEFAULT NULL,
|
||
`reference_number` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`amount` decimal(15,2) NOT NULL,
|
||
`status` enum('draft','approved','posted') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `revenues_category_id_foreign` (`category_id`),
|
||
KEY `revenues_bank_account_id_foreign` (`bank_account_id`),
|
||
KEY `revenues_chart_of_account_id_foreign` (`chart_of_account_id`),
|
||
KEY `revenues_approved_by_index` (`approved_by`),
|
||
KEY `revenues_creator_id_index` (`creator_id`),
|
||
KEY `revenues_created_by_index` (`created_by`),
|
||
CONSTRAINT `revenues_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `revenues_bank_account_id_foreign` FOREIGN KEY (`bank_account_id`) REFERENCES `bank_accounts` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `revenues_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `revenue_categories` (`id`),
|
||
CONSTRAINT `revenues_chart_of_account_id_foreign` FOREIGN KEY (`chart_of_account_id`) REFERENCES `chart_of_accounts` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `revenues_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `revenues_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `revenues`
|
||
--
|
||
|
||
LOCK TABLES `revenues` WRITE;
|
||
/*!40000 ALTER TABLE `revenues` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `revenues` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `review_cycles`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `review_cycles`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `review_cycles` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`start_date` date NOT NULL,
|
||
`end_date` date NOT NULL,
|
||
`status` enum('draft','active','closed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `review_cycles_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `review_cycles_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `review_cycles`
|
||
--
|
||
|
||
LOCK TABLES `review_cycles` WRITE;
|
||
/*!40000 ALTER TABLE `review_cycles` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `review_cycles` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `role_has_permissions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `role_has_permissions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `role_has_permissions` (
|
||
`permission_id` bigint unsigned NOT NULL,
|
||
`role_id` bigint unsigned NOT NULL,
|
||
PRIMARY KEY (`permission_id`,`role_id`),
|
||
KEY `role_has_permissions_role_id_foreign` (`role_id`),
|
||
CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `role_has_permissions`
|
||
--
|
||
|
||
LOCK TABLES `role_has_permissions` WRITE;
|
||
/*!40000 ALTER TABLE `role_has_permissions` DISABLE KEYS */;
|
||
INSERT INTO `role_has_permissions` VALUES (43,1),(44,1),(45,1),(46,1),(47,1),(48,1),(49,1),(50,1),(51,1),(52,1),(53,1),(70,1),(71,1),(72,1),(73,1),(76,1),(77,1),(78,1),(79,1),(80,1),(81,1),(82,1),(83,1),(84,1),(85,1),(86,1),(87,1),(88,1),(89,1),(90,1),(91,1),(92,1),(93,1),(94,1),(95,1),(96,1),(97,1),(98,1),(99,1),(100,1),(102,1),(103,1),(104,1),(105,1),(106,1),(107,1),(108,1),(109,1),(110,1),(111,1),(112,1),(113,1),(114,1),(115,1),(116,1),(117,1),(119,1),(120,1),(121,1),(122,1),(123,1),(124,1),(125,1),(126,1),(127,1),(128,1),(129,1),(130,1),(131,1),(132,1),(133,1),(134,1),(135,1),(136,1),(137,1),(138,1),(139,1),(140,1),(141,1),(142,1),(143,1),(144,1),(145,1),(146,1),(147,1),(148,1),(149,1),(150,1),(151,1),(777,1),(1,2),(2,2),(3,2),(4,2),(5,2),(6,2),(7,2),(8,2),(9,2),(10,2),(11,2),(12,2),(13,2),(14,2),(15,2),(16,2),(17,2),(18,2),(19,2),(20,2),(21,2),(22,2),(23,2),(24,2),(25,2),(26,2),(27,2),(28,2),(29,2),(30,2),(31,2),(32,2),(33,2),(34,2),(35,2),(36,2),(37,2),(38,2),(39,2),(40,2),(41,2),(42,2),(43,2),(44,2),(45,2),(46,2),(47,2),(48,2),(49,2),(50,2),(51,2),(52,2),(53,2),(54,2),(55,2),(56,2),(57,2),(58,2),(59,2),(60,2),(61,2),(62,2),(63,2),(64,2),(65,2),(66,2),(67,2),(68,2),(69,2),(70,2),(71,2),(72,2),(73,2),(74,2),(75,2),(76,2),(77,2),(78,2),(79,2),(88,2),(89,2),(90,2),(93,2),(96,2),(97,2),(100,2),(102,2),(103,2),(104,2),(105,2),(106,2),(108,2),(109,2),(110,2),(111,2),(116,2),(118,2),(119,2),(120,2),(121,2),(123,2),(124,2),(130,2),(131,2),(132,2),(133,2),(134,2),(135,2),(136,2),(144,2),(145,2),(146,2),(151,2),(152,2),(153,2),(154,2),(155,2),(156,2),(157,2),(158,2),(159,2),(160,2),(161,2),(162,2),(163,2),(164,2),(165,2),(166,2),(167,2),(168,2),(169,2),(170,2),(171,2),(172,2),(173,2),(174,2),(175,2),(176,2),(177,2),(178,2),(179,2),(180,2),(181,2),(182,2),(183,2),(184,2),(185,2),(186,2),(187,2),(188,2),(189,2),(190,2),(191,2),(192,2),(193,2),(194,2),(195,2),(196,2),(197,2),(198,2),(199,2),(200,2),(201,2),(202,2),(203,2),(204,2),(205,2),(206,2),(207,2),(208,2),(209,2),(210,2),(211,2),(212,2),(213,2),(214,2),(215,2),(216,2),(217,2),(218,2),(219,2),(220,2),(221,2),(222,2),(223,2),(224,2),(225,2),(226,2),(227,2),(228,2),(229,2),(230,2),(231,2),(232,2),(233,2),(234,2),(235,2),(236,2),(237,2),(238,2),(239,2),(240,2),(241,2),(242,2),(243,2),(244,2),(245,2),(246,2),(247,2),(248,2),(249,2),(250,2),(251,2),(252,2),(253,2),(254,2),(255,2),(256,2),(257,2),(258,2),(259,2),(260,2),(261,2),(262,2),(263,2),(264,2),(265,2),(266,2),(267,2),(268,2),(269,2),(270,2),(271,2),(272,2),(273,2),(274,2),(275,2),(276,2),(277,2),(278,2),(279,2),(280,2),(281,2),(282,2),(283,2),(284,2),(285,2),(286,2),(287,2),(288,2),(289,2),(290,2),(291,2),(292,2),(293,2),(294,2),(295,2),(296,2),(297,2),(298,2),(299,2),(300,2),(301,2),(302,2),(303,2),(304,2),(305,2),(306,2),(307,2),(308,2),(309,2),(310,2),(311,2),(312,2),(313,2),(314,2),(315,2),(316,2),(317,2),(318,2),(319,2),(320,2),(321,2),(322,2),(323,2),(324,2),(325,2),(326,2),(327,2),(328,2),(329,2),(330,2),(331,2),(332,2),(333,2),(334,2),(335,2),(336,2),(337,2),(338,2),(339,2),(340,2),(341,2),(342,2),(343,2),(344,2),(345,2),(346,2),(347,2),(348,2),(349,2),(350,2),(351,2),(352,2),(353,2),(354,2),(355,2),(356,2),(357,2),(358,2),(359,2),(360,2),(361,2),(362,2),(363,2),(364,2),(365,2),(366,2),(367,2),(368,2),(369,2),(370,2),(371,2),(372,2),(373,2),(374,2),(375,2),(376,2),(377,2),(378,2),(379,2),(380,2),(381,2),(382,2),(383,2),(384,2),(385,2),(386,2),(387,2),(388,2),(389,2),(390,2),(391,2),(392,2),(393,2),(394,2),(395,2),(396,2),(397,2),(398,2),(399,2),(400,2),(401,2),(402,2),(403,2),(404,2),(405,2),(406,2),(407,2),(408,2),(409,2),(410,2),(411,2),(412,2),(413,2),(414,2),(415,2),(416,2),(417,2),(418,2),(419,2),(420,2),(421,2),(422,2),(423,2),(424,2),(425,2),(426,2),(427,2),(428,2),(429,2),(430,2),(431,2),(432,2),(433,2),(434,2),(435,2),(436,2),(437,2),(438,2),(439,2),(440,2),(441,2),(442,2),(443,2),(444,2),(445,2),(446,2),(447,2),(448,2),(449,2),(450,2),(451,2),(452,2),(453,2),(454,2),(455,2),(456,2),(457,2),(458,2),(459,2),(460,2),(461,2),(462,2),(463,2),(464,2),(465,2),(466,2),(467,2),(468,2),(469,2),(470,2),(471,2),(472,2),(473,2),(474,2),(475,2),(476,2),(477,2),(478,2),(479,2),(480,2),(481,2),(482,2),(483,2),(484,2),(485,2),(486,2),(487,2),(488,2),(489,2),(490,2),(491,2),(492,2),(493,2),(494,2),(495,2),(496,2),(497,2),(498,2),(499,2),(500,2),(501,2),(502,2),(503,2),(504,2),(505,2),(506,2),(507,2),(508,2),(509,2),(510,2),(511,2),(512,2),(513,2),(514,2),(515,2),(516,2),(517,2),(518,2),(519,2),(520,2),(521,2),(522,2),(523,2),(524,2),(525,2),(526,2),(527,2),(528,2),(529,2),(530,2),(531,2),(532,2),(533,2),(534,2),(535,2),(536,2),(537,2),(538,2),(539,2),(540,2),(541,2),(542,2),(543,2),(544,2),(545,2),(546,2),(547,2),(548,2),(549,2),(550,2),(551,2),(552,2),(553,2),(554,2),(555,2),(556,2),(557,2),(558,2),(559,2),(560,2),(561,2),(562,2),(563,2),(564,2),(565,2),(566,2),(567,2),(568,2),(569,2),(570,2),(571,2),(572,2),(573,2),(574,2),(575,2),(576,2),(577,2),(578,2),(579,2),(580,2),(581,2),(582,2),(583,2),(584,2),(585,2),(586,2),(587,2),(588,2),(589,2),(590,2),(591,2),(592,2),(593,2),(594,2),(595,2),(596,2),(597,2),(598,2),(599,2),(600,2),(601,2),(602,2),(603,2),(604,2),(605,2),(606,2),(607,2),(608,2),(609,2),(610,2),(611,2),(612,2),(613,2),(614,2),(615,2),(616,2),(617,2),(618,2),(619,2),(620,2),(621,2),(622,2),(623,2),(624,2),(625,2),(626,2),(627,2),(628,2),(629,2),(630,2),(631,2),(632,2),(633,2),(634,2),(635,2),(636,2),(637,2),(638,2),(639,2),(640,2),(641,2),(642,2),(643,2),(644,2),(645,2),(646,2),(647,2),(648,2),(649,2),(650,2),(651,2),(652,2),(653,2),(654,2),(655,2),(656,2),(657,2),(658,2),(659,2),(660,2),(661,2),(662,2),(663,2),(664,2),(665,2),(666,2),(667,2),(668,2),(669,2),(670,2),(671,2),(672,2),(673,2),(674,2),(675,2),(676,2),(677,2),(678,2),(679,2),(680,2),(681,2),(682,2),(683,2),(684,2),(685,2),(686,2),(687,2),(688,2),(689,2),(690,2),(691,2),(692,2),(693,2),(694,2),(695,2),(696,2),(697,2),(698,2),(699,2),(700,2),(701,2),(702,2),(703,2),(704,2),(705,2),(706,2),(707,2),(708,2),(709,2),(710,2),(711,2),(712,2),(713,2),(714,2),(715,2),(716,2),(717,2),(718,2),(719,2),(720,2),(721,2),(722,2),(723,2),(724,2),(725,2),(726,2),(727,2),(728,2),(729,2),(730,2),(731,2),(732,2),(733,2),(734,2),(735,2),(736,2),(737,2),(738,2),(739,2),(740,2),(741,2),(742,2),(743,2),(744,2),(745,2),(746,2),(747,2),(748,2),(749,2),(750,2),(751,2),(752,2),(753,2),(754,2),(755,2),(756,2),(757,2),(758,2),(759,2),(760,2),(761,2),(762,2),(763,2),(764,2),(765,2),(766,2),(767,2),(768,2),(769,2),(770,2),(771,2),(772,2),(773,2),(774,2),(775,2),(776,2),(777,2),(778,2),(779,2),(780,2),(781,2),(782,2),(783,2),(784,2),(785,2),(786,2),(787,2),(788,2),(789,2),(790,2),(791,2),(792,2),(793,2),(794,2),(795,2),(796,2),(797,2),(798,2),(799,2),(800,2),(801,2),(802,2),(803,2),(804,2),(805,2),(806,2),(807,2),(808,2),(809,2),(810,2),(811,2),(812,2),(813,2),(814,2),(815,2),(816,2),(817,2),(818,2),(819,2),(820,2),(821,2),(822,2),(823,2),(824,2),(825,2),(826,2),(827,2),(828,2),(829,2),(830,2),(831,2),(832,2),(833,2),(834,2),(835,2),(836,2),(837,2),(838,2),(839,2),(840,2),(841,2),(842,2),(843,2),(844,2),(845,2),(846,2),(847,2),(848,2),(849,2),(850,2),(851,2),(852,2),(853,2),(854,2),(855,2),(856,2),(857,2),(858,2),(859,2),(860,2),(861,2),(862,2),(863,2),(864,2),(865,2),(866,2),(867,2),(868,2),(869,2),(870,2),(871,2),(872,2),(873,2),(874,2),(875,2),(876,2),(877,2),(878,2),(879,2),(880,2),(881,2),(882,2),(883,2),(884,2),(885,2),(886,2),(887,2),(888,2),(889,2),(890,2),(891,2),(892,2),(893,2),(894,2),(895,2),(896,2),(897,2),(898,2),(899,2),(900,2),(901,2),(902,2),(903,2),(904,2),(905,2),(906,2),(907,2),(908,2),(909,2),(910,2),(911,2),(912,2),(913,2),(914,2),(915,2),(916,2),(917,2),(918,2),(919,2),(920,2),(921,2),(922,2),(923,2),(924,2),(925,2),(926,2),(927,2),(928,2),(929,2),(930,2),(43,3),(100,3),(102,3),(103,3),(104,3),(105,3),(106,3),(108,3),(109,3),(110,3),(111,3),(144,3),(145,3),(146,3),(152,3),(153,3),(154,3),(157,3),(158,3),(915,3),(920,3),(922,3),(926,3),(43,4),(100,4),(102,4),(103,4),(104,4),(105,4),(106,4),(108,4),(109,4),(110,4),(111,4),(144,4),(145,4),(146,4),(152,4),(153,4),(154,4),(157,4),(158,4),(176,4),(178,4),(179,4),(184,4),(185,4),(187,4),(188,4),(193,4),(195,4),(196,4),(200,4),(202,4),(204,4),(43,5),(100,5),(102,5),(103,5),(104,5),(105,5),(106,5),(108,5),(109,5),(110,5),(111,5),(144,5),(145,5),(146,5),(152,5),(153,5),(154,5),(157,5),(158,5),(159,5),(161,5),(162,5),(167,5),(168,5),(170,5),(171,5),(43,6),(100,6),(102,6),(103,6),(104,6),(105,6),(106,6),(108,6),(109,6),(110,6),(111,6),(144,6),(145,6),(146,6),(152,6),(153,6),(154,6),(157,6),(158,6),(915,6),(920,6),(922,6),(926,6),(43,7),(100,7),(102,7),(103,7),(104,7),(105,7),(106,7),(108,7),(109,7),(110,7),(111,7),(144,7),(145,7),(146,7),(152,7),(153,7),(154,7),(157,7),(158,7),(176,7),(178,7),(179,7),(184,7),(185,7),(187,7),(188,7),(193,7),(195,7),(196,7),(200,7),(202,7),(204,7),(43,8),(100,8),(102,8),(103,8),(104,8),(105,8),(106,8),(108,8),(109,8),(110,8),(111,8),(144,8),(145,8),(146,8),(152,8),(153,8),(154,8),(157,8),(158,8),(159,8),(161,8),(162,8),(167,8),(168,8),(170,8),(171,8),(43,9),(100,9),(102,9),(103,9),(104,9),(105,9),(106,9),(108,9),(109,9),(110,9),(111,9),(144,9),(145,9),(146,9),(152,9),(153,9),(154,9),(157,9),(158,9),(915,9),(920,9),(922,9),(926,9),(43,10),(100,10),(102,10),(103,10),(104,10),(105,10),(106,10),(108,10),(109,10),(110,10),(111,10),(144,10),(145,10),(146,10),(152,10),(153,10),(154,10),(157,10),(158,10),(176,10),(178,10),(179,10),(184,10),(185,10),(187,10),(188,10),(193,10),(195,10),(196,10),(200,10),(202,10),(204,10),(43,11),(100,11),(102,11),(103,11),(104,11),(105,11),(106,11),(108,11),(109,11),(110,11),(111,11),(144,11),(145,11),(146,11),(152,11),(153,11),(154,11),(157,11),(158,11),(159,11),(161,11),(162,11),(167,11),(168,11),(170,11),(171,11),(43,12),(100,12),(102,12),(103,12),(104,12),(105,12),(106,12),(108,12),(109,12),(110,12),(111,12),(144,12),(145,12),(146,12),(152,12),(153,12),(154,12),(157,12),(158,12),(915,12),(920,12),(922,12),(926,12),(43,13),(100,13),(102,13),(103,13),(104,13),(105,13),(106,13),(108,13),(109,13),(110,13),(111,13),(144,13),(145,13),(146,13),(152,13),(153,13),(154,13),(157,13),(158,13),(176,13),(178,13),(179,13),(184,13),(185,13),(187,13),(188,13),(193,13),(195,13),(196,13),(200,13),(202,13),(204,13),(43,14),(100,14),(102,14),(103,14),(104,14),(105,14),(106,14),(108,14),(109,14),(110,14),(111,14),(144,14),(145,14),(146,14),(152,14),(153,14),(154,14),(157,14),(158,14),(159,14),(161,14),(162,14),(167,14),(168,14),(170,14),(171,14),(43,15),(100,15),(102,15),(103,15),(104,15),(105,15),(106,15),(108,15),(109,15),(110,15),(111,15),(144,15),(145,15),(146,15),(152,15),(153,15),(154,15),(157,15),(158,15),(915,15),(920,15),(922,15),(926,15),(43,16),(100,16),(102,16),(103,16),(104,16),(105,16),(106,16),(108,16),(109,16),(110,16),(111,16),(144,16),(145,16),(146,16),(152,16),(153,16),(154,16),(157,16),(158,16),(176,16),(178,16),(179,16),(184,16),(185,16),(187,16),(188,16),(193,16),(195,16),(196,16),(200,16),(202,16),(204,16),(43,17),(100,17),(102,17),(103,17),(104,17),(105,17),(106,17),(108,17),(109,17),(110,17),(111,17),(144,17),(145,17),(146,17),(152,17),(153,17),(154,17),(157,17),(158,17),(159,17),(161,17),(162,17),(167,17),(168,17),(170,17),(171,17),(43,18),(100,18),(102,18),(103,18),(104,18),(105,18),(106,18),(108,18),(109,18),(110,18),(111,18),(144,18),(145,18),(146,18),(152,18),(153,18),(154,18),(157,18),(158,18),(915,18),(920,18),(922,18),(926,18),(43,19),(100,19),(102,19),(103,19),(104,19),(105,19),(106,19),(108,19),(109,19),(110,19),(111,19),(144,19),(145,19),(146,19),(152,19),(153,19),(154,19),(157,19),(158,19),(176,19),(178,19),(179,19),(184,19),(185,19),(187,19),(188,19),(193,19),(195,19),(196,19),(200,19),(202,19),(204,19),(43,20),(100,20),(102,20),(103,20),(104,20),(105,20),(106,20),(108,20),(109,20),(110,20),(111,20),(144,20),(145,20),(146,20),(152,20),(153,20),(154,20),(157,20),(158,20),(159,20),(161,20),(162,20),(167,20),(168,20),(170,20),(171,20);
|
||
/*!40000 ALTER TABLE `role_has_permissions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `roles`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `roles`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `roles` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`label` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`guard_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`editable` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `roles_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `roles_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `roles`
|
||
--
|
||
|
||
LOCK TABLES `roles` WRITE;
|
||
/*!40000 ALTER TABLE `roles` DISABLE KEYS */;
|
||
INSERT INTO `roles` VALUES (1,'superadmin','Super Admin','web',0,1,'2026-04-23 06:00:40','2026-04-23 06:00:40'),(2,'company','Company','web',0,1,'2026-04-23 06:00:40','2026-04-23 06:00:40'),(3,'staff','Staff','web',0,2,'2026-04-23 06:00:40','2026-04-23 06:00:40'),(4,'client','Client','web',0,2,'2026-04-23 06:00:40','2026-04-23 06:00:40'),(5,'vendor','Vendor','web',0,2,'2026-04-23 06:00:40','2026-04-23 06:00:40'),(6,'staff','Staff','web',0,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(7,'client','Client','web',0,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(8,'vendor','Vendor','web',0,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(9,'staff','Staff','web',0,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(10,'client','Client','web',0,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(11,'vendor','Vendor','web',0,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(12,'staff','Staff','web',0,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(13,'client','Client','web',0,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(14,'vendor','Vendor','web',0,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(15,'staff','Staff','web',0,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(16,'client','Client','web',0,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(17,'vendor','Vendor','web',0,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(18,'staff','Staff','web',0,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(19,'client','Client','web',0,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(20,'vendor','Vendor','web',0,58,'2026-05-01 13:57:27','2026-05-01 13:57:27');
|
||
/*!40000 ALTER TABLE `roles` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `salary_components`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `salary_components`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `salary_components` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`code` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`type` enum('earning','deduction') COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`is_system` tinyint(1) NOT NULL DEFAULT '0',
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`computation_method` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`sort_order` int NOT NULL DEFAULT '0',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `salary_components_code_unique` (`code`),
|
||
KEY `salary_components_created_by_index` (`created_by`),
|
||
KEY `salary_components_type_index` (`type`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `salary_components`
|
||
--
|
||
|
||
LOCK TABLES `salary_components` WRITE;
|
||
/*!40000 ALTER TABLE `salary_components` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `salary_components` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `sales_invoice_item_taxes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `sales_invoice_item_taxes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `sales_invoice_item_taxes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` bigint unsigned NOT NULL,
|
||
`tax_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`tax_rate` decimal(5,2) NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `sales_invoice_item_taxes_item_id_index` (`item_id`),
|
||
CONSTRAINT `sales_invoice_item_taxes_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `sales_invoice_items` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `sales_invoice_item_taxes`
|
||
--
|
||
|
||
LOCK TABLES `sales_invoice_item_taxes` WRITE;
|
||
/*!40000 ALTER TABLE `sales_invoice_item_taxes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `sales_invoice_item_taxes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `sales_invoice_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `sales_invoice_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `sales_invoice_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`invoice_id` bigint unsigned NOT NULL,
|
||
`product_id` bigint unsigned NOT NULL,
|
||
`quantity` int NOT NULL,
|
||
`dispatched_qty` int NOT NULL DEFAULT '0',
|
||
`unit_price` decimal(15,2) NOT NULL,
|
||
`discount_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `sales_invoice_items_invoice_id_index` (`invoice_id`),
|
||
KEY `sales_invoice_items_product_id_index` (`product_id`),
|
||
CONSTRAINT `sales_invoice_items_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `sales_invoices` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `sales_invoice_items`
|
||
--
|
||
|
||
LOCK TABLES `sales_invoice_items` WRITE;
|
||
/*!40000 ALTER TABLE `sales_invoice_items` DISABLE KEYS */;
|
||
INSERT INTO `sales_invoice_items` VALUES (1,1,1,48,0,149.57,0.00,0.00,0.00,0.00,7179.36,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(2,2,7,4,0,78.70,0.00,0.00,0.00,0.00,314.80,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(3,3,4,1,0,68.31,0.00,0.00,0.00,0.00,68.31,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(4,4,1,28,0,149.57,0.00,0.00,0.00,0.00,4187.96,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(5,5,7,3,0,78.70,0.00,0.00,0.00,0.00,236.10,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(6,6,1,20,0,149.57,0.00,0.00,0.00,0.00,2991.40,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(7,7,9,4,0,163.47,0.00,0.00,0.00,0.00,653.88,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(8,8,10,1,0,179.05,0.00,0.00,0.00,0.00,179.05,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(9,9,2,1,0,153.08,0.00,0.00,0.00,0.00,153.08,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(10,10,4,2,0,68.31,0.00,0.00,0.00,0.00,136.62,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(11,11,1,20,0,149.57,0.00,0.00,0.00,0.00,2991.40,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(12,12,5,5,0,121.34,0.00,0.00,0.00,0.00,606.70,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(13,13,2,3,0,153.08,0.00,0.00,0.00,0.00,459.24,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(14,14,2,3,0,153.08,0.00,0.00,0.00,0.00,459.24,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(15,15,10,4,0,179.05,0.00,0.00,0.00,0.00,716.20,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(16,16,1,29,0,149.57,0.00,0.00,0.00,0.00,4337.53,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(17,17,7,3,0,78.70,0.00,0.00,0.00,0.00,236.10,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(18,18,8,4,0,73.55,0.00,0.00,0.00,0.00,294.20,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(19,19,7,4,0,78.70,0.00,0.00,0.00,0.00,314.80,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(20,20,4,3,0,68.31,0.00,0.00,0.00,0.00,204.93,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(21,21,1,42,0,149.57,0.00,0.00,0.00,0.00,6281.94,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(22,22,6,4,0,191.36,0.00,0.00,0.00,0.00,765.44,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(23,23,5,1,0,121.34,0.00,0.00,0.00,0.00,121.34,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(24,24,8,1,0,73.55,0.00,0.00,0.00,0.00,73.55,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(25,25,8,5,0,73.55,0.00,0.00,0.00,0.00,367.75,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(26,26,1,44,0,149.57,0.00,0.00,0.00,0.00,6581.08,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(27,27,6,2,0,191.36,0.00,0.00,0.00,0.00,382.72,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(28,28,5,5,0,121.34,0.00,0.00,0.00,0.00,606.70,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(29,29,8,1,0,73.55,0.00,0.00,0.00,0.00,73.55,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(30,30,6,5,0,191.36,0.00,0.00,0.00,0.00,956.80,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(31,31,1,35,0,149.57,0.00,0.00,0.00,0.00,5234.95,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(32,32,5,1,0,121.34,0.00,0.00,0.00,0.00,121.34,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(33,33,1,29,0,149.57,0.00,0.00,0.00,0.00,4337.53,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(34,34,6,5,0,191.36,0.00,0.00,0.00,0.00,956.80,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(35,35,3,3,0,130.91,0.00,0.00,0.00,0.00,392.73,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(36,36,1,41,0,149.57,0.00,0.00,0.00,0.00,6132.37,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(37,37,9,1,0,163.47,0.00,0.00,0.00,0.00,163.47,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(38,38,7,4,0,78.70,0.00,0.00,0.00,0.00,314.80,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(39,39,2,5,0,153.08,0.00,0.00,0.00,0.00,765.40,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(40,40,4,1,0,68.31,0.00,0.00,0.00,0.00,68.31,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(41,41,1,21,0,149.57,0.00,0.00,0.00,0.00,3140.97,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(42,42,4,1,0,68.31,0.00,0.00,0.00,0.00,68.31,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(43,43,10,1,0,179.05,0.00,0.00,0.00,0.00,179.05,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(44,44,3,4,0,130.91,0.00,0.00,0.00,0.00,523.64,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(45,45,5,3,0,121.34,0.00,0.00,0.00,0.00,364.02,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(46,46,1,50,0,149.57,0.00,0.00,0.00,0.00,7478.50,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(47,47,3,2,0,130.91,0.00,0.00,0.00,0.00,261.82,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(48,48,3,4,0,130.91,0.00,0.00,0.00,0.00,523.64,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(49,49,9,2,0,163.47,0.00,0.00,0.00,0.00,326.94,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(50,50,6,5,0,191.36,0.00,0.00,0.00,0.00,956.80,'2026-05-01 13:25:27','2026-05-01 13:25:27');
|
||
/*!40000 ALTER TABLE `sales_invoice_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `sales_invoice_return_item_taxes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `sales_invoice_return_item_taxes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `sales_invoice_return_item_taxes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` bigint unsigned NOT NULL,
|
||
`tax_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`tax_rate` decimal(5,2) NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `sales_invoice_return_item_taxes_item_id_foreign` (`item_id`),
|
||
CONSTRAINT `sales_invoice_return_item_taxes_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `sales_invoice_return_items` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `sales_invoice_return_item_taxes`
|
||
--
|
||
|
||
LOCK TABLES `sales_invoice_return_item_taxes` WRITE;
|
||
/*!40000 ALTER TABLE `sales_invoice_return_item_taxes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `sales_invoice_return_item_taxes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `sales_invoice_return_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `sales_invoice_return_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `sales_invoice_return_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`return_id` bigint unsigned NOT NULL,
|
||
`product_id` bigint unsigned NOT NULL,
|
||
`original_invoice_item_id` bigint unsigned DEFAULT NULL,
|
||
`original_quantity` int NOT NULL,
|
||
`return_quantity` int NOT NULL,
|
||
`unit_price` decimal(15,2) NOT NULL,
|
||
`discount_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `sales_invoice_return_items_return_id_foreign` (`return_id`),
|
||
CONSTRAINT `sales_invoice_return_items_return_id_foreign` FOREIGN KEY (`return_id`) REFERENCES `sales_invoice_returns` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `sales_invoice_return_items`
|
||
--
|
||
|
||
LOCK TABLES `sales_invoice_return_items` WRITE;
|
||
/*!40000 ALTER TABLE `sales_invoice_return_items` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `sales_invoice_return_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `sales_invoice_returns`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `sales_invoice_returns`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `sales_invoice_returns` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`return_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`return_date` date NOT NULL,
|
||
`customer_id` bigint unsigned NOT NULL,
|
||
`warehouse_id` bigint unsigned DEFAULT NULL,
|
||
`original_invoice_id` bigint unsigned NOT NULL,
|
||
`reason` enum('defective','wrong_item','damaged','excess_quantity','other') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'defective',
|
||
`subtotal` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`status` enum('draft','approved','completed','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `sales_invoice_returns_original_invoice_id_foreign` (`original_invoice_id`),
|
||
KEY `sales_invoice_returns_status_return_date_index` (`status`,`return_date`),
|
||
KEY `sales_invoice_returns_customer_id_index` (`customer_id`),
|
||
KEY `sales_invoice_returns_creator_id_index` (`creator_id`),
|
||
KEY `sales_invoice_returns_created_by_index` (`created_by`),
|
||
CONSTRAINT `sales_invoice_returns_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `sales_invoice_returns_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `sales_invoice_returns_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `sales_invoice_returns_original_invoice_id_foreign` FOREIGN KEY (`original_invoice_id`) REFERENCES `sales_invoices` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `sales_invoice_returns`
|
||
--
|
||
|
||
LOCK TABLES `sales_invoice_returns` WRITE;
|
||
/*!40000 ALTER TABLE `sales_invoice_returns` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `sales_invoice_returns` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `sales_invoices`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `sales_invoices`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `sales_invoices` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`invoice_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`invoice_date` date NOT NULL,
|
||
`due_date` date NOT NULL,
|
||
`customer_id` bigint unsigned NOT NULL,
|
||
`warehouse_id` bigint unsigned DEFAULT NULL,
|
||
`subtotal` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`paid_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`balance_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`status` enum('draft','posted','partial','paid','overdue') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`type` enum('product','service') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'product',
|
||
`payment_terms` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `sales_invoices_status_invoice_date_index` (`status`,`invoice_date`),
|
||
KEY `sales_invoices_customer_id_index` (`customer_id`),
|
||
KEY `sales_invoices_creator_id_index` (`creator_id`),
|
||
KEY `sales_invoices_created_by_index` (`created_by`),
|
||
CONSTRAINT `sales_invoices_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `sales_invoices_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `sales_invoices_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `sales_invoices`
|
||
--
|
||
|
||
LOCK TABLES `sales_invoices` WRITE;
|
||
/*!40000 ALTER TABLE `sales_invoices` DISABLE KEYS */;
|
||
INSERT INTO `sales_invoices` VALUES (1,'S-TEST-7NITR-0','2026-04-24','2026-05-08',51,1,7179.36,0.00,0.00,7179.36,0.00,7179.36,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(2,'S-TEST-EZ0CG-1','2026-04-22','2026-05-08',51,1,314.80,0.00,0.00,314.80,0.00,314.80,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(3,'S-TEST-HRM1L-2','2026-04-03','2026-05-08',49,1,68.31,0.00,0.00,68.31,0.00,68.31,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(4,'S-TEST-XDVP7-3','2026-04-10','2026-05-08',52,2,4187.96,0.00,0.00,4187.96,0.00,4187.96,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(5,'S-TEST-GH2OT-4','2026-04-01','2026-05-08',53,1,236.10,0.00,0.00,236.10,0.00,236.10,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(6,'S-TEST-LCA2P-5','2026-04-15','2026-05-08',53,1,2991.40,0.00,0.00,2991.40,0.00,2991.40,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(7,'S-TEST-B3K6S-6','2026-04-02','2026-05-08',49,2,653.88,0.00,0.00,653.88,0.00,653.88,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(8,'S-TEST-DHRZA-7','2026-04-25','2026-05-08',53,2,179.05,0.00,0.00,179.05,0.00,179.05,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(9,'S-TEST-WFALW-8','2026-04-09','2026-05-08',52,2,153.08,0.00,0.00,153.08,0.00,153.08,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(10,'S-TEST-RC09H-9','2026-04-13','2026-05-08',52,1,136.62,0.00,0.00,136.62,0.00,136.62,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(11,'S-TEST-DNIII-10','2026-04-22','2026-05-08',49,1,2991.40,0.00,0.00,2991.40,0.00,2991.40,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(12,'S-TEST-ZF1K8-11','2026-04-10','2026-05-08',51,2,606.70,0.00,0.00,606.70,0.00,606.70,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(13,'S-TEST-WTD7G-12','2026-04-19','2026-05-08',51,1,459.24,0.00,0.00,459.24,0.00,459.24,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(14,'S-TEST-UOISK-13','2026-04-15','2026-05-08',50,2,459.24,0.00,0.00,459.24,0.00,459.24,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(15,'S-TEST-X11NN-14','2026-04-19','2026-05-08',52,2,716.20,0.00,0.00,716.20,0.00,716.20,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(16,'S-TEST-FDBDS-15','2026-04-19','2026-05-08',51,2,4337.53,0.00,0.00,4337.53,0.00,4337.53,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(17,'S-TEST-SQXAH-16','2026-04-22','2026-05-08',49,1,236.10,0.00,0.00,236.10,0.00,236.10,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(18,'S-TEST-VQ2YC-17','2026-04-25','2026-05-08',49,2,294.20,0.00,0.00,294.20,0.00,294.20,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(19,'S-TEST-N1A7U-18','2026-04-04','2026-05-08',49,2,314.80,0.00,0.00,314.80,0.00,314.80,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(20,'S-TEST-MRSK2-19','2026-04-05','2026-05-08',51,2,204.93,0.00,0.00,204.93,0.00,204.93,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(21,'S-TEST-ZWTKG-20','2026-04-26','2026-05-08',53,1,6281.94,0.00,0.00,6281.94,0.00,6281.94,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(22,'S-TEST-NTTVO-21','2026-04-23','2026-05-08',52,2,765.44,0.00,0.00,765.44,0.00,765.44,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(23,'S-TEST-ST1BA-22','2026-04-08','2026-05-08',52,2,121.34,0.00,0.00,121.34,0.00,121.34,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(24,'S-TEST-DFPUL-23','2026-04-06','2026-05-08',50,2,73.55,0.00,0.00,73.55,0.00,73.55,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(25,'S-TEST-INWYP-24','2026-04-16','2026-05-08',49,2,367.75,0.00,0.00,367.75,0.00,367.75,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(26,'S-TEST-OZRTL-25','2026-04-25','2026-05-08',49,1,6581.08,0.00,0.00,6581.08,0.00,6581.08,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(27,'S-TEST-VQNPZ-26','2026-04-26','2026-05-08',49,1,382.72,0.00,0.00,382.72,0.00,382.72,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(28,'S-TEST-R52YU-27','2026-04-28','2026-05-08',51,2,606.70,0.00,0.00,606.70,0.00,606.70,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(29,'S-TEST-GMSFN-28','2026-04-20','2026-05-08',51,2,73.55,0.00,0.00,73.55,0.00,73.55,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(30,'S-TEST-GKBOA-29','2026-04-09','2026-05-08',53,2,956.80,0.00,0.00,956.80,0.00,956.80,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(31,'S-TEST-9X3W4-30','2026-04-20','2026-05-08',50,2,5234.95,0.00,0.00,5234.95,0.00,5234.95,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(32,'S-TEST-9HJC3-31','2026-04-18','2026-05-08',49,2,121.34,0.00,0.00,121.34,0.00,121.34,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(33,'S-TEST-6XIDD-32','2026-04-30','2026-05-08',49,2,4337.53,0.00,0.00,4337.53,0.00,4337.53,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(34,'S-TEST-3ZMOX-33','2026-04-29','2026-05-08',52,2,956.80,0.00,0.00,956.80,0.00,956.80,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(35,'S-TEST-OGDIA-34','2026-04-12','2026-05-08',52,1,392.73,0.00,0.00,392.73,0.00,392.73,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(36,'S-TEST-TPBSL-35','2026-04-06','2026-05-08',49,1,6132.37,0.00,0.00,6132.37,0.00,6132.37,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(37,'S-TEST-Z5LBS-36','2026-04-16','2026-05-08',49,1,163.47,0.00,0.00,163.47,0.00,163.47,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(38,'S-TEST-MNKQQ-37','2026-04-28','2026-05-08',49,1,314.80,0.00,0.00,314.80,0.00,314.80,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(39,'S-TEST-JNRKJ-38','2026-04-01','2026-05-08',51,1,765.40,0.00,0.00,765.40,0.00,765.40,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(40,'S-TEST-UP24P-39','2026-04-04','2026-05-08',50,2,68.31,0.00,0.00,68.31,0.00,68.31,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(41,'S-TEST-66NWL-40','2026-04-27','2026-05-08',53,2,3140.97,0.00,0.00,3140.97,0.00,3140.97,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(42,'S-TEST-MXSLA-41','2026-04-03','2026-05-08',51,2,68.31,0.00,0.00,68.31,0.00,68.31,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(43,'S-TEST-JNYFW-42','2026-04-30','2026-05-08',51,1,179.05,0.00,0.00,179.05,0.00,179.05,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(44,'S-TEST-BW0YD-43','2026-04-04','2026-05-08',52,1,523.64,0.00,0.00,523.64,0.00,523.64,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(45,'S-TEST-JXHJW-44','2026-04-14','2026-05-08',49,2,364.02,0.00,0.00,364.02,0.00,364.02,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(46,'S-TEST-UASO3-45','2026-04-05','2026-05-08',52,1,7478.50,0.00,0.00,7478.50,0.00,7478.50,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(47,'S-TEST-IDYN7-46','2026-04-28','2026-05-08',51,1,261.82,0.00,0.00,261.82,0.00,261.82,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(48,'S-TEST-HXXSY-47','2026-04-24','2026-05-08',52,1,523.64,0.00,0.00,523.64,0.00,523.64,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(49,'S-TEST-4SEZM-48','2026-04-27','2026-05-08',52,1,326.94,0.00,0.00,326.94,0.00,326.94,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(50,'S-TEST-UXST5-49','2026-04-26','2026-05-08',53,2,956.80,0.00,0.00,956.80,0.00,956.80,'posted','product',NULL,NULL,2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27');
|
||
/*!40000 ALTER TABLE `sales_invoices` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `sales_proposal_item_taxes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `sales_proposal_item_taxes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `sales_proposal_item_taxes` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`item_id` bigint unsigned NOT NULL,
|
||
`tax_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`tax_rate` decimal(5,2) NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `sales_proposal_item_taxes_item_id_index` (`item_id`),
|
||
CONSTRAINT `sales_proposal_item_taxes_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `sales_proposal_items` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `sales_proposal_item_taxes`
|
||
--
|
||
|
||
LOCK TABLES `sales_proposal_item_taxes` WRITE;
|
||
/*!40000 ALTER TABLE `sales_proposal_item_taxes` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `sales_proposal_item_taxes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `sales_proposal_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `sales_proposal_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `sales_proposal_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`proposal_id` bigint unsigned NOT NULL,
|
||
`product_id` bigint unsigned NOT NULL,
|
||
`quantity` int NOT NULL,
|
||
`unit_price` decimal(15,2) NOT NULL,
|
||
`discount_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `sales_proposal_items_proposal_id_index` (`proposal_id`),
|
||
KEY `sales_proposal_items_product_id_index` (`product_id`),
|
||
CONSTRAINT `sales_proposal_items_proposal_id_foreign` FOREIGN KEY (`proposal_id`) REFERENCES `sales_proposals` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `sales_proposal_items`
|
||
--
|
||
|
||
LOCK TABLES `sales_proposal_items` WRITE;
|
||
/*!40000 ALTER TABLE `sales_proposal_items` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `sales_proposal_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `sales_proposals`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `sales_proposals`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `sales_proposals` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`proposal_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`proposal_date` date NOT NULL,
|
||
`due_date` date NOT NULL,
|
||
`customer_id` bigint unsigned NOT NULL,
|
||
`warehouse_id` bigint unsigned DEFAULT NULL,
|
||
`subtotal` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`tax_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`discount_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`total_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`status` enum('draft','sent','accepted','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
|
||
`converted_to_invoice` tinyint(1) NOT NULL DEFAULT '0',
|
||
`invoice_id` bigint unsigned DEFAULT NULL,
|
||
`payment_terms` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `sales_proposals_invoice_id_foreign` (`invoice_id`),
|
||
KEY `sales_proposals_status_proposal_date_index` (`status`,`proposal_date`),
|
||
KEY `sales_proposals_customer_id_index` (`customer_id`),
|
||
KEY `sales_proposals_creator_id_index` (`creator_id`),
|
||
KEY `sales_proposals_created_by_index` (`created_by`),
|
||
CONSTRAINT `sales_proposals_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `sales_proposals_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `sales_proposals_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `sales_proposals_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `sales_invoices` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `sales_proposals`
|
||
--
|
||
|
||
LOCK TABLES `sales_proposals` WRITE;
|
||
/*!40000 ALTER TABLE `sales_proposals` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `sales_proposals` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `sessions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `sessions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `sessions` (
|
||
`id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`user_id` bigint unsigned DEFAULT NULL,
|
||
`ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`user_agent` text COLLATE utf8mb4_unicode_ci,
|
||
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`last_activity` int NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `sessions_user_id_index` (`user_id`),
|
||
KEY `sessions_last_activity_index` (`last_activity`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `sessions`
|
||
--
|
||
|
||
LOCK TABLES `sessions` WRITE;
|
||
/*!40000 ALTER TABLE `sessions` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `sessions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `settings`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `settings`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `settings` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`value` text COLLATE utf8mb4_unicode_ci,
|
||
`is_public` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `settings_created_by_index` (`created_by`),
|
||
CONSTRAINT `settings_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=194 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `settings`
|
||
--
|
||
|
||
LOCK TABLES `settings` WRITE;
|
||
/*!40000 ALTER TABLE `settings` DISABLE KEYS */;
|
||
INSERT INTO `settings` VALUES (1,'defult_currency','PHP',1,NULL,NULL,NULL),(2,'currency_symbol','₱',1,NULL,NULL,NULL),(3,'defaultCurrency','PHP',1,NULL,NULL,NULL),(4,'currencySymbol','₱',1,NULL,NULL,NULL),(5,'decimalFormat','2',1,2,'2026-05-01 13:21:16','2026-05-01 13:21:16'),(6,'defaultCurrency','PHP',1,2,'2026-05-01 13:21:16','2026-05-01 13:21:16'),(7,'decimalSeparator','.',1,2,'2026-05-01 13:21:16','2026-05-01 13:21:16'),(8,'thousandsSeparator',',',1,2,'2026-05-01 13:21:16','2026-05-01 13:21:16'),(9,'floatNumber','1',1,2,'2026-05-01 13:21:16','2026-05-01 13:21:16'),(10,'currencySymbolSpace','0',1,2,'2026-05-01 13:21:16','2026-05-01 13:57:26'),(11,'currencySymbolPosition','before',1,2,'2026-05-01 13:21:16','2026-05-01 13:21:16'),(12,'currencySymbol','₱',1,2,'2026-05-01 13:21:16','2026-05-01 13:21:16'),(13,'currencyName','Philippine Peso',1,2,'2026-05-01 13:21:16','2026-05-01 13:21:16'),(14,'logo_light','logo_light.png',1,1,'2026-05-01 13:57:25','2026-05-01 13:57:25'),(15,'logo_dark','logo_dark.png',1,1,'2026-05-01 13:57:25','2026-05-01 13:57:25'),(16,'favicon','favicon.png',1,1,'2026-05-01 13:57:25','2026-05-01 13:57:25'),(17,'titleText','nnterp',1,1,'2026-05-01 13:57:25','2026-05-01 13:57:25'),(18,'footerText','Copyright © nnterp',1,1,'2026-05-01 13:57:25','2026-05-01 13:57:25'),(19,'sidebarVariant','inset',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(20,'sidebarStyle','plain',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(21,'layoutDirection','ltr',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(22,'themeMode','light',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(23,'themeColor','green',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(24,'customColor','#10b981',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(25,'defaultLanguage','en',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(26,'dateFormat','Y-m-d',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(27,'timeFormat','H:i',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(28,'calendarStartDay','0',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(29,'enableRegistration','on',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(30,'enableEmailVerification','off',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(31,'landingPageEnabled','on',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(32,'termsConditionsUrl','',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(33,'defaultCurrency','USD',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(34,'currencySymbol','$',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(35,'currency_format','2',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(36,'decimalFormat','2',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(37,'decimalSeparator','.',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(38,'thousandsSeparator',',',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(39,'floatNumber','1',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(40,'currencySymbolSpace','0',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(41,'currencySymbolPosition','left',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(42,'metaKeywords','workdo, dashboard, admin, panel, management',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(43,'metaTitle','nnterp - Dashboard',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(44,'metaDescription','Modern dashboard and management system built with Laravel and React',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(45,'metaImage','meta_image.png',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(46,'enableCookiePopup','1',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(47,'enableLogging','0',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(48,'strictlyNecessaryCookies','1',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(49,'cookieTitle','Cookie Consent',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(50,'strictlyCookieTitle','Strictly Necessary Cookies',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(51,'cookieDescription','We use cookies to enhance your browsing experience and provide personalized content.',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(52,'strictlyCookieDescription','These cookies are essential for the website to function properly.',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(53,'contactUsDescription','If you have any questions about our cookie policy, please contact us.',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(54,'contactUsUrl','https://example.com/contact',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(55,'storageType','local',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(56,'allowedFileTypes','jpg,png,webp,gif,jpeg,pdf',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(57,'maxUploadSize','2048',1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(58,'logo_light','logo_light.png',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(59,'logo_dark','logo_dark.png',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(60,'favicon','favicon.png',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(61,'titleText','nnterp',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(62,'footerText','Copyright © nnterp',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(63,'sidebarVariant','inset',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(64,'sidebarStyle','plain',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(65,'layoutDirection','ltr',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(66,'themeMode','light',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(67,'themeColor','green',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(68,'customColor','#10b981',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(69,'defaultLanguage','en',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(70,'dateFormat','Y-m-d',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(71,'timeFormat','H:i',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(72,'calendarStartDay','0',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(73,'currency_format','2',1,2,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(74,'logo_light','logo_light.png',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(75,'logo_dark','logo_dark.png',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(76,'favicon','favicon.png',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(77,'titleText','nnterp',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(78,'footerText','Copyright © nnterp',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(79,'sidebarVariant','inset',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(80,'sidebarStyle','plain',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(81,'layoutDirection','ltr',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(82,'themeMode','light',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(83,'themeColor','green',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(84,'customColor','#10b981',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(85,'defaultLanguage','en',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(86,'dateFormat','Y-m-d',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(87,'timeFormat','H:i',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(88,'calendarStartDay','0',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(89,'defaultCurrency','USD',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(90,'currencySymbol','$',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(91,'currency_format','2',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(92,'decimalFormat','2',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(93,'decimalSeparator','.',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(94,'thousandsSeparator',',',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(95,'floatNumber','1',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(96,'currencySymbolSpace','0',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(97,'currencySymbolPosition','left',1,54,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(98,'logo_light','logo_light.png',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(99,'logo_dark','logo_dark.png',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(100,'favicon','favicon.png',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(101,'titleText','nnterp',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(102,'footerText','Copyright © nnterp',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(103,'sidebarVariant','inset',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(104,'sidebarStyle','plain',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(105,'layoutDirection','ltr',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(106,'themeMode','light',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(107,'themeColor','green',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(108,'customColor','#10b981',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(109,'defaultLanguage','en',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(110,'dateFormat','Y-m-d',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(111,'timeFormat','H:i',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(112,'calendarStartDay','0',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(113,'defaultCurrency','USD',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(114,'currencySymbol','$',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(115,'currency_format','2',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(116,'decimalFormat','2',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(117,'decimalSeparator','.',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(118,'thousandsSeparator',',',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(119,'floatNumber','1',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(120,'currencySymbolSpace','0',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(121,'currencySymbolPosition','left',1,55,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(122,'logo_light','logo_light.png',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(123,'logo_dark','logo_dark.png',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(124,'favicon','favicon.png',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(125,'titleText','nnterp',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(126,'footerText','Copyright © nnterp',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(127,'sidebarVariant','inset',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(128,'sidebarStyle','plain',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(129,'layoutDirection','ltr',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(130,'themeMode','light',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(131,'themeColor','green',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(132,'customColor','#10b981',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(133,'defaultLanguage','en',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(134,'dateFormat','Y-m-d',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(135,'timeFormat','H:i',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(136,'calendarStartDay','0',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(137,'defaultCurrency','USD',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(138,'currencySymbol','$',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(139,'currency_format','2',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(140,'decimalFormat','2',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(141,'decimalSeparator','.',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(142,'thousandsSeparator',',',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(143,'floatNumber','1',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(144,'currencySymbolSpace','0',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(145,'currencySymbolPosition','left',1,56,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(146,'logo_light','logo_light.png',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(147,'logo_dark','logo_dark.png',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(148,'favicon','favicon.png',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(149,'titleText','nnterp',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(150,'footerText','Copyright © nnterp',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(151,'sidebarVariant','inset',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(152,'sidebarStyle','plain',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(153,'layoutDirection','ltr',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(154,'themeMode','light',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(155,'themeColor','green',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(156,'customColor','#10b981',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(157,'defaultLanguage','en',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(158,'dateFormat','Y-m-d',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(159,'timeFormat','H:i',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(160,'calendarStartDay','0',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(161,'defaultCurrency','USD',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(162,'currencySymbol','$',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(163,'currency_format','2',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(164,'decimalFormat','2',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(165,'decimalSeparator','.',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(166,'thousandsSeparator',',',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(167,'floatNumber','1',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(168,'currencySymbolSpace','0',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(169,'currencySymbolPosition','left',1,57,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(170,'logo_light','logo_light.png',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(171,'logo_dark','logo_dark.png',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(172,'favicon','favicon.png',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(173,'titleText','nnterp',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(174,'footerText','Copyright © nnterp',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(175,'sidebarVariant','inset',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(176,'sidebarStyle','plain',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(177,'layoutDirection','ltr',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(178,'themeMode','light',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(179,'themeColor','green',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(180,'customColor','#10b981',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(181,'defaultLanguage','en',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(182,'dateFormat','Y-m-d',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(183,'timeFormat','H:i',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(184,'calendarStartDay','0',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(185,'defaultCurrency','USD',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(186,'currencySymbol','$',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(187,'currency_format','2',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(188,'decimalFormat','2',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(189,'decimalSeparator','.',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(190,'thousandsSeparator',',',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(191,'floatNumber','1',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(192,'currencySymbolSpace','0',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(193,'currencySymbolPosition','left',1,58,'2026-05-01 13:57:27','2026-05-01 13:57:27');
|
||
/*!40000 ALTER TABLE `settings` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `shifts`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `shifts`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `shifts` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`shift_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`start_time` time DEFAULT NULL,
|
||
`end_time` time DEFAULT NULL,
|
||
`break_start_time` time DEFAULT NULL,
|
||
`break_end_time` time DEFAULT NULL,
|
||
`is_night_shift` tinyint(1) NOT NULL DEFAULT '0',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `shifts_creator_id_index` (`creator_id`),
|
||
KEY `shifts_created_by_index` (`created_by`),
|
||
CONSTRAINT `shifts_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `shifts_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `shifts`
|
||
--
|
||
|
||
LOCK TABLES `shifts` WRITE;
|
||
/*!40000 ALTER TABLE `shifts` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `shifts` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `skill_assessments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `skill_assessments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `skill_assessments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`skill_id` bigint unsigned NOT NULL,
|
||
`previous_level` tinyint DEFAULT NULL,
|
||
`new_level` tinyint NOT NULL,
|
||
`assessed_by` bigint unsigned NOT NULL,
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `skill_assessments_skill_id_foreign` (`skill_id`),
|
||
KEY `skill_assessments_assessed_by_foreign` (`assessed_by`),
|
||
KEY `skill_assessments_user_id_skill_id_created_at_index` (`user_id`,`skill_id`,`created_at`),
|
||
CONSTRAINT `skill_assessments_assessed_by_foreign` FOREIGN KEY (`assessed_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `skill_assessments_skill_id_foreign` FOREIGN KEY (`skill_id`) REFERENCES `skills` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `skill_assessments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `skill_assessments`
|
||
--
|
||
|
||
LOCK TABLES `skill_assessments` WRITE;
|
||
/*!40000 ALTER TABLE `skill_assessments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `skill_assessments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `skill_categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `skill_categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `skill_categories` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`type` enum('technical','soft','certification','industry') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'technical',
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`sort_order` int NOT NULL DEFAULT '0',
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `skill_categories_created_by_index` (`created_by`),
|
||
KEY `skill_categories_type_index` (`type`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `skill_categories`
|
||
--
|
||
|
||
LOCK TABLES `skill_categories` WRITE;
|
||
/*!40000 ALTER TABLE `skill_categories` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `skill_categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `skill_requirements`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `skill_requirements`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `skill_requirements` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`designation_id` bigint unsigned NOT NULL,
|
||
`skill_id` bigint unsigned NOT NULL,
|
||
`min_proficiency` tinyint NOT NULL DEFAULT '1' COMMENT 'Minimum required level 1-5',
|
||
`is_required` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `skill_requirements_designation_id_skill_id_unique` (`designation_id`,`skill_id`),
|
||
KEY `skill_requirements_skill_id_foreign` (`skill_id`),
|
||
KEY `skill_requirements_created_by_index` (`created_by`),
|
||
CONSTRAINT `skill_requirements_skill_id_foreign` FOREIGN KEY (`skill_id`) REFERENCES `skills` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `skill_requirements`
|
||
--
|
||
|
||
LOCK TABLES `skill_requirements` WRITE;
|
||
/*!40000 ALTER TABLE `skill_requirements` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `skill_requirements` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `skill_reviews`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `skill_reviews`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `skill_reviews` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`review_cycle_id` bigint unsigned NOT NULL,
|
||
`reviewer_id` bigint unsigned NOT NULL,
|
||
`reviewee_id` bigint unsigned NOT NULL,
|
||
`skill_id` bigint unsigned NOT NULL,
|
||
`rating` tinyint DEFAULT NULL,
|
||
`comment` text COLLATE utf8mb4_unicode_ci,
|
||
`is_anonymous` tinyint(1) NOT NULL DEFAULT '1',
|
||
`submitted_at` timestamp NULL DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `skill_reviews_reviewee_id_foreign` (`reviewee_id`),
|
||
KEY `skill_reviews_skill_id_foreign` (`skill_id`),
|
||
KEY `skill_reviews_review_cycle_id_reviewee_id_index` (`review_cycle_id`,`reviewee_id`),
|
||
KEY `skill_reviews_reviewer_id_review_cycle_id_index` (`reviewer_id`,`review_cycle_id`),
|
||
CONSTRAINT `skill_reviews_review_cycle_id_foreign` FOREIGN KEY (`review_cycle_id`) REFERENCES `review_cycles` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `skill_reviews_reviewee_id_foreign` FOREIGN KEY (`reviewee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `skill_reviews_reviewer_id_foreign` FOREIGN KEY (`reviewer_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `skill_reviews_skill_id_foreign` FOREIGN KEY (`skill_id`) REFERENCES `skills` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `skill_reviews`
|
||
--
|
||
|
||
LOCK TABLES `skill_reviews` WRITE;
|
||
/*!40000 ALTER TABLE `skill_reviews` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `skill_reviews` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `skills`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `skills`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `skills` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`skill_category_id` bigint unsigned NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`training_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`training_notes` text COLLATE utf8mb4_unicode_ci,
|
||
`sort_order` int NOT NULL DEFAULT '0',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `skills_skill_category_id_foreign` (`skill_category_id`),
|
||
KEY `skills_created_by_index` (`created_by`),
|
||
CONSTRAINT `skills_skill_category_id_foreign` FOREIGN KEY (`skill_category_id`) REFERENCES `skill_categories` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `skills`
|
||
--
|
||
|
||
LOCK TABLES `skills` WRITE;
|
||
/*!40000 ALTER TABLE `skills` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `skills` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `sources`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `sources`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `sources` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `sources_creator_id_index` (`creator_id`),
|
||
KEY `sources_created_by_index` (`created_by`),
|
||
CONSTRAINT `sources_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `sources_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `sources`
|
||
--
|
||
|
||
LOCK TABLES `sources` WRITE;
|
||
/*!40000 ALTER TABLE `sources` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `sources` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `task_comments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `task_comments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `task_comments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`task_id` bigint unsigned NOT NULL,
|
||
`comment` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `task_comments_task_id_foreign` (`task_id`),
|
||
KEY `task_comments_user_id_foreign` (`user_id`),
|
||
CONSTRAINT `task_comments_task_id_foreign` FOREIGN KEY (`task_id`) REFERENCES `project_tasks` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `task_comments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `task_comments`
|
||
--
|
||
|
||
LOCK TABLES `task_comments` WRITE;
|
||
/*!40000 ALTER TABLE `task_comments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `task_comments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `task_stages`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `task_stages`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `task_stages` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`color` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#051c4b',
|
||
`complete` tinyint(1) NOT NULL,
|
||
`order` int NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `task_stages_creator_id_index` (`creator_id`),
|
||
KEY `task_stages_created_by_index` (`created_by`),
|
||
CONSTRAINT `task_stages_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `task_stages_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `task_stages`
|
||
--
|
||
|
||
LOCK TABLES `task_stages` WRITE;
|
||
/*!40000 ALTER TABLE `task_stages` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `task_stages` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `task_subtasks`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `task_subtasks`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `task_subtasks` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`task_id` bigint unsigned NOT NULL,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`due_date` date DEFAULT NULL,
|
||
`is_completed` tinyint(1) NOT NULL DEFAULT '0',
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `task_subtasks_task_id_foreign` (`task_id`),
|
||
KEY `task_subtasks_user_id_foreign` (`user_id`),
|
||
CONSTRAINT `task_subtasks_task_id_foreign` FOREIGN KEY (`task_id`) REFERENCES `project_tasks` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `task_subtasks_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `task_subtasks`
|
||
--
|
||
|
||
LOCK TABLES `task_subtasks` WRITE;
|
||
/*!40000 ALTER TABLE `task_subtasks` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `task_subtasks` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `termination_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `termination_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `termination_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`termination_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `termination_types_creator_id_index` (`creator_id`),
|
||
KEY `termination_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `termination_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `termination_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `termination_types`
|
||
--
|
||
|
||
LOCK TABLES `termination_types` WRITE;
|
||
/*!40000 ALTER TABLE `termination_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `termination_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `terminations`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `terminations`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `terminations` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`termination_type_id` bigint unsigned DEFAULT NULL,
|
||
`notice_date` date DEFAULT NULL,
|
||
`termination_date` date DEFAULT NULL,
|
||
`reason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`document` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` enum('pending','approved','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `terminations_employee_id_foreign` (`employee_id`),
|
||
KEY `terminations_termination_type_id_foreign` (`termination_type_id`),
|
||
KEY `terminations_approved_by_foreign` (`approved_by`),
|
||
KEY `terminations_creator_id_index` (`creator_id`),
|
||
KEY `terminations_created_by_index` (`created_by`),
|
||
CONSTRAINT `terminations_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `terminations_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `terminations_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `terminations_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `terminations_termination_type_id_foreign` FOREIGN KEY (`termination_type_id`) REFERENCES `termination_types` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `terminations`
|
||
--
|
||
|
||
LOCK TABLES `terminations` WRITE;
|
||
/*!40000 ALTER TABLE `terminations` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `terminations` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `time_entries`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `time_entries`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `time_entries` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`engagement_id` bigint unsigned DEFAULT NULL,
|
||
`date` date NOT NULL,
|
||
`hours` decimal(6,2) NOT NULL,
|
||
`type` enum('billable','non_billable','internal','training') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'billable',
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`approved_by` bigint unsigned DEFAULT NULL,
|
||
`approved_at` timestamp NULL DEFAULT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `time_entries_approved_by_foreign` (`approved_by`),
|
||
KEY `time_entries_created_by_foreign` (`created_by`),
|
||
KEY `time_entries_user_id_date_index` (`user_id`,`date`),
|
||
KEY `time_entries_engagement_id_date_index` (`engagement_id`,`date`),
|
||
CONSTRAINT `time_entries_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `time_entries_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `time_entries_engagement_id_foreign` FOREIGN KEY (`engagement_id`) REFERENCES `engagements` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `time_entries_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `time_entries`
|
||
--
|
||
|
||
LOCK TABLES `time_entries` WRITE;
|
||
/*!40000 ALTER TABLE `time_entries` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `time_entries` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `transfers`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `transfers`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `transfers` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`from_warehouse` bigint unsigned DEFAULT NULL,
|
||
`to_warehouse` bigint unsigned DEFAULT NULL,
|
||
`product_id` bigint unsigned DEFAULT NULL,
|
||
`quantity` decimal(15,2) NOT NULL,
|
||
`date` date DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `transfers_from_warehouse_index` (`from_warehouse`),
|
||
KEY `transfers_to_warehouse_index` (`to_warehouse`),
|
||
KEY `transfers_product_id_index` (`product_id`),
|
||
KEY `transfers_creator_id_index` (`creator_id`),
|
||
KEY `transfers_created_by_index` (`created_by`),
|
||
CONSTRAINT `transfers_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `transfers_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `transfers_from_warehouse_foreign` FOREIGN KEY (`from_warehouse`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `transfers_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `product_service_items` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `transfers_to_warehouse_foreign` FOREIGN KEY (`to_warehouse`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `transfers`
|
||
--
|
||
|
||
LOCK TABLES `transfers` WRITE;
|
||
/*!40000 ALTER TABLE `transfers` DISABLE KEYS */;
|
||
INSERT INTO `transfers` VALUES (1,1,2,1,25.00,'2024-12-01',2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(2,2,1,2,15.00,'2024-12-02',2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(3,1,2,3,30.00,'2024-12-03',2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(4,2,1,1,10.00,'2024-12-04',2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(5,2,1,4,20.00,'2024-12-05',2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(6,1,2,5,35.00,'2024-12-06',2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(7,2,2,2,12.00,'2024-12-07',2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(8,2,1,6,18.00,'2024-12-08',2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(9,1,2,3,22.00,'2024-12-09',2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(10,2,1,7,28.00,'2024-12-10',2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39');
|
||
/*!40000 ALTER TABLE `transfers` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `user_active_modules`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `user_active_modules`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `user_active_modules` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned DEFAULT NULL,
|
||
`module` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `user_active_modules_user_id_index` (`user_id`),
|
||
CONSTRAINT `users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `user_active_modules`
|
||
--
|
||
|
||
LOCK TABLES `user_active_modules` WRITE;
|
||
/*!40000 ALTER TABLE `user_active_modules` DISABLE KEYS */;
|
||
INSERT INTO `user_active_modules` VALUES (1,2,'SkillsMatrix','2026-04-23 06:05:36','2026-04-23 06:05:36'),(2,2,'CertTracker','2026-04-23 06:05:36','2026-04-23 06:05:36'),(3,2,'Engagement','2026-04-23 06:05:36','2026-04-23 06:05:36'),(4,2,'Utilization','2026-04-23 06:05:36','2026-04-23 06:05:36'),(5,2,'PropertyManagement','2026-04-23 06:05:36','2026-04-23 06:05:36'),(6,2,'Hospital','2026-04-23 06:05:36','2026-04-23 06:05:36'),(7,2,'Hrm','2026-04-23 06:05:36','2026-04-23 06:05:36'),(8,2,'Account','2026-04-23 06:05:36','2026-04-23 06:05:36'),(9,2,'Pos','2026-04-23 06:05:36','2026-04-23 06:05:36'),(10,2,'ProductService','2026-04-23 06:05:36','2026-04-23 06:05:36'),(11,2,'Lead','2026-04-23 06:05:36','2026-04-23 06:05:36'),(12,2,'Taskly','2026-04-23 06:05:36','2026-04-23 06:05:36'),(13,2,'Payroll','2026-04-23 06:05:36','2026-04-23 06:05:36'),(14,2,'DoubleEntry','2026-04-23 06:05:36','2026-04-23 06:05:36'),(15,2,'CustomField','2026-04-23 06:05:36','2026-04-23 06:05:36'),(16,2,'Documents','2026-04-23 06:05:36','2026-04-23 06:05:36'),(17,2,'LandingPage','2026-04-23 06:05:36','2026-04-23 06:05:36'),(18,2,'Bookings','2026-04-23 06:05:36','2026-04-23 06:05:36'),(19,2,'CoilManufacturing','2026-04-23 06:05:36','2026-04-23 06:05:36'),(20,2,'Fleet','2026-04-23 06:05:36','2026-04-23 06:05:36'),(21,2,'AIHub','2026-04-23 06:05:36','2026-04-23 06:05:36'),(22,2,'AIAssistant','2026-04-23 06:05:36','2026-04-23 06:05:36'),(23,2,'AIDocument','2026-04-23 06:05:36','2026-04-23 06:05:36'),(24,2,'AIForecasting','2026-04-23 06:05:36','2026-04-23 06:05:36'),(25,2,'Paypal','2026-04-23 06:05:36','2026-04-23 06:05:36'),(26,2,'Stripe','2026-04-23 06:05:36','2026-04-23 06:05:36'),(27,2,'Warehouse','2026-05-01 08:27:48','2026-05-01 08:27:48'),(28,2,'AssetManagement','2026-05-02 01:56:37','2026-05-02 01:56:37');
|
||
/*!40000 ALTER TABLE `user_active_modules` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `user_coupons`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `user_coupons`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `user_coupons` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`coupon_id` bigint unsigned NOT NULL,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`order_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `user_coupons_user_id_foreign` (`user_id`),
|
||
KEY `user_coupons_coupon_id_user_id_index` (`coupon_id`,`user_id`),
|
||
CONSTRAINT `user_coupons_coupon_id_foreign` FOREIGN KEY (`coupon_id`) REFERENCES `coupons` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `user_coupons_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `user_coupons`
|
||
--
|
||
|
||
LOCK TABLES `user_coupons` WRITE;
|
||
/*!40000 ALTER TABLE `user_coupons` DISABLE KEYS */;
|
||
INSERT INTO `user_coupons` VALUES (1,3,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(2,3,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(3,2,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(4,2,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(5,1,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(6,3,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(7,1,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(8,3,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(9,3,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(10,3,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(11,1,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(12,3,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(13,3,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(14,3,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(15,1,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(16,2,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(17,1,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(18,2,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(19,2,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(20,1,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(21,3,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(22,3,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(23,1,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(24,2,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(25,1,2,NULL,'2026-05-01 13:57:26','2026-05-01 13:57:26');
|
||
/*!40000 ALTER TABLE `user_coupons` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `user_deals`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `user_deals`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `user_deals` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`deal_id` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `user_deals_user_id_deal_id_unique` (`user_id`,`deal_id`),
|
||
KEY `user_deals_user_id_index` (`user_id`),
|
||
KEY `user_deals_deal_id_index` (`deal_id`),
|
||
CONSTRAINT `user_deals_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `user_deals_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `user_deals`
|
||
--
|
||
|
||
LOCK TABLES `user_deals` WRITE;
|
||
/*!40000 ALTER TABLE `user_deals` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `user_deals` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `user_leads`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `user_leads`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `user_leads` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`lead_id` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `user_leads_user_id_lead_id_unique` (`user_id`,`lead_id`),
|
||
KEY `user_leads_user_id_index` (`user_id`),
|
||
KEY `user_leads_lead_id_index` (`lead_id`),
|
||
CONSTRAINT `user_leads_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `user_leads_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `user_leads`
|
||
--
|
||
|
||
LOCK TABLES `user_leads` WRITE;
|
||
/*!40000 ALTER TABLE `user_leads` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `user_leads` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `users`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `users`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `users` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`mobile_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`email_verified_at` timestamp NULL DEFAULT NULL,
|
||
`password` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`requires_password_change` tinyint(1) NOT NULL DEFAULT '0',
|
||
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'company',
|
||
`avatar` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'avatar.png',
|
||
`lang` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en',
|
||
`active_plan` int DEFAULT NULL,
|
||
`plan_expire_date` date DEFAULT NULL,
|
||
`trial_expire_date` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_trial_done` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||
`total_user` int NOT NULL DEFAULT '0',
|
||
`storage_limit` float NOT NULL DEFAULT '0',
|
||
`is_disable` int NOT NULL DEFAULT '0',
|
||
`default_pipeline` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_enable_login` int NOT NULL DEFAULT '1',
|
||
`active_status` tinyint(1) NOT NULL DEFAULT '0',
|
||
`last_seen_at` timestamp NULL DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `users_slug_unique` (`slug`),
|
||
KEY `users_creator_id_index` (`creator_id`),
|
||
KEY `users_created_by_index` (`created_by`),
|
||
CONSTRAINT `users_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `users_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=109 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `users`
|
||
--
|
||
|
||
LOCK TABLES `users` WRITE;
|
||
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
|
||
INSERT INTO `users` VALUES (1,'Super Admin','super-admin','superadmin@example.com','+133344455566','2026-04-23 06:00:39','$2y$12$qVgMgct7wg4u8mBT0y/nx.QMJw9UOdHsFC2GjNQw522i1Dg8/kYS6',0,NULL,'superadmin','avatar.png','en',NULL,NULL,NULL,'0',-1,0,0,NULL,1,1,NULL,NULL,NULL,'2026-04-23 06:00:39','2026-04-23 06:01:05'),(2,'Company','company','company@example.com','+122233344455','2026-04-23 06:00:39','$2y$12$qpFAmcamD1CoEms/OR/S9.wuP5X9EiuDrowfhxMAhQjVhOgrHNMbi',0,NULL,'company','avatar.png','en',1,'2099-12-31',NULL,'0',-1,0,0,NULL,1,1,NULL,1,1,'2026-04-23 06:00:40','2026-04-23 06:00:55'),(44,'Frances Roberts','frances-roberts','cronin.christa@example.org',NULL,NULL,'$2y$12$.1Fu/881DJH53yd0rQ8l1uYdKr7uZKqnmATYJw4egHhfe7uY5/NKC',0,NULL,'vendor','avatar.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,NULL,2,'2026-05-01 13:25:24','2026-05-01 13:25:24'),(45,'Libbie Raynor','libbie-raynor','hettinger.reynold@example.net',NULL,NULL,'$2y$12$xtD8hixCifZLyQHAw7Z2Wu1vIXAOj7wW7MRrzQgN4YoLaQdLykzve',0,NULL,'vendor','avatar.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,NULL,2,'2026-05-01 13:25:24','2026-05-01 13:25:24'),(46,'Prof. Christiana Cummings DDS','prof-christiana-cummings-dds','trisha.bechtelar@example.org',NULL,NULL,'$2y$12$6yo..Y9eREzLhEXMX61WVu0fvdDXKUSRdhEav4cJDF9q8HnkRiahW',0,NULL,'vendor','avatar.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,NULL,2,'2026-05-01 13:25:24','2026-05-01 13:25:24'),(47,'Prof. Franco Streich','prof-franco-streich','wunsch.adelle@example.net',NULL,NULL,'$2y$12$Am0X4wBTH8TlbPUK.SzsIe/EyD.sCEMD29JxC5lR38GeDgGlPddLy',0,NULL,'vendor','avatar.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,NULL,2,'2026-05-01 13:25:25','2026-05-01 13:25:25'),(48,'Norene Hessel','norene-hessel','crona.noemy@example.com',NULL,NULL,'$2y$12$QKPKAnoUKnE/nPtzuHYsxeQBSxDLNUsLJUYilCX7zuUfocROCYuja',0,NULL,'vendor','avatar.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,NULL,2,'2026-05-01 13:25:25','2026-05-01 13:25:25'),(49,'Mrs. Mina Brown','mrs-mina-brown','tatum80@example.net',NULL,NULL,'$2y$12$.TBEO1.rHbpRUNOSUo5Pb.P6oFUiI8JXuldnDDC9x6HlC1OED.B6O',0,NULL,'client','avatar.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,NULL,2,'2026-05-01 13:25:25','2026-05-01 13:25:25'),(50,'Davonte Gibson','davonte-gibson','otowne@example.com',NULL,NULL,'$2y$12$GOqwH7Cs9XNHUBauKgqtoOEk86VMn.ZdM8wDXByDMktr5XrzAph6O',0,NULL,'client','avatar.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,NULL,2,'2026-05-01 13:25:25','2026-05-01 13:25:25'),(51,'Miss Gretchen Harvey I','miss-gretchen-harvey-i','okuneva.heber@example.org',NULL,NULL,'$2y$12$Ral5ygGRsjtbSY50AnP4oOmvYRmmtKClw0LseFRWetSgyvVlQPCta',0,NULL,'client','avatar.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,NULL,2,'2026-05-01 13:25:25','2026-05-01 13:25:25'),(52,'Aurelia Gleichner','aurelia-gleichner','tad99@example.net',NULL,NULL,'$2y$12$2q5KNLFTNGOqwc6ad8iPROzNtvULPeX66SyRYuegYjIAhH1O1cleG',0,NULL,'client','avatar.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(53,'Mrs. Margarette Haag','mrs-margarette-haag','lessie51@example.org',NULL,NULL,'$2y$12$0vEwm7q4LZqkGIZr/Fb8T.I.gCvO2m0o5uySGBnsxpnOWQ4a6nO62',0,NULL,'client','avatar.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(54,'Tech Solutions Inc','tech-solutions-inc','admin@techsolutions.com','+9100807710943','2026-05-01 13:57:26','$2y$12$ywnBv1ZAdMyymj7qj.8p..KGtiQmWh9IYySY918JJiCqn1h7B/EXq',0,NULL,'company','company-image2.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(55,'Global Marketing Corp','global-marketing-corp','contact@globalmarketing.com','+252030015386','2026-05-01 13:57:26','$2y$12$PgwOOo6jMvMx3Kp3Q3jAIu3tKTVEqCkpPAa5gAhZhPYVaPLlLrdKW',0,NULL,'company','company-image3.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,1,1,'2026-05-01 13:57:26','2026-05-01 13:57:26'),(56,'Digital Innovations LLC','digital-innovations-llc','info@digitalinnovations.com','+3117800724562','2026-05-01 13:57:27','$2y$12$lwVa.bibtITmLuz0rm9/M.7zdRh136IeYKSTu8WYrYABYf7FS2DSK',0,NULL,'company','company-image4.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,1,1,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(57,'Creative Design Studio','creative-design-studio','hello@creativedesign.com','+7991641301955','2026-05-01 13:57:27','$2y$12$UjjHDfPEH/0KxMToiaZU4OqH42MKV.K93rouxy1pmhzW/OyoZ.ZFy',0,NULL,'company','company-image5.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,1,1,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(58,'Business Consulting Group','business-consulting-group','support@businessconsulting.com','+9953034211781','2026-05-01 13:57:27','$2y$12$HkCrdF1l6SJ8rgoYOT8GReH/cS5BLDjpAPdrEI3Z8wOfzwI9vbt.2',0,NULL,'company','company-image6.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,1,1,'2026-05-01 13:57:27','2026-05-01 13:57:27'),(59,'John Smith','john-smith','john.smith@company.com','+9378315308761','2026-05-01 13:57:27','$2y$12$/flkTtzTyP4FeuhdoTzA1.TlGtFXP0ftDPeiMZNauD4UFgL/CkHi.',0,NULL,'staff','boys1.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:28','2026-05-01 13:57:28'),(60,'Sarah Johnson','sarah-johnson','sarah.johnson@client.com','+2335389107092','2026-05-01 13:57:28','$2y$12$AkDGISWTSAJ2wxe0SyZDQ.XjkeejQIb4iSfRaVqBVcUCLoSipvCu.',0,NULL,'client','girls1.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:28','2026-05-01 13:57:28'),(61,'Michael Brown','michael-brown','michael.brown@company.com','+9877477229821','2026-05-01 13:57:28','$2y$12$qgQX5ePAoc/ApPXAajv/ouaGz88z6o7yCsckPBgrYPH/n4wpgssuS',0,NULL,'staff','boys2.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:28','2026-05-01 13:57:28'),(62,'Emily Davis','emily-davis','emily.davis@client.com','+6324006195580','2026-05-01 13:57:28','$2y$12$LlGe3pmXozHe1eh739Je6OvGV/wDtyf7gND/kfCMTAfEm1AErAyW.',0,NULL,'client','girls2.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:28','2026-05-01 13:57:28'),(63,'David Wilson','david-wilson','david.wilson@company.com','+5108519537157','2026-05-01 13:57:28','$2y$12$kh135CYCIrG1rty4pGuloO53ea6Z8G4Q2H8k6JU./3iSrkrPeN5t.',0,NULL,'staff','boys3.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:28','2026-05-01 13:57:28'),(64,'Lisa Anderson','lisa-anderson','lisa.anderson@client.com','+6798398439874','2026-05-01 13:57:28','$2y$12$zGpjk0uE59h07UVSC4TQwuzLD/s5AnHKrmzDToOU0h5Y2EwIZRaOe',0,NULL,'client','girls3.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:29','2026-05-01 13:57:29'),(65,'Robert Taylor','robert-taylor','robert.taylor@company.com','+7380131607270','2026-05-01 13:57:29','$2y$12$2xonpI/ph13objGBySFOBuZfvNzp6EWEhqeEjr/xxhQFFeOKBW0Ci',0,NULL,'staff','boys4.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:29','2026-05-01 13:57:29'),(66,'Jennifer Martinez','jennifer-martinez','jennifer.martinez@client.com','+4257188878648','2026-05-01 13:57:29','$2y$12$QEK2CCIZmQj5ONiLQZqhDualcoQRdJxC4te4xZujsCTMwVQ5lju6u',0,NULL,'client','girls4.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:29','2026-05-01 13:57:29'),(67,'James Garcia','james-garcia','james.garcia@company.com','+5663324360360','2026-05-01 13:57:29','$2y$12$SxHvofEDgzWLKU8vHLSKH.Yz8JEUkVn2gVqGn9nc1gXn1XXh1xBo2',0,NULL,'staff','boys5.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:29','2026-05-01 13:57:29'),(68,'Maria Rodriguez','maria-rodriguez','maria.rodriguez@client.com','+2195416101351','2026-05-01 13:57:29','$2y$12$Pct/ZFpcdP9KU86Fg2pLweG9Lcxe8lBOdkya/FU5FKmLbOX0FD0fu',0,NULL,'client','girls5.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:30','2026-05-01 13:57:30'),(69,'Christopher Lee','christopher-lee','christopher.lee@company.com','+543113832261','2026-05-01 13:57:30','$2y$12$GUZ3lalkwYfSj1a9Rpoq4OfT7aTmlhf9xLvhGk3uirk6xl3f4hrUC',0,NULL,'staff','boys6.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:30','2026-05-01 13:57:30'),(70,'Amanda White','amanda-white','amanda.white@client.com','+7497292482630','2026-05-01 13:57:30','$2y$12$r5U2g8q9qlGMPlLar2mV9euCDXf6vQDLEQOzWL1lYj.YtjUWFJ1zy',0,NULL,'client','girls6.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:30','2026-05-01 13:57:30'),(71,'Daniel Thompson','daniel-thompson','daniel.thompson@company.com','+1348630948900','2026-05-01 13:57:30','$2y$12$faNguK966FKwybDmq.mb/u3geAf4wL2VHdZHuT3TfF7DfKabm12vm',0,NULL,'staff','boys7.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:30','2026-05-01 13:57:30'),(72,'Jessica Harris','jessica-harris','jessica.harris@client.com','+1386272324064','2026-05-01 13:57:30','$2y$12$8bgnMarkngQ4ejk6ae4.0.LiD/uttbJSptFoAjyy0UmZhXekTNtpG',0,NULL,'client','girls7.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:31','2026-05-01 13:57:31'),(73,'Matthew Clark','matthew-clark','matthew.clark@company.com','+9945141339232','2026-05-01 13:57:31','$2y$12$2u6cG8X1F.HAsTr2yBAA3eRAaJE0lt/zhpETETa0T9O99rP.bEHFG',0,NULL,'staff','boys8.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:31','2026-05-01 13:57:31'),(74,'Ashley Lewis','ashley-lewis','ashley.lewis@client.com','+481168760333','2026-05-01 13:57:31','$2y$12$aKTFqElHghwrRArvpYjNbO722RUFFPljk26N717/07PkmwFMeHY5u',0,NULL,'client','girls8.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:31','2026-05-01 13:57:31'),(75,'Anthony Walker','anthony-walker','anthony.walker@company.com','+6765094310647','2026-05-01 13:57:31','$2y$12$YbsYMx171F66M3BxB2GsguV27A10.BU04WV34IoXEmiGEHzu5Jg1C',0,NULL,'staff','boys9.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:31','2026-05-01 13:57:31'),(76,'Michelle Hall','michelle-hall','michelle.hall@client.com','+3484530172285','2026-05-01 13:57:31','$2y$12$D67PRMzNHioNdI5Lw.3xZ.aJaJf76IlkZ3m7XoQv84btSQbl/bYei',0,NULL,'client','girls9.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:32','2026-05-01 13:57:32'),(77,'Mark Allen','mark-allen','mark.allen@company.com','+9365972638071','2026-05-01 13:57:32','$2y$12$DxzsMdiPCT0GgQ4lxbsT/u/3.nEztk.62HSdwTCzPDkA7SYmmWyCy',0,NULL,'staff','boys10.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:32','2026-05-01 13:57:32'),(78,'Nicole Young','nicole-young','nicole.young@client.com','+5002862127622','2026-05-01 13:57:32','$2y$12$TdJZZrR4OrOPybedEJr6Je1jCEYtS0IiL0UoaFZINBHiC0TnELqGW',0,NULL,'client','girls10.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:32','2026-05-01 13:57:32'),(79,'Alex Vendor','alex-vendor','alex.vendor@supplier.com','+6181564687674','2026-05-01 13:57:32','$2y$12$e3pjlcUEAp2K/HNYxoZrO.hnCWmySBLiHeoSl1e9/GfrdTGYG4BP.',0,NULL,'vendor','boys11.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:32','2026-05-01 13:57:32'),(80,'Sam Supplier','sam-supplier','sam.supplier@vendor.com','+2842594496385','2026-05-01 13:57:32','$2y$12$O19hKv55fzK6msfarNfreuXWIPXr3ryoo3B5h1VSX3u/lXch8DO9u',0,NULL,'vendor','boys12.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:33','2026-05-01 13:57:33'),(81,'Tech Solutions Inc','tech-solutions-inc-1','contact@techsolutions.com','+2040473353821','2026-05-01 13:57:33','$2y$12$ZRV4v/alwRi89D.0k1iq5ONjzicyaivt2r4zBoMvr5.kg1PakHfR6',0,NULL,'vendor','boys13.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:33','2026-05-01 13:57:33'),(82,'Global Supplies Co','global-supplies-co','info@globalsupplies.com','+9447522778423','2026-05-01 13:57:33','$2y$12$mM5AqCVNmZ5A0/xHtunguOlNVMiDSBYifOathEdXAOQYShrJfWAG2',0,NULL,'vendor','boys14.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:33','2026-05-01 13:57:33'),(83,'Prime Materials Ltd','prime-materials-ltd','sales@primematerials.com','+3851841638989','2026-05-01 13:57:33','$2y$12$yrayunQB4MeEEJNkuqshhOD35OD7zoLWiN8gtbyrdEUUeTdmxWN7m',0,NULL,'vendor','boys15.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:33','2026-05-01 13:57:33'),(84,'Elite Vendors Group','elite-vendors-group','orders@elitevendors.com','+304514595280','2026-05-01 13:57:33','$2y$12$EK7ThIGzBDaLP4wue5r8JuC4wZdYr2jSamA.D6r8L5xG3JT0KCyra',0,NULL,'vendor','boys16.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:33','2026-05-01 13:57:33'),(85,'Quality Parts Corp','quality-parts-corp','support@qualityparts.com','+7055174279709','2026-05-01 13:57:33','$2y$12$RSjQWJyJrYUK1b86RipvBOt9LKyZMDI1ojvoPz/OcdmZ8N96vxxu2',0,NULL,'vendor','boys17.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:34','2026-05-01 13:57:34'),(86,'Swift Logistics','swift-logistics','dispatch@swiftlogistics.com','+9866301129321','2026-05-01 13:57:34','$2y$12$YhbqR0WqAdh41w2xmZ6BT.f8upkgDYR0zuNXxupGyOsoTlhl6ryEO',0,NULL,'vendor','boys18.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:34','2026-05-01 13:57:34'),(87,'Mega Distributors','mega-distributors','wholesale@megadist.com','+6899761537094','2026-05-01 13:57:34','$2y$12$hXUd8NA4d3XZHoQusyrmJenZSqkga/vOk/2As8K.Rgwswc8Sja3Qy',0,NULL,'vendor','boys19.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:34','2026-05-01 13:57:34'),(88,'Pro Equipment Ltd','pro-equipment-ltd','rentals@proequipment.com','+3119270858935','2026-05-01 13:57:34','$2y$12$RfirkvceI5zXsDAyP58rXeE1ehwJBDW/UqGIu.UqzZoCwWTYs7Gby',0,NULL,'vendor','boys20.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:34','2026-05-01 13:57:34'),(89,'Smart Systems Inc','smart-systems-inc','tech@smartsystems.com','+3447771008685','2026-05-01 13:57:34','$2y$12$/bzEaxBEaACunXkoUeJ4FOQmqogmVTqFmkLpArx4O9No1M2vHVZJa',0,NULL,'vendor','boys21.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:34','2026-05-01 13:57:34'),(90,'Reliable Resources','reliable-resources','procurement@reliable.com','+9269881868937','2026-05-01 13:57:34','$2y$12$MndbhibrIs.3pou3SESIEuPksHHQ87ROCW/0rw7Os5inOwBQPHhXO',0,NULL,'vendor','boys22.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:35','2026-05-01 13:57:35'),(91,'Advanced Materials','advanced-materials','orders@advancedmat.com','+4192630559683','2026-05-01 13:57:35','$2y$12$12XeszPVVAlzzUimiDYh2eoXsiFPv0yjDJy3FamxRIIBZJlWwI7jO',0,NULL,'vendor','boys23.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:35','2026-05-01 13:57:35'),(92,'Express Suppliers','express-suppliers','express@suppliers.com','+6219772633293','2026-05-01 13:57:35','$2y$12$k6cDB.pwQSOk7Y2bvvel8eY6PHJelfI8qq7M8753cPVIhdh3rgiQS',0,NULL,'vendor','boys24.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:35','2026-05-01 13:57:35'),(93,'Industrial Partners','industrial-partners','partners@industrial.com','+3931488353366','2026-05-01 13:57:35','$2y$12$GKCHeGJhr6MMNy1JRltMW.QHtcf0HhB8UTAXryBwK40h4dK3j.3ca',0,NULL,'vendor','boys25.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:35','2026-05-01 13:57:35'),(94,'ABC Corporation','abc-corporation','contact@abccorp.com','+8500862681456','2026-05-01 13:57:35','$2y$12$f2DMsjZYCkDK/oKFZt0ZVea653gvLoexB/TA/1qpejI0Ud2MMFILq',0,NULL,'client','girls11.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:36','2026-05-01 13:57:36'),(95,'XYZ Industries','xyz-industries','info@xyzind.com','+7673400356131','2026-05-01 13:57:36','$2y$12$X3QuPUKx7QPMXG/p5zZ87ul1drP9y.V3bXvG0HBqnjFEdLPHGqKX6',0,NULL,'client','girls12.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:36','2026-05-01 13:57:36'),(96,'Global Solutions Ltd','global-solutions-ltd','sales@globalsol.com','+2574078219057','2026-05-01 13:57:36','$2y$12$EXRfe09biaZKAjL2ty4h.eVnhkIPFFvEsKbCVA3x7nyAgTn0G1ATm',0,NULL,'client','girls13.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:36','2026-05-01 13:57:36'),(97,'Tech Innovations Inc','tech-innovations-inc','hello@techinno.com','+5808915223723','2026-05-01 13:57:36','$2y$12$0VEUnwCdbZFRIWIbl8tVc.zLb9aOmKBL/ScLMlZkYNDKE/PCxfVd6',0,NULL,'client','girls14.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:36','2026-05-01 13:57:36'),(98,'Prime Services Co','prime-services-co','support@primeserv.com','+7268007192944','2026-05-01 13:57:36','$2y$12$ZtYgsSAHSpNGOAeT.mIaIuKLn6vjKn7uAfDKBdNNQRTCiNfi1VeW.',0,NULL,'client','girls15.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:36','2026-05-01 13:57:36'),(99,'Elite Enterprises','elite-enterprises','admin@eliteent.com','+9771919738807','2026-05-01 13:57:36','$2y$12$udoZqM1u6AJrGqkbQ6RGxO7nMvqktAcClCwQEww6tZTwhkX0C6luK',0,NULL,'client','girls16.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:37','2026-05-01 13:57:37'),(100,'Smart Systems Corp','smart-systems-corp','contact@smartsys.com','+4211823689380','2026-05-01 13:57:37','$2y$12$pPhX5U3BrEhHPtAxV8rLq.w9T/BOO8uBRHh103RcVwAKWJPKqSO4e',0,NULL,'client','girls17.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:37','2026-05-01 13:57:37'),(101,'Dynamic Solutions','dynamic-solutions','info@dynsol.com','+6720951690159','2026-05-01 13:57:37','$2y$12$x/OMweicKZUt2qwpeMzCQeVJeIONFxLn/cM7PCj3S0EO70lAbOcUy',0,NULL,'client','girls18.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:37','2026-05-01 13:57:37'),(102,'Future Tech Ltd','future-tech-ltd','hello@futuretech.com','+3644170068761','2026-05-01 13:57:37','$2y$12$z.SerFcTWUjziaOe.zanx.inryOaVzvl1Zs/TUfxhfQ/hNbs4p7Um',0,NULL,'client','girls19.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:37','2026-05-01 13:57:37'),(103,'Innovative Corp','innovative-corp','contact@innovcorp.com','+4809660000691','2026-05-01 13:57:37','$2y$12$5Vao.8SXux5AdeTkDhOj9O3V0FFdid2SFyGQOIbNuj3boGEc9I1n.',0,NULL,'client','girls20.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:38','2026-05-01 13:57:38'),(104,'Advanced Systems','advanced-systems','support@advsys.com','+5090575064484','2026-05-01 13:57:38','$2y$12$Rnp3QeX5I4AUz993q0YR7uYNq2mFUtzzFVmVvkxr2Qw0snUcZPisG',0,NULL,'client','girls21.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:38','2026-05-01 13:57:38'),(105,'Professional Services','professional-services','info@proserv.com','+2444851670031','2026-05-01 13:57:38','$2y$12$Wvr2cjtfMIA.ZcxxpUO2ae6L9zB/hNl549IRhXpmudapYf..bqvr.',0,NULL,'client','girls22.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:38','2026-05-01 13:57:38'),(106,'Quality Solutions Inc','quality-solutions-inc','sales@qualsol.com','+9483134212777','2026-05-01 13:57:38','$2y$12$CVZorXHdNjtRvxtqJqmT3.reUDwtyEaXKxYMjcK6P2XE6RirzbRyW',0,NULL,'client','girls23.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:38','2026-05-01 13:57:38'),(107,'Reliable Partners','reliable-partners','contact@relpart.com','+1265909550660','2026-05-01 13:57:38','$2y$12$BbvLNeH5.auffjJT80S6..zRSPqplhf93pErCkMWYXhMwVVMrz3vW',0,NULL,'client','girls24.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39'),(108,'Strategic Consulting','strategic-consulting','hello@stratcon.com','+9632183137954','2026-05-01 13:57:39','$2y$12$PYjmub5JeTMP5edVsjCjqeb7h5rTgmk2fZqKKqEwDmCBIgXi0GeiC',0,NULL,'client','girls25.png','en',NULL,NULL,NULL,'0',0,0,0,NULL,1,0,NULL,2,2,'2026-05-01 13:57:39','2026-05-01 13:57:39');
|
||
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `utilization_alerts`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `utilization_alerts`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `utilization_alerts` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`rule_id` bigint unsigned NOT NULL,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`message` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`period` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`value` decimal(8,2) DEFAULT NULL,
|
||
`is_read` tinyint(1) NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `utilization_alerts_rule_id_foreign` (`rule_id`),
|
||
KEY `utilization_alerts_user_id_is_read_index` (`user_id`,`is_read`),
|
||
CONSTRAINT `utilization_alerts_rule_id_foreign` FOREIGN KEY (`rule_id`) REFERENCES `utilization_rules` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `utilization_alerts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `utilization_alerts`
|
||
--
|
||
|
||
LOCK TABLES `utilization_alerts` WRITE;
|
||
/*!40000 ALTER TABLE `utilization_alerts` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `utilization_alerts` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `utilization_forecasts`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `utilization_forecasts`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `utilization_forecasts` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned NOT NULL,
|
||
`period` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`avg_utilization_3m` decimal(5,1) NOT NULL DEFAULT '0.0',
|
||
`scheduled_hours` decimal(8,2) NOT NULL DEFAULT '0.00',
|
||
`forecasted_pct` decimal(5,1) NOT NULL DEFAULT '0.0',
|
||
`ai_insight` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `utilization_forecasts_user_id_period_unique` (`user_id`,`period`),
|
||
CONSTRAINT `utilization_forecasts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `utilization_forecasts`
|
||
--
|
||
|
||
LOCK TABLES `utilization_forecasts` WRITE;
|
||
/*!40000 ALTER TABLE `utilization_forecasts` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `utilization_forecasts` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `utilization_rules`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `utilization_rules`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `utilization_rules` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`metric` enum('utilization_pct','billable_pct','total_hours') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'utilization_pct',
|
||
`operator` enum('<','>','<=','>=','=') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '<',
|
||
`threshold` decimal(8,2) NOT NULL,
|
||
`action` enum('flag','email','dashboard_alert') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'dashboard_alert',
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `utilization_rules_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `utilization_rules_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `utilization_rules`
|
||
--
|
||
|
||
LOCK TABLES `utilization_rules` WRITE;
|
||
/*!40000 ALTER TABLE `utilization_rules` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `utilization_rules` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `utilization_targets`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `utilization_targets`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `utilization_targets` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned DEFAULT NULL,
|
||
`department_id` bigint unsigned DEFAULT NULL,
|
||
`target_percentage` decimal(5,2) NOT NULL DEFAULT '75.00',
|
||
`period_start` date NOT NULL,
|
||
`period_end` date NOT NULL,
|
||
`created_by` bigint unsigned NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `utilization_targets_user_id_foreign` (`user_id`),
|
||
KEY `utilization_targets_department_id_foreign` (`department_id`),
|
||
KEY `utilization_targets_created_by_foreign` (`created_by`),
|
||
CONSTRAINT `utilization_targets_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `utilization_targets_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `utilization_targets_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `utilization_targets`
|
||
--
|
||
|
||
LOCK TABLES `utilization_targets` WRITE;
|
||
/*!40000 ALTER TABLE `utilization_targets` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `utilization_targets` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `vehicle_invoice`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `vehicle_invoice`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `vehicle_invoice` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`invoice_id` int DEFAULT NULL,
|
||
`product_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`item` int DEFAULT NULL,
|
||
`start_location` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`end_location` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`trip_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`rate` int DEFAULT NULL,
|
||
`start_date` date DEFAULT NULL,
|
||
`end_date` date DEFAULT NULL,
|
||
`description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`distance` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `vehicle_invoice`
|
||
--
|
||
|
||
LOCK TABLES `vehicle_invoice` WRITE;
|
||
/*!40000 ALTER TABLE `vehicle_invoice` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `vehicle_invoice` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `vehicle_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `vehicle_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `vehicle_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `vehicle_types`
|
||
--
|
||
|
||
LOCK TABLES `vehicle_types` WRITE;
|
||
/*!40000 ALTER TABLE `vehicle_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `vehicle_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `vehicles`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `vehicles`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `vehicles` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`department_id` int NOT NULL,
|
||
`vehicle_type` int NOT NULL,
|
||
`fuel_type` int NOT NULL,
|
||
`registration_date` date NOT NULL,
|
||
`register_ex_date` date DEFAULT NULL,
|
||
`lincense_plate` int NOT NULL,
|
||
`vehical_id_num` int NOT NULL,
|
||
`model_year` year NOT NULL,
|
||
`driver_name` int NOT NULL,
|
||
`seat_capacity` int NOT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`rate` int NOT NULL DEFAULT '0',
|
||
`workspace` int DEFAULT NULL,
|
||
`created_by` int NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `vehicles`
|
||
--
|
||
|
||
LOCK TABLES `vehicles` WRITE;
|
||
/*!40000 ALTER TABLE `vehicles` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `vehicles` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `vendor_payment_allocations`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `vendor_payment_allocations`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `vendor_payment_allocations` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`payment_id` bigint unsigned NOT NULL,
|
||
`invoice_id` bigint unsigned NOT NULL,
|
||
`allocated_amount` decimal(15,2) NOT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `vendor_payment_allocations_payment_id_foreign` (`payment_id`),
|
||
KEY `vendor_payment_allocations_invoice_id_foreign` (`invoice_id`),
|
||
CONSTRAINT `vendor_payment_allocations_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `purchase_invoices` (`id`),
|
||
CONSTRAINT `vendor_payment_allocations_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `vendor_payments` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `vendor_payment_allocations`
|
||
--
|
||
|
||
LOCK TABLES `vendor_payment_allocations` WRITE;
|
||
/*!40000 ALTER TABLE `vendor_payment_allocations` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `vendor_payment_allocations` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `vendor_payments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `vendor_payments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `vendor_payments` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`payment_number` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`payment_date` date NOT NULL,
|
||
`vendor_id` bigint unsigned NOT NULL,
|
||
`bank_account_id` bigint unsigned NOT NULL,
|
||
`reference_number` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`payment_amount` decimal(15,2) NOT NULL,
|
||
`status` enum('pending','cleared','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `vendor_payments_vendor_id_foreign` (`vendor_id`),
|
||
KEY `vendor_payments_bank_account_id_foreign` (`bank_account_id`),
|
||
KEY `vendor_payments_creator_id_index` (`creator_id`),
|
||
KEY `vendor_payments_created_by_index` (`created_by`),
|
||
CONSTRAINT `vendor_payments_bank_account_id_foreign` FOREIGN KEY (`bank_account_id`) REFERENCES `bank_accounts` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `vendor_payments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `vendor_payments_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `vendor_payments_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `vendor_payments`
|
||
--
|
||
|
||
LOCK TABLES `vendor_payments` WRITE;
|
||
/*!40000 ALTER TABLE `vendor_payments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `vendor_payments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `vendors`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `vendors`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `vendors` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`user_id` bigint unsigned DEFAULT NULL,
|
||
`vendor_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`company_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`contact_person_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`contact_person_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`contact_person_mobile` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`tax_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`payment_terms` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`billing_address` json DEFAULT NULL,
|
||
`shipping_address` json DEFAULT NULL,
|
||
`same_as_billing` tinyint(1) NOT NULL DEFAULT '0',
|
||
`notes` text COLLATE utf8mb4_unicode_ci,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `vendors_user_id_index` (`user_id`),
|
||
KEY `vendors_creator_id_index` (`creator_id`),
|
||
KEY `vendors_created_by_index` (`created_by`),
|
||
CONSTRAINT `vendors_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `vendors_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `vendors_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `vendors`
|
||
--
|
||
|
||
LOCK TABLES `vendors` WRITE;
|
||
/*!40000 ALTER TABLE `vendors` DISABLE KEYS */;
|
||
INSERT INTO `vendors` VALUES (1,44,'V-G2OUN','Bernhard-Bednar Pharmacy','Frances Roberts','cronin.christa@example.org',NULL,NULL,NULL,'{\"city\": \"Marawi\", \"name\": \"Frances Roberts\", \"state\": \"MI\", \"country\": \"Philippines\", \"zip_code\": \"2802\", \"address_line_1\": \"77/31 Nader Square\"}','{\"city\": \"Balanga\", \"name\": \"Frances Roberts\", \"state\": \"ME\", \"country\": \"Philippines\", \"zip_code\": \"0448\", \"address_line_1\": \"62A/84 Stark Turnpike Suite 840\"}',1,NULL,2,2,'2026-05-01 13:25:24','2026-05-01 13:25:24'),(2,45,'V-PSPYN','Hirthe PLC Pharmacy','Libbie Raynor','hettinger.reynold@example.net',NULL,NULL,NULL,'{\"city\": \"Malabon\", \"name\": \"Libbie Raynor\", \"state\": \"IN\", \"country\": \"Philippines\", \"zip_code\": \"8979\", \"address_line_1\": \"16A Okuneva Meadows Apt. 345\"}','{\"city\": \"Silay\", \"name\": \"Libbie Raynor\", \"state\": \"WY\", \"country\": \"Philippines\", \"zip_code\": \"6949\", \"address_line_1\": \"58A/39 Predovic Spurs Suite 668\"}',1,NULL,2,2,'2026-05-01 13:25:24','2026-05-01 13:25:24'),(3,46,'V-P0C5P','Friesen-Lesch Pharmacy','Prof. Christiana Cummings DDS','trisha.bechtelar@example.org',NULL,NULL,NULL,'{\"city\": \"Pasig\", \"name\": \"Prof. Christiana Cummings DDS\", \"state\": \"FL\", \"country\": \"Philippines\", \"zip_code\": \"2395\", \"address_line_1\": \"58A/33 Orn Lane\"}','{\"city\": \"Iloilo City\", \"name\": \"Prof. Christiana Cummings DDS\", \"state\": \"TN\", \"country\": \"Philippines\", \"zip_code\": \"5443\", \"address_line_1\": \"49A Brown Throughway Apt. 667\"}',1,NULL,2,2,'2026-05-01 13:25:24','2026-05-01 13:25:24'),(4,47,'V-Z4KKW','Marks LLC Pharmacy','Prof. Franco Streich','wunsch.adelle@example.net',NULL,NULL,NULL,'{\"city\": \"Antipolo\", \"name\": \"Prof. Franco Streich\", \"state\": \"AR\", \"country\": \"Philippines\", \"zip_code\": \"9819\", \"address_line_1\": \"86/25 Feil Village Apt. 015\"}','{\"city\": \"Dipolog\", \"name\": \"Prof. Franco Streich\", \"state\": \"MI\", \"country\": \"Philippines\", \"zip_code\": \"3945\", \"address_line_1\": \"80/80 Zieme Vista Suite 258\"}',1,NULL,2,2,'2026-05-01 13:25:25','2026-05-01 13:25:25'),(5,48,'V-BVQDH','Mertz, Koch and Runolfsson Pharmacy','Norene Hessel','crona.noemy@example.com',NULL,NULL,NULL,'{\"city\": \"Catbalogan\", \"name\": \"Norene Hessel\", \"state\": \"KY\", \"country\": \"Philippines\", \"zip_code\": \"3649\", \"address_line_1\": \"91/46 Beatty Freeway Suite 100\"}','{\"city\": \"Carcar\", \"name\": \"Norene Hessel\", \"state\": \"NM\", \"country\": \"Philippines\", \"zip_code\": \"2498\", \"address_line_1\": \"80 Bernier Stream\"}',1,NULL,2,2,'2026-05-01 13:25:25','2026-05-01 13:25:25');
|
||
/*!40000 ALTER TABLE `vendors` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `warehouse_receipt_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `warehouse_receipt_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `warehouse_receipt_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`receipt_id` bigint unsigned NOT NULL,
|
||
`product_id` bigint unsigned NOT NULL,
|
||
`quantity_received` int NOT NULL,
|
||
`batch_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`expiry_date` date DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `warehouse_receipt_items_receipt_id_foreign` (`receipt_id`),
|
||
CONSTRAINT `warehouse_receipt_items_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `warehouse_receipts` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `warehouse_receipt_items`
|
||
--
|
||
|
||
LOCK TABLES `warehouse_receipt_items` WRITE;
|
||
/*!40000 ALTER TABLE `warehouse_receipt_items` DISABLE KEYS */;
|
||
INSERT INTO `warehouse_receipt_items` VALUES (1,1,10,50,NULL,NULL,'2026-05-01 13:29:23','2026-05-01 13:29:23');
|
||
/*!40000 ALTER TABLE `warehouse_receipt_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `warehouse_receipts`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `warehouse_receipts`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `warehouse_receipts` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`receipt_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`purchase_invoice_id` bigint unsigned NOT NULL,
|
||
`warehouse_id` bigint unsigned NOT NULL,
|
||
`received_date` date NOT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'received',
|
||
`created_by` int NOT NULL DEFAULT '0',
|
||
`workspace` int NOT NULL DEFAULT '0',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `warehouse_receipts`
|
||
--
|
||
|
||
LOCK TABLES `warehouse_receipts` WRITE;
|
||
/*!40000 ALTER TABLE `warehouse_receipts` DISABLE KEYS */;
|
||
INSERT INTO `warehouse_receipts` VALUES (1,'GRN-20260501-4732',51,1,'2026-05-01','received',2,2,'2026-05-01 13:29:23','2026-05-01 13:29:23');
|
||
/*!40000 ALTER TABLE `warehouse_receipts` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `warehouse_stock_movements`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `warehouse_stock_movements`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `warehouse_stock_movements` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`product_id` bigint unsigned DEFAULT NULL,
|
||
`warehouse_id` bigint unsigned DEFAULT NULL,
|
||
`quantity` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`reference_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`reference_id` bigint unsigned DEFAULT NULL,
|
||
`description` text COLLATE utf8mb4_unicode_ci,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`workspace_id` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `warehouse_stock_movements_reference_type_reference_id_index` (`reference_type`,`reference_id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=103 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `warehouse_stock_movements`
|
||
--
|
||
|
||
LOCK TABLES `warehouse_stock_movements` WRITE;
|
||
/*!40000 ALTER TABLE `warehouse_stock_movements` DISABLE KEYS */;
|
||
INSERT INTO `warehouse_stock_movements` VALUES (1,11,1,200.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',1,'Received Dead Stock',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(2,1,1,58.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',2,'Received from Purchase P-TEST-NP6SN-0',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(3,1,1,48.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',1,'Dispatched for Sale S-TEST-7NITR-0',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(4,9,1,40.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',3,'Received from Purchase P-TEST-EOWHL-1',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(5,7,1,4.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',2,'Dispatched for Sale S-TEST-EZ0CG-1',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(6,7,1,14.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',4,'Received from Purchase P-TEST-KSGOT-2',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(7,4,1,1.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',3,'Dispatched for Sale S-TEST-HRM1L-2',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(8,3,1,99.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',5,'Received from Purchase P-TEST-9TFYX-3',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(9,1,2,28.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',4,'Dispatched for Sale S-TEST-XDVP7-3',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(10,7,2,100.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',6,'Received from Purchase P-TEST-LVQCH-4',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(11,7,1,3.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',5,'Dispatched for Sale S-TEST-GH2OT-4',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(12,5,1,100.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',7,'Received from Purchase P-TEST-ELZRJ-5',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(13,1,1,20.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',6,'Dispatched for Sale S-TEST-LCA2P-5',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(14,6,2,11.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',8,'Received from Purchase P-TEST-ZMBM6-6',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(15,9,2,4.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',7,'Dispatched for Sale S-TEST-B3K6S-6',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(16,5,1,98.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',9,'Received from Purchase P-TEST-HQF4P-7',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(17,10,2,1.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',8,'Dispatched for Sale S-TEST-DHRZA-7',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(18,8,2,94.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',10,'Received from Purchase P-TEST-64118-8',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(19,2,2,1.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',9,'Dispatched for Sale S-TEST-WFALW-8',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(20,6,1,53.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',11,'Received from Purchase P-TEST-0VPI4-9',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(21,4,1,2.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',10,'Dispatched for Sale S-TEST-RC09H-9',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(22,6,1,75.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',12,'Received from Purchase P-TEST-IABVB-10',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(23,1,1,20.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',11,'Dispatched for Sale S-TEST-DNIII-10',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(24,5,1,73.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',13,'Received from Purchase P-TEST-GC3L6-11',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(25,5,2,5.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',12,'Dispatched for Sale S-TEST-ZF1K8-11',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(26,9,1,76.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',14,'Received from Purchase P-TEST-2QJPL-12',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(27,2,1,3.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',13,'Dispatched for Sale S-TEST-WTD7G-12',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(28,9,2,100.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',15,'Received from Purchase P-TEST-AYM59-13',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(29,2,2,3.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',14,'Dispatched for Sale S-TEST-UOISK-13',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(30,3,2,49.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',16,'Received from Purchase P-TEST-5H02Q-14',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(31,10,2,4.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',15,'Dispatched for Sale S-TEST-X11NN-14',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(32,5,2,36.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',17,'Received from Purchase P-TEST-5CVBY-15',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(33,1,2,29.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',16,'Dispatched for Sale S-TEST-FDBDS-15',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(34,5,2,87.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',18,'Received from Purchase P-TEST-YAKR1-16',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(35,7,1,3.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',17,'Dispatched for Sale S-TEST-SQXAH-16',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(36,10,1,37.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',19,'Received from Purchase P-TEST-3FOMU-17',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(37,8,2,4.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',18,'Dispatched for Sale S-TEST-VQ2YC-17',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(38,3,2,25.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',20,'Received from Purchase P-TEST-J0BOZ-18',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(39,7,2,4.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',19,'Dispatched for Sale S-TEST-N1A7U-18',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(40,3,1,34.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',21,'Received from Purchase P-TEST-KMAG6-19',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(41,4,2,3.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',20,'Dispatched for Sale S-TEST-MRSK2-19',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(42,5,1,40.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',22,'Received from Purchase P-TEST-7BICA-20',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(43,1,1,42.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',21,'Dispatched for Sale S-TEST-ZWTKG-20',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(44,8,1,66.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',23,'Received from Purchase P-TEST-ZLSP3-21',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(45,6,2,4.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',22,'Dispatched for Sale S-TEST-NTTVO-21',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(46,3,1,25.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',24,'Received from Purchase P-TEST-HOPHV-22',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(47,5,2,1.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',23,'Dispatched for Sale S-TEST-ST1BA-22',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(48,10,1,33.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',25,'Received from Purchase P-TEST-AQ0ZY-23',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(49,8,2,1.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',24,'Dispatched for Sale S-TEST-DFPUL-23',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(50,9,2,55.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',26,'Received from Purchase P-TEST-RI2FL-24',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(51,8,2,5.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',25,'Dispatched for Sale S-TEST-INWYP-24',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(52,7,1,19.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',27,'Received from Purchase P-TEST-EQPQH-25',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(53,1,1,44.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',26,'Dispatched for Sale S-TEST-OZRTL-25',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(54,7,2,28.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',28,'Received from Purchase P-TEST-BAK0V-26',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(55,6,1,2.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',27,'Dispatched for Sale S-TEST-VQNPZ-26',2,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(56,3,1,59.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',29,'Received from Purchase P-TEST-CXO5T-27',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(57,5,2,5.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',28,'Dispatched for Sale S-TEST-R52YU-27',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(58,6,2,71.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',30,'Received from Purchase P-TEST-KP03U-28',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(59,8,2,1.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',29,'Dispatched for Sale S-TEST-GMSFN-28',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(60,7,1,13.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',31,'Received from Purchase P-TEST-PKPRV-29',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(61,6,2,5.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',30,'Dispatched for Sale S-TEST-GKBOA-29',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(62,3,2,97.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',32,'Received from Purchase P-TEST-OHCK4-30',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(63,1,2,35.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',31,'Dispatched for Sale S-TEST-9X3W4-30',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(64,1,1,83.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',33,'Received from Purchase P-TEST-DIYVP-31',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(65,5,2,1.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',32,'Dispatched for Sale S-TEST-9HJC3-31',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(66,4,1,25.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',34,'Received from Purchase P-TEST-NHJ4K-32',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(67,1,2,29.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',33,'Dispatched for Sale S-TEST-6XIDD-32',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(68,9,1,44.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',35,'Received from Purchase P-TEST-ZNKSO-33',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(69,6,2,5.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',34,'Dispatched for Sale S-TEST-3ZMOX-33',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(70,5,2,55.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',36,'Received from Purchase P-TEST-J2C5J-34',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(71,3,1,3.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',35,'Dispatched for Sale S-TEST-OGDIA-34',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(72,2,1,56.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',37,'Received from Purchase P-TEST-ZKEJS-35',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(73,1,1,41.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',36,'Dispatched for Sale S-TEST-TPBSL-35',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(74,4,2,30.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',38,'Received from Purchase P-TEST-AQYVX-36',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(75,9,1,1.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',37,'Dispatched for Sale S-TEST-Z5LBS-36',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(76,8,1,87.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',39,'Received from Purchase P-TEST-HWJWJ-37',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(77,7,1,4.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',38,'Dispatched for Sale S-TEST-MNKQQ-37',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(78,10,1,70.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',40,'Received from Purchase P-TEST-Q7423-38',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(79,2,1,5.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',39,'Dispatched for Sale S-TEST-JNRKJ-38',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(80,10,2,55.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',41,'Received from Purchase P-TEST-XRYM2-39',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(81,4,2,1.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',40,'Dispatched for Sale S-TEST-UP24P-39',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(82,1,2,54.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',42,'Received from Purchase P-TEST-5XLYE-40',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(83,1,2,21.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',41,'Dispatched for Sale S-TEST-66NWL-40',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(84,7,2,39.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',43,'Received from Purchase P-TEST-HFS8M-41',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(85,4,2,1.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',42,'Dispatched for Sale S-TEST-MXSLA-41',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(86,9,2,56.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',44,'Received from Purchase P-TEST-IUHZJ-42',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(87,10,1,1.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',43,'Dispatched for Sale S-TEST-JNYFW-42',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(88,8,2,36.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',45,'Received from Purchase P-TEST-MAYBI-43',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(89,3,1,4.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',44,'Dispatched for Sale S-TEST-BW0YD-43',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(90,8,1,56.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',46,'Received from Purchase P-TEST-SX7EZ-44',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(91,5,2,3.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',45,'Dispatched for Sale S-TEST-JXHJW-44',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(92,1,1,100.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',47,'Received from Purchase P-TEST-0JBPX-45',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(93,1,1,50.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',46,'Dispatched for Sale S-TEST-UASO3-45',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(94,5,1,83.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',48,'Received from Purchase P-TEST-BCHS8-46',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(95,3,1,2.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',47,'Dispatched for Sale S-TEST-IDYN7-46',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(96,9,1,69.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',49,'Received from Purchase P-TEST-HVZWH-47',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(97,3,1,4.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',48,'Dispatched for Sale S-TEST-HXXSY-47',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(98,10,2,31.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',50,'Received from Purchase P-TEST-KDEDG-48',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(99,9,1,2.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',49,'Dispatched for Sale S-TEST-4SEZM-48',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(100,10,1,66.00,'in','Purchase Receipt','App\\Models\\PurchaseInvoice',51,'Received from Purchase P-TEST-UIXRF-49',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(101,6,2,5.00,'out','Sales Dispatch','App\\Models\\SalesInvoice',50,'Dispatched for Sale S-TEST-UXST5-49',2,2,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(102,10,1,50.00,'in','Purchase Receipt','Workdo\\Warehouse\\Models\\WarehouseReceipt',1,'Received from GRN GRN-20260501-4732',2,2,'2026-05-01 13:29:23','2026-05-01 13:29:23');
|
||
/*!40000 ALTER TABLE `warehouse_stock_movements` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `warehouse_stocks`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `warehouse_stocks`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `warehouse_stocks` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`product_id` bigint unsigned NOT NULL,
|
||
`warehouse_id` bigint unsigned NOT NULL,
|
||
`quantity` decimal(15,2) NOT NULL DEFAULT '0.00',
|
||
`batch_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`expiry_date` date DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `warehouse_stocks_product_id_foreign` (`product_id`),
|
||
KEY `warehouse_stocks_warehouse_id_foreign` (`warehouse_id`),
|
||
CONSTRAINT `warehouse_stocks_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `product_service_items` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `warehouse_stocks_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `warehouse_stocks`
|
||
--
|
||
|
||
LOCK TABLES `warehouse_stocks` WRITE;
|
||
/*!40000 ALTER TABLE `warehouse_stocks` DISABLE KEYS */;
|
||
INSERT INTO `warehouse_stocks` VALUES (1,11,1,200.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(2,1,1,-24.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(3,9,1,226.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(4,7,1,36.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(5,3,1,204.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(6,7,2,163.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(7,5,1,394.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(8,6,2,63.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(9,8,2,119.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(10,6,1,126.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(11,9,2,211.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(12,3,2,171.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(13,5,2,168.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(14,10,1,255.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:29:23'),(15,8,1,209.00,NULL,NULL,'2026-05-01 13:25:26','2026-05-01 13:25:27'),(16,4,1,25.00,NULL,NULL,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(17,2,1,51.00,NULL,NULL,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(18,4,2,28.00,NULL,NULL,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(19,10,2,86.00,NULL,NULL,'2026-05-01 13:25:27','2026-05-01 13:25:27'),(20,1,2,33.00,NULL,NULL,'2026-05-01 13:25:27','2026-05-01 13:25:27');
|
||
/*!40000 ALTER TABLE `warehouse_stocks` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `warehouse_transfer_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `warehouse_transfer_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `warehouse_transfer_items` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`warehouse_transfer_id` bigint unsigned DEFAULT NULL,
|
||
`product_id` bigint unsigned DEFAULT NULL,
|
||
`quantity` decimal(10,2) NOT NULL DEFAULT '0.00',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `warehouse_transfer_items`
|
||
--
|
||
|
||
LOCK TABLES `warehouse_transfer_items` WRITE;
|
||
/*!40000 ALTER TABLE `warehouse_transfer_items` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `warehouse_transfer_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `warehouse_transfers`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `warehouse_transfers`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `warehouse_transfers` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`reference_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`from_warehouse_id` bigint unsigned DEFAULT NULL,
|
||
`to_warehouse_id` bigint unsigned DEFAULT NULL,
|
||
`transfer_date` date NOT NULL,
|
||
`status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pending',
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`workspace_id` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `warehouse_transfers`
|
||
--
|
||
|
||
LOCK TABLES `warehouse_transfers` WRITE;
|
||
/*!40000 ALTER TABLE `warehouse_transfers` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `warehouse_transfers` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `warehouses`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `warehouses`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `warehouses` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`address` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`city` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`zip_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `warehouses_creator_id_index` (`creator_id`),
|
||
KEY `warehouses_created_by_index` (`created_by`),
|
||
CONSTRAINT `warehouses_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `warehouses_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `warehouses`
|
||
--
|
||
|
||
LOCK TABLES `warehouses` WRITE;
|
||
/*!40000 ALTER TABLE `warehouses` DISABLE KEYS */;
|
||
INSERT INTO `warehouses` VALUES (1,'Davao City Distribution Center','20/99 Armstrong Views','Tagaytay','7304',NULL,NULL,1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26'),(2,'Tandag Distribution Center','52/88 McGlynn Canyon','Iloilo City','0976',NULL,NULL,1,NULL,2,'2026-05-01 13:25:26','2026-05-01 13:25:26');
|
||
/*!40000 ALTER TABLE `warehouses` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `warning_types`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `warning_types`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `warning_types` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`warning_type_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `warning_types_creator_id_index` (`creator_id`),
|
||
KEY `warning_types_created_by_index` (`created_by`),
|
||
CONSTRAINT `warning_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `warning_types_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `warning_types`
|
||
--
|
||
|
||
LOCK TABLES `warning_types` WRITE;
|
||
/*!40000 ALTER TABLE `warning_types` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `warning_types` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `warnings`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `warnings`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `warnings` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`employee_id` bigint unsigned NOT NULL,
|
||
`warning_by` bigint unsigned DEFAULT NULL,
|
||
`warning_type_id` bigint unsigned DEFAULT NULL,
|
||
`subject` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`severity` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`warning_date` date DEFAULT NULL,
|
||
`description` longtext COLLATE utf8mb4_unicode_ci,
|
||
`document` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`status` enum('pending','approved','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
|
||
`employee_response` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||
`creator_id` bigint unsigned DEFAULT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `warnings_warning_type_id_foreign` (`warning_type_id`),
|
||
KEY `warnings_employee_id_foreign` (`employee_id`),
|
||
KEY `warnings_warning_by_foreign` (`warning_by`),
|
||
KEY `warnings_creator_id_index` (`creator_id`),
|
||
KEY `warnings_created_by_index` (`created_by`),
|
||
CONSTRAINT `warnings_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `warnings_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `warnings_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||
CONSTRAINT `warnings_warning_by_foreign` FOREIGN KEY (`warning_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
|
||
CONSTRAINT `warnings_warning_type_id_foreign` FOREIGN KEY (`warning_type_id`) REFERENCES `warning_types` (`id`) ON DELETE SET NULL
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `warnings`
|
||
--
|
||
|
||
LOCK TABLES `warnings` WRITE;
|
||
/*!40000 ALTER TABLE `warnings` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `warnings` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `work_spaces`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `work_spaces`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!50503 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `work_spaces` (
|
||
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
`created_by` bigint unsigned DEFAULT NULL,
|
||
`is_active` tinyint(1) NOT NULL DEFAULT '1',
|
||
`created_at` timestamp NULL DEFAULT NULL,
|
||
`updated_at` timestamp NULL DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `work_spaces_slug_unique` (`slug`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `work_spaces`
|
||
--
|
||
|
||
LOCK TABLES `work_spaces` WRITE;
|
||
/*!40000 ALTER TABLE `work_spaces` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `work_spaces` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||
|
||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||
|
||
-- Dump completed on 2026-05-02 10:52:36
|