-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 10, 2026 at 09:14 AM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.2.12

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


/*!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 */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `active_landscapes`
--

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

--
-- Table structure for table `module`
--

CREATE TABLE `module` (
  `id` int(11) NOT NULL,
  `plugin_name` varchar(255) NOT NULL,
  `module_name` varchar(512) NOT NULL,
  `version` varchar(25) DEFAULT NULL,
  `display_name` varchar(512) NOT NULL,
  `page_option` varchar(50) NOT NULL,
  `icon` varchar(1024) NOT NULL,
  `parent_id` int(11) NOT NULL,
  `sort_order` int(11) NOT NULL,
  `display` tinyint(4) NOT NULL,
  `custome_module` tinyint(4) NOT NULL DEFAULT 1,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `created_on` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `module`
--

INSERT INTO `module` (`id`, `plugin_name`, `module_name`, `version`, `display_name`, `page_option`, `icon`, `parent_id`, `sort_order`, `display`, `custome_module`, `is_archive`, `created_on`) VALUES
(1, '', '', NULL, 'Dashboard', 'index', 'bi bi-speedometer2', 0, 1, 1, 0, 0, '2026-01-28 17:14:18'),
(2, '', 'adminuser', NULL, 'User', '', 'bi bi-people', 0, 26, 1, 0, 0, '2026-01-28 17:14:18'),
(3, '', 'adminuser', NULL, 'Users', 'user_list', 'bi bi-person', 2, 1, 1, 0, 0, '2026-01-28 17:14:18'),
(4, '', 'adminuser', NULL, 'Groups', 'group_list', 'bi bi-shield-check', 2, 2, 1, 0, 0, '2026-01-28 17:14:18'),
(5, '', 'adminuser', NULL, 'Permissions', 'group_access_rights', 'bi bi-lock', 2, 3, 1, 0, 0, '2026-01-28 17:14:18'),
(6, '', 'keycode', NULL, 'Management', 'view_masterdata', 'bi bi-gear', 0, 25, 0, 0, 0, '2026-01-28 17:14:18'),
(7, 'CompanyManagement', 'company_management', '1.0', 'Company', 'view', 'fa-solid fa-street-view', 0, 2, 1, 1, 0, '2026-01-28 17:14:18'),
(8, 'OrderManagement', 'order_management', '1.0', 'Sales Order', 'view', 'fa-solid fa-pen', 0, 10, 0, 1, 0, '2026-02-05 10:41:02'),
(9, 'InvoiceManagement', 'invoice_management', '1.0', 'Invoice', 'view', 'fa-solid fa-wallet', 0, 11, 0, 1, 0, '2026-02-05 11:54:30'),
(10, 'ItemManagement', 'item_management', '1.0', 'Item', 'view', 'fa-solid fa-screwdriver-wrench', 0, 8, 0, 1, 0, '2026-02-05 11:55:15'),
(11, 'SupplierManagement', 'supplier_management', '1.0', 'Supplier', 'view', 'fa-solid fa-person-rays', 0, 7, 0, 1, 0, '2026-02-05 11:55:37'),
(12, 'EnquiryManagement', 'enquiry_management', '1.0', 'Oppotunity', 'view', 'fa-solid fa-envelopes-bulk', 0, 4, 1, 1, 0, '2026-02-05 11:57:18'),
(13, 'DocumentsManagement', 'document_management', '1.0', 'Documents', 'view', 'fa-solid fa-file', 0, 14, 0, 1, 0, '2026-02-05 13:36:24'),
(14, 'NotesManagement', 'notes_management', '1.0', 'Notes', 'view', 'fa-solid fa-list-check', 0, 15, 0, 1, 0, '2026-02-05 13:36:51'),
(15, 'PurchaseOrderManagement', 'purchase_order_management', '1.0', 'Purchase Order', 'view', 'fa-solid fa-calculator', 0, 12, 0, 1, 0, '2026-02-05 13:37:25'),
(16, 'ReportsManagement', 'report_management', '1.0', 'Report', 'view', 'fa-solid fa-arrows-to-dot', 0, 16, 0, 1, 0, '2026-02-05 14:41:00'),
(17, 'QuotationManagement', 'quotation_management', '1.0', 'Quotation', 'view', 'fa-solid fa-clipboard-question', 0, 5, 0, 1, 0, '2026-02-05 14:41:42'),
(18, 'JobManagement', 'job_management', '1.0', 'Job', 'view', 'fa-solid fa-truck-fast', 0, 6, 0, 1, 0, '2026-02-05 14:42:01'),
(19, 'StockManagement', 'stock_management', '1.0', 'Stock / Inventory', 'view', 'fa-solid fa-bag-shopping', 0, 9, 0, 1, 0, '2026-02-05 14:42:23'),
(20, 'SchedulerManagement', 'scheduler_management', '1.0', 'Scheduler', 'view_calendar', 'fa-regular fa-calendar-days', 0, 13, 0, 1, 0, '2026-02-05 14:42:47'),
(21, 'AppointmentsManagement', 'appointments_management', '1.0', 'Appointments', 'view', 'fa-solid fa-street-view', 0, 17, 0, 1, 0, '2026-02-25 10:40:07'),
(23, 'SiteManagement', 'site_management', '1.0', 'Sites', 'view', 'fa-solid fa-street-view', 0, 3, 0, 1, 0, '2026-02-25 10:42:22'),
(24, '', 'adminuser', NULL, 'Access', 'access_list', 'bi bi-shield-check', 2, 3, 0, 0, 0, '2026-03-07 13:52:36');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `module`
--
ALTER TABLE `module`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `display_name` (`display_name`),
  ADD KEY `parent_id` (`parent_id`),
  ADD KEY `display_name_2` (`display_name`),
  ADD KEY `sort_order` (`sort_order`),
  ADD KEY `display` (`display`),
  ADD KEY `id` (`id`),
  ADD KEY `is_archive` (`is_archive`);

--
-- AUTO_INCREMENT for dumped tables
--

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

/*!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 */;
