-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 05, 2025 at 02:32 PM
-- 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: `ms`
--

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

--
-- Table structure for table `accummdeprec`
--

CREATE TABLE `accummdeprec` (
  `id` int(11) NOT NULL,
  `accummdeprec` varchar(200) NOT NULL,
  `description` varchar(300) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `allergies`
--

CREATE TABLE `allergies` (
  `id` int(11) NOT NULL,
  `allergies` varchar(200) NOT NULL,
  `description` varchar(300) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `array_testing`
--

CREATE TABLE `array_testing` (
  `id` int(11) NOT NULL,
  `student_fees_master_id` int(11) NOT NULL,
  `fee_groups_feetype_id` int(11) NOT NULL,
  `amounts` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `array_testing`
--

INSERT INTO `array_testing` (`id`, `student_fees_master_id`, `fee_groups_feetype_id`, `amounts`) VALUES
(16, 0, 0, 20),
(17, 0, 0, 40),
(18, 0, 0, 200),
(19, 0, 0, 0),
(20, 0, 0, 30),
(21, 0, 0, 50),
(22, 0, 0, 250);

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

--
-- Table structure for table `assets`
--

CREATE TABLE `assets` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(60) NOT NULL,
  `asset_code` varchar(100) NOT NULL,
  `description` varchar(200) NOT NULL,
  `asset_type` varchar(100) NOT NULL,
  `master_asset` varchar(200) NOT NULL,
  `units_num` varchar(100) NOT NULL,
  `serial_num` varchar(20) NOT NULL,
  `asset_type2` varchar(200) NOT NULL,
  `department` varchar(200) NOT NULL,
  `employee` varchar(100) NOT NULL,
  `supplier` varchar(100) NOT NULL,
  `capex_order` varchar(100) NOT NULL,
  `purchase_price` varchar(40) NOT NULL,
  `insured_value` varchar(40) NOT NULL,
  `scrap_value` varchar(40) NOT NULL,
  `revaluation` varchar(100) NOT NULL,
  `purchase_date` varchar(60) NOT NULL,
  `replacement_date` varchar(60) NOT NULL,
  `replacement_cost` varchar(200) NOT NULL,
  `base_cost` varchar(200) NOT NULL,
  `roll_over_relief` varchar(200) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `assettypes`
--

CREATE TABLE `assettypes` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(50) NOT NULL,
  `asset_code` varchar(100) NOT NULL,
  `description` varchar(500) NOT NULL,
  `accum_dep` varchar(200) NOT NULL,
  `dep_expenses` varchar(200) NOT NULL,
  `revaluation` varchar(200) NOT NULL,
  `insurance` varchar(200) NOT NULL,
  `tax_dep` varchar(200) NOT NULL,
  `book_dep` varchar(200) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `attendence_type`
--

CREATE TABLE `attendence_type` (
  `id` int(11) NOT NULL,
  `type` varchar(50) DEFAULT NULL,
  `key_value` varchar(50) NOT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `attendence_type`
--

INSERT INTO `attendence_type` (`id`, `type`, `key_value`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'Present', '<b class=\"text text-success\">P</b>', 'yes', '2016-06-23 18:11:37', '0000-00-00 00:00:00'),
(2, 'Late With Excuse', '<b class=\"text text-warning\">E</b>', 'no', '2018-05-29 08:19:48', '0000-00-00 00:00:00'),
(3, 'Late', '<b class=\"text text-warning\">L</b>', 'yes', '2016-06-23 18:12:28', '0000-00-00 00:00:00'),
(4, 'Absent', '<b class=\"text text-danger\">A</b>', 'yes', '2016-10-11 11:35:40', '0000-00-00 00:00:00'),
(5, 'Holiday', 'H', 'yes', '2016-10-11 11:35:01', '0000-00-00 00:00:00'),
(6, 'Half Day', '<b class=\"text text-warning\">F</b>', 'yes', '2016-06-23 18:12:28', '0000-00-00 00:00:00');

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

--
-- Table structure for table `bankrec`
--

CREATE TABLE `bankrec` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(20) NOT NULL,
  `cbb_dr` varchar(10) NOT NULL,
  `cbb_cr` varchar(10) NOT NULL,
  `tu_dr` varchar(10) NOT NULL,
  `tu_cr` varchar(10) NOT NULL,
  `rbb_dr` varchar(10) NOT NULL,
  `rbb_cr` varchar(10) NOT NULL,
  `diff_dr` varchar(10) NOT NULL,
  `diff_cr` varchar(10) NOT NULL,
  `active` int(11) NOT NULL,
  `cashbook_id` varchar(10) NOT NULL,
  `cashbook` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `bankrec`
--

INSERT INTO `bankrec` (`id`, `date_captured`, `cbb_dr`, `cbb_cr`, `tu_dr`, `tu_cr`, `rbb_dr`, `rbb_cr`, `diff_dr`, `diff_cr`, `active`, `cashbook_id`, `cashbook`) VALUES
(1, '2023-04-12 01:20:07p', '-110', '0', '260', '150', '-110', '0', '0', '0', 1, '64', 'PETTY CASH'),
(2, '2023-04-12 01:20:48p', '-160', '0', '260', '100', '-160', '0', '0', '0', 1, '65', 'PETTY CASH'),
(3, '2023-04-13 09:59:32a', '-45', '0', '95', '50', '-45', '0', '0', '0', 1, '68', 'PETTY CASH USD');

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

--
-- Table structure for table `bankrec_yrperiod`
--

CREATE TABLE `bankrec_yrperiod` (
  `id` int(11) NOT NULL,
  `year` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `bankrec_yrperiod`
--

INSERT INTO `bankrec_yrperiod` (`id`, `year`, `active`) VALUES
(1, '2022', 1),
(2, '2023', 1),
(3, '2024', 1),
(4, '2025', 1),
(5, '2019', 1);

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

--
-- Table structure for table `bank_rates`
--

CREATE TABLE `bank_rates` (
  `id` int(11) NOT NULL,
  `date` varchar(50) NOT NULL,
  `foreign_currency` varchar(50) NOT NULL,
  `home_currency` varchar(50) NOT NULL,
  `foreign_rate` varchar(50) NOT NULL,
  `home_rate` varchar(50) NOT NULL,
  `description` varchar(50) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `bank_rates`
--

INSERT INTO `bank_rates` (`id`, `date`, `foreign_currency`, `home_currency`, `foreign_rate`, `home_rate`, `description`, `active`) VALUES
(11, '31-03-2023 07:38:05am', 'RTGS', 'USD', '2000', '1', ' USD- RTGS', 1),
(12, '31-03-2023 07:38:31am', 'ZAR', 'USD', '18', '1', 'USD - RAND', 1),
(13, '31-03-2023 07:42:06am', 'ECOCASH', 'USD', '2000', '1', 'USD-ECOCASH', 1);

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

--
-- Table structure for table `bank_rates_history`
--

CREATE TABLE `bank_rates_history` (
  `id` int(11) NOT NULL,
  `date` varchar(50) NOT NULL,
  `foreign_currency` varchar(50) NOT NULL,
  `home_currency` varchar(50) NOT NULL,
  `foreign_rate` varchar(50) NOT NULL,
  `home_rate` varchar(50) NOT NULL,
  `description` varchar(50) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `books`
--

CREATE TABLE `books` (
  `id` int(11) NOT NULL,
  `book_title` varchar(100) NOT NULL,
  `book_no` varchar(50) NOT NULL,
  `isbn_no` varchar(100) NOT NULL,
  `subject` varchar(100) DEFAULT NULL,
  `rack_no` varchar(100) NOT NULL,
  `publish` varchar(100) DEFAULT NULL,
  `author` varchar(100) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `perunitcost` float(10,2) DEFAULT NULL,
  `postdate` date DEFAULT NULL,
  `description` text DEFAULT NULL,
  `available` varchar(10) DEFAULT 'yes',
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `books`
--

INSERT INTO `books` (`id`, `book_title`, `book_no`, `isbn_no`, `subject`, `rack_no`, `publish`, `author`, `qty`, `perunitcost`, `postdate`, `description`, `available`, `is_active`, `created_at`, `updated_at`) VALUES
(2, 'SNOW WHITE', '0001', '9866650', '', '', '', '', 2, 0.00, '1970-01-01', '', 'yes', 'no', '2023-02-03 20:30:04', '');

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

--
-- Table structure for table `book_depreciation`
--

CREATE TABLE `book_depreciation` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(30) NOT NULL,
  `assetcode` varchar(100) NOT NULL,
  `purchasevalue` varchar(100) NOT NULL,
  `purchasedate` varchar(50) NOT NULL,
  `startdate` varchar(100) NOT NULL,
  `dpmethod` varchar(100) NOT NULL,
  `total` varchar(100) NOT NULL,
  `prioryears` varchar(100) NOT NULL,
  `currentyear` varchar(100) NOT NULL,
  `currentperiod` varchar(100) NOT NULL,
  `initial_allowance` varchar(100) NOT NULL,
  `residual_vale` varchar(100) NOT NULL,
  `impairements` varchar(100) NOT NULL,
  `nbv` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `book_issues`
--

CREATE TABLE `book_issues` (
  `id` int(10) UNSIGNED NOT NULL,
  `book_id` int(11) DEFAULT NULL,
  `return_date` date DEFAULT NULL,
  `issue_date` date DEFAULT NULL,
  `is_returned` int(11) DEFAULT 0,
  `member_id` int(11) DEFAULT NULL,
  `is_active` varchar(10) NOT NULL DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `cashbook`
--

CREATE TABLE `cashbook` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(100) NOT NULL,
  `date` varchar(20) NOT NULL,
  `cashbook` varchar(100) NOT NULL,
  `description` varchar(400) NOT NULL,
  `account` varchar(200) NOT NULL,
  `module` varchar(100) NOT NULL,
  `receipt` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `debit` varchar(100) NOT NULL,
  `credit` varchar(100) NOT NULL,
  `balance` varchar(100) NOT NULL,
  `active` int(11) NOT NULL,
  `bankrec` varchar(10) NOT NULL,
  `mv_expense` varchar(100) NOT NULL,
  `gl_account` varchar(100) NOT NULL,
  `date_from` varchar(50) NOT NULL,
  `date_to` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `cashbook`
--

INSERT INTO `cashbook` (`id`, `date_captured`, `date`, `cashbook`, `description`, `account`, `module`, `receipt`, `currency`, `debit`, `credit`, `balance`, `active`, `bankrec`, `mv_expense`, `gl_account`, `date_from`, `date_to`) VALUES
(54, '2024-01-31 08:55:36am', '2024-01-31', 'CABS RTGS', 'wertyuio', 'MUKUDZEI', 'Learner', '12345', '', '50', '0', '50', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(55, '2024-01-31', '2024-01-31', 'CASH ACCOUNT USD', 'Undeposited Funds History From 31-01-2024 To 31-01-2024', 'Undeposited Funds', 'GL', 'UDF0001', '', '150.00', '0', '0', 0, '0', '', '', '2024-01-31', '2024-01-31'),
(56, '2024-02-01 10:20:09am', '2024-01-29', 'CASH ACCOUNT USD', 'School System Part Payment-First Term ', 'Melsoft', 'Supplier', 'INV001', '', '0', '150', '0', 1, '0', 'ADH000Q', 'null', '', ''),
(57, '2024-02-08', '2024-02-08', 'CASH ACCOUNT USD', 'Undeposited Funds History From 08-02-2024 To 08-02-2024', 'Undeposited Funds', 'GL', 'UDF0002', '', '350.00', '0', '0', 0, '0', '', '', '2024-02-08', '2024-02-08'),
(58, '2024-02-08 10:26:42pm', '2024-02-08', 'CASH ACCOUNT USD', 'payments', 'JOSEPH', 'Learner', '1243', '', '0', '350', '0', 1, '0', 'ADH000Q', 'null', '', ''),
(59, '2024-03-15 12:38:31pm', '2024-03-15', 'CABS RTGS', 'DFGHJKL;', 'DANIEL', 'Learner', 'INV273', '', '700', '0', '700', 1, '0', 'ADH000Q', 'null', '', ''),
(60, '2024-03-15', '2024-03-15', 'CABS RTGS', 'Undeposited Funds History From 15-03-2024 To 15-03-2024', 'Undeposited Funds', 'GL', 'UDF0003', '', '700.00', '0', '0', 0, '0', '', '', '2024-03-15', '2024-03-15'),
(61, '2025-01-16 12:34:51pm', '2025-01-16', 'NEDBANK ZAR', 'testing the statements', 'Melsoft', 'Supplier', 'testing the supplier', '', '100', '0', '100', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(62, '2025-01-16 02:51:35pm', '2025-01-16', 'CASH ACCOUNT USD', 'hh', 'cash', 'Customer', 'ooo2', '', '2', '0', '2', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(63, '2025-01-16 03:25:28pm', '2025-01-16', 'CABS RTGS', 'to check the supplier statement', 'Melsoft', 'Supplier', 'testing the supplier statement updates', '', '23', '0', '23', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(64, '2025-01-16 03:27:18pm', '2025-01-16', 'CABS RTGS', 'test2', 'cash', 'Customer', 'testing the customer', '', '14', '0', '14', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(65, '2025-01-16 03:29:31pm', '2025-01-16', 'NEDBANK ZAR', 'test1', 'Melsoft', 'Supplier', 'tests1', '', '10', '0', '10', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(66, '2025-01-16 03:31:21pm', '2025-01-16', 'NEDBANK ZAR', 'test1', 'Melsoft', 'Supplier', 'tests1', '', '10', '0', '10', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(67, '2025-01-16 03:32:16pm', '2025-01-16', 'NEDBANK ZAR', 'test1', 'Melsoft', 'Supplier', 'tests1', '', '10', '0', '10', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(68, '2025-01-16 03:44:44pm', '2025-01-16', 'CABS RTGS', 'testing', 'Melsoft', 'Supplier', 'sup00045', '', '10', '0', '10', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(69, '2025-01-16 03:52:00pm', '2025-01-16', 'CABS RTGS', 'testing', 'Melsoft', 'Supplier', 'sup00045', '', '10', '0', '10', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(70, '2025-01-16 03:53:31pm', '2025-01-16', 'NEDBANK ZAR', 'TEST', 'Melsoft', 'Supplier', 'SUP00045', '', '12', '0', '12', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(71, '2025-01-16 04:02:56pm', '2025-01-16', 'CABS RTGS', 'TESTING FINAL', 'Melsoft', 'Supplier', 'SUP00045', '', '16', '0', '16', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(72, '2025-01-30 01:29:50pm', '2025-01-30', 'CABS RTGS', 'TESTING THE TABLE WHETHER DATA IS ALSO SAVED FOR DISPLAYING IN THE MODULE ', 'john', 'Learner', 'INV00012233', '', '122', '0', '122', 1, '0', 'ADH000Q', 'null', '', ''),
(73, '2025-01-30 01:48:31pm', '2025-01-30', 'ECOCASH ZWL', 'testing to make sure that after inserting three or more lines it will still process and delete the transaction ', 'morethan', 'Learner', 'inv00012332', '', '134', '0', '134', 1, '0', 'ADH000Q', 'null', '', ''),
(74, '2025-01-30 01:49:14pm', '2025-01-30', 'CABS RTGS', 'testing with the two lines', 'morethan', 'Learner', 'inv000012277', '', '10009', '0', '10009', 1, '0', 'ADH000Q', 'null', '', ''),
(75, '2025-01-30 03:35:25pm', '2025-01-30', 'NEDBANK ZAR', 'testing names to be appearing with the full name', 'john doe', 'Learner', 'inv00009933', '', '13334', '0', '13334', 1, '0', 'ADH000Q', 'null', '', ''),
(76, '2025-01-30 03:39:02pm', '2025-01-30', 'NEDBANK ZAR', 'testint the names to be appearing in  full', 'Melsoft (Private) Limited', 'Supplier', 'inv0009558', '', '155', '0', '155', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(77, '2025-01-30 03:40:39pm', '2025-01-30', 'CASH ACCOUNT USD', 'Tests', 'Melsoft (Private) Limited', 'Supplier', 'INV000997', '', '6000', '0', '6000', 1, '0', 'AFK', 'null', '', ''),
(78, '2025-01-30 04:54:50pm', '2025-01-30', 'ECOCASH ZWL', 'testing the uniformstatement ', 'john doe', 'Learner', 'INV0008188', '', '90', '0', '90', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(79, '2025-01-30 05:11:07pm', '2025-01-30', 'ECOCASH ZWL', 'testing customer', 'henry', 'Customer', 'inv000696', '', '2333', '0', '2333', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(80, '2025-01-31 09:37:26am', '2025-01-31', 'NEDBANK ZAR', 'testing', 'Melsoft (Private) Limited', 'Supplier', 'inv5533test', '', '9000', '0', '9000', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(81, '2025-01-31 03:31:53pm', '2025-01-31', 'CABS RTGS', 'testring id', 'morethan martins', 'Learner', 'inv577766', '', '76665', '0', '76665', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(82, '2025-01-31 03:41:34pm', '2025-01-31', 'CABS RTGS', 'testing id', 'Tinashe Chimanyi', 'Learner', 'inv00977676', '', '7980', '0', '7980', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(83, '2025-01-31 03:46:31pm', '2025-01-31', 'CABS RTGS', 'testing id', 'Tinashe Chimanyi', 'Learner', 'inv00977676', '', '7980', '0', '7980', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(84, '2025-01-31 03:47:12pm', '2025-01-31', 'ECOCASH ZWL', 'testings', 'john doe', 'Learner', 'inv000test', '', '1222', '0', '1222', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(85, '2025-01-31 03:47:39pm', '2025-01-31', 'ECOCASH ZWL', 'testings', 'john doe', 'Learner', 'inv000test', '', '1222', '0', '1222', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(86, '2025-01-31 04:13:54pm', '2025-01-31', 'CABS RTGS', 'yetes', 'john doe', 'Learner', 'inv00999', '', '1222', '0', '1222', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(87, '2025-01-31 04:29:11pm', '2025-01-31', 'ECOCASH ZWL', 'testing', 'john doe', 'Learner', 'inv4445', '', '90008', '0', '90008', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(88, '2025-01-31 05:05:41pm', '2025-01-31', 'ECOCASH ZWL', 'testing', 'john doe', 'Learner', 'inv4445', '', '90008', '0', '90008', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(89, '2025-01-31 05:11:08pm', '2025-01-31', 'ECOCASH ZWL', 'testing', 'john doe', 'Learner', 'inv4445', '', '90008', '0', '90008', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(90, '2025-01-31 05:15:13pm', '2025-01-31', 'ECOCASH ZWL', 'testing', 'john doe', 'Learner', 'inv4445', '', '90008', '0', '90008', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(91, '2025-01-31 05:19:10pm', '2025-01-31', 'ECOCASH ZWL', 'testing', 'john doe', 'Learner', 'inv4445', '', '90008', '0', '90008', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(92, '2025-01-31 05:19:40pm', '2025-01-31', 'CABS RTGS', 'tests', 'john doe', 'Learner', '000221', '', '1222', '0', '1222', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(93, '2025-02-01 08:28:00am', '2025-02-01', 'ECOCASH ZWL', 'testtt', 'john doe', 'Learner', '777777', '', '5554', '0', '5554', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(94, '2025-02-01 08:36:51am', '2025-02-01', 'CABS RTGS', 'ddd', 'Test Success', 'Learner', '22222', '', '1111', '0', '1111', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(95, '2025-02-01 08:51:14am', '2025-02-01', 'CASH ACCOUNT USD', 'thhh', 'morethan martins', 'Learner', '5555', '', '55555', '0', '55555', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(96, '2025-02-01 08:52:52am', '2025-02-01', 'ECOCASH ZWL', 'eeeee', 'Tinashe Chimanyi', 'Learner', 'fffffee23232', '', '1222', '0', '1222', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(97, '2025-02-01 08:59:57am', '2025-02-01', 'ECOCASH ZWL', 'ssss', 'john doe', 'Learner', '1222', '', '1111', '0', '1111', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(98, '2025-02-01 09:05:55am', '2025-02-01', 'CABS RTGS', 'eewww', 'morethan martins', 'Learner', 'eeeee', '', '12223', '0', '12223', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(99, '2025-02-01 09:10:13am', '2025-02-01', 'CABS RTGS', '11112', 'john doe', 'Learner', 'tttt', '', '23333', '0', '23333', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(100, '2025-02-01 09:15:43am', '2025-02-01', 'ECOCASH ZWL', 'wwww', 'Nyasha Mrinda', 'Learner', 'rrrr', '', '0', '2222', '0', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(101, '2025-02-01 09:18:31am', '2025-02-01', 'CABS RTGS', 'wwwwweee', 'john doe', 'Learner', 'rrrrr', '', '111222', '0', '111222', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(102, '2025-02-01 09:28:40am', '2025-02-01', 'ECOCASH ZWL', '2222test', 'undefined', 'Learner', '12221', '', '1233', '0', '1233', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(103, '2025-02-01 09:33:32am', '2025-02-01', 'ECOCASH ZWL', 'wwe', 'undefined', 'Learner', 'ffff', '', '1223', '0', '1223', 1, '0', 'ADH000Q', 'null', '', ''),
(104, '2025-02-01 09:34:16am', '2025-02-01', 'CABS RTGS', '2332rrrr', 'john doe', 'Learner', 'sdddd', '', '3233', '0', '3233', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(105, '2025-02-01 10:03:59am', '2025-02-01', 'CABS RTGS', '1222cc', 'john doe', 'Learner', 'eewed', '', '221', '0', '221', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(106, '2025-02-01 10:05:01am', '2025-02-01', 'CABS RTGS', 'dffff', 'john doe', 'Learner', 'qweeee', '', '222', '0', '222', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(107, '2025-02-01 10:09:53am', '2025-02-01', 'CABS RTGS', 'weetesd', 'john doe', 'Learner', '21333', '', '12223', '0', '12223', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(108, '2025-02-01 11:17:58am', '2025-02-01', 'CABS RTGS', '1111', 'john doe', 'Learner', 'eeeee', '', '3221', '0', '3221', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(109, '2025-02-01 01:14:06pm', '2025-02-01', 'ECOCASH ZWL', 'wwe33', 'morethan martins', 'Learner', 'qqqq', '', '11111', '0', '11111', 1, '0', 'Select Motor Vehicle', 'null', '', ''),
(110, '2025-02-05 01:46:59pm', '2025-02-05', 'ECOCASH ZWL', 'test', 'morethan martins', 'Learner', 'inv00332', '', '0', '2', '0', 1, '0', 'Select Motor Vehicle', 'null', '', '');

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

--
-- Table structure for table `cashbook_accounts`
--

CREATE TABLE `cashbook_accounts` (
  `id` int(11) NOT NULL,
  `cashbook_accounts` varchar(200) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `description` varchar(300) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `cashbook_accounts`
--

INSERT INTO `cashbook_accounts` (`id`, `cashbook_accounts`, `currency`, `description`, `active`) VALUES
(5, 'CABS RTGS', 'ZWL', 'CABS RTGS', 1),
(6, 'ECOCASH ZWL', 'ZWL', 'ECOCASH ZWL', 1),
(7, 'NEDBANK ZAR', 'ZAR', 'NEDBANK ZAR', 1),
(8, 'CASH ACCOUNT USD', 'USD', 'CASH ACCOUNT USD', 1),
(9, 'PETTY CASH USD', 'USD', 'PETTY CASH USD', 1);

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

--
-- Table structure for table `cashbook_report`
--

CREATE TABLE `cashbook_report` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(100) NOT NULL,
  `cashbook` varchar(100) NOT NULL,
  `receipt` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `debit` varchar(100) NOT NULL,
  `credit` varchar(100) NOT NULL,
  `balance` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `cashbook_temp`
--

CREATE TABLE `cashbook_temp` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(100) NOT NULL,
  `date` varchar(20) NOT NULL,
  `cashbook` varchar(100) NOT NULL,
  `description` varchar(400) NOT NULL,
  `account` varchar(200) NOT NULL,
  `module` varchar(100) NOT NULL,
  `receipt` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `debit` varchar(100) NOT NULL,
  `credit` varchar(100) NOT NULL,
  `balance` varchar(100) NOT NULL,
  `active` int(11) NOT NULL,
  `bankrec` varchar(10) NOT NULL,
  `mv_expense` varchar(100) NOT NULL,
  `gl_account` varchar(100) NOT NULL,
  `date_from` varchar(50) NOT NULL,
  `date_to` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `categories`
--

CREATE TABLE `categories` (
  `id` int(11) NOT NULL,
  `category` varchar(100) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `categories`
--

INSERT INTO `categories` (`id`, `category`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'STUDENT', 'no', '2023-02-06 22:26:19', '0000-00-00 00:00:00'),
(2, 'PREFECT', 'no', '2023-02-06 22:25:58', ''),
(3, 'WEEKLY BOARDER', 'no', '2023-02-06 22:26:43', ''),
(4, 'FULL TIME BOARDER', 'no', '2023-02-06 22:26:53', '');

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

--
-- Table structure for table `certificates`
--

CREATE TABLE `certificates` (
  `id` int(11) NOT NULL,
  `certificate_name` varchar(100) NOT NULL,
  `certificate_text` text NOT NULL,
  `left_header` varchar(100) NOT NULL,
  `center_header` varchar(100) NOT NULL,
  `right_header` varchar(100) NOT NULL,
  `left_footer` varchar(100) NOT NULL,
  `right_footer` varchar(100) NOT NULL,
  `center_footer` varchar(100) NOT NULL,
  `background_image` varchar(100) NOT NULL,
  `created_at` varchar(100) NOT NULL,
  `updated_at` varchar(100) NOT NULL,
  `created_for` tinyint(1) NOT NULL COMMENT '1 = staff, 2 = students',
  `status` tinyint(1) NOT NULL,
  `header_height` int(11) NOT NULL,
  `content_height` int(11) NOT NULL,
  `footer_height` int(11) NOT NULL,
  `content_width` int(11) NOT NULL,
  `enable_student_image` tinyint(1) NOT NULL COMMENT '0=no,1=yes',
  `enable_image_height` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `certificates`
--

INSERT INTO `certificates` (`id`, `certificate_name`, `certificate_text`, `left_header`, `center_header`, `right_header`, `left_footer`, `right_footer`, `center_footer`, `background_image`, `created_at`, `updated_at`, `created_for`, `status`, `header_height`, `content_height`, `footer_height`, `content_width`, `enable_student_image`, `enable_image_height`) VALUES
(1, 'Sample Transfer Certificate', 'This is certify that <b>[name]</b> has born on [dob]  <br> and have following details [present_address] [guardian] [created_at] [admission_no] [roll_no] [class] [section] [gender] [admission_date] [category] [cast] [father_name] [mother_name] [religion] [email] [phone] .<br>We wish best of luck for future endeavors.', 'Reff. No.......................', '', 'Date: ___/____/_______', '.................................<br>Authority Sign', '.................................<br>Principal Sign', '.................................<br>Class Teacher Sign', 'sampletc12.png', '2018-09-05 21:47:33', '0000-00-00 00:00:00', 2, 1, 360, 400, 480, 810, 1, 230),
(2, 'Award', 'exrctvybunimo,p.', 'frtfwu', 'neyrneyy', 'tewntnwt', 'hwe6rc7t8', 'sndu', 'sejdyfu', '', '', '', 2, 1, 0, 0, 0, 0, 1, 0);

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

--
-- Table structure for table `classes`
--

CREATE TABLE `classes` (
  `id` int(11) NOT NULL,
  `class` varchar(60) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` varchar(100) NOT NULL,
  `updated_at` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `classes`
--

INSERT INTO `classes` (`id`, `class`, `is_active`, `created_at`, `updated_at`) VALUES
(16, 'ECD A', 'no', '', ''),
(17, 'ECD B', 'no', '', ''),
(18, 'GRADE 1', 'no', '', ''),
(19, 'GRADE 2', 'no', '', ''),
(20, 'GRADE 3', 'no', '', ''),
(21, 'GRADE 4', 'no', '', ''),
(22, 'GRADE 5', 'no', '', ''),
(23, 'GRADE 6', 'no', '', ''),
(24, 'GRADE 7', 'no', '', ''),
(25, 'TODDLERS', 'no', '', '');

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

--
-- Table structure for table `class_sections`
--

CREATE TABLE `class_sections` (
  `id` int(11) NOT NULL,
  `class_id` int(11) DEFAULT NULL,
  `section_id` int(11) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` varchar(100) NOT NULL,
  `updated_at` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `class_sections`
--

INSERT INTO `class_sections` (`id`, `class_id`, `section_id`, `is_active`, `created_at`, `updated_at`) VALUES
(16, 16, 14, 'no', '', ''),
(17, 17, 14, 'no', '', ''),
(18, 18, 14, 'no', '', ''),
(19, 19, 14, 'no', '', ''),
(20, 20, 14, 'no', '', ''),
(21, 21, 14, 'no', '', ''),
(22, 22, 14, 'no', '', ''),
(23, 23, 14, 'no', '', ''),
(24, 24, 14, 'no', '', ''),
(25, 25, 14, 'no', '', '');

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

--
-- Table structure for table `class_teacher`
--

CREATE TABLE `class_teacher` (
  `id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `section_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `class_teacher`
--

INSERT INTO `class_teacher` (`id`, `class_id`, `staff_id`, `section_id`) VALUES
(10, 16, 13, 14),
(11, 17, 12, 14),
(12, 18, 11, 14),
(13, 19, 9, 14),
(17, 20, 8, 14),
(18, 20, 14, 14),
(19, 20, 15, 14),
(20, 21, 7, 14),
(21, 21, 14, 14),
(22, 21, 15, 14),
(23, 22, 6, 14),
(24, 22, 14, 14),
(25, 22, 15, 14),
(26, 23, 4, 14),
(27, 23, 5, 14),
(28, 23, 14, 14),
(29, 23, 15, 14),
(34, 23, 10, 14),
(35, 24, 4, 14),
(36, 24, 5, 14),
(38, 16, 5, 14);

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

--
-- Table structure for table `complaint`
--

CREATE TABLE `complaint` (
  `id` int(11) NOT NULL,
  `complaint_type` varchar(15) NOT NULL,
  `source` varchar(15) NOT NULL,
  `name` varchar(100) NOT NULL,
  `contact` varchar(15) NOT NULL,
  `email` varchar(200) NOT NULL,
  `date` date NOT NULL,
  `description` text NOT NULL,
  `action_taken` varchar(200) NOT NULL,
  `assigned` varchar(50) NOT NULL,
  `note` text NOT NULL,
  `image` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `complaint_type`
--

CREATE TABLE `complaint_type` (
  `id` int(11) NOT NULL,
  `complaint_type` varchar(100) NOT NULL,
  `description` mediumtext NOT NULL,
  `created_at` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `contents`
--

CREATE TABLE `contents` (
  `id` int(11) NOT NULL,
  `title` varchar(100) DEFAULT NULL,
  `type` varchar(50) DEFAULT NULL,
  `is_public` varchar(10) DEFAULT 'No',
  `class_id` int(11) DEFAULT NULL,
  `cls_sec_id` int(11) NOT NULL,
  `file` varchar(250) DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `note` text DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` varchar(100) NOT NULL,
  `updated_at` varchar(200) NOT NULL,
  `date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `content_for`
--

CREATE TABLE `content_for` (
  `id` int(11) NOT NULL,
  `role` varchar(50) DEFAULT NULL,
  `content_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `currency`
--

CREATE TABLE `currency` (
  `id` int(11) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `description` varchar(200) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `currency`
--

INSERT INTO `currency` (`id`, `currency`, `description`, `active`) VALUES
(3, 'USD', 'UNITED STATES DOLLARS', 1),
(4, 'RTGS', 'RTGS', 1),
(5, 'ZAR', 'RAND', 1),
(6, 'ECOCASH', 'ECOCASH', 1);

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

--
-- Table structure for table `currency_table`
--

CREATE TABLE `currency_table` (
  `id` int(11) NOT NULL,
  `currencycode` varchar(50) NOT NULL,
  `date` varchar(50) NOT NULL,
  `name` varchar(100) NOT NULL,
  `description` varchar(400) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `currency_table`
--

INSERT INTO `currency_table` (`id`, `currencycode`, `date`, `name`, `description`, `active`) VALUES
(11, 'RTGS', '2023-03-31', 'RTGS', 'RTGS', 1),
(13, 'ZAR', '2023-03-31', 'ZAR', 'SOUTH AFRICAN RAND', 1),
(14, 'ECOCASH', '2023-03-31', 'ECOCASH', 'ECOCASH', 1);

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

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

CREATE TABLE `customer` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(30) NOT NULL,
  `customer_id` varchar(10) NOT NULL,
  `name` varchar(100) NOT NULL,
  `address` varchar(100) NOT NULL,
  `mobile` varchar(15) NOT NULL,
  `email` varchar(100) NOT NULL,
  `currency` varchar(20) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

INSERT INTO `customer` (`id`, `date_captured`, `customer_id`, `name`, `address`, `mobile`, `email`, `currency`, `active`) VALUES
(3, '2024-12-28', 'cid123', 'henry', 'ny231', '0782828542', 'henry@gmail.com', 'RTGS', 1),
(4, '2025-01-16', 'cash', 'cash', 'na', '002323', '022@gmal.co', 'USD', 1);

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

--
-- Table structure for table `customer_invoice`
--

CREATE TABLE `customer_invoice` (
  `id` int(11) NOT NULL,
  `gl_account` varchar(100) NOT NULL,
  `date_created` varchar(30) NOT NULL,
  `name` varchar(200) NOT NULL,
  `inv_date` varchar(30) NOT NULL,
  `inv_number` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `description` varchar(300) NOT NULL,
  `quantity` varchar(100) NOT NULL,
  `price` varchar(100) NOT NULL,
  `discount` varchar(100) NOT NULL,
  `total_amount` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `customer_invoice`
--

INSERT INTO `customer_invoice` (`id`, `gl_account`, `date_created`, `name`, `inv_date`, `inv_number`, `currency`, `description`, `quantity`, `price`, `discount`, `total_amount`, `active`) VALUES
(1, 'Generator repair & maintanance', '2024-12-28', 'henry', '2024-12-28', 'INV0001', 'RTGS', 'testing', '12', '2', '2', '1.96', 1),
(2, 'Depreciation ', '2025-01-07', 'henry', '2025-01-07', 'INV0002', 'USD', 'test2', '12', '2', '0', '2', 1);

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

--
-- Table structure for table `customer_receipt`
--

CREATE TABLE `customer_receipt` (
  `id` int(11) NOT NULL,
  `gl_account` varchar(100) NOT NULL,
  `date_created` varchar(30) NOT NULL,
  `name` varchar(200) NOT NULL,
  `rec_date` varchar(30) NOT NULL,
  `rec_number` varchar(100) NOT NULL,
  `inv_number` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `description` varchar(300) NOT NULL,
  `quantity` varchar(100) NOT NULL,
  `price` varchar(100) NOT NULL,
  `discount` varchar(100) NOT NULL,
  `total_amount` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `customer_statement`
--

CREATE TABLE `customer_statement` (
  `id` int(11) NOT NULL,
  `gl_account` varchar(100) NOT NULL,
  `customer` varchar(200) NOT NULL,
  `reference` varchar(200) NOT NULL,
  `description` varchar(200) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `debit` varchar(100) NOT NULL,
  `credit` varchar(100) NOT NULL,
  `date` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `customer_statement`
--

INSERT INTO `customer_statement` (`id`, `gl_account`, `customer`, `reference`, `description`, `currency`, `debit`, `credit`, `date`) VALUES
(1, 'Generator repair & maintanance', 'henry', 'INV0001', 'testing', 'RTGS', '1.96', '0', '2024-12-28'),
(2, 'Depreciation ', 'henry', 'INV0002', 'test2', 'USD', '2', '0', '2025-01-07'),
(3, 'null', 'henry', 'inv000696', 'testing customer', 'ECOCASH ZWL', '2333', '0', '2025-01-30');

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

--
-- Table structure for table `department`
--

CREATE TABLE `department` (
  `id` int(11) NOT NULL,
  `department_name` varchar(200) NOT NULL,
  `is_active` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `department`
--

INSERT INTO `department` (`id`, `department_name`, `is_active`) VALUES
(9, 'INFANT DEPARTMENT', 'yes'),
(10, 'CLEANING DEPARTMENT', 'yes'),
(11, 'KITCHEN DEPARTMENT', 'yes'),
(12, 'SENIOR TEACHER', 'yes'),
(13, 'ADMINISTRATION ', 'yes'),
(14, 'LOWER GRADES DEPARTMENT', 'yes'),
(15, 'UPPER GRADES DEPARTMENT', 'yes'),
(16, 'SPORTS DEPARTMENT ', 'yes'),
(17, 'TRANSPORT DEPARTMENT', 'yes'),
(18, 'PREFECTS DEPARTMENT', 'yes'),
(19, 'SECURITY DEPARTMENT', 'yes'),
(20, 'TODDLER DEPARTMENT', 'yes'),
(21, 'ACADEMIC DEPARTMENT', 'yes'),
(22, 'ANCILLARY STAFF', 'yes');

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

--
-- Table structure for table `depreciationexpenses`
--

CREATE TABLE `depreciationexpenses` (
  `id` int(11) NOT NULL,
  `depreciationexpenses` varchar(300) NOT NULL,
  `description` varchar(300) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `depreciationmethods`
--

CREATE TABLE `depreciationmethods` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(50) NOT NULL,
  `description` varchar(500) NOT NULL,
  `percentage` varchar(20) NOT NULL,
  `no_of_years` int(11) NOT NULL,
  `total_units` varchar(500) NOT NULL,
  `initial_percentage` varchar(20) NOT NULL,
  `depreciation_basis` varchar(200) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `dispatch_receive`
--

CREATE TABLE `dispatch_receive` (
  `id` int(11) NOT NULL,
  `reference_no` varchar(50) NOT NULL,
  `to_title` varchar(100) NOT NULL,
  `address` varchar(500) NOT NULL,
  `note` varchar(500) NOT NULL,
  `from_title` varchar(200) NOT NULL,
  `date` varchar(20) NOT NULL,
  `image` varchar(100) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(255) NOT NULL,
  `type` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `email_config`
--

CREATE TABLE `email_config` (
  `id` int(10) UNSIGNED NOT NULL,
  `email_type` varchar(100) DEFAULT NULL,
  `smtp_server` varchar(100) DEFAULT NULL,
  `smtp_port` varchar(100) DEFAULT NULL,
  `smtp_username` varchar(100) DEFAULT NULL,
  `smtp_password` varchar(100) DEFAULT NULL,
  `ssl_tls` varchar(100) DEFAULT NULL,
  `is_active` varchar(10) NOT NULL DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `email_config`
--

INSERT INTO `email_config` (`id`, `email_type`, `smtp_server`, `smtp_port`, `smtp_username`, `smtp_password`, `ssl_tls`, `is_active`, `created_at`) VALUES
(1, 'sendmail', '', '', '', '', '', 'yes', '2024-02-01 07:42:27');

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

--
-- Table structure for table `enquiry`
--

CREATE TABLE `enquiry` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `contact` varchar(20) NOT NULL,
  `address` mediumtext NOT NULL,
  `reference` varchar(20) NOT NULL,
  `date` date NOT NULL,
  `description` varchar(500) NOT NULL,
  `follow_up_date` date NOT NULL,
  `note` mediumtext NOT NULL,
  `source` varchar(50) NOT NULL,
  `email` varchar(50) DEFAULT NULL,
  `assigned` varchar(100) NOT NULL,
  `class` int(11) NOT NULL,
  `no_of_child` varchar(11) DEFAULT NULL,
  `status` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `enquiry_type`
--

CREATE TABLE `enquiry_type` (
  `id` int(11) NOT NULL,
  `enquiry_type` varchar(100) NOT NULL,
  `description` mediumtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `events`
--

CREATE TABLE `events` (
  `id` int(11) NOT NULL,
  `event_title` varchar(200) NOT NULL,
  `event_description` varchar(300) NOT NULL,
  `start_date` datetime NOT NULL,
  `end_date` datetime NOT NULL,
  `event_type` varchar(100) NOT NULL,
  `event_color` varchar(200) NOT NULL,
  `event_for` varchar(100) NOT NULL,
  `role_id` int(11) NOT NULL,
  `is_active` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `exams`
--

CREATE TABLE `exams` (
  `id` int(11) NOT NULL,
  `name` varchar(200) DEFAULT NULL,
  `sesion_id` int(11) NOT NULL,
  `note` text DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `exam_results`
--

CREATE TABLE `exam_results` (
  `id` int(11) NOT NULL,
  `attendence` varchar(10) NOT NULL,
  `exam_schedule_id` int(11) DEFAULT NULL,
  `student_id` int(11) DEFAULT NULL,
  `get_marks` float(10,2) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `exam_schedules`
--

CREATE TABLE `exam_schedules` (
  `id` int(11) NOT NULL,
  `session_id` int(11) NOT NULL,
  `exam_id` int(11) DEFAULT NULL,
  `teacher_subject_id` int(11) DEFAULT NULL,
  `date_of_exam` date DEFAULT NULL,
  `start_to` varchar(50) DEFAULT NULL,
  `end_from` varchar(50) DEFAULT NULL,
  `room_no` varchar(50) DEFAULT NULL,
  `full_marks` int(11) DEFAULT NULL,
  `passing_marks` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(60) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

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

CREATE TABLE `expenses` (
  `id` int(11) NOT NULL,
  `exp_head_id` int(11) DEFAULT NULL,
  `name` varchar(50) DEFAULT NULL,
  `invoice_no` varchar(200) NOT NULL,
  `date` date DEFAULT NULL,
  `amount` float(10,2) DEFAULT NULL,
  `documents` varchar(255) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'yes',
  `is_deleted` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `expense_head`
--

CREATE TABLE `expense_head` (
  `id` int(11) NOT NULL,
  `exp_category` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'yes',
  `is_deleted` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `fd_department`
--

CREATE TABLE `fd_department` (
  `id` int(11) NOT NULL,
  `department` varchar(200) NOT NULL,
  `description` varchar(500) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `feecategory`
--

CREATE TABLE `feecategory` (
  `id` int(11) NOT NULL,
  `category` varchar(50) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `feemasters`
--

CREATE TABLE `feemasters` (
  `id` int(11) NOT NULL,
  `session_id` int(11) DEFAULT NULL,
  `feetype_id` int(11) NOT NULL,
  `class_id` int(11) DEFAULT NULL,
  `amount` float(10,2) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `fees_discounts`
--

CREATE TABLE `fees_discounts` (
  `id` int(11) NOT NULL,
  `session_id` int(11) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `amount` decimal(10,2) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` varchar(10) NOT NULL DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `feetype`
--

CREATE TABLE `feetype` (
  `id` int(11) NOT NULL,
  `is_system` int(11) NOT NULL DEFAULT 0,
  `feecategory_id` int(11) DEFAULT NULL,
  `type` varchar(50) DEFAULT NULL,
  `code` varchar(100) NOT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL,
  `description` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `feetype`
--

INSERT INTO `feetype` (`id`, `is_system`, `feecategory_id`, `type`, `code`, `is_active`, `created_at`, `updated_at`, `description`) VALUES
(12, 0, NULL, 'REGISTRATION FEE', 'REG', 'no', '2023-02-07 05:16:25', '', 'REGISTATION FEE'),
(13, 0, NULL, 'DEVELOPMENT FEE', 'DEVF', 'no', '2023-02-07 05:16:50', '', 'DEVELOPMENT FEE'),
(14, 0, NULL, 'FEES ECD', 'FECD', 'no', '2023-02-07 05:17:29', '', 'FEES ECD'),
(15, 0, NULL, 'FEES GRADES', 'FGS', 'no', '2023-02-07 05:17:59', '', 'FEES GRADES'),
(16, 0, NULL, 'TRANSPORT', 'TRANS', 'no', '2023-02-07 05:19:18', '', 'TRANSPORT'),
(17, 0, NULL, 'TEXTBOOK LEVY', 'TLEVY', 'no', '2023-02-07 05:19:50', '', 'TEXTBOOK LEVY'),
(19, 0, NULL, 'GROCERIES INFANTS', 'GI', 'no', '2024-02-01 09:08:10', '', 'GROCERIES INFANTS'),
(20, 0, NULL, 'ADMISSION FEE', 'ADF', 'no', '2024-02-01 09:08:56', '', 'ADMISSION FEE'),
(21, 0, NULL, 'MISCELLANEOUS', 'MISC', 'no', '2024-02-01 09:09:28', '', 'MISCELLANEOUS'),
(22, 0, NULL, 'TRIP', 'TRP', 'no', '2024-02-01 09:09:48', '', 'TRIP'),
(23, 0, NULL, 'UNIFORMS FEE', 'UNF', 'no', '2024-02-01 09:10:11', '', 'UNIFORMS FEE');

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

--
-- Table structure for table `fee_groups`
--

CREATE TABLE `fee_groups` (
  `id` int(11) NOT NULL,
  `name` varchar(200) DEFAULT NULL,
  `is_system` int(11) NOT NULL DEFAULT 0,
  `description` text DEFAULT NULL,
  `is_active` varchar(10) NOT NULL DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `fee_groups`
--

INSERT INTO `fee_groups` (`id`, `name`, `is_system`, `description`, `is_active`, `created_at`) VALUES
(3, 'Grade 1-7 First Term', 0, 'Fees fully paid for the term', 'no', '2024-03-18 10:34:11'),
(4, 'Grade 1-7 Second Term', 0, 'Fees fully paid for the term', 'no', '2024-03-18 10:29:40'),
(5, 'Grade 1-7  Third Term', 0, 'Fees fully paid for the term', 'no', '2024-03-18 10:29:59'),
(6, 'Infants Toddlers - ECD B First Term', 0, 'Fees fully paid for the term', 'no', '2024-03-18 10:30:57'),
(7, 'Infants Toddlers - ECD B Second Term', 0, 'Fees fully paid for the term', 'no', '2024-03-18 10:31:13'),
(8, 'Infants Toddlers - ECD B Third Term', 0, 'Fees fully paid for the term', 'no', '2024-03-18 10:31:30'),
(9, 'Grade 1-7 Monthly', 0, 'Monthly Installments', 'no', '2024-03-18 10:34:27'),
(10, 'Infants Toddlers - ECD B Monthly', 0, 'Monthly Installments', 'no', '2024-03-18 10:34:40'),
(52, 'Ordinary Grade 1-7  First Term', 0, 'Fees fully paid for the term', 'no', '2024-03-18 10:38:48'),
(53, 'Ordinary Grade 1-7  Second Term', 0, 'Fees fully paid for the term', 'no', '2024-03-18 10:38:56'),
(54, 'Ordinary Grade 1-7  Third Term', 0, 'Fees fully paid for the term', 'no', '2024-03-18 10:39:02'),
(55, 'Ordinary Infants Toddlers - ECD B First Term', 0, 'Fees Fully paid', 'no', '2024-03-18 10:41:35'),
(56, 'Ordinary Infants Toddlers - ECD B Second Term', 0, 'Fees Fully paid', 'no', '2024-03-18 10:42:04'),
(57, 'Ordinary Infants Toddlers - ECD B Third Term', 0, 'Fees Fully paid', 'no', '2024-03-18 10:42:25'),
(58, 'Ordinary  Grade 1-7 Monthly', 0, 'Fees Fully paid ', 'no', '2024-03-18 10:43:43'),
(59, 'Ordinary  Infants Toddlers - Toddlers  Monthly', 0, 'Fees Fully paid', 'no', '2024-03-18 10:44:30');

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

--
-- Table structure for table `fee_groups_feetype`
--

CREATE TABLE `fee_groups_feetype` (
  `id` int(11) NOT NULL,
  `fee_session_group_id` int(11) DEFAULT NULL,
  `fee_groups_id` int(11) DEFAULT NULL,
  `feetype_id` int(11) DEFAULT NULL,
  `session_id` int(11) DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `amount` decimal(10,2) DEFAULT NULL,
  `is_active` varchar(10) NOT NULL DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `routes` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `fee_groups_feetype`
--

INSERT INTO `fee_groups_feetype` (`id`, `fee_session_group_id`, `fee_groups_id`, `feetype_id`, `session_id`, `due_date`, `amount`, `is_active`, `created_at`, `routes`) VALUES
(11, 4, 3, 8, 14, '1970-01-01', 100.00, 'no', '2023-02-02 11:28:25', 0),
(12, 4, 3, 9, 14, '1970-01-01', 200.00, 'no', '2023-02-02 11:29:23', 0),
(13, 5, 4, 10, 14, '1970-01-01', 15.00, 'no', '2023-02-03 21:01:33', 0),
(14, 5, 4, 8, 14, '1970-01-01', 100.00, 'no', '2023-02-03 21:01:58', 0),
(15, 5, 4, 9, 14, '1970-01-01', 34.00, 'no', '2023-02-03 21:02:17', 0),
(16, 5, 4, 11, 14, '1970-01-01', 80.00, 'no', '2023-02-03 21:02:45', 0),
(17, 5, 4, 12, 14, '1970-01-01', 100.00, 'no', '2024-03-15 10:17:44', 0),
(19, 5, 4, 20, 14, '1970-01-01', 200.00, 'no', '2024-02-01 09:37:45', 0),
(20, 4, 3, 12, 14, '1970-01-01', 100.00, 'no', '2024-03-15 10:12:36', 0),
(22, 4, 3, 20, 14, '1970-01-01', 200.00, 'no', '2024-02-01 09:31:01', 0),
(23, 6, 14, 18, 14, '2023-04-04', NULL, 'no', '2023-03-28 08:48:15', 0),
(31, 16, 17, 16, 14, '1970-01-01', 34.00, 'no', '2023-03-31 08:05:04', 3),
(32, 17, 13, 15, 14, '1970-01-01', 250.00, 'no', '2023-03-31 09:00:29', 0),
(33, 18, 38, 14, 14, '1970-01-01', 240.00, 'no', '2023-03-31 09:01:23', 0),
(37, 20, 39, 14, 14, '1970-01-01', 240.00, 'no', '2023-03-31 09:02:14', 0),
(38, 21, 40, 19, 14, '1970-01-01', 15.00, 'no', '2023-03-31 09:05:53', 0),
(47, 27, 44, 12, 14, '1970-01-01', 30.00, 'no', '2023-04-13 07:37:53', 0),
(48, 27, 44, 13, 14, '1970-01-01', 50.00, 'no', '2023-04-13 07:38:07', 0),
(49, 27, 44, 15, 14, '1970-01-01', 250.00, 'no', '2023-04-13 07:38:24', 0),
(50, 28, 45, 15, 14, '1970-01-01', 250.00, 'no', '2023-04-13 07:38:46', 0),
(51, 29, 46, 15, 14, '1970-01-01', 250.00, 'no', '2023-04-13 07:39:07', 0),
(52, 30, 47, 15, 14, '1970-01-01', 250.00, 'no', '2023-04-13 07:40:18', 0),
(53, 31, 6, 12, 14, '2023-04-17', 100.00, 'no', '2024-03-15 10:18:13', 0),
(54, 32, 11, 12, 14, '1970-01-01', 0.00, 'no', '2024-01-30 14:18:36', 0),
(55, 33, 5, 12, 14, '2023-12-31', 100.00, 'no', '2024-03-15 10:18:04', 6),
(56, 34, 48, 12, 14, '1970-01-01', 23.00, 'no', '2024-01-31 06:53:55', 1),
(57, 4, 3, 15, 14, '1970-01-01', 700.00, 'no', '2024-03-15 10:22:22', 0),
(58, 5, 4, 15, 14, '1970-01-01', 700.00, 'no', '2024-03-15 10:22:30', 0),
(60, 33, 5, 20, 14, '1970-01-01', 200.00, 'no', '2024-02-01 09:35:28', 0),
(61, 33, 5, 14, 14, '1970-01-01', 700.00, 'no', '2024-03-15 10:22:39', 0),
(63, 31, 6, 20, 14, '1970-01-01', 200.00, 'no', '2024-02-01 09:40:50', 0),
(66, 31, 6, 15, 14, '1970-01-01', 650.00, 'no', '2024-03-15 10:20:32', 0),
(67, 37, 7, 12, 14, '1970-01-01', 100.00, 'no', '2024-03-15 10:18:20', 0),
(69, 37, 7, 20, 14, '1970-01-01', 200.00, 'no', '2024-02-01 09:45:23', 0),
(70, 37, 7, 15, 14, '1970-01-01', 650.00, 'no', '2024-03-15 10:20:17', 0),
(71, 38, 8, 12, 14, '1970-01-01', 100.00, 'no', '2024-03-15 10:18:30', 0),
(73, 38, 8, 20, 14, '1970-01-01', 200.00, 'no', '2024-02-01 09:46:27', 0),
(74, 38, 8, 15, 14, '1970-01-01', 650.00, 'no', '2024-03-15 10:20:04', 0),
(75, 39, 9, 12, 14, '1970-01-01', 100.00, 'no', '2024-03-15 10:18:41', 0),
(77, 39, 9, 20, 14, '1970-01-01', 200.00, 'no', '2024-02-01 09:49:15', 0),
(78, 39, 9, 15, 14, '1970-01-01', 250.00, 'no', '2024-02-01 09:49:42', 0),
(79, 40, 10, 12, 14, '1970-01-01', 100.00, 'no', '2024-03-15 10:18:48', 0),
(81, 40, 10, 20, 14, '1970-01-01', 200.00, 'no', '2024-02-01 09:51:36', 0),
(82, 40, 10, 15, 14, '1970-01-01', 230.00, 'no', '2024-03-15 10:19:35', 0),
(84, 41, 52, 15, 14, '1970-01-01', 700.00, 'no', '2024-03-18 10:49:03', 0),
(85, 42, 53, 15, 14, '1970-01-01', 700.00, 'no', '2024-03-18 10:49:40', 0),
(86, 43, 54, 15, 14, '1970-01-01', 700.00, 'no', '2024-03-18 10:50:04', 0),
(87, 44, 55, 15, 14, '1970-01-01', 650.00, 'no', '2024-03-18 10:50:20', 0),
(88, 45, 56, 15, 14, '1970-01-01', 650.00, 'no', '2024-03-18 10:50:32', 0),
(89, 46, 57, 15, 14, '1970-01-01', 650.00, 'no', '2024-03-18 10:50:51', 0),
(90, 47, 58, 15, 14, '1970-01-01', 250.00, 'no', '2024-03-18 10:51:13', 0),
(91, 48, 59, 15, 14, '1970-01-01', 250.00, 'no', '2024-03-18 10:51:40', 0);

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

--
-- Table structure for table `fee_receipt_no`
--

CREATE TABLE `fee_receipt_no` (
  `id` int(11) NOT NULL,
  `payment` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `fee_session_groups`
--

CREATE TABLE `fee_session_groups` (
  `id` int(11) NOT NULL,
  `fee_groups_id` int(11) DEFAULT NULL,
  `session_id` int(11) DEFAULT NULL,
  `is_active` varchar(10) NOT NULL DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `fee_session_groups`
--

INSERT INTO `fee_session_groups` (`id`, `fee_groups_id`, `session_id`, `is_active`, `created_at`) VALUES
(4, 3, 14, 'no', '2023-02-02 11:28:25'),
(5, 4, 14, 'no', '2023-02-03 21:01:33'),
(6, 14, 14, 'no', '2023-03-28 08:48:15'),
(16, 17, 14, 'no', '2023-03-31 08:05:04'),
(17, 13, 14, 'no', '2023-03-31 09:00:29'),
(18, 38, 14, 'no', '2023-03-31 09:01:23'),
(20, 39, 14, 'no', '2023-03-31 09:02:14'),
(21, 40, 14, 'no', '2023-03-31 09:05:53'),
(27, 44, 14, 'no', '2023-04-13 07:37:53'),
(28, 45, 14, 'no', '2023-04-13 07:38:46'),
(29, 46, 14, 'no', '2023-04-13 07:39:07'),
(30, 47, 14, 'no', '2023-04-13 07:40:18'),
(31, 6, 14, 'no', '2023-04-17 11:28:11'),
(32, 11, 14, 'no', '2024-01-30 14:18:36'),
(33, 5, 14, 'no', '2024-01-30 14:19:32'),
(34, 48, 14, 'no', '2024-01-31 06:53:55'),
(37, 7, 14, 'no', '2024-02-01 09:44:42'),
(38, 8, 14, 'no', '2024-02-01 09:45:57'),
(39, 9, 14, 'no', '2024-02-01 09:47:02'),
(40, 10, 14, 'no', '2024-02-01 09:50:04'),
(41, 52, 14, 'no', '2024-03-18 10:49:03'),
(42, 53, 14, 'no', '2024-03-18 10:49:40'),
(43, 54, 14, 'no', '2024-03-18 10:50:04'),
(44, 55, 14, 'no', '2024-03-18 10:50:20'),
(45, 56, 14, 'no', '2024-03-18 10:50:32'),
(46, 57, 14, 'no', '2024-03-18 10:50:51'),
(47, 58, 14, 'no', '2024-03-18 10:51:13'),
(48, 59, 14, 'no', '2024-03-18 10:51:40');

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

--
-- Table structure for table `follow_up`
--

CREATE TABLE `follow_up` (
  `id` int(11) NOT NULL,
  `enquiry_id` int(11) NOT NULL,
  `date` date NOT NULL,
  `next_date` date NOT NULL,
  `response` text NOT NULL,
  `note` text NOT NULL,
  `followup_by` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `front_cms_media_gallery`
--

CREATE TABLE `front_cms_media_gallery` (
  `id` int(11) NOT NULL,
  `image` varchar(300) DEFAULT NULL,
  `thumb_path` varchar(300) DEFAULT NULL,
  `dir_path` varchar(300) DEFAULT NULL,
  `img_name` varchar(300) DEFAULT NULL,
  `thumb_name` varchar(300) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `file_type` varchar(100) NOT NULL,
  `file_size` varchar(100) NOT NULL,
  `vid_url` mediumtext NOT NULL,
  `vid_title` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `front_cms_menus`
--

CREATE TABLE `front_cms_menus` (
  `id` int(11) NOT NULL,
  `menu` varchar(100) DEFAULT NULL,
  `slug` varchar(200) DEFAULT NULL,
  `description` mediumtext DEFAULT NULL,
  `open_new_tab` int(11) NOT NULL DEFAULT 0,
  `ext_url` mediumtext NOT NULL,
  `ext_url_link` mediumtext NOT NULL,
  `publish` int(11) NOT NULL DEFAULT 0,
  `content_type` varchar(10) NOT NULL DEFAULT 'manual',
  `is_active` varchar(10) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `front_cms_menus`
--

INSERT INTO `front_cms_menus` (`id`, `menu`, `slug`, `description`, `open_new_tab`, `ext_url`, `ext_url_link`, `publish`, `content_type`, `is_active`, `created_at`) VALUES
(1, 'Main Menu', 'main-menu', 'Main menu', 0, '', '', 0, 'default', 'no', '2018-04-20 10:54:49'),
(2, 'Bottom Menu', 'bottom-menu', 'Bottom Menu', 0, '', '', 0, 'default', 'no', '2018-04-20 10:54:55');

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

--
-- Table structure for table `front_cms_menu_items`
--

CREATE TABLE `front_cms_menu_items` (
  `id` int(11) NOT NULL,
  `menu_id` int(11) NOT NULL,
  `menu` varchar(100) DEFAULT NULL,
  `page_id` int(11) NOT NULL,
  `parent_id` int(11) NOT NULL,
  `ext_url` mediumtext DEFAULT NULL,
  `open_new_tab` int(11) DEFAULT 0,
  `ext_url_link` mediumtext DEFAULT NULL,
  `slug` varchar(200) DEFAULT NULL,
  `weight` int(11) DEFAULT NULL,
  `publish` int(11) NOT NULL DEFAULT 0,
  `description` mediumtext DEFAULT NULL,
  `is_active` varchar(10) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `front_cms_pages`
--

CREATE TABLE `front_cms_pages` (
  `id` int(11) NOT NULL,
  `page_type` varchar(10) NOT NULL DEFAULT 'manual',
  `is_homepage` int(11) DEFAULT 0,
  `title` varchar(250) DEFAULT NULL,
  `url` varchar(250) DEFAULT NULL,
  `type` varchar(50) DEFAULT NULL,
  `slug` varchar(200) DEFAULT NULL,
  `meta_title` mediumtext DEFAULT NULL,
  `meta_description` mediumtext DEFAULT NULL,
  `meta_keyword` mediumtext DEFAULT NULL,
  `feature_image` varchar(200) NOT NULL,
  `description` longtext DEFAULT NULL,
  `publish_date` date NOT NULL,
  `publish` int(11) DEFAULT 0,
  `sidebar` int(11) DEFAULT 0,
  `is_active` varchar(10) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `front_cms_pages`
--

INSERT INTO `front_cms_pages` (`id`, `page_type`, `is_homepage`, `title`, `url`, `type`, `slug`, `meta_title`, `meta_description`, `meta_keyword`, `feature_image`, `description`, `publish_date`, `publish`, `sidebar`, `is_active`, `created_at`) VALUES
(1, 'default', 1, 'Home', 'page/home', 'page', 'home', '', '', '', '', '<p>home page</p>', '0000-00-00', 1, NULL, 'no', '2018-07-11 14:04:33'),
(2, 'default', 0, 'Complain', 'page/complain', 'page', 'complain', 'Complain form', '                                                                                                                                                                                    complain form                                                                                                                                                                                                                                ', 'complain form', '', '<p>\r\n[form-builder:complain]</p>', '0000-00-00', 1, 1, 'no', '2018-05-09 11:14:34'),
(54, 'default', 0, '404 page', 'page/404-page', 'page', '404-page', '', '                                ', '', '', '<html>\r\n<head>\r\n <title></title>\r\n</head>\r\n<body>\r\n<p>404 page found</p>\r\n</body>\r\n</html>', '0000-00-00', 0, NULL, 'no', '2018-05-18 10:46:04'),
(76, 'default', 0, 'Contact us', 'page/contact-us', 'page', 'contact-us', '', '', '', '', '<title></title>\r\n<section class=\"contact\">\r\n<div class=\"container spacet50 spaceb50\">\r\n<div class=\"row\">\r\n<div class=\"col-md-12 col-sm-12\">[form-builder:contact_us]<!--./row--></div>\r\n<!--./col-md-12--></div>\r\n<!--./row--></div>\r\n<!--./container--></section>', '0000-00-00', 0, NULL, 'no', '2018-07-11 14:03:41');

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

--
-- Table structure for table `front_cms_page_contents`
--

CREATE TABLE `front_cms_page_contents` (
  `id` int(11) NOT NULL,
  `page_id` int(11) DEFAULT NULL,
  `content_type` varchar(50) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `front_cms_programs`
--

CREATE TABLE `front_cms_programs` (
  `id` int(11) NOT NULL,
  `type` varchar(50) DEFAULT NULL,
  `slug` varchar(255) DEFAULT NULL,
  `url` mediumtext DEFAULT NULL,
  `title` varchar(200) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `event_start` date DEFAULT NULL,
  `event_end` date DEFAULT NULL,
  `event_venue` mediumtext DEFAULT NULL,
  `description` mediumtext DEFAULT NULL,
  `is_active` varchar(10) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `meta_title` mediumtext NOT NULL,
  `meta_description` mediumtext NOT NULL,
  `meta_keyword` mediumtext NOT NULL,
  `feature_image` mediumtext NOT NULL,
  `publish_date` date NOT NULL,
  `publish` varchar(10) DEFAULT '0',
  `sidebar` int(11) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `front_cms_program_photos`
--

CREATE TABLE `front_cms_program_photos` (
  `id` int(11) NOT NULL,
  `program_id` int(11) DEFAULT NULL,
  `media_gallery_id` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `front_cms_settings`
--

CREATE TABLE `front_cms_settings` (
  `id` int(11) NOT NULL,
  `theme` varchar(50) DEFAULT NULL,
  `is_active_rtl` int(11) DEFAULT 0,
  `is_active_front_cms` int(11) DEFAULT 0,
  `is_active_sidebar` int(11) DEFAULT 0,
  `logo` varchar(200) DEFAULT NULL,
  `contact_us_email` varchar(100) DEFAULT NULL,
  `complain_form_email` varchar(100) DEFAULT NULL,
  `sidebar_options` mediumtext NOT NULL,
  `fb_url` varchar(200) NOT NULL,
  `twitter_url` varchar(200) NOT NULL,
  `youtube_url` varchar(200) NOT NULL,
  `google_plus` varchar(200) NOT NULL,
  `instagram_url` varchar(200) NOT NULL,
  `pinterest_url` varchar(200) NOT NULL,
  `linkedin_url` varchar(200) NOT NULL,
  `google_analytics` mediumtext DEFAULT NULL,
  `footer_text` varchar(500) DEFAULT NULL,
  `fav_icon` varchar(250) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `front_cms_settings`
--

INSERT INTO `front_cms_settings` (`id`, `theme`, `is_active_rtl`, `is_active_front_cms`, `is_active_sidebar`, `logo`, `contact_us_email`, `complain_form_email`, `sidebar_options`, `fb_url`, `twitter_url`, `youtube_url`, `google_plus`, `instagram_url`, `pinterest_url`, `linkedin_url`, `google_analytics`, `footer_text`, `fav_icon`, `created_at`) VALUES
(0, 'default', 1, 1, 1, './uploads/school_content/logo/front_logo-63d227cd056bf8.35545872.png', '', '', '[\"news\"]', '', '', '', '', '', '', '', 'none', 'Melsoft School Standard By Melsoft Pvt', './uploads/school_content/logo/front_fav_icon-63d227cd05ccd9.67557367.png', '2023-01-26 07:12:13');

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

--
-- Table structure for table `general_calls`
--

CREATE TABLE `general_calls` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `contact` varchar(12) NOT NULL,
  `date` date NOT NULL,
  `description` varchar(500) NOT NULL,
  `follow_up_date` date NOT NULL,
  `call_dureation` varchar(50) NOT NULL,
  `note` mediumtext NOT NULL,
  `call_type` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `glaccount_types`
--

CREATE TABLE `glaccount_types` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `description` varchar(200) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `glaccount_types`
--

INSERT INTO `glaccount_types` (`id`, `name`, `description`, `active`) VALUES
(1, 'Income', 'Income', 1),
(2, 'Expenses', 'Expenses', 1),
(3, 'Revenue', 'Revenue', 1),
(4, 'Cost of Sales', 'Cost of Sales', 1),
(5, 'Fixed Asssets', 'Fixed Asssets', 1),
(6, 'Other Income', 'Other Income', 1),
(7, 'Other Expenses', 'Other Expenses', 1),
(8, 'Bank', 'Bank', 1),
(9, 'Other Current Liability', 'Other Current Liability', 1),
(10, 'Trade Receivable', 'Trade Receivable', 1),
(11, 'Trade Payable', 'Trade Payable', 1),
(12, 'VAT Control', 'VAT Control', 1),
(13, 'Prepayment', 'Prepayment', 1),
(14, 'Other Current Asset', 'Other Current Asset', 1),
(15, 'Inventory', 'Inventory', 1),
(16, 'Long term liability', 'Long term liability', 1),
(17, 'Liability', 'Liability', 1);

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

--
-- Table structure for table `glledger_account`
--

CREATE TABLE `glledger_account` (
  `id` int(11) NOT NULL,
  `date` varchar(50) NOT NULL,
  `gl_code` varchar(100) NOT NULL,
  `name` varchar(100) NOT NULL,
  `description` varchar(200) NOT NULL,
  `account_type` varchar(200) NOT NULL,
  `active` int(11) NOT NULL,
  `balance_totals` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `glledger_account`
--

INSERT INTO `glledger_account` (`id`, `date`, `gl_code`, `name`, `description`, `account_type`, `active`, `balance_totals`) VALUES
(2, '2023-01-10 01:29:09pm', '1000', 'Fees', 'Fees', 'Income', 1, ''),
(3, '2023-01-10 01:30:04pm', '2000', 'Purchases', 'Purchases', 'Cost of Sales', 1, ''),
(4, '2023-01-10 01:30:48pm', '4000', 'General Expenses', 'General Expenses', 'Expenses', 1, ''),
(5, '2023-01-10 01:31:39pm', '4100', 'Motor Vehicle Expenses', 'Motor Vehicle Expenses', 'Expenses', 1, ''),
(6, '2023-01-10 01:32:21pm', '4200', 'Repairs & Maintenance', 'Repairs & Maintenance', 'Expenses', 1, ''),
(7, '2023-01-10 01:32:52pm', '4300', 'Admin Expenses', 'Admin Expenses', 'Expenses', 1, ''),
(8, '2023-01-10 01:33:44pm', '4400', 'HR & Staff Expenses', 'HR & Staff Expenses', 'Expenses', 1, ''),
(9, '2023-01-10 01:34:46pm', '4500', 'Printing & Stationery', 'Printing & Stationery', 'Expenses', 1, ''),
(19, '2023-01-15 03:11:29am', '6000', 'Motor Vehicle ', 'Motor Vehicle ', 'Fixed Asssets', 1, ''),
(20, '2023-01-15 03:12:16am', '6100', 'Computer Equipment ', 'Computer Equipment ', 'Fixed Asssets', 1, ''),
(21, '2023-01-15 03:12:58am', '6200', 'Furniture & Fittings', 'Furniture & Fittings', 'Fixed Asssets', 1, ''),
(22, '2023-01-15 03:33:46am', '9550', 'Suspense Take On', 'Suspense Take On', 'Other Current Liability', 1, ''),
(23, '2023-01-15 03:34:37am', '9500', 'Suspense ', 'Suspense ', 'Other Current Liability', 1, ''),
(24, '2023-01-15 10:45:07am', '4600', 'Depreciation ', 'Depreciation Expenses', 'Expenses', 1, ''),
(25, '2023-03-31 08:20:29am', '4700', 'Generator expenses', 'Generator expenses', 'Expenses', 1, ''),
(26, '2023-03-31 08:54:03am', '4800', 'Staff welfare', 'Staff welfare', 'Expenses', 1, ''),
(27, '2023-03-31 08:54:39am', '4900', 'Maintanance', 'Maintanance', 'Expenses', 1, ''),
(31, '2023-04-05 01:52:50pm', '7100', 'Debtors', 'Debtors', 'Trade Receivable', 1, ''),
(32, '2023-04-05 01:53:21pm', '7200', 'Creditors ', 'Creditors ', 'Trade Payable', 1, ''),
(33, '2023-04-05 01:54:23pm', '9600', 'Directors Loan', 'Directors Loan', 'Other Current Liability', 1, ''),
(34, '2024-02-01 09:51:58am', '6300', 'Software', ' Software', 'Fixed Asssets', 1, '');

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

--
-- Table structure for table `glsub_account`
--

CREATE TABLE `glsub_account` (
  `id` int(11) NOT NULL,
  `date` varchar(100) NOT NULL,
  `glsub_code` varchar(100) NOT NULL,
  `name` varchar(100) NOT NULL,
  `description` varchar(100) NOT NULL,
  `account_type` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `glsub_account`
--

INSERT INTO `glsub_account` (`id`, `date`, `glsub_code`, `name`, `description`, `account_type`, `active`) VALUES
(3, '2023-01-15 02:19:57am', '100', 'Fuel ', 'Fuel expense', '4100', 1),
(4, '2023-01-15 03:14:52am', '001', 'Motor Vehicle @cost', 'Motor Vehicle @cost', '6000', 1),
(5, '2023-01-15 03:17:22am', '002', 'Motor Vehicle>Acc Depreciation ', 'Motor Vehicle>Acc Depreciation ', '6000', 1),
(7, '2023-01-15 03:37:08am', '100', 'General ledger Take On ', 'General ledger Take On ', '9550', 1),
(8, '2023-01-15 03:37:36am', '200', 'Customers Take On ', 'Customers Take On ', '9550', 1),
(9, '2023-01-15 03:38:01am', '300', 'Suppliers Take On ', 'Suppliers Take On ', '9550', 1),
(10, '2023-01-15 03:38:29am', '400', 'Inventory Take On ', 'Inventory Take On ', '9550', 1),
(11, '2023-01-15 03:39:23am', '200', 'Insurance ', 'Insurance ', '4100', 1),
(12, '2023-01-15 03:39:51am', '300', 'Toll gates', 'Toll gates', '4100', 1),
(13, '2023-01-15 03:40:23am', '400', 'Repairs & Maintenance ', 'Repairs & Maintenance ', '4100', 1),
(14, '2023-01-15 10:47:38am', '001', 'Depreciation>Motor Vehicle ', 'Depreciation>Motor Vehicle ', '4600', 1),
(15, '2023-01-15 10:49:18am', '002', 'Depreciation>Furniture & Fittings ', 'Depreciation>Furniture & Fittings ', '4600', 1),
(16, '2023-01-15 10:50:05am', '003', 'Depreciation>Computer Equipment ', 'Depreciation>Computer Equipment ', '4600', 1),
(18, '2023-01-15 10:52:44am', '003', 'Computer Equipment>Acc Depreciation ', 'Computer Equipment>Acc Depreciation ', '6100', 1),
(19, '2023-01-15 10:54:00am', '001', 'Furniture & Fittings @Cost', 'Furniture & Fittings @Cost', '6200', 1),
(20, '2023-01-15 10:55:09am', '002', 'Furniture & Fittings>Acc Depreciation ', 'Furniture & Fittings>Acc Depreciation ', '6200', 1),
(21, '2023-03-31 08:24:54am', '100', 'Generator fuel', 'Generator fuel', '4700', 1),
(22, '2023-03-31 08:25:49am', '200', 'Generator repair & maintanance', 'Generator repair & maintanance', '4700', 1),
(23, '2024-02-01 09:54:37am', '001', 'School Management Software', 'Melsoft Essential', '6300', 1);

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

--
-- Table structure for table `grades`
--

CREATE TABLE `grades` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `point` float(10,1) DEFAULT NULL,
  `mark_from` float(10,2) DEFAULT NULL,
  `mark_upto` float(10,2) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `homework`
--

CREATE TABLE `homework` (
  `id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `section_id` int(11) NOT NULL,
  `homework_date` date NOT NULL,
  `submit_date` date NOT NULL,
  `staff_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `description` varchar(500) NOT NULL,
  `create_date` date NOT NULL,
  `document` varchar(200) NOT NULL,
  `created_by` int(11) NOT NULL,
  `evaluated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `homework_evaluation`
--

CREATE TABLE `homework_evaluation` (
  `id` int(11) NOT NULL,
  `homework_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `date` date NOT NULL,
  `status` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `home_currency`
--

CREATE TABLE `home_currency` (
  `id` int(11) NOT NULL,
  `date` varchar(50) NOT NULL,
  `currencycode` varchar(50) NOT NULL,
  `name` varchar(50) NOT NULL,
  `description` varchar(50) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `home_currency`
--

INSERT INTO `home_currency` (`id`, `date`, `currencycode`, `name`, `description`, `active`) VALUES
(9, '31-03-2023 07:37:22am', 'USD', 'USD', 'UNITED STATES DOLLARS', 1);

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

--
-- Table structure for table `hostel`
--

CREATE TABLE `hostel` (
  `id` int(11) NOT NULL,
  `hostel_name` varchar(100) DEFAULT NULL,
  `type` varchar(50) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `intake` int(11) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `hostel_rooms`
--

CREATE TABLE `hostel_rooms` (
  `id` int(11) NOT NULL,
  `hostel_id` int(11) DEFAULT NULL,
  `room_type_id` int(11) DEFAULT NULL,
  `room_no` varchar(200) DEFAULT NULL,
  `no_of_bed` int(11) DEFAULT NULL,
  `cost_per_bed` float(10,2) DEFAULT 0.00,
  `title` varchar(200) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `id_card`
--

CREATE TABLE `id_card` (
  `id` int(11) NOT NULL,
  `title` varchar(100) NOT NULL,
  `school_name` varchar(100) NOT NULL,
  `school_address` varchar(500) NOT NULL,
  `background` varchar(100) NOT NULL,
  `logo` varchar(100) NOT NULL,
  `sign_image` varchar(100) NOT NULL,
  `header_color` varchar(100) NOT NULL,
  `enable_admission_no` tinyint(1) NOT NULL COMMENT '0=disable,1=enable',
  `enable_student_name` tinyint(1) NOT NULL COMMENT '0=disable,1=enable',
  `enable_class` tinyint(1) NOT NULL COMMENT '0=disable,1=enable',
  `enable_fathers_name` tinyint(1) NOT NULL COMMENT '0=disable,1=enable',
  `enable_mothers_name` tinyint(1) NOT NULL COMMENT '0=disable,1=enable',
  `enable_address` tinyint(1) NOT NULL COMMENT '0=disable,1=enable',
  `enable_phone` tinyint(1) NOT NULL COMMENT '0=disable,1=enable',
  `enable_dob` tinyint(1) NOT NULL COMMENT '0=disable,1=enable',
  `enable_blood_group` tinyint(1) NOT NULL COMMENT '0=disable,1=enable',
  `status` tinyint(1) NOT NULL COMMENT '0=disable,1=enable'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `id_card`
--

INSERT INTO `id_card` (`id`, `title`, `school_name`, `school_address`, `background`, `logo`, `sign_image`, `header_color`, `enable_admission_no`, `enable_student_name`, `enable_class`, `enable_fathers_name`, `enable_mothers_name`, `enable_address`, `enable_phone`, `enable_dob`, `enable_blood_group`, `status`) VALUES
(1, 'Sample Student Identity Card', 'Mount Carmel School', '110 Kings Street, CA  Phone: 456542 Email: mount@gmail.com', 'samplebackground12.png', 'samplelogo12.png', 'samplesign12.png', '#595959', 1, 1, 1, 1, 0, 1, 1, 1, 1, 1);

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

--
-- Table structure for table `income`
--

CREATE TABLE `income` (
  `id` int(11) NOT NULL,
  `inc_head_id` varchar(11) DEFAULT NULL,
  `name` varchar(50) DEFAULT NULL,
  `invoice_no` varchar(200) NOT NULL,
  `date` date DEFAULT NULL,
  `amount` float DEFAULT NULL,
  `note` text DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'yes',
  `is_deleted` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL,
  `documents` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `income_head`
--

CREATE TABLE `income_head` (
  `id` int(11) NOT NULL,
  `income_category` varchar(255) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `is_active` varchar(255) NOT NULL DEFAULT 'yes',
  `is_deleted` varchar(255) NOT NULL DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `invoicegenaration`
--

CREATE TABLE `invoicegenaration` (
  `ID` int(11) NOT NULL,
  `Status` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `invoicegenaration`
--

INSERT INTO `invoicegenaration` (`ID`, `Status`) VALUES
(1, '1'),
(2, '1'),
(3, '1'),
(4, '1'),
(5, '1'),
(6, '1'),
(7, '1'),
(8, '1'),
(9, '1'),
(10, '1'),
(11, '1'),
(12, '1'),
(13, '1'),
(14, '1'),
(15, '1'),
(16, '1'),
(17, '1'),
(18, '1'),
(19, '1'),
(20, '1'),
(21, '1'),
(22, '1'),
(23, '1'),
(24, '1'),
(25, '1'),
(26, '1'),
(27, '1'),
(28, '1'),
(29, '1'),
(30, '1'),
(31, '1'),
(32, '1'),
(33, '1'),
(34, '1'),
(35, '1'),
(36, '1'),
(37, '1'),
(38, '1'),
(39, '1'),
(40, '1'),
(41, '1'),
(42, '1'),
(43, '1'),
(44, '1'),
(45, '1'),
(46, '1'),
(47, '1'),
(48, '1'),
(49, '1'),
(50, '1'),
(51, '1'),
(52, '1'),
(53, '1'),
(54, '1'),
(55, '1'),
(56, '1'),
(57, '1'),
(58, '1'),
(59, '1'),
(60, '1'),
(61, '1'),
(62, '1'),
(63, '1'),
(64, '1'),
(65, '1'),
(66, '1'),
(67, '1'),
(68, '1'),
(69, '1'),
(70, '1'),
(71, '1'),
(72, '1'),
(73, '1'),
(74, '1'),
(75, '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');

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

--
-- Table structure for table `item`
--

CREATE TABLE `item` (
  `id` int(11) NOT NULL,
  `item_category_id` int(11) DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `item_photo` varchar(225) DEFAULT NULL,
  `description` text NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL,
  `item_store_id` int(11) DEFAULT NULL,
  `item_supplier_id` int(11) DEFAULT NULL,
  `quantity` int(11) NOT NULL,
  `date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `item`
--

INSERT INTO `item` (`id`, `item_category_id`, `name`, `item_photo`, `description`, `created_at`, `updated_at`, `item_store_id`, `item_supplier_id`, `quantity`, `date`) VALUES
(3, 3, 'sugar hullets', NULL, 'sugar hullets', '2023-02-03 20:35:54', '', NULL, NULL, 0, '0000-00-00'),
(4, 2, 'cremora', NULL, 'cremora', '2023-02-03 20:36:28', '', NULL, NULL, 0, '0000-00-00');

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

--
-- Table structure for table `item_category`
--

CREATE TABLE `item_category` (
  `id` int(11) NOT NULL,
  `item_category` varchar(255) NOT NULL,
  `is_active` varchar(255) NOT NULL DEFAULT 'yes',
  `description` varchar(255) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `item_category`
--

INSERT INTO `item_category` (`id`, `item_category`, `is_active`, `description`, `created_at`, `updated_at`) VALUES
(2, 'milk', 'yes', 'milk', '2023-02-03 20:34:41', ''),
(3, 'sugar', 'yes', 'sugar', '2023-02-03 20:34:56', ''),
(4, 'WT 24', 'yes', 'whIte Tshirt', '2024-12-09 13:13:27', '');

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

--
-- Table structure for table `item_issue`
--

CREATE TABLE `item_issue` (
  `id` int(11) NOT NULL,
  `issue_to` varchar(100) DEFAULT NULL,
  `issue_from` varchar(100) NOT NULL,
  `received_by` varchar(100) NOT NULL,
  `issue_by` varchar(100) DEFAULT NULL,
  `issue_date` date DEFAULT NULL,
  `return_date` date DEFAULT NULL,
  `item_category_id` int(11) DEFAULT NULL,
  `item_id` int(11) DEFAULT NULL,
  `quantity` int(11) NOT NULL,
  `note` text NOT NULL,
  `is_returned` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `is_active` varchar(10) DEFAULT 'no'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `item_issue`
--

INSERT INTO `item_issue` (`id`, `issue_to`, `issue_from`, `received_by`, `issue_by`, `issue_date`, `return_date`, `item_category_id`, `item_id`, `quantity`, `note`, `is_returned`, `created_at`, `is_active`) VALUES
(1, 'Canteen', 'Stores', 'jj', 'ggg', '2023-04-13', '0000-00-00', 2, 4, 2, 'cfgfgggh', 1, '2023-04-13 09:43:10', 'no'),
(2, 'breakages', 'Stores', 'JJJ', 'REJOICE', '2023-04-13', '0000-00-00', 2, 4, 3, 'BREAKAGES', 1, '2023-04-13 09:48:07', 'no');

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

--
-- Table structure for table `item_stock`
--

CREATE TABLE `item_stock` (
  `id` int(11) NOT NULL,
  `item_id` int(11) DEFAULT NULL,
  `supplier_id` int(11) DEFAULT NULL,
  `symbol` varchar(10) NOT NULL DEFAULT '+',
  `store_id` int(11) DEFAULT NULL,
  `quantity` int(11) DEFAULT NULL,
  `date` date NOT NULL,
  `attachment` varchar(250) DEFAULT NULL,
  `description` text NOT NULL,
  `is_active` varchar(10) DEFAULT 'yes',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `item_stock`
--

INSERT INTO `item_stock` (`id`, `item_id`, `supplier_id`, `symbol`, `store_id`, `quantity`, `date`, `attachment`, `description`, `is_active`, `created_at`) VALUES
(3, 4, 2, '+', 1, 10, '2023-02-01', NULL, 'cremora milk', 'yes', '2023-02-03 20:37:28');

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

--
-- Table structure for table `item_store`
--

CREATE TABLE `item_store` (
  `id` int(11) NOT NULL,
  `item_store` varchar(255) NOT NULL,
  `code` varchar(255) NOT NULL,
  `description` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `item_store`
--

INSERT INTO `item_store` (`id`, `item_store`, `code`, `description`) VALUES
(1, 'Stores', 'sto', 'Stores'),
(2, 'Canteen', 'cn', 'Canteen'),
(3, 'STORE 1', 'STR1', 'STORE 1'),
(4, 'breakages', 'BR', 'BREAKAGE WAREHOUSE ');

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

--
-- Table structure for table `item_supplier`
--

CREATE TABLE `item_supplier` (
  `id` int(11) NOT NULL,
  `item_supplier` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `address` varchar(255) NOT NULL,
  `contact_person_name` varchar(255) NOT NULL,
  `contact_person_phone` varchar(255) NOT NULL,
  `contact_person_email` varchar(255) NOT NULL,
  `description` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `item_supplier`
--

INSERT INTO `item_supplier` (`id`, `item_supplier`, `phone`, `email`, `address`, `contact_person_name`, `contact_person_phone`, `contact_person_email`, `description`) VALUES
(2, 'OK', '0778893765', '', '', 'NYASHA', '', '', '');

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

--
-- Table structure for table `journal`
--

CREATE TABLE `journal` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(100) NOT NULL,
  `date` varchar(20) NOT NULL,
  `cashbook` varchar(100) NOT NULL,
  `description` varchar(400) NOT NULL,
  `account` varchar(200) NOT NULL,
  `module` varchar(100) NOT NULL,
  `receipt` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `debit` varchar(100) NOT NULL,
  `credit` varchar(100) NOT NULL,
  `balance` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `journal`
--

INSERT INTO `journal` (`id`, `date_captured`, `date`, `cashbook`, `description`, `account`, `module`, `receipt`, `currency`, `debit`, `credit`, `balance`, `active`) VALUES
(23, '01-02-2024 10:06:16am', '2024-02-01', 'Sales journal', 'reversal', 'Melsoft', 'Supplier', 'inv001', '', '450', '0', '450', 1),
(24, '30-01-2025 05:31:55pm', '2025-01-30', 'Sales journal', 'revesal', 'cash', 'Customer', 'inv009977', '', '900', '0', '900', 1),
(25, '31-01-2025 09:02:03am', '2025-01-31', 'Sales journal', 'testing journal', 'john doe', 'Learner', 'rec00011737', '', '0', '1220', '-1220', 1),
(26, '31-01-2025 09:02:53am', '2025-01-31', 'Purchases journal', 'testung journal', 'Melsoft (Private) Limited', 'Supplier', 'inv102002', '', '900', '0', '900', 1),
(27, '31-01-2025 09:03:33am', '2025-01-31', 'General journal', 'testing journal', 'henry', 'Customer', 'inv11002', '', '0', '22100', '-22100', 1),
(28, '31-01-2025 09:11:57am', '2025-01-31', 'Sales journal', 'TESTING THE TABLE DATA', 'Melsoft (Private) Limited', 'Supplier', 'REC0001922', '', '0', '12233', '-12233', 1);

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

--
-- Table structure for table `journaltemp`
--

CREATE TABLE `journaltemp` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(100) NOT NULL,
  `date` varchar(20) NOT NULL,
  `cashbook` varchar(100) NOT NULL,
  `description` varchar(400) NOT NULL,
  `account` varchar(200) NOT NULL,
  `module` varchar(100) NOT NULL,
  `receipt` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `debit` varchar(100) NOT NULL,
  `credit` varchar(100) NOT NULL,
  `balance` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `journal_accounts`
--

CREATE TABLE `journal_accounts` (
  `id` int(11) NOT NULL,
  `journal_accounts` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `description` varchar(200) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `journal_accounts`
--

INSERT INTO `journal_accounts` (`id`, `journal_accounts`, `currency`, `description`, `active`) VALUES
(3, 'Sales journal', 'USD', 'Sales journal', 1),
(4, 'Purchases journal', 'USD', 'Purchases journal', 1),
(5, 'General journal', 'USD', 'General journal', 1),
(6, 'Sales returns journal', 'USD', 'Sales returns journal', 1),
(7, 'Purchases returns journal', 'USD', 'Purchases returns journal', 1);

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

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

CREATE TABLE `languages` (
  `id` int(11) NOT NULL,
  `language` varchar(50) DEFAULT NULL,
  `is_deleted` varchar(10) NOT NULL DEFAULT 'yes',
  `is_active` varchar(255) DEFAULT 'no',
  `code` varchar(100) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `languages` (`id`, `language`, `is_deleted`, `is_active`, `code`, `created_at`, `updated_at`) VALUES
(1, 'Azerbaijan', 'no', 'no', 'az', '2019-03-25 10:27:01', '0000-00-00 00:00:00'),
(2, 'Albanian', 'no', 'no', 'sq', '2019-03-25 10:25:01', '0000-00-00 00:00:00'),
(3, 'Amharic', 'no', 'no', 'am', '2019-03-25 10:25:16', '0000-00-00 00:00:00'),
(4, 'English', 'no', 'no', 'en', '2019-03-25 10:32:05', '0000-00-00 00:00:00'),
(5, 'Arabic', 'no', 'no', 'ar', '2019-03-25 10:26:50', '0000-00-00 00:00:00'),
(7, 'Afrikaans', 'no', 'no', 'af', '2019-03-25 10:24:33', '0000-00-00 00:00:00'),
(8, 'Basque', 'no', 'no', 'eu', '2019-03-25 10:27:41', '0000-00-00 00:00:00'),
(11, 'Bengali', 'no', 'no', 'bn', '2019-03-25 10:27:52', '0000-00-00 00:00:00'),
(13, 'Bosnian', 'no', 'no', 'bs', '2019-03-25 10:28:03', '0000-00-00 00:00:00'),
(14, 'Welsh', 'no', 'no', 'cy', '2019-03-25 10:46:16', '0000-00-00 00:00:00'),
(15, 'Hungarian', 'no', 'no', 'hu', '2019-03-25 10:36:29', '0000-00-00 00:00:00'),
(16, 'Vietnamese', 'no', 'no', 'vi', '2019-03-25 10:46:06', '0000-00-00 00:00:00'),
(17, 'Haitian (Creole)', 'no', 'no', 'ht', '2019-03-25 10:35:54', '0000-00-00 00:00:00'),
(18, 'Galician', 'no', 'no', 'gl', '2019-03-25 10:35:00', '0000-00-00 00:00:00'),
(19, 'Dutch', 'no', 'no', 'nl', '2019-03-25 10:31:52', '0000-00-00 00:00:00'),
(21, 'Greek', 'no', 'no', 'el', '2019-03-25 10:35:28', '0000-00-00 00:00:00'),
(22, 'Georgian', 'no', 'no', 'ka', '2019-03-25 10:35:10', '0000-00-00 00:00:00'),
(23, 'Gujarati', 'no', 'no', 'gu', '2019-03-25 10:35:38', '0000-00-00 00:00:00'),
(24, 'Danish', 'no', 'no', 'da', '2019-03-25 10:31:40', '0000-00-00 00:00:00'),
(25, 'Hebrew', 'no', 'no', 'he', '2019-03-25 10:36:06', '0000-00-00 00:00:00'),
(26, 'Yiddish', 'no', 'no', 'yi', '2019-03-25 10:46:34', '0000-00-00 00:00:00'),
(27, 'Indonesian', 'no', 'no', 'id', '2019-03-25 10:36:51', '0000-00-00 00:00:00'),
(28, 'Irish', 'no', 'no', 'ga', '2019-03-25 10:37:02', '0000-00-00 00:00:00'),
(29, 'Italian', 'no', 'no', 'it', '2019-03-25 10:37:11', '0000-00-00 00:00:00'),
(30, 'Icelandic', 'no', 'no', 'is', '2019-03-25 10:36:40', '0000-00-00 00:00:00'),
(31, 'Spanish', 'no', 'no', 'es', '2019-03-25 10:44:20', '0000-00-00 00:00:00'),
(33, 'Kannada', 'no', 'no', 'kn', '2019-03-25 10:37:41', '0000-00-00 00:00:00'),
(34, 'Catalan', 'no', 'no', 'ca', '2019-03-25 10:28:20', '0000-00-00 00:00:00'),
(36, 'Chinese', 'no', 'no', 'zh', '2019-03-25 10:31:19', '0000-00-00 00:00:00'),
(37, 'Korean', 'no', 'no', 'ko', '2019-03-25 10:37:55', '0000-00-00 00:00:00'),
(38, 'Xhosa', 'no', 'no', 'xh', '2019-03-25 10:46:26', '0000-00-00 00:00:00'),
(39, 'Latin', 'no', 'no', 'la', '2019-03-25 10:38:04', '0000-00-00 00:00:00'),
(40, 'Latvian', 'no', 'no', 'lv', '2019-03-25 10:38:41', '0000-00-00 00:00:00'),
(41, 'Lithuanian', 'no', 'no', 'lt', '2019-03-25 10:38:46', '0000-00-00 00:00:00'),
(43, 'Malagasy', 'no', 'no', 'mg', '2019-03-25 10:39:17', '0000-00-00 00:00:00'),
(44, 'Malay', 'no', 'no', 'ms', '2019-03-25 10:39:26', '0000-00-00 00:00:00'),
(45, 'Malayalam', 'no', 'no', 'ml', '2019-03-25 10:39:36', '0000-00-00 00:00:00'),
(46, 'Maltese', 'no', 'no', 'mt', '2019-03-25 10:39:46', '0000-00-00 00:00:00'),
(47, 'Macedonian', 'no', 'no', 'mk', '2019-03-25 10:39:06', '0000-00-00 00:00:00'),
(48, 'Maori', 'no', 'no', 'mi', '2019-03-25 10:39:55', '0000-00-00 00:00:00'),
(49, 'Marathi', 'no', 'no', 'mr', '2019-03-25 10:40:04', '0000-00-00 00:00:00'),
(51, 'Mongolian', 'no', 'no', 'mn', '2019-03-25 10:40:14', '0000-00-00 00:00:00'),
(52, 'German', 'no', 'no', 'de', '2019-03-25 10:35:20', '0000-00-00 00:00:00'),
(53, 'Nepali', 'no', 'no', 'ne', '2019-03-25 10:40:24', '0000-00-00 00:00:00'),
(54, 'Norwegian', 'no', 'no', 'no', '2019-03-25 10:40:43', '0000-00-00 00:00:00'),
(55, 'Punjabi', 'no', 'no', 'pa', '2019-03-25 10:41:20', '0000-00-00 00:00:00'),
(57, 'Persian', 'no', 'no', 'fa', '2019-03-25 10:40:57', '0000-00-00 00:00:00'),
(59, 'Portuguese', 'no', 'no', 'pt', '2019-03-25 10:41:09', '0000-00-00 00:00:00'),
(60, 'Romanian', 'no', 'no', 'ro', '2019-03-25 10:41:41', '0000-00-00 00:00:00'),
(61, 'Russian', 'no', 'no', 'ru', '2019-03-25 10:43:19', '0000-00-00 00:00:00'),
(62, 'Cebuano', 'no', 'no', '', '2017-04-06 01:08:33', '0000-00-00 00:00:00'),
(64, 'Sinhala', 'no', 'no', 'si', '2019-03-25 10:43:46', '0000-00-00 00:00:00'),
(65, 'Slovakian', 'no', 'no', '', '2017-04-06 01:08:33', '0000-00-00 00:00:00'),
(66, 'Slovenian', 'no', 'no', 'sl', '2019-03-25 10:44:07', '0000-00-00 00:00:00'),
(67, 'Swahili', 'no', 'no', 'sw', '2019-03-25 10:44:40', '0000-00-00 00:00:00'),
(68, 'Sundanese', 'no', 'no', 'su', '2019-03-25 10:44:30', '0000-00-00 00:00:00'),
(70, 'Thai', 'no', 'no', 'th', '2019-03-25 10:45:29', '0000-00-00 00:00:00'),
(71, 'Tagalog', 'no', 'no', 'tl', '2019-03-25 10:45:00', '0000-00-00 00:00:00'),
(72, 'Tamil', 'no', 'no', 'ta', '2019-03-25 10:45:09', '0000-00-00 00:00:00'),
(74, 'Telugu', 'no', 'no', 'te', '2019-03-25 10:45:18', '0000-00-00 00:00:00'),
(75, 'Turkish', 'no', 'no', 'tr', '2019-03-25 10:45:36', '0000-00-00 00:00:00'),
(77, 'Uzbek', 'no', 'no', 'uz', '2019-03-25 10:45:56', '0000-00-00 00:00:00'),
(79, 'Urdu', 'no', 'no', 'ur', '2019-03-25 10:45:47', '0000-00-00 00:00:00'),
(80, 'Finnish', 'no', 'no', 'fi', '2019-03-25 10:34:34', '0000-00-00 00:00:00'),
(81, 'French', 'no', 'no', 'fr', '2019-03-25 10:34:46', '0000-00-00 00:00:00'),
(82, 'Hindi', 'no', 'no', 'hi', '2019-03-25 10:36:19', '0000-00-00 00:00:00'),
(84, 'Czech', 'no', 'no', 'cs', '2019-03-25 10:31:30', '0000-00-00 00:00:00'),
(85, 'Swedish', 'no', 'no', 'sv', '2019-03-25 10:44:50', '0000-00-00 00:00:00'),
(86, 'Scottish', 'no', 'no', 'gd', '2019-03-25 10:43:35', '0000-00-00 00:00:00'),
(87, 'Estonian', 'no', 'no', 'et', '2019-03-25 10:34:20', '0000-00-00 00:00:00'),
(88, 'Esperanto', 'no', 'no', 'eo', '2019-03-25 10:34:12', '0000-00-00 00:00:00'),
(89, 'Javanese', 'no', 'no', 'jv', '2019-03-25 10:37:31', '0000-00-00 00:00:00'),
(90, 'Japanese', 'no', 'no', 'ja', '2019-03-25 10:37:20', '0000-00-00 00:00:00');

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

--
-- Table structure for table `leave_types`
--

CREATE TABLE `leave_types` (
  `id` int(11) NOT NULL,
  `type` varchar(200) NOT NULL,
  `is_active` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `libarary_members`
--

CREATE TABLE `libarary_members` (
  `id` int(10) UNSIGNED NOT NULL,
  `library_card_no` varchar(50) DEFAULT NULL,
  `member_type` varchar(50) DEFAULT NULL,
  `member_id` int(11) DEFAULT NULL,
  `is_active` varchar(10) NOT NULL DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `location`
--

CREATE TABLE `location` (
  `id` int(11) NOT NULL,
  `location` varchar(200) NOT NULL,
  `department` varchar(200) NOT NULL,
  `designation` varchar(200) NOT NULL,
  `description` varchar(500) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `medical`
--

CREATE TABLE `medical` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(200) NOT NULL,
  `name` varchar(100) NOT NULL,
  `address` varchar(200) NOT NULL,
  `phone` varchar(30) NOT NULL,
  `email` varchar(200) NOT NULL,
  `company_name` varchar(100) NOT NULL,
  `description` varchar(300) NOT NULL,
  `company_address` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `medical_details`
--

CREATE TABLE `medical_details` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(20) NOT NULL,
  `student_id` varchar(200) NOT NULL,
  `doctor` varchar(200) NOT NULL,
  `allergy` varchar(200) NOT NULL,
  `period` varchar(200) NOT NULL,
  `status` varchar(200) NOT NULL,
  `description` varchar(500) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `messages`
--

CREATE TABLE `messages` (
  `id` int(11) NOT NULL,
  `title` varchar(200) DEFAULT NULL,
  `message` text DEFAULT NULL,
  `send_mail` varchar(10) DEFAULT '0',
  `send_sms` varchar(10) DEFAULT '0',
  `is_group` varchar(10) DEFAULT '0',
  `is_individual` varchar(10) DEFAULT '0',
  `is_class` int(11) NOT NULL DEFAULT 0,
  `group_list` text DEFAULT NULL,
  `user_list` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

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

CREATE TABLE `migrations` (
  `version` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `notification_roles`
--

CREATE TABLE `notification_roles` (
  `id` int(11) NOT NULL,
  `send_notification_id` int(11) DEFAULT NULL,
  `role_id` int(11) DEFAULT NULL,
  `is_active` int(11) DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `notification_roles`
--

INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES
(1, 1, 2, 0, '2022-11-24 04:46:11'),
(2, 1, 7, 0, '2022-11-24 04:46:11');

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

--
-- Table structure for table `notification_setting`
--

CREATE TABLE `notification_setting` (
  `id` int(11) NOT NULL,
  `type` varchar(100) DEFAULT NULL,
  `is_mail` varchar(10) DEFAULT '0',
  `is_sms` varchar(10) DEFAULT '0',
  `display_notification` int(11) NOT NULL DEFAULT 0,
  `is_notification` int(11) DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `notification_setting`
--

INSERT INTO `notification_setting` (`id`, `type`, `is_mail`, `is_sms`, `display_notification`, `is_notification`, `created_at`) VALUES
(1, 'student_admission', '1', '0', 0, 0, '2019-04-10 10:27:50'),
(2, 'exam_result', '1', '0', 1, 0, '2019-04-10 10:27:50'),
(3, 'fee_submission', '1', '0', 1, 0, '2019-04-10 10:27:50'),
(4, 'absent_attendence', '1', '0', 1, 0, '2019-04-10 10:27:50'),
(5, 'login_credential', '1', '0', 0, 0, '2019-04-10 10:27:50');

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

--
-- Table structure for table `payment_methods`
--

CREATE TABLE `payment_methods` (
  `id` int(11) NOT NULL,
  `payment_methods` varchar(100) NOT NULL,
  `description` varchar(200) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `payment_methods`
--

INSERT INTO `payment_methods` (`id`, `payment_methods`, `description`, `active`) VALUES
(3, 'RTGS', 'ZWL-RTGS', 1),
(4, 'ECOCASH USD', 'ECOCASH USD', 1),
(5, 'USD', 'USD', 1),
(6, 'ECOCASH ZWL', 'ECOCASH ZWL', 1),
(7, 'SWIPE', 'SWIPE', 1);

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

--
-- Table structure for table `payment_settings`
--

CREATE TABLE `payment_settings` (
  `id` int(11) NOT NULL,
  `payment_type` varchar(200) NOT NULL,
  `api_username` varchar(200) DEFAULT NULL,
  `api_secret_key` varchar(200) NOT NULL,
  `salt` varchar(200) NOT NULL,
  `api_publishable_key` varchar(200) NOT NULL,
  `api_password` varchar(200) DEFAULT NULL,
  `api_signature` varchar(200) DEFAULT NULL,
  `api_email` varchar(200) DEFAULT NULL,
  `paypal_demo` varchar(100) NOT NULL,
  `account_no` varchar(200) NOT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `payment_settings`
--

INSERT INTO `payment_settings` (`id`, `payment_type`, `api_username`, `api_secret_key`, `salt`, `api_publishable_key`, `api_password`, `api_signature`, `api_email`, `paypal_demo`, `account_no`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'paypal', '', '', '', '', '', '', NULL, '', '', 'yes', '2018-07-12 01:26:13', '0000-00-00 00:00:00'),
(4, 'paynow', NULL, '', '', '', NULL, NULL, NULL, '', '', 'no', '2023-01-26 10:39:24', '0000-00-00 00:00:00');

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

--
-- Table structure for table `payslip_allowance`
--

CREATE TABLE `payslip_allowance` (
  `id` int(11) NOT NULL,
  `payslip_id` int(11) NOT NULL,
  `allowance_type` varchar(200) NOT NULL,
  `amount` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `cal_type` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `permission_category`
--

CREATE TABLE `permission_category` (
  `id` int(11) NOT NULL,
  `perm_group_id` int(11) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `short_code` varchar(100) DEFAULT NULL,
  `enable_view` int(11) DEFAULT 0,
  `enable_add` int(11) DEFAULT 0,
  `enable_edit` int(11) DEFAULT 0,
  `enable_delete` int(11) DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `permission_category`
--

INSERT INTO `permission_category` (`id`, `perm_group_id`, `name`, `short_code`, `enable_view`, `enable_add`, `enable_edit`, `enable_delete`, `created_at`) VALUES
(1, 1, 'Student', 'student', 1, 1, 1, 1, '2018-06-22 11:47:11'),
(2, 1, 'Import Student', 'import_student', 1, 0, 0, 0, '2018-06-22 11:47:19'),
(3, 1, 'Student Categories', 'student_categories', 1, 1, 1, 1, '2018-06-22 11:47:36'),
(4, 1, 'Student Houses', 'student_houses', 1, 1, 1, 1, '2018-06-22 11:47:53'),
(5, 2, 'Collect Fees', 'collect_fees', 1, 1, 0, 1, '2018-06-22 11:51:03'),
(6, 2, 'Fees Carry Forward', 'fees_carry_forward', 1, 0, 0, 0, '2018-06-27 01:48:15'),
(7, 2, 'Fees Master', 'fees_master', 1, 1, 1, 1, '2018-06-27 01:48:57'),
(8, 2, 'Fees Group', 'fees_group', 1, 1, 1, 1, '2018-06-22 11:51:46'),
(9, 3, 'Income', 'income', 1, 1, 1, 1, '2018-06-22 11:53:21'),
(10, 3, 'Income Head', 'income_head', 1, 1, 1, 1, '2018-06-22 11:52:44'),
(11, 3, 'Search Income', 'search_income', 1, 0, 0, 0, '2018-06-22 11:53:00'),
(12, 4, 'Expense', 'expense', 1, 1, 1, 1, '2018-06-22 11:54:06'),
(13, 4, 'Expense Head', 'expense_head', 1, 1, 1, 1, '2018-06-22 11:53:47'),
(14, 4, 'Search Expense', 'search_expense', 1, 0, 0, 0, '2018-06-22 11:54:13'),
(15, 5, 'Student Attendance', 'student_attendance', 1, 1, 1, 0, '2018-06-22 11:54:49'),
(16, 5, 'Student Attendance Report', 'student_attendance_report', 1, 0, 0, 0, '2018-06-22 11:54:26'),
(17, 6, 'Exam', 'exam', 1, 1, 1, 1, '2018-06-22 11:56:02'),
(19, 6, 'Marks Register', 'marks_register', 1, 1, 1, 0, '2018-06-22 11:56:19'),
(20, 6, 'Marks Grade', 'marks_grade', 1, 1, 1, 1, '2018-06-22 11:55:25'),
(21, 7, 'Class Timetable', 'class_timetable', 1, 1, 1, 0, '2018-06-22 12:01:36'),
(22, 7, 'Assign Subject', 'assign_subject', 1, 1, 1, 1, '2018-06-22 12:01:57'),
(23, 7, 'Subject', 'subject', 1, 1, 1, 1, '2018-06-22 12:02:17'),
(24, 7, 'Class', 'class', 1, 1, 1, 1, '2018-06-22 12:02:35'),
(25, 7, 'Section', 'section', 1, 1, 1, 1, '2018-06-22 12:01:10'),
(26, 7, 'Promote Student', 'promote_student', 1, 0, 0, 0, '2018-06-22 12:02:47'),
(27, 8, 'Upload Content', 'upload_content', 1, 1, 0, 1, '2018-06-22 12:03:19'),
(28, 9, 'Books', 'books', 1, 1, 1, 1, '2018-06-22 12:04:04'),
(29, 9, 'Issue Return Student', 'issue_return', 1, 0, 0, 0, '2018-06-22 12:03:41'),
(30, 9, 'Add Staff Member', 'add_staff_member', 1, 0, 0, 0, '2018-07-02 13:07:00'),
(31, 10, 'Issue Item', 'issue_item', 1, 0, 0, 0, '2018-06-22 12:04:51'),
(32, 10, 'Item Stock', 'item_stock', 1, 1, 1, 1, '2018-06-22 12:05:17'),
(33, 10, 'Item', 'item', 1, 1, 1, 1, '2018-06-22 12:05:40'),
(34, 10, 'Store', 'store', 1, 1, 1, 1, '2018-06-22 12:06:02'),
(35, 10, 'Supplier', 'supplier', 1, 1, 1, 1, '2018-06-22 12:06:25'),
(37, 11, 'Routes', 'routes', 1, 1, 1, 1, '2018-06-22 12:09:17'),
(38, 11, 'Vehicle', 'vehicle', 1, 1, 1, 1, '2018-06-22 12:09:36'),
(39, 11, 'Assign Vehicle', 'assign_vehicle', 1, 1, 1, 1, '2018-06-27 06:09:20'),
(40, 12, 'Hostel', 'hostel', 1, 1, 1, 1, '2018-06-22 12:10:49'),
(41, 12, 'Room Type', 'room_type', 1, 1, 1, 1, '2018-06-22 12:10:27'),
(42, 12, 'Hostel Rooms', 'hostel_rooms', 1, 1, 1, 1, '2018-06-25 07:53:03'),
(43, 13, 'Notice Board', 'notice_board', 1, 1, 1, 1, '2018-06-22 12:11:17'),
(44, 13, 'Email / SMS', 'email_sms', 1, 0, 0, 0, '2018-06-22 12:10:54'),
(46, 13, 'Email / SMS Log', 'email_sms_log', 1, 0, 0, 0, '2018-06-22 12:11:23'),
(47, 1, 'Student Report', 'student_report', 1, 0, 0, 0, '2018-07-03 12:19:36'),
(48, 14, 'Transaction Report', 'transaction_report', 1, 0, 0, 0, '2018-07-06 13:13:32'),
(49, 14, 'User Log', 'user_log', 1, 0, 0, 0, '2018-07-06 13:13:53'),
(53, 15, 'Languages', 'languages', 0, 1, 0, 0, '2018-06-22 12:13:18'),
(54, 15, 'General Setting', 'general_setting', 1, 0, 1, 0, '2018-07-05 10:38:35'),
(55, 15, 'Session Setting', 'session_setting', 1, 1, 1, 1, '2018-06-22 12:14:15'),
(56, 15, 'Notification Setting', 'notification_setting', 1, 0, 1, 0, '2018-07-05 10:38:41'),
(57, 15, 'SMS Setting', 'sms_setting', 1, 0, 1, 0, '2018-07-05 10:38:47'),
(58, 15, 'Email Setting', 'email_setting', 1, 0, 1, 0, '2018-07-05 10:38:51'),
(59, 15, 'Front CMS Setting', 'front_cms_setting', 1, 0, 1, 0, '2018-07-05 10:38:55'),
(60, 15, 'Payment Methods', 'payment_methods', 1, 0, 1, 0, '2018-07-05 10:38:59'),
(61, 16, 'Menus', 'menus', 1, 1, 0, 1, '2018-07-09 05:20:06'),
(62, 16, 'Media Manager', 'media_manager', 1, 1, 0, 1, '2018-07-09 05:20:26'),
(63, 16, 'Banner Images', 'banner_images', 1, 1, 0, 1, '2018-06-22 12:16:02'),
(64, 16, 'Pages', 'pages', 1, 1, 1, 1, '2018-06-22 12:16:21'),
(65, 16, 'Gallery', 'gallery', 1, 1, 1, 1, '2018-06-22 12:17:02'),
(66, 16, 'Event', 'event', 1, 1, 1, 1, '2018-06-22 12:17:20'),
(67, 16, 'News', 'notice', 1, 1, 1, 1, '2018-07-03 10:09:34'),
(68, 2, 'Fees Group Assign', 'fees_group_assign', 1, 0, 0, 0, '2018-06-22 11:50:42'),
(69, 2, 'Fees Type', 'fees_type', 1, 1, 1, 1, '2018-06-22 11:49:34'),
(70, 2, 'Fees Discount', 'fees_discount', 1, 1, 1, 1, '2018-06-22 11:50:10'),
(71, 2, 'Fees Discount Assign', 'fees_discount_assign', 1, 0, 0, 0, '2018-06-22 11:50:17'),
(72, 2, 'Fees Statement', 'fees_statement', 1, 0, 0, 0, '2018-06-22 11:48:56'),
(73, 2, 'Search Fees Payment', 'search_fees_payment', 1, 0, 0, 0, '2018-06-22 11:50:27'),
(74, 2, 'Search Due Fees', 'search_due_fees', 1, 0, 0, 0, '2018-06-22 11:50:35'),
(75, 2, 'Balance Fees Report', 'balance_fees_report', 1, 0, 0, 0, '2018-06-22 11:48:50'),
(76, 6, 'Exam Schedule', 'exam_schedule', 1, 1, 1, 0, '2018-06-22 11:55:40'),
(77, 7, 'Assign Class Teacher', 'assign_class_teacher', 1, 1, 1, 1, '2018-06-22 12:00:52'),
(78, 17, 'Admission Enquiry', 'admission_enquiry', 1, 1, 1, 1, '2018-06-22 12:21:24'),
(79, 17, 'Follow Up Admission Enquiry', 'follow_up_admission_enquiry', 1, 1, 0, 1, '2018-06-22 12:21:39'),
(80, 17, 'Visitor Book', 'visitor_book', 1, 1, 1, 1, '2018-06-22 12:18:58'),
(81, 17, 'Phone Call Log', 'phone_call_log', 1, 1, 1, 1, '2018-06-22 12:20:57'),
(82, 17, 'Postal Dispatch', 'postal_dispatch', 1, 1, 1, 1, '2018-06-22 12:20:21'),
(83, 17, 'Postal Receive', 'postal_receive', 1, 1, 1, 1, '2018-06-22 12:20:04'),
(84, 17, 'Complain', 'complaint', 1, 1, 1, 1, '2018-07-03 10:10:55'),
(85, 17, 'Setup Font Office', 'setup_font_office', 1, 1, 1, 1, '2018-06-22 12:19:24'),
(86, 18, 'Staff', 'staff', 1, 1, 1, 1, '2018-06-22 12:23:31'),
(87, 18, 'Disable Staff', 'disable_staff', 1, 0, 0, 0, '2018-06-22 12:23:12'),
(88, 18, 'Staff Attendance', 'staff_attendance', 1, 1, 1, 0, '2018-06-22 12:23:10'),
(89, 18, 'Staff Attendance Report', 'staff_attendance_report', 1, 0, 0, 0, '2018-06-22 12:22:54'),
(90, 18, 'Staff Payroll', 'staff_payroll', 1, 1, 0, 1, '2018-06-22 12:22:51'),
(91, 18, 'Payroll Report', 'payroll_report', 1, 0, 0, 0, '2018-06-22 12:22:34'),
(93, 19, 'Homework', 'homework', 1, 1, 1, 1, '2018-06-22 12:23:50'),
(94, 19, 'Homework Evaluation', 'homework_evaluation', 1, 1, 0, 0, '2018-06-27 04:37:21'),
(95, 19, 'Homework Report', 'homework_report', 1, 0, 0, 0, '2018-06-22 12:23:54'),
(96, 20, 'Student Certificate', 'student_certificate', 1, 1, 1, 1, '2018-07-06 12:11:07'),
(97, 20, 'Generate Certificate', 'generate_certificate', 1, 0, 0, 0, '2018-07-06 12:07:16'),
(98, 20, 'Student ID Card', 'student_id_card', 1, 1, 1, 1, '2018-07-06 12:11:28'),
(99, 20, 'Generate ID Card', 'generate_id_card', 1, 0, 0, 0, '2018-07-06 12:11:49'),
(102, 21, 'Calendar To Do List', 'calendar_to_do_list', 1, 1, 1, 1, '2018-06-22 12:24:41'),
(104, 10, 'Item Category', 'item_category', 1, 1, 1, 1, '2018-06-22 12:04:33'),
(105, 1, 'Student Parent Login Details', 'student_parent_login_details', 1, 0, 0, 0, '2018-06-22 11:48:01'),
(106, 22, 'Quick Session Change', 'quick_session_change', 1, 0, 0, 0, '2018-06-22 12:24:45'),
(107, 1, 'Disable Student', 'disable_student', 1, 0, 0, 0, '2018-06-25 07:51:34'),
(108, 18, ' Approve Leave Request', 'approve_leave_request', 1, 1, 1, 1, '2018-07-02 11:47:41'),
(109, 18, 'Apply Leave', 'apply_leave', 1, 1, 1, 1, '2018-06-26 05:23:32'),
(110, 18, 'Leave Types ', 'leave_types', 1, 1, 1, 1, '2018-07-02 11:47:56'),
(111, 18, 'Department', 'department', 1, 1, 1, 1, '2018-06-26 05:27:07'),
(112, 18, 'Designation', 'designation', 1, 1, 1, 1, '2018-06-26 05:27:07'),
(113, 22, 'Fees Collection And Expense Monthly Chart', 'fees_collection_and_expense_monthly_chart', 1, 0, 0, 0, '2018-07-03 08:38:15'),
(114, 22, 'Fees Collection And Expense Yearly Chart', 'fees_collection_and_expense_yearly_chart', 1, 0, 0, 0, '2018-07-03 08:38:15'),
(115, 22, 'Monthly Fees Collection Widget', 'Monthly fees_collection_widget', 1, 0, 0, 0, '2018-07-03 08:43:35'),
(116, 22, 'Monthly Expense Widget', 'monthly_expense_widget', 1, 0, 0, 0, '2018-07-03 08:43:35'),
(117, 22, 'Student Count Widget', 'student_count_widget', 1, 0, 0, 0, '2018-07-03 08:43:35'),
(118, 22, 'Staff Role Count Widget', 'staff_role_count_widget', 1, 0, 0, 0, '2018-07-03 08:43:35'),
(119, 1, 'Guardian Report', 'guardian_report', 1, 0, 0, 0, '2018-07-03 10:12:29'),
(120, 1, 'Student History', 'student_history', 1, 0, 0, 0, '2018-07-03 10:12:29'),
(121, 1, 'Student Login Credential', 'student_login_credential', 1, 0, 0, 0, '2018-07-03 10:12:29'),
(122, 5, 'Attendance By Date', 'attendance_by_date', 1, 0, 0, 0, '2018-07-03 10:12:29'),
(123, 9, 'Add Student', 'add_student', 1, 0, 0, 0, '2018-07-03 10:12:29'),
(124, 11, 'Student Transport Report', 'student_transport_report', 1, 0, 0, 0, '2018-07-03 10:12:29'),
(125, 12, 'Student Hostel Report', 'student_hostel_report', 1, 0, 0, 0, '2018-07-03 10:12:29'),
(126, 15, 'User Status', 'user_status', 1, 0, 0, 0, '2018-07-03 10:12:29'),
(127, 18, 'Can See Other Users Profile', 'can_see_other_users_profile', 1, 0, 0, 0, '2018-07-03 10:12:29'),
(128, 1, 'Student Timeline', 'student_timeline', 0, 1, 0, 1, '2018-07-05 09:38:52'),
(129, 18, 'Staff Timeline', 'staff_timeline', 0, 1, 0, 1, '2018-07-05 09:38:52'),
(130, 15, 'Backup', 'backup', 1, 1, 0, 1, '2018-07-09 05:47:17'),
(131, 15, 'Restore', 'restore', 1, 0, 0, 0, '2018-07-09 05:47:17');

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

--
-- Table structure for table `permission_group`
--

CREATE TABLE `permission_group` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `short_code` varchar(100) NOT NULL,
  `is_active` int(11) DEFAULT 0,
  `system` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `permission_group`
--

INSERT INTO `permission_group` (`id`, `name`, `short_code`, `is_active`, `system`, `created_at`) VALUES
(1, 'Student Information', 'student_information', 1, 1, '2018-06-27 05:09:31'),
(2, 'Fees Collection', 'fees_collection', 1, 0, '2018-07-11 04:19:10'),
(3, 'Income', 'income', 1, 1, '2022-09-14 05:19:16'),
(4, 'Expense', 'expense', 1, 1, '2022-09-14 05:19:13'),
(5, 'Student Attendance', 'student_attendance', 1, 0, '2018-07-02 09:18:08'),
(6, 'Examination', 'examination', 1, 0, '2018-07-11 04:19:08'),
(7, 'Academics', 'academics', 1, 1, '2018-07-02 08:55:43'),
(8, 'Download Center', 'download_center', 1, 0, '2018-07-02 09:19:29'),
(9, 'Library', 'library', 1, 1, '2022-09-14 05:18:59'),
(10, 'Inventory', 'inventory', 1, 0, '2018-06-27 02:18:58'),
(11, 'Transport', 'transport', 1, 0, '2018-06-27 09:21:26'),
(12, 'Hostel', 'hostel', 1, 1, '2022-09-14 05:17:47'),
(13, 'Communicate', 'communicate', 1, 0, '2018-07-02 09:20:00'),
(14, 'Reports', 'reports', 1, 1, '2018-06-27 05:10:22'),
(15, 'System Settings', 'system_settings', 1, 1, '2018-06-27 05:10:28'),
(16, 'Front CMS', 'front_cms', 1, 1, '2022-09-14 05:17:26'),
(17, 'Front Office', 'front_office', 1, 1, '2022-09-14 05:17:23'),
(18, 'Human Resource', 'human_resource', 1, 1, '2018-06-27 05:11:02'),
(19, 'Homework', 'homework', 1, 0, '2018-06-27 02:19:38'),
(20, 'Certificate', 'certificate', 1, 1, '2022-09-14 05:17:11'),
(21, 'Calendar To Do List', 'calendar_to_do_list', 1, 0, '2018-06-27 05:12:25'),
(22, 'Dashboard and Widgets', 'dashboard_and_widgets', 1, 1, '2018-06-27 05:11:17');

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

--
-- Table structure for table `read_notification`
--

CREATE TABLE `read_notification` (
  `id` int(11) NOT NULL,
  `student_id` int(11) DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `staff_id` int(11) DEFAULT NULL,
  `notification_id` int(11) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `read_notification`
--

INSERT INTO `read_notification` (`id`, `student_id`, `parent_id`, `staff_id`, `notification_id`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 3, NULL, NULL, 1, 'no', '2022-11-24 04:47:00', ''),
(2, NULL, NULL, 24, 1, 'no', '2023-04-19 06:23:54', '');

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

--
-- Table structure for table `receiptgenaration`
--

CREATE TABLE `receiptgenaration` (
  `id` int(11) NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `receiptgenaration`
--

INSERT INTO `receiptgenaration` (`id`, `status`) VALUES
(1, '1'),
(2, '1'),
(3, '1'),
(4, '1'),
(5, '1'),
(6, '1'),
(7, '1'),
(8, '1'),
(9, '1'),
(10, '1'),
(11, '1'),
(12, '1'),
(13, '1'),
(14, '1'),
(15, '1'),
(16, '1'),
(17, '1'),
(18, '1'),
(19, '1'),
(20, '1'),
(21, '1'),
(22, '1'),
(23, '1'),
(24, '1'),
(25, '1'),
(26, '1'),
(27, '1'),
(28, '1'),
(29, '1'),
(30, '1'),
(31, '1'),
(32, '1'),
(33, '1'),
(34, '1'),
(35, '1'),
(36, '1'),
(37, '1'),
(38, '1'),
(39, '1'),
(40, '1'),
(41, '1'),
(42, '1'),
(43, '1'),
(44, '1'),
(45, '1'),
(46, '1'),
(47, '1'),
(48, '1'),
(49, '1'),
(50, '1'),
(51, '1');

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

--
-- Table structure for table `reference`
--

CREATE TABLE `reference` (
  `id` int(11) NOT NULL,
  `reference` varchar(100) NOT NULL,
  `description` mediumtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

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

CREATE TABLE `roles` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `slug` varchar(150) DEFAULT NULL,
  `is_active` int(11) DEFAULT 0,
  `is_system` int(11) NOT NULL DEFAULT 0,
  `is_superadmin` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `roles` (`id`, `name`, `slug`, `is_active`, `is_system`, `is_superadmin`, `created_at`, `updated_at`) VALUES
(1, 'Admin', NULL, 0, 1, 0, '2018-06-30 11:39:11', '0000-00-00 00:00:00'),
(2, 'Teacher', NULL, 0, 1, 0, '2018-06-30 11:39:14', '0000-00-00 00:00:00'),
(3, 'Accountant', NULL, 0, 1, 0, '2018-06-30 11:39:17', '0000-00-00 00:00:00'),
(4, 'Librarian', NULL, 0, 1, 0, '2018-06-30 11:39:21', '0000-00-00 00:00:00'),
(6, 'Receptionist', NULL, 0, 1, 0, '2018-07-02 01:39:03', '0000-00-00 00:00:00'),
(7, 'Super Admin', NULL, 0, 1, 1, '2018-07-11 10:11:29', '0000-00-00 00:00:00');

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

--
-- Table structure for table `roles_permissions`
--

CREATE TABLE `roles_permissions` (
  `id` int(11) NOT NULL,
  `role_id` int(11) DEFAULT NULL,
  `perm_cat_id` int(11) DEFAULT NULL,
  `can_view` int(11) DEFAULT NULL,
  `can_add` int(11) DEFAULT NULL,
  `can_edit` int(11) DEFAULT NULL,
  `can_delete` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `roles_permissions`
--

INSERT INTO `roles_permissions` (`id`, `role_id`, `perm_cat_id`, `can_view`, `can_add`, `can_edit`, `can_delete`, `created_at`) VALUES
(757, 1, 1, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(758, 1, 2, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(759, 1, 3, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(760, 1, 4, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(761, 1, 47, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(762, 1, 105, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(763, 1, 107, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(764, 1, 119, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(765, 1, 120, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(766, 1, 121, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(767, 1, 128, 0, 1, 0, 1, '2023-03-13 09:19:27'),
(768, 1, 5, 1, 1, 0, 1, '2023-03-13 09:19:27'),
(769, 1, 6, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(770, 1, 7, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(771, 1, 8, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(772, 1, 68, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(773, 1, 69, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(774, 1, 70, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(775, 1, 71, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(776, 1, 72, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(777, 1, 73, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(778, 1, 74, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(779, 1, 75, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(780, 1, 9, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(781, 1, 10, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(782, 1, 11, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(783, 1, 12, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(784, 1, 13, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(785, 1, 14, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(786, 1, 15, 1, 1, 1, 0, '2023-03-13 09:19:27'),
(787, 1, 16, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(788, 1, 122, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(789, 1, 17, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(790, 1, 19, 1, 1, 1, 0, '2023-03-13 09:19:27'),
(791, 1, 20, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(792, 1, 76, 1, 1, 1, 0, '2023-03-13 09:19:27'),
(793, 1, 21, 1, 1, 1, 0, '2023-03-13 09:19:27'),
(794, 1, 22, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(795, 1, 23, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(796, 1, 24, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(797, 1, 25, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(798, 1, 26, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(799, 1, 77, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(800, 1, 27, 1, 1, 0, 1, '2023-03-13 09:19:27'),
(801, 1, 28, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(802, 1, 29, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(803, 1, 30, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(804, 1, 123, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(805, 1, 31, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(806, 1, 32, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(807, 1, 33, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(808, 1, 34, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(809, 1, 35, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(810, 1, 104, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(811, 1, 37, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(812, 1, 38, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(813, 1, 39, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(814, 1, 124, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(815, 1, 40, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(816, 1, 41, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(817, 1, 42, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(818, 1, 125, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(819, 1, 43, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(820, 1, 44, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(821, 1, 46, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(822, 1, 48, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(823, 1, 49, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(824, 1, 53, 0, 1, 0, 0, '2023-03-13 09:19:27'),
(825, 1, 54, 1, 0, 1, 0, '2023-03-13 09:19:27'),
(826, 1, 55, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(827, 1, 56, 1, 0, 1, 0, '2023-03-13 09:19:27'),
(828, 1, 57, 1, 0, 1, 0, '2023-03-13 09:19:27'),
(829, 1, 58, 1, 0, 1, 0, '2023-03-13 09:19:27'),
(830, 1, 60, 1, 0, 1, 0, '2023-03-13 09:19:27'),
(831, 1, 126, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(832, 1, 130, 1, 1, 0, 1, '2023-03-13 09:19:27'),
(833, 1, 131, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(834, 1, 61, 1, 1, 0, 1, '2023-03-13 09:19:27'),
(835, 1, 62, 1, 1, 0, 1, '2023-03-13 09:19:27'),
(836, 1, 63, 1, 1, 0, 1, '2023-03-13 09:19:27'),
(837, 1, 64, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(838, 1, 65, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(839, 1, 66, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(840, 1, 67, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(841, 1, 78, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(842, 1, 79, 1, 1, 0, 1, '2023-03-13 09:19:27'),
(843, 1, 80, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(844, 1, 81, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(845, 1, 82, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(846, 1, 83, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(847, 1, 84, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(848, 1, 85, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(849, 1, 86, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(850, 1, 87, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(851, 1, 88, 1, 1, 1, 0, '2023-03-13 09:19:27'),
(852, 1, 89, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(853, 1, 90, 1, 1, 0, 1, '2023-03-13 09:19:27'),
(854, 1, 91, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(855, 1, 108, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(856, 1, 109, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(857, 1, 110, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(858, 1, 111, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(859, 1, 112, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(860, 1, 127, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(861, 1, 129, 0, 1, 0, 1, '2023-03-13 09:19:27'),
(862, 1, 93, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(863, 1, 94, 1, 1, 0, 0, '2023-03-13 09:19:27'),
(864, 1, 95, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(865, 1, 96, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(866, 1, 97, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(867, 1, 98, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(868, 1, 99, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(869, 1, 102, 1, 1, 1, 1, '2023-03-13 09:19:27'),
(870, 1, 106, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(871, 1, 113, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(872, 1, 114, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(873, 1, 115, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(874, 1, 116, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(875, 1, 117, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(876, 1, 118, 1, 0, 0, 0, '2023-03-13 09:19:27'),
(877, 2, 1, 1, 0, 0, 0, '2024-02-06 08:04:14'),
(878, 2, 4, 1, 0, 0, 0, '2024-02-06 08:05:07'),
(879, 2, 47, 1, 0, 0, 0, '2024-02-06 08:05:07'),
(880, 2, 105, 1, 0, 0, 0, '2024-02-06 08:05:07'),
(881, 2, 15, 1, 1, 0, 0, '2024-02-06 08:05:07'),
(882, 2, 16, 1, 0, 0, 0, '2024-02-06 08:05:07'),
(883, 2, 122, 1, 0, 0, 0, '2024-02-06 08:05:07'),
(884, 2, 17, 1, 0, 0, 0, '2024-02-06 08:05:07'),
(885, 1, 59, 1, 0, 1, 0, '2024-03-18 08:54:35'),
(886, 2, 3, 1, 1, 1, 0, '2024-06-19 11:44:43'),
(887, 2, 120, 1, 0, 0, 0, '2024-06-19 11:44:43'),
(888, 4, 1, 1, 0, 0, 0, '2024-06-19 11:45:35'),
(889, 4, 3, 1, 0, 0, 0, '2024-06-19 11:45:35');

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

--
-- Table structure for table `room_types`
--

CREATE TABLE `room_types` (
  `id` int(11) NOT NULL,
  `room_type` varchar(200) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `school_houses`
--

CREATE TABLE `school_houses` (
  `id` int(11) NOT NULL,
  `house_name` varchar(200) NOT NULL,
  `description` varchar(400) NOT NULL,
  `is_active` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `sch_settings`
--

CREATE TABLE `sch_settings` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `phone` varchar(50) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `bank_details1` varchar(400) NOT NULL,
  `bank_details2` varchar(400) NOT NULL,
  `bank_details3` varchar(400) NOT NULL,
  `lang_id` int(11) DEFAULT NULL,
  `dise_code` varchar(50) DEFAULT NULL,
  `date_format` varchar(50) NOT NULL,
  `currency` varchar(50) NOT NULL,
  `currency_symbol` varchar(50) NOT NULL,
  `is_rtl` varchar(10) DEFAULT 'disabled',
  `timezone` varchar(30) DEFAULT 'UTC',
  `session_id` int(11) DEFAULT NULL,
  `start_month` varchar(40) NOT NULL,
  `image` varchar(100) DEFAULT NULL,
  `theme` varchar(200) NOT NULL DEFAULT 'default.jpg',
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(100) NOT NULL,
  `cron_secret_key` varchar(100) NOT NULL,
  `fee_due_days` int(11) DEFAULT 0,
  `class_teacher` varchar(100) NOT NULL,
  `mobile_api_url` text NOT NULL,
  `app_primary_color_code` varchar(20) DEFAULT NULL,
  `app_secondary_color_code` varchar(20) DEFAULT NULL,
  `app_logo` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `sch_settings`
--

INSERT INTO `sch_settings` (`id`, `name`, `email`, `phone`, `address`, `bank_details1`, `bank_details2`, `bank_details3`, `lang_id`, `dise_code`, `date_format`, `currency`, `currency_symbol`, `is_rtl`, `timezone`, `session_id`, `start_month`, `image`, `theme`, `is_active`, `created_at`, `updated_at`, `cron_secret_key`, `fee_due_days`, `class_teacher`, `mobile_api_url`, `app_primary_color_code`, `app_secondary_color_code`, `app_logo`) VALUES
(1, 'Melsoft School', 'na', 'na', '25 G. Silundika Ave Regal Star House 10th floor', 'na', 'na', 'na', 4, 'ME', 'd-m-Y', 'USD', 'USD', 'disabled', 'Africa/Harare', 14, '1', '1.png', 'default.jpg', 'no', '2025-01-15 13:05:06', '0000-00-00 00:00:00', '', 7, 'no', '', '#424242', '#eeeeee', '1.png');

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

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

CREATE TABLE `sections` (
  `id` int(11) NOT NULL,
  `section` varchar(60) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `sections` (`id`, `section`, `is_active`, `created_at`, `updated_at`) VALUES
(14, 'Diamond', 'no', '2024-01-31 10:20:40', ''),
(17, 'Gold', 'no', '2024-03-15 09:27:47', '');

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

--
-- Table structure for table `send_notification`
--

CREATE TABLE `send_notification` (
  `id` int(11) NOT NULL,
  `title` varchar(50) DEFAULT NULL,
  `publish_date` date DEFAULT NULL,
  `date` date DEFAULT NULL,
  `message` text DEFAULT NULL,
  `visible_student` varchar(10) NOT NULL DEFAULT 'no',
  `visible_staff` varchar(10) NOT NULL DEFAULT 'no',
  `visible_parent` varchar(10) NOT NULL DEFAULT 'no',
  `created_by` varchar(60) DEFAULT NULL,
  `created_id` int(11) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `send_notification`
--

INSERT INTO `send_notification` (`id`, `title`, `publish_date`, `date`, `message`, `visible_student`, `visible_staff`, `visible_parent`, `created_by`, `created_id`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'New Software Update Launch', '2022-11-24', '2022-11-24', '<h4>\r\n\r\nAdd Income- Go to Income > Add Income select Income Head then enter Income Name then \r\nInvoice Number, Date of Income then Amount then Attach Document then Description & click \r\non Save button. Recently added 10 Incomes can be see right side of this page.\r\n\r\n<br></h4>', 'Yes', 'Yes', 'No', 'Super Admin', 1, 'no', '2022-11-24 02:46:11', '');

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

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `id` int(11) NOT NULL,
  `session` varchar(60) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `sessions`
--

INSERT INTO `sessions` (`id`, `session`, `is_active`, `created_at`, `updated_at`) VALUES
(7, '2016-17', 'no', '2017-04-20 00:42:19', '0000-00-00 00:00:00'),
(11, '2017-18', 'no', '2017-04-20 00:41:37', '0000-00-00 00:00:00'),
(13, '2018-19', 'no', '2016-08-24 13:26:44', '0000-00-00 00:00:00'),
(14, '2024', 'no', '2024-02-01 07:42:00', '0000-00-00 00:00:00'),
(15, '2020-21', 'no', '2016-09-30 23:28:08', '0000-00-00 00:00:00'),
(16, '2021-22', 'no', '2016-09-30 23:28:20', '0000-00-00 00:00:00'),
(18, '2022-23', 'no', '2016-09-30 23:29:02', '0000-00-00 00:00:00'),
(19, '2023-24', 'no', '2016-09-30 23:29:10', '0000-00-00 00:00:00'),
(20, '2024-25', 'no', '2016-09-30 23:29:18', '0000-00-00 00:00:00'),
(21, '2025-26', 'no', '2016-09-30 23:30:10', '0000-00-00 00:00:00'),
(22, '2026-27', 'no', '2016-09-30 23:30:18', '0000-00-00 00:00:00'),
(23, '2027-28', 'no', '2016-09-30 23:30:24', '0000-00-00 00:00:00'),
(24, '2028-29', 'no', '2016-09-30 23:30:30', '0000-00-00 00:00:00'),
(25, '2029-30', 'no', '2016-09-30 23:30:37', '0000-00-00 00:00:00');

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

--
-- Table structure for table `sms_config`
--

CREATE TABLE `sms_config` (
  `id` int(11) NOT NULL,
  `type` varchar(50) NOT NULL,
  `name` varchar(100) NOT NULL,
  `api_id` varchar(100) NOT NULL,
  `authkey` varchar(100) NOT NULL,
  `senderid` varchar(100) NOT NULL,
  `contact` text DEFAULT NULL,
  `username` varchar(150) DEFAULT NULL,
  `url` varchar(150) DEFAULT NULL,
  `password` varchar(150) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'disabled',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `source`
--

CREATE TABLE `source` (
  `id` int(11) NOT NULL,
  `source` varchar(100) NOT NULL,
  `description` mediumtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `sport`
--

CREATE TABLE `sport` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(50) NOT NULL,
  `sportcode` varchar(200) NOT NULL,
  `name` varchar(100) NOT NULL,
  `description` varchar(300) NOT NULL,
  `across` varchar(200) NOT NULL,
  `down` varchar(200) NOT NULL,
  `gender` varchar(200) NOT NULL,
  `age_group` varchar(200) NOT NULL,
  `team` varchar(200) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `sport_categories`
--

CREATE TABLE `sport_categories` (
  `id` int(11) NOT NULL,
  `sport` varchar(200) NOT NULL,
  `age_group` varchar(200) NOT NULL,
  `gender` varchar(200) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `sport_categories`
--

INSERT INTO `sport_categories` (`id`, `sport`, `age_group`, `gender`, `active`) VALUES
(1, 'soccer', 'under 16', 'Male', 1);

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

--
-- Table structure for table `staff`
--

CREATE TABLE `staff` (
  `id` int(11) NOT NULL,
  `employee_id` varchar(200) NOT NULL,
  `department` varchar(100) NOT NULL,
  `designation` varchar(100) NOT NULL,
  `qualification` varchar(200) NOT NULL,
  `work_exp` varchar(200) NOT NULL,
  `name` varchar(200) NOT NULL,
  `surname` varchar(200) NOT NULL,
  `father_name` varchar(200) NOT NULL,
  `mother_name` varchar(200) NOT NULL,
  `contact_no` varchar(200) NOT NULL,
  `emergency_contact_no` varchar(200) NOT NULL,
  `email` varchar(200) NOT NULL,
  `dob` date NOT NULL,
  `marital_status` varchar(100) NOT NULL,
  `date_of_joining` date NOT NULL,
  `date_of_leaving` date NOT NULL,
  `local_address` varchar(300) NOT NULL,
  `permanent_address` varchar(200) NOT NULL,
  `note` varchar(200) NOT NULL,
  `image` varchar(200) NOT NULL,
  `password` varchar(250) NOT NULL,
  `gender` varchar(50) NOT NULL,
  `account_title` varchar(200) NOT NULL,
  `bank_account_no` varchar(200) NOT NULL,
  `bank_name` varchar(200) NOT NULL,
  `ifsc_code` varchar(200) NOT NULL,
  `bank_branch` varchar(100) NOT NULL,
  `payscale` varchar(200) NOT NULL,
  `basic_salary` varchar(200) NOT NULL,
  `epf_no` varchar(200) NOT NULL,
  `contract_type` varchar(100) NOT NULL,
  `shift` varchar(100) NOT NULL,
  `location` varchar(100) NOT NULL,
  `facebook` varchar(200) NOT NULL,
  `twitter` varchar(200) NOT NULL,
  `linkedin` varchar(200) NOT NULL,
  `instagram` varchar(200) NOT NULL,
  `resume` varchar(200) NOT NULL,
  `joining_letter` varchar(200) NOT NULL,
  `resignation_letter` varchar(200) NOT NULL,
  `other_document_name` varchar(200) NOT NULL,
  `other_document_file` varchar(200) NOT NULL,
  `user_id` int(11) NOT NULL,
  `is_active` int(11) NOT NULL,
  `verification_code` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `staff`
--

INSERT INTO `staff` (`id`, `employee_id`, `department`, `designation`, `qualification`, `work_exp`, `name`, `surname`, `father_name`, `mother_name`, `contact_no`, `emergency_contact_no`, `email`, `dob`, `marital_status`, `date_of_joining`, `date_of_leaving`, `local_address`, `permanent_address`, `note`, `image`, `password`, `gender`, `account_title`, `bank_account_no`, `bank_name`, `ifsc_code`, `bank_branch`, `payscale`, `basic_salary`, `epf_no`, `contract_type`, `shift`, `location`, `facebook`, `twitter`, `linkedin`, `instagram`, `resume`, `joining_letter`, `resignation_letter`, `other_document_name`, `other_document_file`, `user_id`, `is_active`, `verification_code`) VALUES
(1, 'ME001', '13', '23', '', '', 'ME Super Admin', '', 'none', 'none', '', '', 'mesuperadmin@gmail.com', '2001-11-11', '', '0000-00-00', '0000-00-00', '', '', '', '', '$2y$10$qfU2GOYxutDC/fFfZOzsPux66QxzDFiYOaI0XWsUm81eJZpLiqXDq', 'Female', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Other Document', '', 0, 1, '');

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

--
-- Table structure for table `staff_attendance`
--

CREATE TABLE `staff_attendance` (
  `id` int(11) NOT NULL,
  `date` date NOT NULL,
  `staff_id` int(11) NOT NULL,
  `staff_attendance_type_id` int(11) NOT NULL,
  `remark` varchar(200) NOT NULL,
  `is_active` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `staff_attendance_type`
--

CREATE TABLE `staff_attendance_type` (
  `id` int(11) NOT NULL,
  `type` varchar(200) NOT NULL,
  `key_value` varchar(200) NOT NULL,
  `is_active` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `staff_attendance_type`
--

INSERT INTO `staff_attendance_type` (`id`, `type`, `key_value`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'Present', '<b class=\"text text-success\">P</b>', 'yes', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(2, 'Late', '<b class=\"text text-warning\">L</b>', 'yes', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(3, 'Absent', '<b class=\"text text-danger\">A</b>', 'yes', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(4, 'Half Day', '<b class=\"text text-warning\">F</b>', 'yes', '2018-05-06 19:56:16', '0000-00-00 00:00:00'),
(5, 'Holiday', 'H', 'yes', '0000-00-00 00:00:00', '0000-00-00 00:00:00');

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

--
-- Table structure for table `staff_designation`
--

CREATE TABLE `staff_designation` (
  `id` int(11) NOT NULL,
  `designation` varchar(200) NOT NULL,
  `is_active` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `staff_designation`
--

INSERT INTO `staff_designation` (`id`, `designation`, `is_active`) VALUES
(5, 'VPA TEACHER', 'yes'),
(6, 'ICT TEACHER', 'yes'),
(10, 'ECD A TEACHER', 'yes'),
(11, 'ECD B TEACHER', 'yes'),
(12, 'GRADE 1 TEACHER', 'yes'),
(13, 'GRADE 2 TEACHER', 'yes'),
(14, 'GRADE 3 TEACHER', 'yes'),
(15, 'GRADE 4 TEACHER', 'yes'),
(16, 'GRADE 5 TEACHER', 'yes'),
(17, 'GRADE 6 TEACHER', 'yes'),
(18, 'GRADE 7 TEACHER', 'yes'),
(19, 'DRIVER', 'yes'),
(20, 'ANCILLARY STAFF', 'yes'),
(21, 'ADMIN ASSISTANT', 'yes'),
(22, 'PRINCIPAL', 'yes'),
(23, 'ADMINISTRATOR ', 'yes'),
(24, 'RECEPTIONIST', 'yes'),
(25, 'MATRON', 'yes'),
(26, 'SECURITY', 'yes'),
(27, 'TODDLER', 'yes'),
(28, 'TEACHER', 'yes');

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

--
-- Table structure for table `staff_leave_details`
--

CREATE TABLE `staff_leave_details` (
  `id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `leave_type_id` int(11) NOT NULL,
  `alloted_leave` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `staff_leave_request`
--

CREATE TABLE `staff_leave_request` (
  `id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `leave_type_id` int(11) NOT NULL,
  `leave_from` date NOT NULL,
  `leave_to` date NOT NULL,
  `leave_days` int(11) NOT NULL,
  `employee_remark` varchar(200) NOT NULL,
  `admin_remark` varchar(200) NOT NULL,
  `status` varchar(100) NOT NULL,
  `applied_by` varchar(200) NOT NULL,
  `document_file` varchar(200) NOT NULL,
  `date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `staff_payroll`
--

CREATE TABLE `staff_payroll` (
  `id` int(11) NOT NULL,
  `basic_salary` int(11) NOT NULL,
  `pay_scale` varchar(200) NOT NULL,
  `grade` varchar(50) NOT NULL,
  `is_active` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `staff_payslip`
--

CREATE TABLE `staff_payslip` (
  `id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `basic` int(11) NOT NULL,
  `total_allowance` int(11) NOT NULL,
  `total_deduction` int(11) NOT NULL,
  `leave_deduction` int(11) NOT NULL,
  `tax` varchar(200) NOT NULL,
  `net_salary` int(11) NOT NULL,
  `status` varchar(100) NOT NULL,
  `month` varchar(200) NOT NULL,
  `year` varchar(200) NOT NULL,
  `payment_mode` varchar(200) NOT NULL,
  `payment_date` date NOT NULL,
  `remark` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `staff_roles`
--

CREATE TABLE `staff_roles` (
  `id` int(11) NOT NULL,
  `role_id` int(11) DEFAULT NULL,
  `staff_id` int(11) DEFAULT NULL,
  `is_active` int(11) DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `staff_roles`
--

INSERT INTO `staff_roles` (`id`, `role_id`, `staff_id`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 7, 1, 0, '2022-08-11 11:24:34', '0000-00-00 00:00:00'),
(4, 2, 4, 0, '2023-02-03 18:04:08', ''),
(5, 2, 5, 0, '2023-02-03 18:06:21', ''),
(6, 2, 6, 0, '2023-02-10 15:53:20', ''),
(7, 2, 7, 0, '2023-02-10 15:57:10', ''),
(8, 1, 8, 0, '2024-03-15 10:05:33', ''),
(9, 2, 9, 0, '2023-02-10 16:01:41', ''),
(10, 2, 10, 0, '2023-02-10 16:05:01', ''),
(11, 2, 11, 0, '2023-02-10 16:10:29', ''),
(12, 2, 12, 0, '2023-02-10 16:15:16', ''),
(13, 2, 13, 0, '2023-02-14 18:00:11', ''),
(14, 2, 14, 0, '2023-02-10 16:32:26', ''),
(15, 2, 15, 0, '2023-02-10 16:35:54', ''),
(16, 1, 16, 0, '2023-02-10 16:40:08', ''),
(17, 1, 17, 0, '2023-02-10 16:44:19', ''),
(18, 1, 18, 0, '2023-02-10 16:48:06', ''),
(19, 1, 19, 0, '2023-02-10 16:56:07', ''),
(20, 1, 20, 0, '2023-02-10 17:01:26', ''),
(21, 1, 21, 0, '2023-02-10 17:05:18', ''),
(22, 1, 22, 0, '2023-02-10 17:07:48', ''),
(24, 7, 24, 0, '2023-04-19 06:07:38', '');

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

--
-- Table structure for table `staff_timeline`
--

CREATE TABLE `staff_timeline` (
  `id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `title` varchar(200) NOT NULL,
  `timeline_date` date NOT NULL,
  `description` varchar(300) NOT NULL,
  `document` varchar(200) NOT NULL,
  `status` varchar(200) NOT NULL,
  `date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `students`
--

CREATE TABLE `students` (
  `id` int(11) NOT NULL,
  `parent_id` int(11) NOT NULL,
  `admission_no` varchar(100) DEFAULT NULL,
  `roll_no` varchar(100) DEFAULT NULL,
  `admission_date` varchar(100) DEFAULT NULL,
  `firstname` varchar(100) DEFAULT NULL,
  `lastname` varchar(100) DEFAULT NULL,
  `rte` varchar(20) NOT NULL DEFAULT 'No',
  `image` varchar(100) DEFAULT NULL,
  `mobileno` varchar(100) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `state` varchar(100) DEFAULT NULL,
  `city` varchar(100) DEFAULT NULL,
  `pincode` varchar(100) DEFAULT NULL,
  `religion` varchar(100) DEFAULT NULL,
  `cast` varchar(50) NOT NULL,
  `dob` varchar(100) DEFAULT NULL,
  `gender` varchar(100) DEFAULT NULL,
  `current_address` text DEFAULT NULL,
  `permanent_address` text DEFAULT NULL,
  `category_id` varchar(100) DEFAULT NULL,
  `route_id` int(11) NOT NULL,
  `school_house_id` int(11) NOT NULL,
  `blood_group` varchar(200) NOT NULL,
  `vehroute_id` int(11) NOT NULL,
  `hostel_room_id` int(11) NOT NULL,
  `adhar_no` varchar(100) DEFAULT NULL,
  `samagra_id` varchar(100) DEFAULT NULL,
  `bank_account_no` varchar(100) DEFAULT NULL,
  `bank_name` varchar(100) DEFAULT NULL,
  `ifsc_code` varchar(100) DEFAULT NULL,
  `guardian_is` varchar(100) NOT NULL,
  `father_name` varchar(100) DEFAULT NULL,
  `father_phone` varchar(100) DEFAULT NULL,
  `father_occupation` varchar(100) DEFAULT NULL,
  `mother_name` varchar(100) DEFAULT NULL,
  `mother_phone` varchar(100) DEFAULT NULL,
  `mother_occupation` varchar(100) DEFAULT NULL,
  `guardian_name` varchar(100) DEFAULT NULL,
  `guardian_relation` varchar(100) DEFAULT NULL,
  `guardian_phone` varchar(100) DEFAULT NULL,
  `guardian_occupation` varchar(150) NOT NULL,
  `guardian_address` text DEFAULT NULL,
  `guardian_email` varchar(100) NOT NULL,
  `father_pic` varchar(200) NOT NULL,
  `mother_pic` varchar(200) NOT NULL,
  `guardian_pic` varchar(200) NOT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `previous_school` text DEFAULT NULL,
  `height` varchar(100) NOT NULL,
  `weight` varchar(100) NOT NULL,
  `measurement_date` date NOT NULL,
  `app_key` text DEFAULT NULL,
  `parent_app_key` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL,
  `disable_at` date NOT NULL,
  `note` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `students`
--

INSERT INTO `students` (`id`, `parent_id`, `admission_no`, `roll_no`, `admission_date`, `firstname`, `lastname`, `rte`, `image`, `mobileno`, `email`, `state`, `city`, `pincode`, `religion`, `cast`, `dob`, `gender`, `current_address`, `permanent_address`, `category_id`, `route_id`, `school_house_id`, `blood_group`, `vehroute_id`, `hostel_room_id`, `adhar_no`, `samagra_id`, `bank_account_no`, `bank_name`, `ifsc_code`, `guardian_is`, `father_name`, `father_phone`, `father_occupation`, `mother_name`, `mother_phone`, `mother_occupation`, `guardian_name`, `guardian_relation`, `guardian_phone`, `guardian_occupation`, `guardian_address`, `guardian_email`, `father_pic`, `mother_pic`, `guardian_pic`, `is_active`, `previous_school`, `height`, `weight`, `measurement_date`, `app_key`, `parent_app_key`, `created_at`, `updated_at`, `disable_at`, `note`) VALUES
(1, 2, 'ec000324', '', '2025-01-02', 'john', 'doe', 'No', 'uploads/student_images/no_image.png', '', '', NULL, NULL, NULL, '', '', '2025-01-07', 'Female', '', '', '', 0, 0, '', 0, 0, '', '', '', '', '', 'father', 'rrr', 'rrr', 'rrr', '', '', '', 'rrr', 'Father', 'rrr', 'rrr', 'fervvvg 3234', '', '', '', '', 'yes', '', '', '', '2025-01-02', NULL, NULL, '2025-01-16 09:46:23', '', '0000-00-00', ''),
(2, 4, 'ec000233', '', '2025-01-10', 'morethan', 'martins', 'No', 'uploads/student_images/no_image.png', '', '', NULL, NULL, NULL, '', '', '2024-08-05', 'Male', '', '', '', 0, 0, '', 0, 0, '', '', '', '', '', 'father', 'na', 'na', 'ba', '', '', '', 'na', 'Father', 'na', 'ba', '123 na', '', '', '', '', 'yes', '', '', '', '2025-01-10', NULL, NULL, '2025-01-16 09:47:02', '', '0000-00-00', ''),
(3, 6, 'ME00012', '', '2025-01-15', 'Tinashe', 'Chimanyi', 'No', 'uploads/student_images/no_image.png', '', '', NULL, NULL, NULL, '', '', '2023-11-29', 'Male', '', '', '1', 0, 0, '', 0, 0, '', '', '', '', '', 'father', 'na', 'na', 'na', '', '', '', 'na', 'Father', 'na', 'na', 'na', '', '', '', '', 'yes', '', '', '', '2025-01-15', NULL, NULL, '2025-01-15 08:33:36', '', '0000-00-00', ''),
(4, 8, 'ME00013', '', '2025-01-15', 'Nyasha', 'Mrinda', 'No', 'uploads/student_images/no_image.png', '', '', NULL, NULL, NULL, '', '', '2024-07-16', 'Male', '', '', '1', 0, 0, '', 0, 0, '', '', '', '', '', 'father', 'na', 'na', 'na', '', '', '', 'na', 'Father', 'na', 'na', 'na', '', '', '', '', 'yes', '', '', '', '2025-01-15', NULL, NULL, '2025-01-15 08:34:39', '', '0000-00-00', ''),
(5, 10, 'ME00014', '', '2025-01-15', 'Test', 'Success', 'No', 'uploads/student_images/no_image.png', '', '', NULL, NULL, NULL, '', '', '2024-12-30', 'Female', '', '', '1', 0, 0, '', 0, 0, '', '', '', '', '', 'father', 'na', 'na', 'na', '', '', '', 'na', 'Father', 'na', 'na', 'na', '', '', '', '', 'yes', '', '', '', '2025-01-15', NULL, NULL, '2025-01-16 09:48:23', '', '0000-00-00', '');

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

--
-- Table structure for table `student_attendences`
--

CREATE TABLE `student_attendences` (
  `id` int(11) NOT NULL,
  `student_session_id` int(11) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `attendence_type_id` int(11) DEFAULT NULL,
  `remark` varchar(200) NOT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `student_doc`
--

CREATE TABLE `student_doc` (
  `id` int(11) NOT NULL,
  `student_id` int(11) DEFAULT NULL,
  `title` varchar(200) DEFAULT NULL,
  `doc` varchar(200) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `student_fees`
--

CREATE TABLE `student_fees` (
  `id` int(11) NOT NULL,
  `student_session_id` int(11) DEFAULT NULL,
  `feemaster_id` int(11) DEFAULT NULL,
  `amount` float(10,2) DEFAULT NULL,
  `amount_discount` float(10,2) NOT NULL,
  `amount_fine` float(10,2) NOT NULL DEFAULT 0.00,
  `description` text DEFAULT NULL,
  `date` varchar(50) NOT NULL,
  `payment_mode` varchar(50) NOT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `student_fees_deposite`
--

CREATE TABLE `student_fees_deposite` (
  `id` int(11) NOT NULL,
  `student_fees_master_id` int(11) NOT NULL,
  `student_group_id` int(11) NOT NULL,
  `fee_groups_feetype_id` int(11) NOT NULL,
  `amount_detail` text NOT NULL,
  `receipt` varchar(20) NOT NULL,
  `is_active` varchar(10) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `invoice` varchar(400) NOT NULL,
  `transfer` int(11) NOT NULL,
  `cashbook` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `student_fees_discounts`
--

CREATE TABLE `student_fees_discounts` (
  `id` int(11) NOT NULL,
  `student_session_id` int(11) DEFAULT NULL,
  `fees_discount_id` int(11) DEFAULT NULL,
  `status` varchar(20) DEFAULT 'assigned',
  `payment_id` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` varchar(10) NOT NULL DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `student_fees_master`
--

CREATE TABLE `student_fees_master` (
  `id` int(11) NOT NULL,
  `is_system` int(11) NOT NULL,
  `student_session_id` int(11) NOT NULL,
  `fee_session_group_id` int(11) NOT NULL,
  `amount` float(10,2) NOT NULL,
  `is_active` varchar(10) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `invoice` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `student_fees_master`
--

INSERT INTO `student_fees_master` (`id`, `is_system`, `student_session_id`, `fee_session_group_id`, `amount`, `is_active`, `created_at`, `invoice`) VALUES
(46, 0, 238, 4, 0.00, '', '2024-11-03 15:11:32', ''),
(47, 0, 239, 4, 0.00, '', '2024-11-03 15:11:33', ''),
(48, 0, 240, 4, 0.00, '', '2024-11-03 15:11:33', ''),
(49, 0, 241, 4, 0.00, '', '2024-11-03 15:11:33', ''),
(50, 0, 242, 4, 0.00, '', '2024-11-03 15:11:33', ''),
(51, 0, 243, 4, 0.00, '', '2024-11-03 15:11:33', ''),
(52, 0, 244, 4, 0.00, '', '2024-11-03 15:11:33', ''),
(53, 0, 245, 4, 0.00, '', '2024-11-03 15:11:33', ''),
(54, 0, 246, 4, 0.00, '', '2024-11-03 15:11:33', ''),
(55, 0, 247, 4, 0.00, '', '2024-11-03 15:11:33', '');

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

--
-- Table structure for table `student_session`
--

CREATE TABLE `student_session` (
  `id` int(11) NOT NULL,
  `session_id` int(11) DEFAULT NULL,
  `student_id` int(11) DEFAULT NULL,
  `class_id` int(11) DEFAULT NULL,
  `section_id` int(11) DEFAULT NULL,
  `route_id` int(11) NOT NULL,
  `hostel_room_id` int(11) NOT NULL,
  `vehroute_id` int(11) DEFAULT NULL,
  `transport_fees` float(10,2) NOT NULL DEFAULT 0.00,
  `fees_discount` float(10,2) NOT NULL DEFAULT 0.00,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `student_session`
--

INSERT INTO `student_session` (`id`, `session_id`, `student_id`, `class_id`, `section_id`, `route_id`, `hostel_room_id`, `vehroute_id`, `transport_fees`, `fees_discount`, `is_active`, `created_at`, `updated_at`) VALUES
(6, 14, 6, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-03 18:19:23', ''),
(7, 14, 7, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 17:50:58', ''),
(8, 14, 8, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 18:08:53', ''),
(9, 14, 9, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 18:14:51', ''),
(10, 14, 10, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 18:25:16', ''),
(11, 14, 11, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 18:27:32', ''),
(12, 14, 12, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 18:31:12', ''),
(13, 14, 13, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 18:33:44', ''),
(14, 14, 14, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 18:37:25', ''),
(15, 14, 15, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 18:40:23', ''),
(16, 14, 16, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 19:52:15', ''),
(17, 14, 17, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 19:57:02', ''),
(18, 14, 18, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 20:00:04', ''),
(19, 14, 19, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 20:04:57', ''),
(20, 14, 20, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 20:07:05', ''),
(21, 14, 21, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 20:08:52', ''),
(22, 14, 22, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 20:18:34', ''),
(23, 14, 23, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 20:30:24', ''),
(24, 14, 24, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 20:33:14', ''),
(25, 14, 25, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 20:35:46', ''),
(26, 14, 26, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-06 20:37:43', ''),
(27, 14, 27, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-07 15:01:21', ''),
(28, 14, 28, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-07 15:06:07', ''),
(29, 14, 29, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-07 15:10:14', ''),
(30, 14, 30, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-07 15:14:01', ''),
(31, 14, 31, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-07 15:20:17', ''),
(32, 14, 32, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-07 19:34:02', ''),
(33, 14, 33, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-08 13:55:27', ''),
(34, 14, 34, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-08 14:15:28', ''),
(35, 14, 35, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-08 14:20:05', ''),
(36, 14, 36, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-08 14:32:38', ''),
(37, 14, 37, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-08 14:45:43', ''),
(38, 14, 38, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-08 14:50:49', ''),
(39, 14, 39, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-08 15:16:00', ''),
(40, 14, 40, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-08 15:25:27', ''),
(41, 14, 41, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-08 15:32:10', ''),
(42, 14, 42, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-08 15:52:40', ''),
(43, 14, 43, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 16:57:09', ''),
(44, 14, 44, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 17:00:05', ''),
(45, 14, 45, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 17:01:48', ''),
(46, 14, 46, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 17:08:49', ''),
(47, 14, 47, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 17:10:28', ''),
(48, 14, 48, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 17:13:19', ''),
(49, 14, 49, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 17:39:40', ''),
(50, 14, 50, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 17:41:56', ''),
(51, 14, 51, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 17:44:08', ''),
(52, 14, 52, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 17:47:55', ''),
(53, 14, 53, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 17:52:42', ''),
(54, 14, 54, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-09 18:02:59', ''),
(55, 14, 55, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-10 15:08:29', ''),
(56, 14, 56, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-10 15:12:23', ''),
(57, 14, 57, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-10 15:19:27', ''),
(58, 14, 58, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-10 15:21:23', ''),
(59, 14, 59, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-03-06 17:05:21', ''),
(60, 14, 60, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 03:36:07', ''),
(61, 14, 61, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 03:49:51', ''),
(62, 14, 62, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 03:59:30', ''),
(63, 14, 63, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 04:09:54', ''),
(64, 14, 64, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 04:16:19', ''),
(65, 14, 65, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 04:23:35', ''),
(66, 14, 66, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 04:30:18', ''),
(67, 14, 67, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 04:36:57', ''),
(68, 14, 68, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 04:45:10', ''),
(69, 14, 69, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 04:51:07', ''),
(70, 14, 70, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 04:57:48', ''),
(71, 14, 71, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 05:06:34', ''),
(72, 14, 72, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 05:23:18', ''),
(73, 14, 73, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 05:27:09', ''),
(74, 14, 74, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 05:32:08', ''),
(75, 14, 75, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 05:39:59', ''),
(76, 14, 76, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 05:45:01', ''),
(77, 14, 77, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 05:49:54', ''),
(78, 14, 78, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 05:53:55', ''),
(79, 14, 79, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 05:57:35', ''),
(80, 14, 80, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 18:49:32', ''),
(81, 14, 81, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 18:53:41', ''),
(82, 14, 82, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 18:57:36', ''),
(83, 14, 83, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 18:58:15', ''),
(84, 14, 84, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 19:06:35', ''),
(85, 14, 85, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 19:11:17', ''),
(86, 14, 86, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 19:16:57', ''),
(87, 14, 87, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 19:22:02', ''),
(88, 14, 88, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 19:26:39', ''),
(89, 14, 89, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 19:47:18', ''),
(90, 14, 90, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 19:50:29', ''),
(91, 14, 91, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 19:55:04', ''),
(92, 14, 92, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 20:00:06', ''),
(93, 14, 93, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 20:03:18', ''),
(94, 14, 94, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 20:07:08', ''),
(95, 14, 95, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 20:15:34', ''),
(96, 14, 96, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 20:19:41', ''),
(97, 14, 97, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 20:25:30', ''),
(98, 14, 98, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 20:34:12', ''),
(99, 14, 99, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 20:43:35', ''),
(100, 14, 100, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 20:49:32', ''),
(101, 14, 101, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 20:54:06', ''),
(102, 14, 102, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 20:56:52', ''),
(103, 14, 103, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 21:00:56', ''),
(104, 14, 104, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 21:04:21', ''),
(105, 14, 105, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:33:28', ''),
(106, 14, 106, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 21:17:19', ''),
(107, 14, 107, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 21:23:27', ''),
(108, 14, 108, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 21:27:39', ''),
(109, 14, 109, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:33:42', ''),
(110, 14, 110, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 21:46:57', ''),
(111, 14, 111, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 21:54:05', ''),
(112, 14, 112, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 21:57:35', ''),
(113, 14, 113, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 22:02:32', ''),
(114, 14, 114, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 22:08:10', ''),
(115, 14, 115, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 22:19:59', ''),
(116, 14, 116, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 22:25:34', ''),
(117, 14, 117, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 22:29:29', ''),
(118, 14, 118, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 22:33:04', ''),
(119, 14, 119, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 22:35:57', ''),
(120, 14, 120, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 22:39:27', ''),
(121, 14, 121, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 22:43:06', ''),
(122, 14, 122, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 22:57:13', ''),
(123, 14, 123, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 23:15:18', ''),
(124, 14, 124, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 23:37:48', ''),
(125, 14, 125, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 23:41:22', ''),
(126, 14, 126, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-12 23:58:24', ''),
(127, 14, 127, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 00:13:45', ''),
(128, 14, 128, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 00:25:52', ''),
(129, 14, 129, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 01:41:34', ''),
(130, 14, 130, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 01:44:13', ''),
(131, 14, 131, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 01:47:24', ''),
(132, 14, 132, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 01:50:08', ''),
(133, 14, 133, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 01:53:09', ''),
(134, 14, 134, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 01:56:20', ''),
(135, 14, 135, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 02:00:53', ''),
(136, 14, 136, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 02:03:57', ''),
(137, 14, 137, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 15:02:01', ''),
(138, 14, 138, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 15:04:49', ''),
(139, 14, 139, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 15:09:40', ''),
(140, 14, 140, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 15:14:13', ''),
(141, 14, 141, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 15:16:01', ''),
(142, 14, 142, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 15:31:12', ''),
(143, 14, 143, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 16:06:37', ''),
(144, 14, 144, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 16:23:24', ''),
(145, 14, 145, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 16:26:40', ''),
(146, 14, 146, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 16:28:51', ''),
(147, 14, 147, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 16:32:04', ''),
(148, 14, 148, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 17:00:01', ''),
(149, 14, 149, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 17:16:27', ''),
(150, 14, 150, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 17:25:19', ''),
(151, 14, 151, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 17:29:32', ''),
(152, 14, 152, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 17:33:01', ''),
(153, 14, 153, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 17:38:08', ''),
(154, 14, 154, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 17:59:12', ''),
(155, 14, 155, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 18:06:19', ''),
(156, 14, 156, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 18:15:12', ''),
(157, 14, 157, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 18:20:33', ''),
(158, 14, 158, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 18:24:56', ''),
(159, 14, 159, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 18:28:06', ''),
(160, 14, 160, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 18:32:09', ''),
(161, 14, 161, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 18:38:58', ''),
(162, 14, 162, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 18:47:34', ''),
(163, 14, 163, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 18:59:42', ''),
(164, 14, 164, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 19:08:50', ''),
(165, 14, 165, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 19:16:42', ''),
(166, 14, 166, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-13 19:21:04', ''),
(167, 14, 167, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 01:40:27', ''),
(168, 14, 168, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 02:10:47', ''),
(169, 14, 169, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 02:22:15', ''),
(170, 14, 170, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 02:24:54', ''),
(171, 14, 171, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 02:34:16', ''),
(172, 14, 172, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 02:36:19', ''),
(173, 14, 173, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 02:39:43', ''),
(174, 14, 174, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 02:41:24', ''),
(175, 14, 175, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 14:44:02', ''),
(176, 14, 176, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 14:47:05', ''),
(177, 14, 177, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 14:49:32', ''),
(178, 14, 178, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 14:52:04', ''),
(179, 14, 179, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 14:54:25', ''),
(180, 14, 180, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 15:00:19', ''),
(181, 14, 181, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 15:14:29', ''),
(182, 14, 182, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 15:16:43', ''),
(183, 14, 183, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 15:18:51', ''),
(184, 14, 184, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 15:34:04', ''),
(185, 14, 185, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 15:40:33', ''),
(186, 14, 186, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 15:45:04', ''),
(187, 14, 187, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 15:46:38', ''),
(188, 14, 188, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 16:01:35', ''),
(189, 14, 189, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 16:30:57', ''),
(190, 14, 190, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 16:34:09', ''),
(191, 14, 191, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 17:25:35', ''),
(192, 14, 192, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 17:27:14', ''),
(193, 14, 193, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 17:33:15', ''),
(194, 14, 194, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 17:36:55', ''),
(195, 14, 195, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-14 17:37:59', ''),
(196, 14, 196, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 14:56:18', ''),
(197, 14, 197, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 15:04:20', ''),
(198, 14, 198, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 15:26:54', ''),
(199, 14, 199, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 15:31:58', ''),
(200, 14, 200, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 15:38:05', ''),
(201, 14, 201, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 16:23:23', ''),
(202, 14, 202, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 16:30:03', ''),
(203, 14, 203, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 17:23:26', ''),
(204, 14, 204, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 17:40:00', ''),
(205, 14, 205, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:29:22', ''),
(206, 14, 206, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 17:46:42', ''),
(207, 14, 207, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 17:49:44', ''),
(208, 14, 208, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 17:55:38', ''),
(209, 14, 209, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:00:20', ''),
(210, 14, 210, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:02:27', ''),
(211, 14, 211, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:03:51', ''),
(212, 14, 212, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:05:30', ''),
(213, 14, 213, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:06:46', ''),
(214, 14, 214, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:08:40', ''),
(215, 14, 215, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:10:14', ''),
(216, 14, 216, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:11:47', ''),
(217, 14, 217, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:12:47', ''),
(218, 14, 218, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:16:40', ''),
(219, 14, 219, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:18:48', ''),
(220, 14, 220, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:20:33', ''),
(221, 14, 221, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:23:06', ''),
(222, 14, 222, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:33:02', ''),
(223, 14, 223, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:40:25', ''),
(224, 14, 224, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-02-15 18:42:13', ''),
(225, 14, 225, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-03-06 17:18:57', ''),
(226, 14, 226, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2023-03-06 17:22:16', ''),
(227, 14, 227, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-18 10:44:31', ''),
(228, 14, 228, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-18 10:45:55', ''),
(229, 14, 229, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-19 14:23:27', ''),
(230, 14, 230, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-19 14:24:40', ''),
(231, 14, 231, 25, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 10:33:50', ''),
(232, 14, 232, 25, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 10:39:04', ''),
(233, 14, 233, 25, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 10:41:28', ''),
(234, 14, 234, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 10:44:57', ''),
(235, 14, 235, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 10:47:17', ''),
(236, 14, 236, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 10:53:00', ''),
(237, 14, 237, 17, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 10:57:07', ''),
(238, 14, 238, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 11:02:06', ''),
(239, 14, 239, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 11:04:50', ''),
(240, 14, 240, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 11:08:41', ''),
(241, 14, 241, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 11:12:47', ''),
(242, 14, 242, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 11:18:29', ''),
(243, 14, 243, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 11:21:15', ''),
(244, 14, 244, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 11:31:53', ''),
(245, 14, 245, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 12:08:21', ''),
(246, 14, 246, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 12:18:23', ''),
(247, 14, 247, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 12:23:59', ''),
(248, 14, 248, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 12:40:56', ''),
(249, 14, 249, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 12:45:27', ''),
(250, 14, 250, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:02:17', ''),
(251, 14, 251, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:07:42', ''),
(252, 14, 252, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:17:26', ''),
(253, 14, 253, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:22:02', ''),
(254, 14, 254, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:25:12', ''),
(255, 14, 255, 20, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:29:42', ''),
(256, 14, 256, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:35:29', ''),
(257, 14, 257, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:39:13', ''),
(258, 14, 258, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:43:38', ''),
(259, 14, 259, 21, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:48:29', ''),
(260, 14, 260, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:52:53', ''),
(261, 14, 261, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 13:57:55', ''),
(262, 14, 262, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 14:06:06', ''),
(263, 14, 263, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 14:10:32', ''),
(264, 14, 264, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 14:19:22', ''),
(265, 14, 265, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 14:24:56', ''),
(266, 14, 266, 22, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 14:33:27', ''),
(267, 14, 267, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 14:38:25', ''),
(268, 14, 268, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 14:41:40', ''),
(269, 14, 269, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 14:44:46', ''),
(270, 14, 270, 23, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-01-31 14:47:08', ''),
(271, 14, 271, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-02-08 20:10:19', ''),
(272, 14, 272, 26, 16, 0, 0, NULL, 0.00, 0.00, 'no', '2024-03-05 10:39:32', ''),
(273, 14, 273, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-03-15 09:46:00', ''),
(274, 14, 274, 24, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2024-03-15 09:51:14', ''),
(275, 14, 1, 19, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2025-01-02 09:52:00', ''),
(276, 14, 2, 16, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2025-01-10 15:47:43', ''),
(277, 14, 3, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2025-01-15 08:33:36', ''),
(278, 14, 4, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2025-01-15 08:34:39', ''),
(279, 14, 5, 18, 14, 0, 0, NULL, 0.00, 0.00, 'no', '2025-01-15 08:35:34', '');

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

--
-- Table structure for table `student_sibling`
--

CREATE TABLE `student_sibling` (
  `id` int(11) NOT NULL,
  `student_id` int(11) DEFAULT NULL,
  `sibling_student_id` int(11) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `student_sport`
--

CREATE TABLE `student_sport` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(100) NOT NULL,
  `sportcode` varchar(100) NOT NULL,
  `student_id` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `student_timeline`
--

CREATE TABLE `student_timeline` (
  `id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `title` varchar(200) NOT NULL,
  `timeline_date` date NOT NULL,
  `description` varchar(200) NOT NULL,
  `document` varchar(200) NOT NULL,
  `status` varchar(200) NOT NULL,
  `date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `student_transport_fees`
--

CREATE TABLE `student_transport_fees` (
  `id` int(11) NOT NULL,
  `student_session_id` int(11) DEFAULT NULL,
  `amount` float(10,2) DEFAULT NULL,
  `amount_discount` float(10,2) NOT NULL,
  `amount_fine` float(10,2) NOT NULL DEFAULT 0.00,
  `description` text DEFAULT NULL,
  `date` varchar(50) NOT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `payment_mode` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `subjects`
--

CREATE TABLE `subjects` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(100) NOT NULL,
  `type` varchar(100) NOT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `subjects`
--

INSERT INTO `subjects` (`id`, `name`, `code`, `type`, `is_active`, `created_at`, `updated_at`) VALUES
(8, 'ENGLISH ZIMSEC', 'ENGZ', 'Theory', 'no', '2024-02-01 07:35:05', ''),
(9, 'MATHEMATICS ZIMSEC', 'MATHS', 'Theory', 'no', '2024-02-01 07:35:21', ''),
(10, 'SHONA', 'SHN', 'Theory', 'no', '2023-02-06 20:22:22', ''),
(11, 'PHYSICAL EDUCATION', 'PE', 'Theory', 'no', '2023-02-08 14:35:09', ''),
(12, 'VISUAL PERFORMING ARTS', 'VPA', 'Practical', 'no', '2023-02-07 00:52:28', ''),
(13, 'INFORMATION AND COMMUNICATION TECHNOLOGY', 'ICT', 'Practical', 'no', '2023-02-07 00:54:03', ''),
(14, 'SCIENCE AND TECHNOLOGY ZIMSEC', 'ST', 'Theory', 'no', '2024-02-01 07:37:17', ''),
(15, 'AGRICULTURE', 'AGR', 'Theory', 'no', '2024-02-01 07:34:10', ''),
(16, 'HERITAGE SOCIAL STUDIES', 'HSS', 'Theory', 'no', '2023-02-07 00:59:30', ''),
(17, 'MSMASS DISPLAY', 'MD', 'Theory', 'no', '2024-02-01 07:40:01', ''),
(18, 'ENGLISH CAMBRIDGE', 'ENGC', 'Theory', 'no', '2024-02-01 07:35:59', ''),
(19, 'MATHEMATICS CAMBRIDGE', 'MATHSC', 'Theory', 'no', '2024-02-01 07:36:49', ''),
(20, 'FAREME', 'FRM', 'Theory', 'no', '2024-02-01 07:37:38', ''),
(21, 'SCIENCE CAMBRIDGE', 'SC', 'Theory', 'no', '2024-02-01 07:38:07', ''),
(22, 'FAMILY AND HERITAGE STUDIES', 'FHS', 'Theory', 'no', '2024-02-01 07:38:38', ''),
(23, 'MATHS AND SCIENCE', 'MS', 'Theory', 'no', '2024-02-01 07:40:09', ''),
(24, 'PHYSICAL EDUCATION AND MASS DISPLAY', 'PMD', 'Theory', 'no', '2024-02-01 07:41:28', '');

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

--
-- Table structure for table `supinvoicegenaration`
--

CREATE TABLE `supinvoicegenaration` (
  `id` int(11) NOT NULL,
  `status` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `supplier`
--

CREATE TABLE `supplier` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(30) NOT NULL,
  `supplier_id` varchar(10) NOT NULL,
  `name` varchar(100) NOT NULL,
  `address` varchar(100) NOT NULL,
  `mobile` varchar(15) NOT NULL,
  `email` varchar(100) NOT NULL,
  `currency` varchar(20) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `supplier`
--

INSERT INTO `supplier` (`id`, `date_captured`, `supplier_id`, `name`, `address`, `mobile`, `email`, `currency`, `active`) VALUES
(4, '2024-02-01', 'MEL001', 'Melsoft (Private) Limited', '25 George Silundika Ave, Regal Star  House, 10th Floor, Harare', '+263 780407644', 'info@melsoftschoolessential.co.zw', 'USD', 1);

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

--
-- Table structure for table `supplier_invoice`
--

CREATE TABLE `supplier_invoice` (
  `id` int(11) NOT NULL,
  `account_name` varchar(100) NOT NULL,
  `date_created` varchar(30) NOT NULL,
  `name` varchar(200) NOT NULL,
  `inv_date` varchar(30) NOT NULL,
  `inv_number` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `description` varchar(300) NOT NULL,
  `warehouse` varchar(255) NOT NULL,
  `originalqnty` int(11) DEFAULT NULL,
  `quantity` varchar(100) NOT NULL,
  `price` varchar(100) NOT NULL,
  `discount` varchar(100) NOT NULL,
  `total_amount` varchar(100) NOT NULL,
  `mv_expense` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `supplier_invoice`
--

INSERT INTO `supplier_invoice` (`id`, `account_name`, `date_created`, `name`, `inv_date`, `inv_number`, `currency`, `description`, `warehouse`, `originalqnty`, `quantity`, `price`, `discount`, `total_amount`, `mv_expense`, `active`) VALUES
(41, 'WT28', '2024-12-12', 'Melsoft (Private) Limited', '2024-12-12', 'SUP00037', 'USD', 'sizes28', '', NULL, '12', '20', '10', '238', 'ADH000Q', 1),
(42, 'WT20', '2024-12-12', 'Melsoft (Private) Limited', '2024-12-12', 'SUP00045', 'ECOCASH', '23', 'Main Warehouse', NULL, '2', '3', '3', '5.91', 'ADH000Q', 1),
(43, 'Printing & Stationery', '2024-12-12', 'Melsoft (Private) Limited', '2024-12-12', 'SUP00093', 'RTGS', 'stationary', 'Tuckshop', NULL, '12', '12', '1', '143.88', 'ADH000Q', 1),
(44, 'WT20', '2024-12-12', 'Melsoft (Private) Limited', '2024-12-12', 'SUP00024`', 'ZAR', 'testing', 'Storeroom', NULL, '12', '1', '2', '11.98', 'ADH000Q', 1),
(45, 'WT-30', '2024-12-12', 'Melsoft (Private) Limited', '2024-12-12', 'SUP00023', 'ZAR', 'adding to item tables', 'Storeroom', NULL, '57', '2', '1', '113.98', 'AFK', 1),
(46, 'WT-30', '2024-12-12', 'Melsoft (Private) Limited', '2024-12-12', 'SUP000765', 'USD', 'checking for errors on adding the items', 'Storeroom', NULL, '19', '12', '30', '224.4', 'ADH000Q', 1),
(47, 'WT-30', '2024-12-13', 'Melsoft (Private) Limited', '2024-12-13', 'SUP00049', 'USD', 't shirts wt30', 'Tuckshop', NULL, '200', '12', '30', '2396.4', 'ADH000Q', 1),
(48, 'School Management Software', '2024-02-01', 'Melsoft (Private) Limited', '2024-01-29', 'INV0001', 'USD', 'ertyui', '', NULL, '1', '450', '0', '450', 'ADH000Q', 1),
(49, 'WT20', '2024-12-14', 'Melsoft (Private) Limited', '2024-12-14', 'SUP000123', 'USD', 'wth', 'Main Warehouse', NULL, '100', '12', '12', '1198.56', 'ADH000Q', 1),
(50, 'WT21', '2024-12-14', 'Melsoft (Private) Limited', '2024-12-14', 'SUP000124', 'ECOCASH', 'white shirt 21', 'Storeroom', NULL, '100', '12', '13', '1198.44', 'ADH000Q', 1),
(51, 'WT22', '2024-12-14', 'Melsoft (Private) Limited', '2024-12-14', 'SUP000235', 'RTGS', 'white tshirt', 'Storeroom', NULL, '19', '12', '30', '224.4', 'ADH000Q', 1),
(52, 'WT22', '2024-12-14', 'Melsoft (Private) Limited', '2024-12-14', 'SUP000237', 'USD', 'refresh testing on the new refresh button', 'Main Warehouse', NULL, '23', '4', '12', '91.52', 'Select Motor Vehicle', 1),
(53, 'WT20', '2024-12-16', 'Melsoft (Private) Limited', '2024-12-16', 'SUP000123', 'RTGS', 'white shirt', 'Storeroom', NULL, '20', '6', '0', '120', 'Select Motor Vehicle', 1),
(54, 'WT21', '2024-12-21', 'Melsoft (Private) Limited', '2024-12-21', 'SUP000233', 'ZAR', 'wth33', 'Storeroom', NULL, '100', '9', '9', '899.19', 'Select Motor Vehicle', 1),
(55, 'WT21', '2024-12-21', 'Melsoft (Private) Limited', '2024-12-21', 'SUP000332', 'RTGS', 'wrhhte', 'Storeroom', 338, '13', '12', '1', '155.88', 'ADH000Q', 1),
(56, 'WT20', '2024-12-21', 'Melsoft (Private) Limited', '2024-12-21', 'SUP000992', 'USD', 'fhhe', 'Tuckshop', 6, '3', '3', '2', '8.94', 'ADH000Q', 1),
(57, 'WT20', '2024-12-21', 'Melsoft (Private) Limited', '2024-12-21', 'SUP000553', 'USD', 'swertt', 'Tuckshop', 9, '10', '2', '12', '19.76', 'AFK', 1),
(58, 'WT20', '2025-01-16', 'Melsoft (Private) Limited', '2025-01-16', 'SUP00045', 'RTGS', 'testing the ashbook', 'Storeroom', 2089, '34', '13', '0', '442', 'Select Motor Vehicle', 1);

--
-- Triggers `supplier_invoice`
--
DELIMITER $$
CREATE TRIGGER `after_supplier_invoice_insert` AFTER INSERT ON `supplier_invoice` FOR EACH ROW BEGIN
    INSERT INTO unif_stock_mvmnt (itemcode, date, description, warehouse, qnty_in, reference,balance)
    VALUES (NEW.account_name, NEW.date_created, NEW.description, NEW.warehouse, NEW.quantity, NEW.inv_number,NEW.originalqnty+NEW.quantity);
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `after_supplier_invoice_insert_tempsupinvoice` AFTER INSERT ON `supplier_invoice` FOR EACH ROW BEGIN
    INSERT INTO tempsup_invoice (
        id, account_name, date_created, name, inv_date, inv_number, 
        currency, description, warehouse, quantity, price, 
        discount, total_amount, mv_expense, active
    )
    VALUES (
        NEW.id, NEW.account_name, NEW.date_created, NEW.name, NEW.inv_date, 
        NEW.inv_number, NEW.currency, NEW.description, NEW.warehouse, NEW.quantity, 
        NEW.price, NEW.discount, NEW.total_amount, NEW.mv_expense, NEW.active
    );
END
$$
DELIMITER ;

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

--
-- Table structure for table `supplier_receipt`
--

CREATE TABLE `supplier_receipt` (
  `id` int(11) NOT NULL,
  `date_created` varchar(30) NOT NULL,
  `gl_account` varchar(100) NOT NULL,
  `name` varchar(200) NOT NULL,
  `rec_date` varchar(30) NOT NULL,
  `rec_number` varchar(100) NOT NULL,
  `inv_number` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `description` varchar(300) NOT NULL,
  `quantity` varchar(100) NOT NULL,
  `price` varchar(100) NOT NULL,
  `discount` varchar(100) NOT NULL,
  `total_amount` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `supplier_statement`
--

CREATE TABLE `supplier_statement` (
  `id` int(11) NOT NULL,
  `account_name` varchar(100) NOT NULL,
  `supplier` varchar(200) NOT NULL,
  `reference` varchar(200) NOT NULL,
  `description` varchar(200) NOT NULL,
  `warehouse` varchar(255) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `debit` varchar(100) NOT NULL,
  `credit` varchar(100) NOT NULL,
  `mv_expense` varchar(100) NOT NULL,
  `date` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `supplier_statement`
--

INSERT INTO `supplier_statement` (`id`, `account_name`, `supplier`, `reference`, `description`, `warehouse`, `currency`, `debit`, `credit`, `mv_expense`, `date`) VALUES
(3, 'School Management Software', 'Melsoft (Private) Limited', 'INV0001', 'ertyui', '', 'USD', '0', '450', 'ADH000Q', '2024-01-29'),
(4, 'Generator fuel', 'Melsoft (Private) Limited', 'INV0002', 'generator fuel ', '', 'USD', '0', '39.8', 'ADH000Q', '2024-12-10'),
(5, 'Generator expenses', 'Melsoft (Private) Limited', 'INV0003', 'generator fuel', '', 'ZAR', '0', '20', 'ADH000Q', '2024-12-11'),
(6, 'Software', 'Melsoft (Private) Limited', 'INV0004', 'software', '', 'USD', '0', '6', 'Select Motor Vehicle', '2024-12-11'),
(7, 'WT20', 'Melsoft (Private) Limited', 'INV0005', 'whirt shirt', '', 'USD', '0', '34.92', 'AFK', '2024-12-11'),
(8, 'WT24', 'Melsoft (Private) Limited', 'INV0006', 'white shirt', 'Main Warehouse', 'ZAR', '0', '45.9', 'Select Motor Vehicle', '2024-12-11'),
(9, 'WT20', 'Melsoft (Private) Limited', 'INV0016', 'shirt', '', 'ZAR', '0', '3', 'AFK', '2024-12-12'),
(10, 'WT24', 'Melsoft (Private) Limited', 'INV0017', 'shirt', '', 'RTGS', '0', '1.99', 'ADH000Q', '2024-12-12'),
(11, 'Debtors', 'Melsoft (Private) Limited', 'INV0018', 'debtors', '', 'RTGS', '0', '2.98', 'ADH000Q', '2024-12-12'),
(12, 'Furniture & Fittings', 'Melsoft (Private) Limited', 'INV0019', 'maintanance', '', 'RTGS', '0', '23.88', 'ADH000Q', '2024-12-12'),
(13, 'Printing & Stationery', 'Melsoft (Private) Limited', 'INV0020', 'stastionary', '', 'RTGS', '0', '1.98', 'ADH000Q', '2024-12-12'),
(14, 'Printing & Stationery', 'Melsoft (Private) Limited', 'INV0021', 'stastionary', '', 'RTGS', '0', '1.98', 'ADH000Q', '2024-12-12'),
(23, 'WT-30', 'Melsoft (Private) Limited', 'SUP00045', 'wt', '', 'RTGS', '0', '11.9', 'AFK', '2024-12-12'),
(24, 'Creditors ', 'Melsoft (Private) Limited', 'SUP000543', 'cred', '', 'RTGS', '0', '12.88', 'ADH000Q', '2024-12-12'),
(25, 'Creditors ', 'Melsoft (Private) Limited', 'SUP00035', 'credits', '', 'ZAR', '0', '11.88', 'ADH000Q', '2024-12-12'),
(26, 'WT20', 'Melsoft (Private) Limited', 'SUP00036`', 'wth', '', 'USD', '0', '20.98', 'ADH000Q', '2024-12-12'),
(27, 'WT-30', 'Melsoft (Private) Limited', 'SUP00039', 'wth30', '', 'ZAR', '0', '11.96', 'AFK', '2024-12-12'),
(28, 'WT-30', 'Melsoft (Private) Limited', 'SUP0083', 'T SHIRTS', '', 'USD', '0', '17.85', 'ADH000Q', '2024-12-12'),
(29, 'WT-30', 'Melsoft (Private) Limited', 'SUP00045', 'QWE', '', 'Select', '0', '45.76', 'ADH000Q', '2024-12-12'),
(30, 'WT28', 'Melsoft (Private) Limited', 'SUP00037', 'sizes28', '', 'USD', '0', '238', 'ADH000Q', '2024-12-12'),
(31, 'WT20', 'Melsoft (Private) Limited', 'SUP00045', '23', '', 'ECOCASH', '0', '5.91', 'ADH000Q', '2024-12-12'),
(32, 'Printing & Stationery', 'Melsoft (Private) Limited', 'SUP00093', 'stationary', '', 'RTGS', '0', '143.88', 'ADH000Q', '2024-12-12'),
(33, 'WT20', 'Melsoft (Private) Limited', 'SUP00024`', 'testing', '', 'ZAR', '0', '11.98', 'ADH000Q', '2024-12-12'),
(34, 'WT-30', 'Melsoft (Private) Limited', 'SUP00023', 'adding to item tables', '', 'ZAR', '0', '113.98', 'AFK', '2024-12-12'),
(35, 'WT-30', 'Melsoft (Private) Limited', 'SUP000765', 'checking for errors on adding the items', '', 'USD', '0', '224.4', 'ADH000Q', '2024-12-12'),
(36, 'WT-30', 'Melsoft (Private) Limited', 'SUP00049', 't shirts wt30', '', 'USD', '0', '2396.4', 'ADH000Q', '2024-12-13'),
(37, 'WT20', 'Melsoft (Private) Limited', 'SUP000123', 'wth', '', 'USD', '0', '1198.56', 'ADH000Q', '2024-12-14'),
(38, 'WT21', 'Melsoft (Private) Limited', 'SUP000124', 'white shirt 21', '', 'ECOCASH', '0', '1198.44', 'ADH000Q', '2024-12-14'),
(39, 'WT22', 'Melsoft (Private) Limited', 'SUP000235', 'white tshirt', '', 'RTGS', '0', '224.4', 'ADH000Q', '2024-12-14'),
(40, 'WT22', 'Melsoft (Private) Limited', 'SUP000237', 'refresh testing on the new refresh button', '', 'USD', '0', '91.52', 'Select Motor Vehicle', '2024-12-14'),
(41, 'WT20', 'Melsoft (Private) Limited', 'SUP000123', 'white shirt', '', 'RTGS', '0', '120', 'Select Motor Vehicle', '2024-12-16'),
(42, 'WT21', 'Melsoft (Private) Limited', 'SUP000233', 'wth33', '', 'ZAR', '0', '899.19', 'Select Motor Vehicle', '2024-12-21'),
(43, 'WT21', 'Melsoft (Private) Limited', 'SUP000332', 'wrhhte', '', 'RTGS', '0', '155.88', 'ADH000Q', '2024-12-21'),
(44, 'WT20', 'Melsoft (Private) Limited', 'SUP000992', 'fhhe', '', 'USD', '0', '8.94', 'ADH000Q', '2024-12-21'),
(45, 'WT20', 'Melsoft (Private) Limited', 'SUP000553', 'swertt', '', 'USD', '0', '19.76', 'AFK', '2024-12-21'),
(46, 'WT20', 'Melsoft (Private) Limited', 'SUP00045', 'testing the ashbook', '', 'RTGS', '0', '442', 'Select Motor Vehicle', '2025-01-16'),
(47, 'Melsoft', 'Melsoft', 'sup00045', 'testing', '', 'CABS RTGS', '10', '0', 'Select Motor Vehicle', '2025-01-16'),
(48, 'Melsoft', 'Melsoft', 'SUP00045', 'TEST', '', 'NEDBANK ZAR', '12', '0', 'Select Motor Vehicle', '2025-01-16'),
(49, 'Melsoft (Private) Limited', 'Melsoft (Private) Limited', 'inv0009558', 'testint the names to be appearing in  full', '', 'NEDBANK ZAR', '155', '0', 'Select Motor Vehicle', '2025-01-30'),
(50, 'Melsoft (Private) Limited', 'Melsoft (Private) Limited', 'INV000997', 'Tests', '', 'CASH ACCOUNT USD', '6000', '0', 'AFK', '2025-01-30');

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

--
-- Table structure for table `teacher_subjects`
--

CREATE TABLE `teacher_subjects` (
  `id` int(11) NOT NULL,
  `session_id` int(11) DEFAULT NULL,
  `class_section_id` int(11) DEFAULT NULL,
  `subject_id` int(11) DEFAULT NULL,
  `teacher_id` int(11) DEFAULT NULL,
  `description` varchar(100) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `teacher_subjects`
--

INSERT INTO `teacher_subjects` (`id`, `session_id`, `class_section_id`, `subject_id`, `teacher_id`, `description`, `is_active`, `created_at`, `updated_at`) VALUES
(4, 14, 16, 8, 4, NULL, 'no', '2023-02-03 18:07:14', ''),
(5, 14, 16, 9, 5, NULL, 'no', '2023-02-03 18:07:40', ''),
(6, 14, 18, 8, 5, NULL, 'no', '2024-03-15 09:35:41', ''),
(7, 14, 18, 21, 5, NULL, 'no', '2024-03-15 09:36:51', ''),
(8, 14, 18, 22, 5, NULL, 'no', '2024-03-15 09:36:51', '');

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

--
-- Table structure for table `teams`
--

CREATE TABLE `teams` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(50) NOT NULL,
  `team_name` varchar(200) NOT NULL,
  `sportcode` varchar(200) NOT NULL,
  `coachname` varchar(200) NOT NULL,
  `venue` varchar(200) NOT NULL,
  `description` varchar(200) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tempsup_invoice`
--

CREATE TABLE `tempsup_invoice` (
  `id` int(11) NOT NULL,
  `account_name` varchar(100) NOT NULL,
  `date_created` varchar(30) NOT NULL,
  `name` varchar(200) NOT NULL,
  `inv_date` varchar(30) NOT NULL,
  `inv_number` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `description` varchar(300) NOT NULL,
  `warehouse` varchar(255) NOT NULL,
  `quantity` varchar(100) NOT NULL,
  `price` varchar(100) NOT NULL,
  `discount` varchar(100) NOT NULL,
  `total_amount` varchar(100) NOT NULL,
  `mv_expense` varchar(100) NOT NULL,
  `active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `timetables`
--

CREATE TABLE `timetables` (
  `id` int(11) NOT NULL,
  `teacher_subject_id` int(11) DEFAULT NULL,
  `day_name` varchar(50) DEFAULT NULL,
  `start_time` varchar(50) DEFAULT NULL,
  `end_time` varchar(50) DEFAULT NULL,
  `room_no` varchar(50) DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `timetables`
--

INSERT INTO `timetables` (`id`, `teacher_subject_id`, `day_name`, `start_time`, `end_time`, `room_no`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 3, 'Monday', '08:00 AM', '08:30 AM', '', 'no', '2022-11-24 01:18:46', ''),
(2, 3, 'Tuesday', '10:00 AM', '10:30 PM', '', 'no', '2022-11-24 01:18:46', ''),
(3, 3, 'Wednesday', '02:00 PM', '02:30 AM', '', 'no', '2022-11-24 01:18:46', ''),
(4, 3, 'Thursday', '09:00 AM', '09:30 AM', '', 'no', '2022-11-24 01:18:46', ''),
(5, 3, 'Friday', '10:00 AM', '10:30 AM', '', 'no', '2022-11-24 01:18:46', ''),
(6, 3, 'Saturday', '', '', '', 'no', '2022-11-24 01:18:46', ''),
(7, 3, 'Sunday', '', '', '', 'no', '2022-11-24 01:18:46', '');

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

--
-- Table structure for table `transfered_funds`
--

CREATE TABLE `transfered_funds` (
  `id` int(11) NOT NULL,
  `date` varchar(200) NOT NULL,
  `cashbook` varchar(200) NOT NULL,
  `module` varchar(100) NOT NULL,
  `account` varchar(200) NOT NULL,
  `description` varchar(400) NOT NULL,
  `reference` varchar(100) NOT NULL,
  `deposits` varchar(200) NOT NULL,
  `udf_status` int(11) NOT NULL,
  `date_from` varchar(50) NOT NULL,
  `date_to` varchar(50) NOT NULL,
  `payment_mode` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `transfered_funds`
--

INSERT INTO `transfered_funds` (`id`, `date`, `cashbook`, `module`, `account`, `description`, `reference`, `deposits`, `udf_status`, `date_from`, `date_to`, `payment_mode`) VALUES
(6, '2024-01-31', 'CASH ACCOUNT USD', 'GL', 'Undeposited Funds', 'Undeposited Funds History From 31-01-2024 To 31-01-2024', 'UDF0209', '150.00', 1, '2024-01-31', '2024-01-31', 'USD'),
(7, '2024-02-08', 'CASH ACCOUNT USD', 'GL', 'Undeposited Funds', 'Undeposited Funds History From 08-02-2024 To 08-02-2024', 'UDF0271', '350.00', 1, '2024-02-08', '2024-02-08', 'USD'),
(8, '2024-03-15', 'CABS RTGS', 'GL', 'Undeposited Funds', 'Undeposited Funds History From 15-03-2024 To 15-03-2024', 'UDF0273', '700.00', 1, '2024-03-15', '2024-03-15', 'USD');

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

--
-- Table structure for table `transport_route`
--

CREATE TABLE `transport_route` (
  `id` int(11) NOT NULL,
  `route_title` varchar(100) DEFAULT NULL,
  `no_of_vehicle` int(11) DEFAULT NULL,
  `fare` float(10,2) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `is_active` varchar(255) DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `transport_route`
--

INSERT INTO `transport_route` (`id`, `route_title`, `no_of_vehicle`, `fare`, `note`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'MAJURU 1', NULL, 34.00, NULL, 'no', '2023-02-10 17:31:52', ''),
(2, 'MAJURU 2', NULL, 34.00, NULL, 'no', '2023-02-10 17:32:06', ''),
(3, 'TAKADII', NULL, 34.00, NULL, 'no', '2023-02-10 17:32:22', ''),
(4, 'PLOTS', NULL, 34.00, NULL, 'no', '2023-02-10 17:35:57', ''),
(5, 'GOROMONZI HIGH', NULL, 34.00, NULL, 'no', '2023-02-10 17:36:10', ''),
(6, 'GWAZE', NULL, 34.00, NULL, 'no', '2023-02-10 17:36:24', ''),
(7, 'MASHONGANYIKA', NULL, 39.00, NULL, 'no', '2023-02-10 17:37:24', ''),
(8, 'ST VINCENT', NULL, 39.00, NULL, 'no', '2023-02-10 17:37:43', ''),
(9, 'DAMOFALLS 1', NULL, 49.00, NULL, 'no', '2023-02-10 17:37:56', ''),
(10, 'DAMOFALLS 2', NULL, 49.00, NULL, 'no', '2023-02-10 17:38:07', ''),
(11, 'RUWA', NULL, 44.00, NULL, 'no', '2023-02-10 17:38:20', ''),
(12, 'BINDA', NULL, 39.00, NULL, 'no', '2023-02-10 17:38:37', ''),
(13, 'CLOVERDALE', NULL, 39.00, NULL, 'no', '2023-02-10 17:39:00', ''),
(14, 'YAFELE', NULL, 34.00, NULL, 'no', '2023-02-10 17:39:28', ''),
(15, 'MATANK', NULL, 34.00, NULL, 'no', '2023-02-10 17:39:41', ''),
(16, 'CHINYIKA CLINIC', NULL, 34.00, NULL, 'no', '2023-02-10 17:40:57', ''),
(17, 'NYAKUDYA', NULL, 34.00, NULL, 'no', '2023-02-10 17:41:14', ''),
(18, 'CHIBAMU', NULL, 39.00, NULL, 'no', '2023-02-10 17:41:23', ''),
(19, 'CHINYIKA', NULL, 34.00, NULL, 'no', '2023-02-10 17:41:58', ''),
(20, 'POST OFFICE', NULL, 34.00, NULL, 'no', '2023-02-10 17:43:05', ''),
(21, 'TAFIRENYIKA', NULL, 34.00, NULL, 'no', '2023-02-10 17:43:24', ''),
(22, 'MUDZUDZU', NULL, 34.00, NULL, 'no', '2023-02-10 17:43:34', ''),
(23, 'PASSOVER', NULL, 34.00, NULL, 'no', '2023-02-10 17:44:09', ''),
(24, 'MES CAMP', NULL, 34.00, NULL, 'no', '2023-02-10 17:44:53', '');

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

--
-- Table structure for table `types`
--

CREATE TABLE `types` (
  `id` int(11) NOT NULL,
  `types` varchar(255) NOT NULL,
  `created_at` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `types`
--

INSERT INTO `types` (`id`, `types`, `created_at`) VALUES
(4, 'style', '2022-07-14'),
(5, 'gender', '2022-07-14'),
(6, 'size', '2022-07-14'),
(7, 'colour', '2022-07-14');

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

--
-- Table structure for table `undeposited_funds`
--

CREATE TABLE `undeposited_funds` (
  `id` int(11) NOT NULL,
  `date_captured` varchar(100) NOT NULL,
  `cashbook` varchar(100) NOT NULL,
  `description` varchar(100) NOT NULL,
  `account` varchar(100) NOT NULL,
  `module` varchar(100) NOT NULL,
  `receipt` varchar(100) NOT NULL,
  `debit` varchar(100) NOT NULL,
  `date_from` varchar(100) NOT NULL,
  `date_to` varchar(100) NOT NULL,
  `payment_mode` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `uniformitem`
--

CREATE TABLE `uniformitem` (
  `id` int(11) NOT NULL,
  `studentid` varchar(200) NOT NULL,
  `itemcode` varchar(200) NOT NULL,
  `itemdescript` varchar(200) NOT NULL,
  `itemgroups` varchar(200) NOT NULL,
  `warehouse` varchar(255) NOT NULL,
  `costprice` varchar(200) NOT NULL,
  `sellingprice` varchar(200) NOT NULL,
  `quantity` int(200) NOT NULL,
  `originalqnty` varchar(100) NOT NULL,
  `groupsize` varchar(200) NOT NULL,
  `valuesize` varchar(200) NOT NULL,
  `groupstyle` varchar(200) NOT NULL,
  `stylevalue` varchar(200) NOT NULL,
  `colourgroup` varchar(200) NOT NULL,
  `colourvalue` varchar(200) NOT NULL,
  `gendergroup` varchar(200) NOT NULL,
  `gendervalue` varchar(200) NOT NULL,
  `created_at` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `uniformitem`
--

INSERT INTO `uniformitem` (`id`, `studentid`, `itemcode`, `itemdescript`, `itemgroups`, `warehouse`, `costprice`, `sellingprice`, `quantity`, `originalqnty`, `groupsize`, `valuesize`, `groupstyle`, `stylevalue`, `colourgroup`, `colourvalue`, `gendergroup`, `gendervalue`, `created_at`) VALUES
(1, '', 'WT20', 'White T-shirt', '', 'Storeroom', '7', '19', 2123, '20', 'T-shirts size', '20', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'White', 'T-shirt gender', 'All', '2024-02-02'),
(2, '', 'WT24', 'White T-shirt', '', 'Storeroom', '9', '19', 90, '19', 'T-shirts size', '24', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'White', 'T-shirt gender', 'All', '2024-02-02'),
(3, '', 'WT26', 'White T-shirt', '', 'Storeroom', '6', '10', 20, '20', 'T-shirts size', '26', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'White', 'T-shirt gender', 'All', '2024-02-02'),
(4, '', 'WT22', 'White T-shirt', 'none', 'Storeroom', '6', '10', 20, '20', 'T-shirts size', '22', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'White', 'T-shirt gender', 'All', '2024-02-02'),
(5, '', 'WT28', 'White T-shirt', 'none', 'Storeroom', '6', '10', 20, '20', 'T-shirts size', '28', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'White', 'T-shirt gender', 'All', '2024-02-02'),
(6, '', 'WT30', 'White T-shirt', 'none', 'Storeroom', '6', '10', 12, '12', 'T-shirts size', '30', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'White', 'T-shirt gender', 'All', '2024-02-02'),
(7, '', 'WT32', 'White T-shirt', 'none', 'Storeroom', '6', '10', 4, '4', 'T-shirts size', '32', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'White', 'T-shirt gender', 'All', '2024-02-02'),
(8, '', 'WT34', 'White T-shirt', 'none', 'Storeroom', '6', '10', 3, '3', 'T-shirts size', '34', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'White', 'T-shirt gender', 'All', '2024-02-02'),
(9, '', 'WT36', 'White T-shirt', 'none', 'Storeroom', '6', '10', 3, '3', 'T-shirts size', '36', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'White', 'T-shirt gender', 'All', '2024-02-02'),
(10, '', 'YT20', 'Yellow T-shirt', 'none', 'Storeroom', '6', '10', 20, '20', 'T-shirts size', '20', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Yellow', 'T-shirt gender', 'All', '2024-02-02'),
(11, '', 'YT24', 'Yellow T-shirt', 'none', 'Storeroom', '6', '10', 20, '20', 'T-shirts size', '24', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Yellow', 'T-shirt gender', 'All', '2024-02-02'),
(12, '', 'YT22', 'Yellow T-shirt', 'none', 'Storeroom', '6', '10', 20, '20', 'T-shirts size', '22', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Yellow', 'T-shirt gender', 'All', '2024-02-02'),
(13, '', 'YT26', 'Yellow T-shirt', 'none', 'Storeroom', '6', '10', 21, '21', 'T-shirts size', '26', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Yellow', 'T-shirt gender', 'All', '2024-02-02'),
(14, '', 'YT28', 'Yellow T-shirt', 'none', 'Storeroom', '6', '10', 19, '19', 'T-shirts size', '28', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Yellow', 'T-shirt gender', 'All', '2024-02-02'),
(15, '', 'YT30', 'Yellow T-shirt', 'none', 'Storeroom', '6', '10', 10, '10', 'T-shirts size', '30', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Yellow', 'T-shirt gender', 'All', '2024-02-02'),
(16, '', 'YT32', 'Yellow T-shirt', 'none', 'Storeroom', '6', '10', 4, '4', 'T-shirts size', '32', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Yellow', 'T-shirt gender', 'All', '2024-02-02'),
(17, '', 'YT34', 'Yellow T-shirt', 'none', 'Storeroom', '6', '10', 3, '3', 'T-shirts size', '34', 'T-shirt style', 'select', 'select', 'Golf T-shirt', 'T-shirt gender', 'All', '2024-02-02'),
(18, '', 'YT36', 'Yellow T-shirt', 'none', 'Storeroom', '6', '10', 3, '3', 'T-shirts size', '36', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Yellow', 'T-shirt gender', 'All', '2024-02-02'),
(19, '', 'WLSS24', 'White Long Sleeved-Shirts', 'none', 'Storeroom', '10', '20', 20, '20', 'Shirt size', '24', 'Shirt style', 'Long Sleeeved shirt', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(20, '', 'WLSS26', 'White Long Sleeved-Shirts', 'none', 'Storeroom', '10', '20', 20, '20', 'Shirt size', '26', 'Shirt style', 'Long Sleeeved shirt', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(21, '', 'WLSS28', 'White Long Sleeved-Shirts', 'none', 'Storeroom', '10', '20', 20, '20', 'Shirt size', '28', 'Shirt style', 'Long Sleeeved shirt', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(22, '', 'WLSS30', 'White Long Sleeved-Shirts', 'none', 'Storeroom', '10', '20', 20, '20', 'Shirt size', '30', 'Shirt style', 'Long Sleeeved shirt', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(23, '', 'WLSS32', 'White Long Sleeved-Shirts', 'none', 'Storeroom', '10', '20', 20, '20', 'Shirt size', '32', 'Shirt style', 'Long Sleeeved shirt', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(24, '', 'WLSS34', 'White Long Sleeved-Shirts', 'none', 'Storeroom', '10', '20', 14, '14', 'Shirt style', '34', 'Shirt style', 'Long Sleeeved shirt', 'Shirt color', 'White', 'Blazer gender', 'All', '2024-02-02'),
(25, '', 'WLSS36', 'White Long Sleeved-Shirts', '', 'Storeroom', '10', '20', 4, '4', 'Shirt size', '36', 'Shirt style', 'Long Sleeeved shirt', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(26, '', 'WLSS38', 'White Long Sleeved-Shirts', 'none', 'Storeroom', '10', '220', 2, '2', 'Shirt size', '38', 'Shirt style', 'Long Sleeeved shirt', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(27, '', 'BSS18', 'Blue Sport Short', 'none', 'Storeroom', '5.50', '12', 10, '10', 'short size', '18', 'shorts style', 'Sports short', 'short colour ', 'Blue', 'short gender', 'All', '2024-02-02'),
(28, '', 'BSS20', 'Blue Sport Short', 'none', 'Storeroom', '5.50', '12', 10, '10', 'short size', '20', 'shorts style', 'Sports short', 'short colour ', 'Blue', 'short gender', 'All', '2024-02-02'),
(29, '', 'BSS22', 'Blue Sport Short', 'none', 'Storeroom', '5.50', '12', 12, '12', 'short size', '22', 'shorts style', 'Sports short', 'short colour ', 'Blue', 'short gender', 'All', '2024-02-02'),
(30, '', 'BSS24', 'Blue Sport Short', 'none', 'Storeroom', '5.50', '12', 11, '11', 'short size', '24', 'shorts style', 'Sports short', 'short colour ', 'Blue', 'short gender', 'All', '2024-02-02'),
(31, '', 'BSS26', 'Blue Sport Short', 'none', 'Storeroom', '5.50', '12', 11, '11', 'short size', '26', 'shorts style', 'Sports short', 'short colour ', 'Blue', 'short gender', 'All', '2024-02-02'),
(32, '', 'BSS28', 'Blue Sport Short', 'none', 'Storeroom', '5.50', '12', 22, '22', 'short size', '28', 'shorts style', 'Sports short', 'short colour ', 'Blue', 'short gender', 'All', '2024-02-02'),
(33, '', 'BSS30', 'Blue Sport Short', 'none', 'Storeroom', '5.50', '12', 22, '22', 'short size', 'Blue', 'shorts style', 'Sports short', 'short colour ', 'Blue', 'short gender', 'All', '2024-02-02'),
(34, '', 'BSS32', 'Blue Sport Short', 'none', 'Storeroom', '5.50', '12', 17, '17', 'short size', '32', 'shorts style', 'Sports short', 'short colour ', 'Blue', 'short gender', 'All', '2024-02-02'),
(35, '', 'BSS34', 'Blue Sport Short', 'none', 'Storeroom', '5.50', '12', 2, '2', 'short size', '34', 'shorts style', 'Sports short', 'short colour ', 'Blue', 'short gender', 'All', '2024-02-02'),
(36, '', 'BSS36', 'Blue Sport Short', 'none', 'Storeroom', '5.50', '12', 2, '2', 'short size', '36', 'shorts style', 'Sports short', 'short colour ', 'Blue', 'short gender', 'All', '2024-02-02'),
(37, '', 'BSS38', 'Blue Sport Short', 'none', 'Storeroom', '5.50', '12', 2, '2', 'short size', '38', 'shorts style', 'Sports short', 'short colour ', 'Blue', 'short gender', 'All', '2024-02-02'),
(38, '', 'GSHT18', 'Grey Short', 'none', 'Storeroom', '10', '15', 15, '15', 'short size', '18', 'shorts style', 'Short', 'short colour ', 'Grey', 'short gender', 'All', '2024-02-02'),
(39, '', 'GSHT20', 'Grey Short', 'none', 'Storeroom', '10', '15', 20, '20', 'short size', '20', 'shorts style', 'Short', 'short colour ', 'Grey', 'short gender', 'All', '2024-02-02'),
(40, '', 'GSHT22', 'Grey Short', 'none', 'Storeroom', '10', '15', 20, '20', 'short size', '22', 'shorts style', 'Short', 'short colour ', 'Grey', 'short gender', 'All', '2024-02-02'),
(41, '', 'GSHT24', 'Grey Short', 'none', 'Storeroom', '10', '15', 18, '18', 'short size', '24', 'shorts style', 'Short', 'short colour ', 'Grey', 'short gender', 'All', '2024-02-02'),
(42, '', 'GSHT26', 'Grey Short', 'none', 'Storeroom', '10', '15', 15, '15', 'short size', 'Grey', 'shorts style', 'Short', 'short colour ', 'Grey', 'short gender', 'All', '2024-02-02'),
(43, '', 'GSHT28', 'Grey Short', 'none', 'Storeroom', '10', '15', 10, '10', 'short size', '28', 'shorts style', 'Short', 'short colour ', 'Grey', 'short gender', 'All', '2024-02-02'),
(44, '', 'GSHT30', 'Grey Short', 'none', 'Storeroom', '10', '15', 11, '11', 'short size', '30', 'shorts style', 'Short', 'short colour ', 'Grey', 'short gender', 'All', '2024-02-02'),
(45, '', 'GSHT32', 'Grey Short', 'none', 'Storeroom', '10', '15', 4, '4', 'short size', '32', 'shorts style', 'Short', 'short colour ', 'Grey', 'short gender', 'All', '2024-02-02'),
(46, '', 'GSHT34', 'Grey Short', 'none', 'Storeroom', '10', '15', 3, '3', 'short size', '34', 'shorts style', 'Short', 'short colour ', 'Grey', 'short gender', 'All', '2024-02-02'),
(47, '', 'GSHT36', 'Grey Short', 'none', 'Storeroom', '10', '15', 2, '2', 'short size', '36', 'shorts style', 'Short', 'short colour ', 'Grey', 'short gender', 'All', '2024-02-02'),
(48, '', 'GSHT38', 'Grey Short', 'none', 'Storeroom', '10', '15', 2, '2', 'short size', '38', 'shorts style', 'Short', 'short colour ', 'Grey', 'short gender', 'All', '2024-02-02'),
(49, '', 'WSSS', 'White Short Sleeved shirts', 'none', 'Storeroom', '10', '15', 20, '20', 'Shirt size', '24', 'Shirt style', 'Short Sleeved', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(50, '', 'WSSS26', 'White Short Sleeved shirts', 'none', 'Storeroom', '10', '15', 20, '20', 'Shirt size', '26', 'Shirt style', 'Short Sleeved', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(51, '', 'WSSS28', 'White Short Sleeved shirts', 'none', 'Storeroom', '10', '15', 20, '20', 'Shirt size', '28', 'Shirt style', 'Short Sleeved', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(52, '', 'WSSS30', 'White Short Sleeved shirts', 'none', 'Storeroom', '10', '15', 20, '20', 'Shirt size', '30', 'Shirt style', 'Short Sleeved', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(53, '', 'WSSS32', 'White Short Sleeved shirts', 'none', 'Storeroom', '10', '15', 20, '20', 'Shirt size', '32', 'Shirt style', 'Short Sleeved', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(54, '', 'WSSS34', 'White Short Sleeved shirt', 'none', 'Storeroom', '10', '15', 20, '20', 'Shirt size', '34', 'Shirt style', 'Short Sleeved', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(55, '', 'WSSS36', 'White Short Sleeved shirt', 'none', 'Storeroom', '10', '15', 3, '3', 'Shirt size', '36', 'Shirt style', 'Short Sleeved', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(56, '', 'WSSS38', 'White Short Sleeved shirt', 'none', 'Storeroom', '10', '15', 2, '2', 'Shirt size', '38', 'Shirt style', 'Short Sleeved', 'Shirt color', 'White', 'Shirt gender', 'All', '2024-02-02'),
(57, '', 'TD18', 'Tunic Dress', '', 'Storeroom', '15', '20', 20, '20', 'Tunic dress size', '18', 'Tunic dress style', 'Tunic dress', 'Tunic dress colour', 'Tunic dress', 'Tunic dress gender', 'Girls Tunic Dress', '2024-02-02'),
(58, '', 'TD20', 'Tunic Dress', 'none', 'Storeroom', '10', '20', 15, '15', 'Tunic dress size', '20', 'Tunic dress style', 'Tunic dress', 'Tunic dress colour', 'Tunic dress', 'Tunic dress gender', 'Girls Tunic Dress', '2024-02-02'),
(59, '', 'TD22', 'Tunic Dress', 'none', 'Storeroom', '15', '20', 15, '15', 'Tunic dress size', '22', 'Tunic dress style', 'Tunic dress', 'Tunic dress colour', 'Tunic dress', 'Tunic dress gender', 'Girls Tunic Dress', '2024-02-02'),
(60, '', 'TD24', 'Tunic Dress', 'none', 'Storeroom', '15', '20', 15, '15', 'Tunic dress size', '24', 'Tunic dress style', 'Tunic dress', 'Tunic dress colour', 'Tunic dress', 'Tunic dress gender', 'Girls Tunic Dress', '2024-02-02'),
(61, '', 'TD26', 'Tunic Dress', 'none', 'Storeroom', '15', '20', 5, '5', 'Tunic dress size', '26', 'Tunic dress gender', 'Tunic dress', 'Tunic dress colour', 'Tunic dress', 'Tunic dress gender', 'Girls Tunic Dress', '2024-02-02'),
(62, '', 'TD28', 'Tunic Dress', 'none', 'Storeroom', '15', '20', 5, '5', 'Tunic dress size', '28', 'Tunic dress style', 'Tunic dress', 'Tunic dress colour', 'Tunic dress', 'Tunic dress gender', 'Girls Tunic Dress', '2024-02-02'),
(63, '', 'TD30', 'Tunic Dress', 'none', 'Storeroom', '15', '20', 0, '0', 'Tunic dress size', '30', 'Tunic dress style', 'Tunic dress', 'Tunic dress colour', 'Tunic dress', 'Tunic dress gender', 'Girls Tunic Dress', '2024-02-02'),
(64, '', 'WB18', 'White Blouse', 'none', 'Storeroom', '10', '15', 20, '20', 'Blouse size', '18', 'Blouse style', 'Girls Blouse', 'Blouse colour', 'White', 'Blouse gender', 'Girls Blouse', '2024-02-02'),
(65, '', 'WB20', 'White Blouse', 'none', 'Storeroom', '10', '15', 15, '15', 'Blouse size', '20', 'Blouse style', 'Girls Blouse', 'Blouse colour', 'White', 'Blouse gender', 'Girls Blouse', '2024-02-02'),
(66, '', 'WB22', 'White Blouse', 'none', 'Storeroom', '10', '15', 15, '15', 'Blouse size', '22', 'Blouse style', 'Girls Blouse', 'Blouse colour', 'White', 'Blouse gender', 'Girls Blouse', '2024-02-02'),
(67, '', 'WB24', 'White Blouse', 'none', 'Storeroom', '10', '15', 15, '15', 'Blouse size', 'select', 'Blouse style', 'Girls Blouse', 'Blouse colour', 'White', 'Blouse gender', 'Girls Blouse', '2024-02-02'),
(68, '', 'WB26', 'White Blouse', 'none', 'Storeroom', '10', '15', 5, '5', 'Blouse size', '24', 'Blouse style', 'Girls Blouse', 'Blouse colour', 'White', 'Blouse gender', 'Girls Blouse', '2024-02-02'),
(69, '', 'WB28', 'White Blouse', 'none', 'Storeroom', '10', '15', 5, '5', 'Blouse size', '28', 'Blouse style', 'Girls Blouse', 'Blouse colour', 'Girls Blouse', 'Blouse gender', 'Girls Blouse', '2024-02-02'),
(70, '', 'WB30', 'White Blouse', 'none', 'Storeroom', '10', '15', 0, '0', 'Blouse size', '30', 'Blouse style', 'Girls Blouse', 'Blouse colour', 'White', 'Blouse gender', 'Girls Blouse', '2024-02-02'),
(71, '', 'HJ18', 'Half Jersey', 'none', 'Storeroom', '30', '50', 1, '1', 'Full jersey size', '18', 'Half jersey style', 'Half Jersey', 'Half jersey colour', 'Navy Blue', 'Half jersey gender', 'All', '2024-02-05'),
(72, '', 'HJ20', 'Half Jersey', 'none', 'Storeroom', '30', '50', 14, '14', 'Half jersey size', '20', 'Half jersey style', 'Half Jersey', 'Half jersey colour', 'Navy Blue', 'Half jersey gender', 'All', '2024-02-05'),
(73, '', 'HJ22', 'Half Jersey', 'none', 'Storeroom', '30', '50', 15, '15', 'Half jersey size', '22', 'Half jersey style', 'Half Jersey', 'Half jersey colour', 'Navy Blue', 'Half jersey gender', 'All', '2024-02-05'),
(74, '', 'HJ24', 'Half Jersey', 'none', 'Storeroom', '30', '50', 29, '29', 'Half jersey size', '24', 'Half jersey style', 'Half Jersey', 'Half jersey colour', 'Navy Blue', 'Half jersey gender', 'All', '2024-02-05'),
(75, '', 'HJ26', 'Half Jersey', 'none', 'Storeroom', '30', '50', 19, '19', 'Half jersey size', '26', 'Half jersey style', 'Half Jersey', 'Half jersey colour', 'Navy Blue', 'Half jersey gender', 'All', '2024-02-05'),
(76, '', 'HJ28', 'Half Jersey', 'none', 'Storeroom', '30', '50', 15, '15', 'Half jersey size', '28', 'Half jersey style', 'Half Jersey', 'Half jersey colour', 'Navy Blue', 'Half jersey gender', 'All', '2024-02-05'),
(77, '', 'HJ30', 'Half Jersey', 'none', 'Storeroom', '30', '50', 10, '10', 'Half jersey size', '30', 'Half jersey style', 'Half Jersey', 'Half jersey colour', 'Navy Blue', 'Half jersey gender', 'All', '2024-02-05'),
(78, '', 'HJ32', 'Half Jersey', 'none', 'Storeroom', '30', '50', 11, '11', 'Half jersey size', '32', 'Half jersey style', 'Half Jersey', 'Half jersey colour', 'Navy Blue', 'Half jersey gender', 'All', '2024-02-05'),
(79, '', 'HJ34', 'Half Jersey', 'none', 'Storeroom', '30', '50', 4, '4', 'Half jersey size', '34', 'Half jersey style', 'Half Jersey', 'Half jersey colour', 'Navy Blue', 'Half jersey gender', 'All', '2024-02-05'),
(80, '', 'HJ36', 'Half Jersey', 'none', 'Storeroom', '30', '50', 3, '3', 'Half jersey size', '36', 'Half jersey style', 'Half Jersey', 'Half jersey colour', 'Navy Blue', 'Half jersey gender', 'All', '2024-02-05'),
(81, '', 'FJ18', 'Full Jersey', 'none', 'Storeroom', '30', '50', 1, '1', 'Full jersey size', '18', 'Full jersey style', 'Full Jersey', 'Half jersey colour', 'Navy Blue', 'Full jersey  gender', 'All', '2024-02-05'),
(82, '', 'FJ20', 'Full Jersey', 'none', 'Storeroom', '30', '50', 18, '18', 'Full jersey size', '20', 'Full jersey style', 'Full Jersey', 'Full jersey  colour', 'Navy Blue', 'Full jersey  gender', 'All', '2024-02-05'),
(83, '', 'FJ22', 'Full Jersey', 'none', 'Storeroom', '30', '50', 15, '15', 'Full jersey size', '22', 'Full jersey style', 'Full Jersey', 'Full jersey  colour', 'Navy Blue', 'Full jersey  gender', 'All', '2024-02-05'),
(84, '', 'FJ24', 'Full Jersey', 'none', 'Storeroom', '30', '50', 25, '25', 'Full jersey size', '24', 'Full jersey style', 'Half Jersey', 'Full jersey  colour', 'Navy Blue', 'Full jersey  gender', 'All', '2024-02-05'),
(85, '', 'FJ26', 'Full Jersey', 'none', 'Storeroom', '30', '50', 20, '20', 'Full jersey size', '26', 'Full jersey style', 'Full Jersey', 'Full jersey  colour', 'Navy Blue', 'Full jersey  gender', 'All', '2024-02-05'),
(86, '', 'FJ28', 'Full Jersey', 'none', 'Storeroom', '30', '50', 16, '16', 'Full jersey size', '28', 'Full jersey style', 'Full Jersey', 'Full jersey  colour', 'Navy Blue', 'Full jersey  gender', 'All', '2024-02-05'),
(87, '', 'FJ30', 'Full Jersey', 'none', 'Storeroom', '30', '50', 11, '11', 'Full jersey size', '30', 'Full jersey style', 'Full Jersey', 'Full jersey  colour', 'Navy Blue', 'Full jersey  gender', 'All', '2024-02-05'),
(88, '', 'FJ32', 'Full Jersey', 'none', 'Storeroom', '30', '50', 10, '10', 'Full jersey size', '32', 'Full jersey style', 'Full Jersey', 'Full jersey  colour', 'Navy Blue', 'Full jersey  gender', 'All', '2024-02-05'),
(89, '', 'FJ34', 'Full Jersey', 'none', 'Storeroom', '30', '50', 4, '4', 'Full jersey size', '34', 'Full jersey style', 'Full Jersey', 'Full jersey  colour', 'Navy Blue', 'Full jersey  gender', 'All', '2024-02-05'),
(90, '', 'FJ36', 'Full Jersey', 'none', 'Storeroom', '30', '50', 3, '3', 'Full jersey size', '36', 'Full jersey style', 'Full Jersey', 'Full jersey  colour', 'Navy Blue', 'Full jersey  gender', 'All', '2024-02-05'),
(91, '', 'FJ38', 'Full Jersey', 'none', 'Storeroom', '30', '50', 0, '0', 'Full jersey size', '38', 'Full jersey style', 'Full Jersey', 'Full jersey  colour', 'Navy Blue', 'Full jersey  gender', 'All', '2024-02-05'),
(92, '', 'RTS20', 'Red T-shirts', 'none', 'Storeroom', '6', '10', 20, '20', 'T-shirts size', '20', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Red', 'T-shirt gender', 'All', '2024-02-05'),
(93, '', 'TRS22', 'Red T-shirts', 'none', 'Storeroom', '6', '10', 19, '19', 'T-shirts size', '22', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Red', 'T-shirt gender', 'All', '2024-02-05'),
(94, '', 'RTS24', 'Red T-shirts', 'none', 'Storeroom', '6', '10', 20, '20', 'T-shirts size', '24', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Navy Blue', 'T-shirt gender', 'All', '2024-02-05'),
(95, '', 'RTS26', 'Red T-shirts', 'none', 'Storeroom', '6', '10', 26, '26', 'T-shirts size', '26', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', '26', 'T-shirt gender', 'All', '2024-02-05'),
(96, '', 'RTS28', 'Red T-shirts', 'none', 'select', '6', '10', 21, '21', 'T-shirts size', '28', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Red', 'T-shirt gender', 'All', '2024-02-05'),
(97, '', 'RTS30', 'Red T-shirts', 'none', 'Storeroom', '6', '10', 10, '10', 'T-shirts size', '30', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Red', 'T-shirt gender', 'All', '2024-02-05'),
(98, '', 'RTS32', 'Red T-shirts', 'none', 'Storeroom', '6', '10', 4, '4', 'T-shirts size', '32', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Red', 'T-shirt gender', 'All', '2024-02-05'),
(99, '', 'RTS34', 'Red T-shirts', 'none', 'Storeroom', '6', '10', 3, '3', 'T-shirts size', '34', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Red', 'T-shirt gender', 'All', '2024-02-05'),
(100, '', 'RTS36', 'Red T-shirts', 'none', 'Storeroom', '6', '10', 3, '3', 'T-shirts size', '36', 'T-shirt style', 'Golf T-shirt', 'T-shirt colour', 'Red', 'T-shirt gender', 'All', '2024-02-05'),
(101, '', 'TRS18', 'Tracksuit', 'none', 'Storeroom', '30', '50', 15, '15', 'Tracksuit  size', '18', 'Tracksuit  style', 'Complete Tracksuit', 'Tracksuit  colour', 'Navy Blue', 'Tracksuit  gender', 'All', '2024-02-05'),
(102, '', 'TRS20', 'Tracksuit', 'none', 'Storeroom', '30', '50', 16, '16', 'Tracksuit  size', '20', 'Tracksuit  style', 'Complete Tracksuit', 'Tracksuit  colour', 'Navy Blue', 'Tracksuit  gender', 'All', '2024-02-05'),
(103, '', 'TRS22', 'Tracksuit', 'none', 'Storeroom', '30', '50', 21, '21', 'Tracksuit  size', '22', 'Tracksuit  style', 'Complete Tracksuit', 'Tracksuit  colour', 'Navy Blue', 'Tracksuit  gender', 'All', '2024-02-05'),
(104, '', 'TRS24', 'Tracksuit', 'none', 'Storeroom', '30', '50', 26, '26', 'Tracksuit  size', '24', 'Tracksuit  style', 'Complete Tracksuit', 'Tracksuit  colour', 'Navy Blue', 'Tracksuit  gender', 'All', '2024-02-05'),
(105, '', 'TRS26', 'Tracksuit', 'none', 'Storeroom', '30', '50', 15, '15', 'Tracksuit  size', '26', 'Tracksuit  style', 'Complete Tracksuit', 'Tracksuit  colour', 'Navy Blue', 'Tracksuit  gender', 'All', '2024-02-05'),
(106, '', 'TRS28', 'Tracksuit', 'none', 'Storeroom', '30', '50', 16, '16', 'Tracksuit  size', '28', 'Tracksuit  style', 'Complete Tracksuit', 'Tracksuit  colour', 'Navy Blue', 'Tracksuit  gender', 'All', '2024-02-05'),
(107, '', 'TRS30', 'Tracksuit', 'none', 'Storeroom', '30', '50', 7, '7', 'Tracksuit  size', '30', 'Tracksuit  style', 'Complete Tracksuit', 'Tracksuit  colour', 'Navy Blue', 'Tracksuit  gender', 'All', '2024-02-05'),
(108, '', 'TRS32', 'Tracksuit', 'none', 'Storeroom', '30', '50', 5, '5', 'Tracksuit  size', '32', 'Tracksuit  style', 'Complete Tracksuit', 'Tracksuit  colour', 'Navy Blue', 'Tracksuit  gender', 'All', '2024-02-05'),
(109, '', 'TRS34', 'Tracksuit', 'none', 'Storeroom', '30', '50', 4, '4', 'Tracksuit  size', '34', 'Tracksuit  style', 'Complete Tracksuit', 'Tracksuit  colour', 'Navy Blue', 'Tracksuit  gender', 'All', '2024-02-05'),
(110, '', 'TRS36', 'Tracksuit', 'none', 'Storeroom', '30', '50', 3, '3', 'Tracksuit  size', '36', 'Tracksuit  style', 'Complete Tracksuit', 'Tracksuit  colour', 'Navy Blue', 'Tracksuit  gender', 'All', '2024-02-05'),
(111, '', 'TRS38', 'Tracksuit', 'none', 'Storeroom', '30', '50', 1, '1', 'Tracksuit  size', '38', 'Tracksuit  style', 'Complete Tracksuit', 'Tracksuit  colour', 'Navy Blue', 'Tracksuit  gender', 'All', '2024-02-05'),
(112, '', 'GRS24', 'Grey Skirt', '', 'Storeroom', '15', '20', 10, '10', 'Skirt size', '24', 'Skirt style', 'Skirt ', 'Skirt colour', 'Grey', 'Skirt gender', 'Girls', '2024-02-05'),
(113, '', 'GRS26', 'Grey Skirt', 'none', 'Storeroom', '15', '20', 10, '10', 'Skirt size', '26', 'Skirt style', 'Girls', 'Skirt colour', 'Grey', 'Skirt gender', 'Girls', '2024-02-05'),
(114, '', 'GRS28', 'Grey Skirt', 'none', 'Storeroom', '15', '20', 10, '10', 'Skirt size', '28', 'Skirt style', 'Girls', 'Skirt colour', 'Grey', 'Skirt gender', 'Girls', '2024-02-05'),
(115, '', 'GRS30', 'Grey Skirt', 'none', 'Storeroom', '15', '20', 5, '5', 'Skirt size', '30', 'Skirt style', 'Girls', 'Skirt colour', 'Grey', 'Skirt gender', 'Girls', '2024-02-05'),
(116, '', 'GRS32', 'Grey Skirt', 'none', 'Storeroom', '15', '20', 4, '4', 'Skirt size', '32', 'Skirt style', 'Skirt ', 'Skirt colour', 'Grey', 'Skirt gender', 'Girls', '2024-02-05'),
(117, '', 'GRS34', 'Grey Skirt', 'none', 'Storeroom', '15', '20', 4, '4', 'Skirt size', '34', 'Skirt style', 'Skirt ', 'Skirt colour', 'Grey', 'Skirt gender', 'Girls', '2024-02-05'),
(118, '', 'BLZ20', 'Blazer', 'none', 'Storeroom', '30', '50', 2, '2', 'Blazer size', '20', 'Blazer style', 'Blazer', 'Blazer colour', 'Navy Blue', 'Blazer gender', 'All', '2024-02-05'),
(119, '', 'BLZ22', 'Blazer', 'none', 'Storeroom', '30', '50', 2, '2', 'Blazer size', '22', 'Blazer style', 'Blazer', 'Blazer colour', 'Navy Blue', 'Blazer gender', 'All', '2024-02-05'),
(120, '', 'BLZ24', 'Blazer', 'none', 'Storeroom', '30', '50', 10, '10', 'Blazer size', '24', 'Blazer style', 'Blazer', 'Blazer colour', 'Navy Blue', 'Blazer gender', 'All', '2024-02-05'),
(121, '', 'BLZ26', 'Blazer', 'none', 'Storeroom', '30', '50', 7, '7', 'Blazer size', '26', 'Blazer style', 'Blazer', 'Blazer colour', 'Navy Blue', 'Blazer gender', 'All', '2024-02-05'),
(122, '', 'BLZ28', 'Blazer', 'none', 'Storeroom', '30', '50', 3, '3', 'Blazer size', '28', 'Blazer style', 'Blazer', 'Blazer colour', 'Navy Blue ', 'Blazer gender', 'All', '2024-02-05'),
(123, '', 'BLZ30', 'Blazer', 'none', 'Storeroom', '30', '50', 2, '2', 'Blazer size', '30', 'Blazer style', 'Blazer', 'Blazer colour', 'Navy Blue', 'Blazer gender', 'All', '2024-02-05'),
(124, '', 'BLZ32', 'Blazer', 'none', 'Storeroom', '30', '50', 1, '1', 'Blazer size', '32', 'Blazer style', 'Blazer', 'Blazer colour', 'Navy Blue', 'Blazer gender', 'All', '2024-02-05'),
(125, '', 'BLZ34', 'Blazer', 'none', 'Storeroom', '30', '50', 1, '1', 'Blazer size', '34', 'Blazer style', 'Blazer', 'Blazer colour', 'Navy Blue', 'Blazer gender', 'All', '2024-02-05'),
(126, '', 'ELMAZ001', 'ELMAZ BUSINESS', 'none', 'Storeroom', '10', '20', 10, '10', 'Elmaz size', '30 Courses Elmaz ', 'Elmaz style', 'long Course Elmaz ', 'Elmaz colour', 'Blue Elmaz  logo', 'Elmaz gender', 'All Elmaz', '2024-02-08');

--
-- Triggers `uniformitem`
--
DELIMITER $$
CREATE TRIGGER `after_uniformitem_delete` AFTER DELETE ON `uniformitem` FOR EACH ROW BEGIN
    DELETE FROM unif_stock_level WHERE id = OLD.id;
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `after_uniformitem_insert` AFTER INSERT ON `uniformitem` FOR EACH ROW BEGIN
    INSERT INTO unif_stock_level (id, itemcode, description, warehouse, qnty_on_hand)
    VALUES (NEW.id, NEW.itemcode, NEW.itemdescript, NEW.warehouse, NEW.quantity);
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `after_uniformitem_update` AFTER UPDATE ON `uniformitem` FOR EACH ROW BEGIN
    UPDATE unif_stock_level
    SET 
        itemcode = NEW.itemcode,
        description = NEW.itemdescript,
        warehouse = NEW.warehouse,
        qnty_on_hand = NEW.quantity
    WHERE id = NEW.id;
END
$$
DELIMITER ;

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

--
-- Table structure for table `uniformpos`
--

CREATE TABLE `uniformpos` (
  `id` int(11) NOT NULL,
  `student_id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `itemcode` varchar(200) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `narration` varchar(255) NOT NULL,
  `warehouse` varchar(255) DEFAULT NULL,
  `originalqnty` varchar(255) DEFAULT NULL,
  `quantity` varchar(255) DEFAULT NULL,
  `amount` varchar(255) DEFAULT NULL,
  `payment` varchar(255) DEFAULT NULL,
  `created_date` varchar(255) DEFAULT NULL,
  `balance` varchar(255) DEFAULT NULL,
  `cost` varchar(255) DEFAULT NULL,
  `discount` varchar(255) NOT NULL DEFAULT '0',
  `batch_num` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `uniformpos`
--

INSERT INTO `uniformpos` (`id`, `student_id`, `name`, `itemcode`, `description`, `narration`, `warehouse`, `originalqnty`, `quantity`, `amount`, `payment`, `created_date`, `balance`, `cost`, `discount`, `batch_num`) VALUES
(5, 'ec000324', 'grfr ffff', 'YT36', 'Yellow T-shirt', '', 'Storeroom', '3', '23', '10', 'RTGS', '2025-01-07', NULL, '6', '0', 'INV0003'),
(9, 'ec000324', 'grfr ffff', 'YT36', 'Yellow T-shirt', '', 'Storeroom', '3', '6', '10', 'ECOCASH USD', '2025-01-07', NULL, '6', '0', 'INV0004'),
(10, 'ec000324', 'grfr ffff', 'WT34', 'White T-shirt', '', 'Storeroom', '3', '12', '10', 'RTGS', '2025-01-08', NULL, '6', '0', 'INV0005'),
(11, 'ec000324', 'grfr ffff', 'WT30', 'White T-shirt', '', 'Storeroom', '12', '12', '10', 'RTGS', '2025-01-08', NULL, '6', '0', 'INV0006'),
(12, 'ME00012', 'Tinashe Chimanyi', 'WT20', 'White T-shirt', '', 'Storeroom', '2089', '12', '19', 'USD', '2025-01-15', NULL, '7', '0', 'INV0007'),
(13, 'ME00013', 'Nyasha Mrinda', 'YT30', 'Yellow T-shirt', '', 'Storeroom', '10', '13', '10', 'RTGS', '2025-01-15', NULL, '6', '0', 'INV0008'),
(14, 'ME00014', 'Test Test123', 'WT26', 'White T-shirt', '', 'Storeroom', '20', '2', '10', 'ECOCASH USD', '2025-01-15', NULL, '6', '0', 'INV0009'),
(15, 'ME00013', 'Nyasha Mrinda', 'YT34', 'Yellow T-shirt', 'uniform payment', 'Storeroom', '3', '21', '10', 'USD', '2025-01-15', NULL, '6', '0', 'INV00010'),
(16, 'ME00014', 'Test Success', 'YT20', 'Yellow T-shirt', 'uniform yelloe tshirt', 'Storeroom', '20', '13', '10', 'USD', '2025-01-16', NULL, '6', '0', 'INV00011'),
(17, 'ec000324', 'john doe', 'WT20', 'White T-shirt', 'test1', 'Storeroom', '2123', '12', '19', 'USD', '2025-01-16', NULL, '7', '0', 'INV00012'),
(18, 'ec000324', 'john doe', 'YT34', 'Yellow T-shirt', 'est 2', 'Storeroom', '3', '2', '10', 'ECOCASH ZWL', '2025-01-16', NULL, '6', '0', 'INV00012'),
(20, 'ME00012', 'Tinashe Chimanyi', 'YT36', 'Yellow T-shirt', 'test3', 'Storeroom', '3', '1', '10', 'USD', '2025-01-16', NULL, '6', '0', 'INV00012'),
(21, 'ME00014', 'Test Success', 'YT20', 'Yellow T-shirt', 'tesing code', 'Storeroom', '20', '1', '10', 'USD', '2025-01-16', NULL, '6', '0', 'INV00015'),
(22, 'ME00014', 'Test Success', 'WT32', 'White T-shirt', 'test4', 'Storeroom', '4', '1', '10', 'USD', '2025-01-16', NULL, '6', '0', 'INV00015'),
(23, 'ME00012', 'Tinashe Chimanyi', 'YT34', 'Yellow T-shirt', 'tests', 'Storeroom', '3', '12', '10', 'ECOCASH USD', '2025-02-03', NULL, '6', '0', 'INV00016'),
(24, 'ME00012', 'Tinashe Chimanyi', 'WT26', 'White T-shirt', 'test', 'Storeroom', '20', '2', '10', 'ECOCASH USD', '2025-02-03', NULL, '6', '0', 'INV00018'),
(25, 'ME00013', 'Nyasha Mrinda', 'WT22', 'White T-shirt', '3', 'Storeroom', '20', '2', '10', 'USD', '2025-02-03', NULL, '6', '0', 'INV00020'),
(26, 'ec000233', 'morethan martins', 'WT28', 'White T-shirt', 'we', 'Storeroom', '20', '2', '10', 'ECOCASH USD', '2025-02-03', NULL, '6', '0', 'INV00021'),
(27, 'ME00012', 'Tinashe Chimanyi', 'YT36', 'Yellow T-shirt', 'tewst', 'Storeroom', '3', '3', '10', 'ECOCASH USD', '2025-02-03', NULL, '6', '0', 'INV00022'),
(28, 'ec000324', 'john doe', 'YT28', 'Yellow T-shirt', 'e', 'Storeroom', '19', '2', '10', 'RTGS', '2025-02-03', NULL, '6', '0', 'INV00027'),
(29, 'ME00012', 'Tinashe Chimanyi', 'WT30', 'White T-shirt', 'tess', 'Storeroom', '12', '3', '10', 'ECOCASH ZWL', '2025-02-03', NULL, '6', '0', 'INV00039'),
(30, 'ec000324', 'john doe', 'YT34', 'Yellow T-shirt', '32', 'Storeroom', '3', '3', '10', 'ECOCASH USD', '2025-02-03', NULL, '6', '0', 'INV00040'),
(31, 'ME00014', 'Test Success', 'YT32', 'Yellow T-shirt', 'test', 'Storeroom', '4', '2', '10', 'ECOCASH USD', '2025-02-04', NULL, '6', '0', 'INV00087'),
(32, 'ec000324', 'john doe', 'YT36', 'Yellow T-shirt', 'tes', 'Storeroom', '3', '1', '10', 'ECOCASH USD', '2025-02-04', NULL, '6', '0', 'INV00088'),
(33, 'ec000233', 'morethan martins', 'WLSS24', 'White Long Sleeved-Shirts', 'tes', 'Storeroom', '20', '8', '20', 'ECOCASH USD', '2025-02-05', NULL, '10', '0', 'INV00093');

--
-- Triggers `uniformpos`
--
DELIMITER $$
CREATE TRIGGER `after_uniformpos_insert` AFTER INSERT ON `uniformpos` FOR EACH ROW BEGIN
    INSERT INTO unif_stock_mvmnt (itemcode, date, description,qnty_out, reference,warehouse,balance)
    VALUES (NEW.itemcode, NEW.created_date, NEW.description, NEW.quantity, NEW.batch_num, NEW.warehouse,NEW.originalqnty-NEW.quantity);
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `after_uniformpos_insert_quantity` AFTER INSERT ON `uniformpos` FOR EACH ROW BEGIN
    DECLARE calculated_balance DECIMAL(10,2);
    
    -- Check if qnty_out (quantity) is NULL or not
    IF NEW.quantity IS NOT NULL THEN
        -- If qnty_out is provided, calculate balance as originalqnty - quantity
        SET calculated_balance = NEW.originalqnty - NEW.quantity;
    ELSE
        -- If qnty_out is NULL, calculate balance as originalqnty + quantity (qnty_in)
        -- Here, we assume quantity represents qnty_in if qnty_out is NULL
        SET calculated_balance = NEW.originalqnty + NEW.quantity;
    END IF;

    -- Now insert into the `unif_stock_mvmnt` table with the calculated balance
    INSERT INTO unif_stock_mvmnt (itemcode, date, description, qnty_out, reference, warehouse, balance)
    VALUES (NEW.itemcode, NEW.created_date, NEW.description, NEW.quantity, NEW.batch_num, NEW.warehouse, calculated_balance);
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `insert_to_stock_mgmtt` AFTER INSERT ON `uniformpos` FOR EACH ROW BEGIN
    -- Insert data into unif_stock_mgnt table with additional calculations
    INSERT INTO unif_stock_mgnt (
        created_date, 
        itemcode, 
        description, 
        cost_price, 
        selling_price, 
        originalqnty, 
        quantity, 
        qnty_on_hand, 
        total_cost_price, 
        total_selling_price, 
        profit_loss, 
        exp_total_cost, 
        exp_total_selling, 
        exp_profit_loss
    )
    VALUES (
        NEW.created_date,                            -- Use the created_date from the inserted record
        NEW.itemcode,                                -- Use the itemcode from the inserted record
        NEW.description,                             -- Use the description from the inserted record
        NEW.cost,                                    -- Use the cost from the inserted record
        NEW.amount,                                  -- Use the amount (selling price) from the inserted record
        NEW.originalqnty,                            -- Use the original quantity from the inserted record
        NEW.quantity,                                -- Use the quantity from the inserted record
        NEW.originalqnty - NEW.quantity,             -- Calculate qnty_on_hand
        (NEW.originalqnty - NEW.quantity) * NEW.cost, -- Calculate total_cost_price
        (NEW.originalqnty - NEW.quantity) * NEW.amount, -- Calculate total_selling_price
        ((NEW.originalqnty - NEW.quantity) * NEW.amount) - ((NEW.originalqnty - NEW.quantity) * NEW.cost), -- Calculate profit/loss
        ((NEW.originalqnty - NEW.quantity) * NEW.cost) , -- Calculate expected total cost
        ((NEW.originalqnty - NEW.quantity) * NEW.amount), -- Calculate expected total selling price
        ((NEW.originalqnty - NEW.quantity) * NEW.amount) - ((NEW.originalqnty - NEW.quantity) * NEW.cost) -- Calculate expected profit/loss
    );
END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `uniformstatement` AFTER INSERT ON `uniformpos` FOR EACH ROW BEGIN
    INSERT INTO uniformstatement (payment,name,student_id, created_date, description,narration,credit, reference,balance)
    VALUES (NEW.payment,NEW.name,NEW.student_id, NEW.created_date, NEW.description,NEW.narration, NEW.amount, NEW.batch_num,-NEW.amount);
END
$$
DELIMITER ;

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

--
-- Table structure for table `uniformposrec`
--

CREATE TABLE `uniformposrec` (
  `id` int(11) NOT NULL,
  `student_id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `gl_account` varchar(255) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `narration` varchar(19) NOT NULL,
  `reference` varchar(255) NOT NULL,
  `warehouse` varchar(255) DEFAULT NULL,
  `originalqnty` varchar(255) DEFAULT NULL,
  `quantity` varchar(255) DEFAULT NULL,
  `amount` int(25) DEFAULT NULL,
  `payment` varchar(255) DEFAULT NULL,
  `created_date` varchar(255) DEFAULT NULL,
  `balance` int(25) DEFAULT NULL,
  `total_amount` int(25) DEFAULT NULL,
  `discount` int(25) NOT NULL DEFAULT 0,
  `batch_num` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `uniformposrec`
--

INSERT INTO `uniformposrec` (`id`, `student_id`, `name`, `gl_account`, `description`, `narration`, `reference`, `warehouse`, `originalqnty`, `quantity`, `amount`, `payment`, `created_date`, `balance`, `total_amount`, `discount`, `batch_num`) VALUES
(1, 'ec000324', '', '', 'Yellow T-shirt', '', 'INV00087', 'Storeroom', '21', '7', 10, 'SWIPE', '2025-01-02', NULL, 6, 0, 'REC0001'),
(2, 'ec000324', '', '', 'Yellow T-shirt', '', 'INV000774', 'Storeroom', '21', '45', 10, 'USD', '2025-01-02', NULL, 6, 0, 'REC0003'),
(3, 'ec000324', '', '', 'White Long Sleeved-Shirts', '', 'INV00065', 'Storeroom', '20', '6', 20, 'USD', '2025-01-02', NULL, 10, 0, 'REC0004'),
(4, 'ec000324', '', '', 'White T-shirt', '', 'INV00012', NULL, '3', NULL, 10, 'ECOCASH ZWL', '2025-01-02', NULL, 6, 0, 'REC0005'),
(5, 'ec000324', '', '', 'Yellow T-shirt', '', 'INV00021', NULL, NULL, NULL, NULL, 'ECOCASH USD', '2025-01-02', NULL, NULL, 0, 'REC0006'),
(6, 'ec000324', '', '', 'Yellow T-shirt', '', 'INV0005', NULL, NULL, NULL, NULL, 'ECOCASH ZWL', '2025-01-02', NULL, NULL, 0, 'REC0007'),
(7, 'ec000324', '', '', 'Yellow T-shirt', '', 'INV000123', NULL, NULL, NULL, 123, 'ECOCASH ZWL', '2025-01-02', NULL, NULL, 0, 'REC0008'),
(8, 'ec000324', '', '', 'testing', '', 'INV000122', NULL, NULL, NULL, 12, 'USD', '2025-01-03', NULL, NULL, 0, 'REC0009'),
(9, 'ec000324', '', 'Depreciation ', 'testing glaccount', '', 'INV000889', NULL, NULL, NULL, 12, 'ECOCASH ZWL', '2025-01-03', NULL, NULL, 0, 'REC0009'),
(11, 'ec000324', '', 'Depreciation>Motor Vehicle ', 'testing 3', '', 'INV000123', NULL, NULL, NULL, 23, 'SWIPE', '2025-01-03', NULL, NULL, 0, 'REC00010'),
(12, 'ec000324', '', 'Depreciation>Furniture & Fittings ', 'ffgg', '', 'INV00022', NULL, NULL, NULL, 233, 'USD', '2025-01-03', NULL, NULL, 0, 'REC00011'),
(13, 'ec000324', '', 'Purchases', 'ttt', '', 'INV0001223', NULL, NULL, NULL, 12, 'ECOCASH ZWL', '2025-01-03', NULL, NULL, 0, 'REC00012'),
(14, 'ec000324', '', 'Purchases', 'ggg', '', 'INV000774', NULL, NULL, NULL, 22, 'ECOCASH USD', '2025-01-03', NULL, NULL, 0, 'REC00013'),
(15, 'ec000324', '', 'Depreciation>Furniture & Fittings ', 'testing the student name', '', 'INV0000993', NULL, NULL, NULL, 122, 'ECOCASH USD', '2025-01-04', NULL, NULL, 0, 'REC00014'),
(16, 'ec000324', '', 'Admin Expenses', 'henry', '', 'INV000773', NULL, NULL, NULL, 23, 'USD', '2025-01-04', NULL, NULL, 0, 'REC00015'),
(17, 'ec000324', '', 'Depreciation>Furniture & Fittings ', 'thh', '', 'INV00889', NULL, NULL, NULL, 89, 'ECOCASH USD', '2025-01-04', NULL, NULL, 5, 'REC00016'),
(18, 'ec000324', '', 'Generator expenses', 'thh', '', 'INV000990', NULL, NULL, NULL, 2334, 'ECOCASH USD', '2025-01-04', NULL, NULL, 12, 'REC00017'),
(19, 'ec000324', '', 'Depreciation ', 'testintg', '', 'INV0009', NULL, NULL, NULL, 45, 'RTGS', '2025-01-04', NULL, NULL, 2, 'REC00018'),
(20, 'ec000324', '', 'Generator expenses', 'testing', '', 'INV000899', NULL, NULL, NULL, 23, 'RTGS', '2025-01-04', NULL, 0, 8, 'REC00018'),
(21, 'ec000324', '', 'Depreciation ', 'testing', '', 'INV000772', NULL, NULL, NULL, 123, 'USD', '2025-01-04', NULL, 0, 10, 'REC00019'),
(22, 'ec000324', '', 'Generator expenses', 'tresting', '', 'INV00099', NULL, NULL, NULL, 22, 'SWIPE', '2025-01-04', NULL, 0, 7, 'REC00020'),
(23, 'ec000324', '', 'Generator expenses', 'tests', '', 'INV0009375', NULL, NULL, NULL, 220, 'ECOCASH ZWL', '2025-01-04', NULL, NULL, 9, 'REC00021'),
(24, 'ec000324', '', 'Generator fuel', 'tests', '', 'INV0008773', NULL, NULL, NULL, 125, 'RTGS', '2025-01-04', NULL, 0, 9, 'REC00022'),
(25, 'ec000324', '', 'Generator fuel', 'wwe', '', 'INV00055', NULL, NULL, NULL, 122, 'ECOCASH ZWL', '2025-01-04', NULL, 0, 0, 'REC00023'),
(26, 'ec000324', '', 'Generator repair & maintanance', 'err', '', 'INV009 ', NULL, NULL, NULL, 123, 'RTGS', '2025-01-04', NULL, 0, 9, 'REC00024'),
(27, 'ec000324', '', 'Generator expenses', 'eert', '', 'INV000888', NULL, NULL, NULL, 122, 'USD', '2025-01-04', NULL, 0, 9, 'REC00025'),
(28, '', '', '', 'tesing', '', 'INV0002', NULL, NULL, NULL, 12, 'ECOCASH USD', '2025-01-06', NULL, 0, 9, 'REC00026'),
(29, 'ec000324', '', 'Generator fuel', 'tesing', '', 'INV0002', NULL, NULL, NULL, 233, 'RTGS', '2025-01-06', NULL, 0, 9, 'REC00026'),
(30, 'ec000324', '', 'Generator fuel', 'testt', '', 'INV0002', NULL, NULL, NULL, 12, 'ECOCASH USD', '2025-01-07', NULL, 0, 0, 'REC00027'),
(31, 'ec000324', 'grfr ffff', 'Purchases', 'tes name', '', 'INV0003', NULL, NULL, NULL, 12, 'ECOCASH USD', '2025-01-07', NULL, 0, 0, 'REC00028'),
(32, 'ec000324', 'grfr ffff', 'Depreciation ', 'test agine', '', 'INV0002', NULL, NULL, NULL, 23, 'ECOCASH USD', '2025-01-07', NULL, 0, 0, 'REC00029'),
(38, 'ec000324', 'grfr ffff', 'Repairs & Maintenance ', 'tests', '', 'INV0004', NULL, NULL, NULL, 12, 'ECOCASH USD', '2025-01-08', NULL, 0, 0, 'REC00030'),
(39, 'ME00012', 'Tinashe Chimanyi', 'Purchases', 'wt20 payment', '', 'INV0007', NULL, NULL, NULL, 13, 'USD', '2025-01-15', NULL, 0, 0, 'REC00031'),
(40, 'ME00013', 'Nyasha Mrinda', 'Purchases', 'yt30 payment', '', 'INV0008', NULL, NULL, NULL, 100, 'USD', '2025-01-15', NULL, 0, 0, 'REC00032'),
(41, 'ME00012', 'Tinashe Chimanyi', 'Depreciation ', 'payment', 'uniform payment', 'INV00010', NULL, NULL, NULL, 13, 'USD', '2025-01-16', NULL, 0, 0, 'REC00033'),
(42, 'ec000324', 'john doe', 'Purchases', 'test1', 'pay', 'INV00010', NULL, NULL, NULL, 13, 'USD', '2025-01-16', NULL, 0, 0, 'REC00034'),
(43, 'ME00012', 'Tinashe Chimanyi', 'Repairs & Maintenance', 'test2', 'pay2', 'INV00011', NULL, NULL, NULL, 12, 'USD', '2025-01-16', NULL, 0, 0, 'REC00034'),
(44, 'select', '', '', '', '', '', NULL, NULL, NULL, 0, '', '2025-01-16', NULL, 0, 0, 'REC00036'),
(45, 'ME00012', 'Tinashe Chimanyi', 'Fuel ', 'test', 'test', 'INV0004', NULL, NULL, NULL, 12, 'ECOCASH USD', '2025-02-04', NULL, 0, 0, 'REC00042'),
(46, 'ec000233', 'morethan martins', 'Generator fuel', 'test', 'test', 'INV00040', NULL, NULL, NULL, 0, 'USD', '2025-02-04', NULL, 0, 0, 'REC00043'),
(47, 'ec000233', 'morethan martins', 'Depreciation>Motor Vehicle ', 'test', '12rew', 'INV0004', NULL, NULL, NULL, 2, 'ECOCASH USD', '2025-02-04', NULL, 0, 0, 'REC00044'),
(48, 'ec000233', 'morethan martins', 'Generator expenses', 'tewsr', 'test', 'INV00040', NULL, NULL, NULL, 23, 'USD', '2025-02-04', NULL, 0, 0, 'REC00045'),
(49, 'ME00012', 'Tinashe Chimanyi', 'Generator expenses', 'payement', 'payment', 'INV00027', NULL, NULL, NULL, 22, 'ECOCASH USD', '2025-02-05', NULL, 0, 0, 'REC00046');

--
-- Triggers `uniformposrec`
--
DELIMITER $$
CREATE TRIGGER `after_insert_uniformposrec` AFTER INSERT ON `uniformposrec` FOR EACH ROW BEGIN
    INSERT INTO uniformstatement (payment,name,student_id, created_date, description,narration,debit, reference,balance)
    VALUES (NEW.payment,NEW.name,NEW.student_id, NEW.created_date, NEW.description,NEW.narration, NEW.amount, NEW.batch_num,-NEW.amount);
END
$$
DELIMITER ;

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

--
-- Table structure for table `uniformpostemp`
--

CREATE TABLE `uniformpostemp` (
  `id` int(11) NOT NULL,
  `student_id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `itemcode` varchar(255) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `narration` varchar(255) DEFAULT NULL,
  `warehouse` varchar(255) DEFAULT NULL,
  `originalqnty` varchar(255) DEFAULT NULL,
  `quantity` varchar(255) DEFAULT NULL,
  `amount` varchar(255) DEFAULT NULL,
  `payment` varchar(255) DEFAULT NULL,
  `created_date` varchar(255) DEFAULT NULL,
  `cost` varchar(255) DEFAULT NULL,
  `discount` varchar(255) NOT NULL DEFAULT '0',
  `batch_num` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `uniformpostemprec`
--

CREATE TABLE `uniformpostemprec` (
  `id` int(11) NOT NULL,
  `student_id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `gl_account` varchar(255) DEFAULT NULL,
  `itemcode` varchar(255) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `narration` varchar(19) NOT NULL,
  `reference` varchar(255) DEFAULT NULL,
  `warehouse` varchar(255) DEFAULT NULL,
  `originalqnty` varchar(255) DEFAULT NULL,
  `quantity` varchar(255) DEFAULT NULL,
  `amount` int(25) DEFAULT NULL,
  `payment` varchar(255) DEFAULT NULL,
  `created_date` varchar(255) DEFAULT NULL,
  `total_amount` int(25) DEFAULT NULL,
  `discount` int(25) NOT NULL DEFAULT 0,
  `batch_num` varchar(255) DEFAULT NULL,
  `balance` int(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `uniformstatement`
--

CREATE TABLE `uniformstatement` (
  `id` int(11) NOT NULL,
  `created_date` date NOT NULL,
  `student_id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `reference` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `narration` varchar(223) NOT NULL,
  `payment` varchar(255) NOT NULL,
  `debit` decimal(10,0) DEFAULT NULL,
  `credit` decimal(10,0) DEFAULT NULL,
  `balance` decimal(10,0) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `uniformstatement`
--

INSERT INTO `uniformstatement` (`id`, `created_date`, `student_id`, `name`, `reference`, `description`, `narration`, `payment`, `debit`, `credit`, `balance`) VALUES
(3, '2025-01-16', 'ME00012', 'Tinashe Chimanyi', 'INV00012', 'Yellow T-shirt', 'test3', 'USD', NULL, 10, -10),
(4, '2025-01-16', 'ec000324', 'john doe', 'REC00034', 'test1', 'pay', 'USD', 13, NULL, -13),
(5, '2025-01-16', 'ME00012', 'Tinashe Chimanyi', 'REC00034', 'test2', 'pay2', 'USD', 12, NULL, -12),
(6, '2025-01-16', 'ME00014', 'Test Success', 'INV00015', 'Yellow T-shirt', 'tesing code', 'USD', NULL, 10, -10),
(7, '2025-01-16', 'ME00014', 'Test Success', 'INV00015', 'White T-shirt', 'test4', 'USD', NULL, 10, -10),
(9, '2025-01-30', '', 'john doe', 'INV0008188', 'testing the uniformstatement ', 'testing the uniformstatement ', 'ECOCASH ZWL', 90, 0, 90),
(10, '2025-02-01', 'undefined', 'john doe', '777777', 'testtt', 'testtt', 'ECOCASH ZWL', 5554, 0, 5554),
(11, '2025-02-01', 'undefined', 'Test Success', '22222', 'ddd', 'ddd', 'CABS RTGS', 1111, 0, 1111),
(12, '2025-02-01', 'undefined', 'Tinashe Chimanyi', 'fffffee23232', 'eeeee', 'eeeee', 'ECOCASH ZWL', 1222, 0, 1222),
(13, '2025-02-01', 'undefined', 'john doe', '1222', 'ssss', 'ssss', 'ECOCASH ZWL', 1111, 0, 1111),
(14, '2025-02-01', 'undefined', 'morethan martins', 'eeeee', 'eewww', 'eewww', 'CABS RTGS', 12223, 0, 12223),
(15, '2025-02-01', 'undefined', 'john doe', 'tttt', '11112', '11112', 'CABS RTGS', 23333, 0, 23333),
(16, '2025-02-01', 'undefined', 'Nyasha Mrinda', 'rrrr', 'wwww', 'wwww', 'ECOCASH ZWL', 0, 2222, -2222),
(17, '2025-02-01', 'undefined', 'john doe', 'rrrrr', 'wwwwweee', 'wwwwweee', 'CABS RTGS', 111222, 0, 111222),
(18, '2025-02-01', 'undefined', 'undefined', '12221', '2222test', '2222test', 'ECOCASH ZWL', 1233, 0, 1233),
(19, '2025-02-01', 'undefined', 'undefined', 'ffff', 'wwe', 'wwe', 'ECOCASH ZWL', 1223, 0, 1223),
(20, '2025-02-01', 'undefined', 'john doe', 'sdddd', '2332rrrr', '2332rrrr', 'CABS RTGS', 3233, 0, 3233),
(21, '2025-02-01', 'undefined', 'john doe', 'eewed', '1222cc', '1222cc', 'CABS RTGS', 221, 0, 221),
(22, '2025-02-01', 'undefined', 'john doe', 'qweeee', 'dffff', 'dffff', 'CABS RTGS', 222, 0, 222),
(23, '2025-02-01', 'undefined', 'john doe', '21333', 'weetesd', 'weetesd', 'CABS RTGS', 12223, 0, 12223),
(24, '2025-02-01', '', 'john doe', 'eeeee', '1111', '1111', 'CABS RTGS', 3221, 0, 3221),
(25, '2025-02-01', '', 'morethan martins', 'qqqq', 'wwe33', 'wwe33', 'ECOCASH ZWL', 11111, 0, 11111),
(26, '2025-02-03', 'ME00012', 'Tinashe Chimanyi', 'INV00016', 'Yellow T-shirt', 'tests', 'ECOCASH USD', NULL, 10, -10),
(27, '2025-02-03', 'ME00012', 'Tinashe Chimanyi', 'INV00018', 'White T-shirt', 'test', 'ECOCASH USD', NULL, 10, -10),
(28, '2025-02-03', 'ME00013', 'Nyasha Mrinda', 'INV00020', 'White T-shirt', '3', 'USD', NULL, 10, -10),
(29, '2025-02-03', 'ec000233', 'morethan martins', 'INV00021', 'White T-shirt', 'we', 'ECOCASH USD', NULL, 10, -10),
(30, '2025-02-03', 'ME00012', 'Tinashe Chimanyi', 'INV00022', 'Yellow T-shirt', 'tewst', 'ECOCASH USD', NULL, 10, -10),
(31, '2025-02-03', 'ec000324', 'john doe', 'INV00027', 'Yellow T-shirt', 'e', 'RTGS', NULL, 10, -10),
(32, '2025-02-03', 'ME00012', 'Tinashe Chimanyi', 'INV00039', 'White T-shirt', 'tess', 'ECOCASH ZWL', NULL, 10, -10),
(33, '2025-02-03', 'ec000324', 'john doe', 'INV00040', 'Yellow T-shirt', '32', 'ECOCASH USD', NULL, 10, -10),
(34, '2025-02-04', 'ME00014', 'Test Success', 'INV00087', 'Yellow T-shirt', 'test', 'ECOCASH USD', NULL, 10, -10),
(35, '2025-02-04', 'ec000324', 'john doe', 'INV00088', 'Yellow T-shirt', 'tes', 'ECOCASH USD', NULL, 10, -10),
(36, '2025-02-04', 'ME00012', 'Tinashe Chimanyi', 'REC00042', 'test', 'test', 'ECOCASH USD', 12, NULL, -12),
(37, '2025-02-04', 'ec000233', 'morethan martins', 'REC00043', 'test', 'test', 'USD', 0, NULL, 0),
(38, '2025-02-04', 'ec000233', 'morethan martins', 'REC00044', 'test', '12rew', 'ECOCASH USD', 2, NULL, -2),
(39, '2025-02-04', 'ec000233', 'morethan martins', 'REC00045', 'tewsr', 'test', 'USD', 23, NULL, -23),
(40, '2025-02-05', 'ME00012', 'Tinashe Chimanyi', 'REC00046', 'payement', 'payment', 'ECOCASH USD', 22, NULL, -22),
(41, '2025-02-05', 'ec000233', 'morethan martins', 'INV00093', 'White Long Sleeved-Shirts', 'tes', 'ECOCASH USD', NULL, 20, -20),
(42, '2025-02-05', '', 'morethan martins', 'inv00332', 'test', 'test', 'ECOCASH ZWL', 0, 2, -2);

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

--
-- Table structure for table `uniform_group`
--

CREATE TABLE `uniform_group` (
  `id` int(11) NOT NULL,
  `groups` varchar(200) NOT NULL,
  `group_type` varchar(400) NOT NULL,
  `is_active` varchar(200) NOT NULL,
  `created_at` varchar(200) NOT NULL,
  `uploaded_at` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `uniform_group`
--

INSERT INTO `uniform_group` (`id`, `groups`, `group_type`, `is_active`, `created_at`, `uploaded_at`) VALUES
(12, 'Shirt style', 'style-style', '', '2022-11-24', 0),
(13, 'Shirt color', 'colour', '', '2022-11-24', 0),
(14, 'Shirt gender', 'gender', '', '2022-11-24', 0),
(15, 'Shirt size', 'size', '', '2022-11-24', 0),
(21, 'Blazer style', 'style', '', '2023-02-24', 0),
(22, 'Blazer gender', 'gender', '', '2023-02-24', 0),
(23, 'Blazer size', 'size', '', '2023-02-24', 0),
(24, 'Blazer colour', 'colour', '', '2023-02-24', 0),
(25, 'Full jersey style', 'style', '', '2023-03-03', 0),
(26, 'Full jersey  colour', 'colour', '', '2023-03-03', 0),
(27, 'Full jersey size', 'size', '', '2023-03-03', 0),
(28, 'Full jersey  gender', 'gender', '', '2023-03-03', 0),
(29, 'Half jersey style', 'style', '', '2023-03-03', 0),
(30, 'Half jersey gender', 'gender', '', '2023-03-03', 0),
(31, 'Half jersey colour', 'colour', '', '2023-03-03', 0),
(32, 'Half jersey size', 'size', '', '2023-03-03', 0),
(34, 'Tunic dress style', 'style', '', '2023-03-03', 0),
(35, 'Tunic dress gender', 'gender', '', '2023-03-03', 0),
(36, 'Tunic dress size', 'size', '', '2023-03-03', 0),
(37, 'Tunic dress colour', 'colour', '', '2023-03-03', 0),
(41, 'shorts style', 'style', '', '2023-03-06', 0),
(42, 'short gender', 'gender', '', '2023-03-06', 0),
(43, 'short colour ', 'colour', '', '2023-03-06', 0),
(44, 'short size', 'size', '', '2023-03-06', 0),
(45, 'T-shirts size', 'size', '', '2023-03-06', 0),
(46, 'T-shirt colour', 'colour', '', '2023-03-06', 0),
(47, 'T-shirt gender', 'gender', '', '2023-03-06', 0),
(48, 'T-shirt style', 'style', '', '2023-03-06', 0),
(49, 'Tie', 'style', '', '2024-02-01', 0),
(50, 'Tie gender', 'gender', '', '2024-02-01', 0),
(51, 'Tie size', 'size', '', '2024-02-01', 0),
(52, 'Tie colour', 'colour', '', '2024-02-01', 0),
(57, 'Blouse style', 'style', '', '2024-02-01', 0),
(58, 'Blouse gender', 'gender', '', '2024-02-01', 0),
(59, 'Blouse size', 'size', '', '2024-02-01', 0),
(60, 'Blouse colour', 'colour', '', '2024-02-01', 0),
(61, 'Tracksuit  style', 'style', '', '2024-02-01', 0),
(62, 'Tracksuit  gender', 'gender', '', '2024-02-01', 0),
(63, 'Tracksuit  size', 'size', '', '2024-02-01', 0),
(64, 'Tracksuit  colour', 'colour', '', '2024-02-01', 0),
(65, 'Sunhat style', 'style', '', '2024-02-01', 0),
(66, 'Sunhat gender', 'gender', '', '2024-02-01', 0),
(67, 'Sunhat size', 'size', '', '2024-02-01', 0),
(68, 'Sunhat colour', 'colour', '', '2024-02-01', 0),
(69, 'Skirt style', 'style', '', '2024-02-01', 0),
(70, 'Skirt gender', 'gender', '', '2024-02-01', 0),
(71, 'Skirt size', 'size', '', '2024-02-01', 0),
(72, 'Skirt colour', 'colour', '', '2024-02-01', 0),
(73, ' Waistcoat style', 'style', '', '2024-02-01', 0),
(74, 'Waistcoat gender', 'gender', '', '2024-02-01', 0),
(75, 'Waistcoat size ', 'size', '', '2024-02-01', 0),
(76, 'Waistcoat colour', 'colour', '', '2024-02-01', 0),
(77, 'Bib Apron style', 'style', '', '2024-02-01', 0),
(78, 'Bib Apron gender', 'gender', '', '2024-02-01', 0),
(79, 'Bib Apron size', 'size', '', '2024-02-01', 0),
(80, 'Bib Apron colour', 'colour', '', '2024-02-01', 0),
(81, 'Bag style', 'style', '', '2024-02-01', 0),
(82, 'Bag gender', 'gender', '', '2024-02-01', 0),
(83, 'Bag size', 'size', '', '2024-02-01', 0),
(84, 'Bag colour', 'colour', '', '2024-02-01', 0),
(85, 'Satchel style', 'style', '', '2024-02-01', 0),
(86, 'Satchel gender', 'gender', '', '2024-02-01', 0),
(87, 'Satchel size', 'size', '', '2024-02-01', 0),
(88, 'Satchel colour', 'colour', '', '2024-02-01', 0),
(89, 'Socks style', 'style', '', '2024-02-01', 0),
(90, 'Socks gender', 'gender', '', '2024-02-01', 0),
(91, 'Socks size', 'size', '', '2024-02-01', 0),
(92, 'Socks  colour', 'colour', '', '2024-02-01', 0),
(93, 'Hat style', 'style', '', '2024-02-01', 0),
(94, 'Hat gender', 'gender', '', '2024-02-01', 0),
(95, 'Hat size', 'size', '', '2024-02-01', 0),
(96, 'Hat colour', 'colour', '', '2024-02-01', 0),
(97, 'Costume style', 'style', '', '2024-02-01', 0),
(98, 'Costume gender', 'gender', '', '2024-02-01', 0),
(99, 'Costume size', 'size', '', '2024-02-01', 0),
(100, 'Costume colour', 'colour', '', '2024-02-01', 0),
(101, 'Trunk style', 'style', '', '2024-02-01', 0),
(102, 'Trunk gender', 'gender', '', '2024-02-01', 0),
(103, 'Trunk size', 'size', '', '2024-02-01', 0),
(104, 'Trunk colour', 'colour', '', '2024-02-01', 0),
(105, 'Sweater style', 'style', '', '2024-02-02', 0),
(106, 'Sweater gender', 'gender', '', '2024-02-02', 0),
(107, 'Sweater size', 'size', '', '2024-02-02', 0),
(108, 'Sweater colour', 'colour', '', '2024-02-02', 0),
(109, 'Cap style', 'style', '', '2024-02-02', 0),
(110, 'Cap gender', 'gender', '', '2024-02-02', 0),
(111, 'Cap  size', 'size', '', '2024-02-02', 0),
(112, 'Cap colour', 'colour', '', '2024-02-02', 0),
(113, 'All', 'gender', '', '2024-02-02', 0),
(114, 'Elmaz style', 'style', '', '2024-02-08', 0),
(115, 'Elmaz gender', 'gender', '', '2024-02-08', 0),
(116, 'Elmaz size', 'size', '', '2024-02-08', 0),
(117, 'Elmaz colour', 'colour', '', '2024-02-08', 0);

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

--
-- Stand-in structure for view `uniform_summary`
-- (See below for the actual view)
--
CREATE TABLE `uniform_summary` (
`qnty_in` decimal(46,0)
,`qnty_out` decimal(46,0)
,`quantity` decimal(65,0)
);

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

--
-- Table structure for table `uniform_values`
--

CREATE TABLE `uniform_values` (
  `id` int(11) NOT NULL,
  `values` varchar(200) NOT NULL,
  `description` varchar(200) NOT NULL,
  `groups` varchar(200) NOT NULL,
  `created_at` varchar(200) NOT NULL,
  `is_active` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `uniform_values`
--

INSERT INTO `uniform_values` (`id`, `values`, `description`, `groups`, `created_at`, `is_active`) VALUES
(41, 'White', 'White', 'T-shirt colour', '2024-02-01', 0),
(42, 'Yellow', 'Yellow', 'T-shirt colour', '2024-02-01', 0),
(43, 'Red', 'Red', 'T-shirt colour', '2024-02-01', 0),
(44, '20', 'White T-shirts', 'T-shirts size', '2024-02-01', 0),
(45, '22', 'White T-shirts', 'T-shirts size', '2024-02-01', 0),
(46, '24', 'White T-shirts', 'T-shirts size', '2024-02-01', 0),
(47, '26', 'White T-shirts', 'T-shirts size', '2024-02-01', 0),
(48, '28', 'White T-shirts', 'T-shirts size', '2024-02-01', 0),
(49, '30', 'White T-shirts', 'T-shirts size', '2024-02-01', 0),
(50, '32', 'White T-shirts', 'T-shirts size', '2024-02-01', 0),
(51, '34', 'White T-shirts', 'T-shirts size', '2024-02-01', 0),
(52, '36', 'White T-shirts', 'T-shirts size', '2024-02-01', 0),
(53, '20', 'YellowT-shirts', 'T-shirts size', '2024-02-01', 0),
(54, '22', 'YellowT-shirts', 'T-shirts size', '2024-02-01', 0),
(55, '24', 'YellowT-shirts', 'T-shirts size', '2024-02-01', 0),
(56, '26', 'YellowT-shirts', 'T-shirts size', '2024-02-01', 0),
(57, '28', 'YellowT-shirts', 'T-shirts size', '2024-02-01', 0),
(58, '30', 'YellowT-shirts', 'T-shirts size', '2024-02-01', 0),
(59, '32', 'YellowT-shirts', 'T-shirts size', '2024-02-01', 0),
(60, '34', 'YellowT-shirts', 'T-shirts size', '2024-02-01', 0),
(61, '36', 'YellowT-shirts', 'T-shirts size', '2024-02-01', 0),
(62, '20', 'Red-shirts', 'T-shirts size', '2024-02-01', 0),
(63, '22', 'Red-shirts', 'T-shirts size', '2024-02-01', 0),
(64, '24', 'Red-shirts', 'T-shirts size', '2024-02-01', 0),
(65, '26', 'Red-shirts', 'T-shirts size', '2024-02-01', 0),
(66, '28', 'Red-shirts', 'T-shirts size', '2024-02-01', 0),
(67, '30', 'Red-shirts', 'T-shirts size', '2024-02-01', 0),
(68, '32', 'Red-shirts', 'T-shirts size', '2024-02-01', 0),
(69, '34', 'Red-shirts', 'T-shirts size', '2024-02-01', 0),
(70, '36', 'Red-shirts', 'T-shirts size', '2024-02-01', 0),
(71, 'White', 'white', 'Shirt color', '2024-02-01', 0),
(72, 'Short Sleeved', 'Short Sleeved ', 'Shirt style', '2024-02-01', 0),
(73, 'Long Sleeeved shirt', 'Long Sleeeved shirt', 'Shirt style', '2024-02-01', 0),
(74, 'Blue', 'Blue', 'short colour ', '2024-02-01', 0),
(75, 'Grey', 'Grey', 'short colour ', '2024-02-01', 0),
(76, 'Navy Blue', 'Navy Blue', 'short colour ', '2024-02-01', 0),
(77, 'Sports short', 'Sports short', 'shorts style', '2024-02-01', 0),
(78, '18', 'Blue Sport short', 'short size', '2024-02-01', 0),
(79, '20', 'Blue Sport short', 'short size', '2024-02-01', 0),
(80, '22', 'Blue Sport short', 'short size', '2024-02-01', 0),
(81, '24', 'Blue Sport short', 'short size', '2024-02-01', 0),
(82, '26', 'Blue Sport short', 'short size', '2024-02-01', 0),
(83, '28', 'Blue Sport short', 'short size', '2024-02-01', 0),
(84, '30', 'Blue Sport short', 'short size', '2024-02-01', 0),
(85, '32', 'Blue Sport short', 'short size', '2024-02-01', 0),
(86, '34', 'Blue Sport short', 'short size', '2024-02-01', 0),
(87, '36', 'Blue Sport short', 'short size', '2024-02-01', 0),
(88, '38', 'Blue Sport short', 'short size', '2024-02-01', 0),
(89, '18', 'Grey short', 'short size', '2024-02-01', 0),
(90, '20', 'Grey short', 'short size', '2024-02-01', 0),
(91, '22', 'Grey short', 'short size', '2024-02-01', 0),
(92, '24', 'Grey short', 'short size', '2024-02-01', 0),
(93, '26', 'Grey short', 'short size', '2024-02-01', 0),
(94, '28', 'Grey short', 'short size', '2024-02-01', 0),
(95, '30', 'Grey short', 'short size', '2024-02-01', 0),
(96, '32', 'Grey short', 'short size', '2024-02-01', 0),
(97, '34', 'Grey short', 'short size', '2024-02-01', 0),
(98, '36', 'Grey short', 'short size', '2024-02-01', 0),
(99, '38', 'Grey short', 'short size', '2024-02-01', 0),
(100, '24', 'White Long-sleeved shirts', 'Shirt size', '2024-02-01', 0),
(101, '26', 'White Long-sleeved shirts', 'Shirt size', '2024-02-01', 0),
(102, '28', 'White Long-sleeved shirts', 'Shirt size', '2024-02-01', 0),
(103, '30', 'White Long-sleeved shirts', 'Shirt size', '2024-02-01', 0),
(104, '32', 'White Long-sleeved shirts', 'Shirt size', '2024-02-01', 0),
(105, '34', 'White Long-sleeved shirts', 'Shirt size', '2024-02-01', 0),
(106, '36', 'White Long-sleeved shirts', 'Shirt size', '2024-02-01', 0),
(107, '38', 'White Long-sleeved shirts', 'Shirt size', '2024-02-01', 0),
(108, 'Tunic dress', 'Tunic dress', 'Tunic dress style', '2024-02-01', 0),
(109, '18', 'Tunic dress', 'Tunic dress size', '2024-02-01', 0),
(110, '20', 'Tunic dress', 'Tunic dress size', '2024-02-01', 0),
(111, '22', 'Tunic dress', 'Tunic dress size', '2024-02-01', 0),
(112, '24', 'Tunic dress', 'Tunic dress size', '2024-02-01', 0),
(113, '26', 'Tunic dress', 'Tunic dress size', '2024-02-01', 0),
(114, '28', 'Tunic dress', 'Tunic dress size', '2024-02-01', 0),
(115, '30', 'Tunic dress', 'Tunic dress size', '2024-02-01', 0),
(116, 'White', 'White', 'Blouse colour', '2024-02-01', 0),
(117, '18', 'White Blouse', 'Blouse size', '2024-02-01', 0),
(118, '20', 'White Blouse', 'Blouse size', '2024-02-01', 0),
(119, '22', 'White Blouse', 'Blouse size', '2024-02-01', 0),
(120, '24', 'White Blouse', 'Blouse size', '2024-02-01', 0),
(121, '26', 'White Blouse', 'Blouse size', '2024-02-01', 0),
(122, '28', 'White Blouse', 'Blouse size', '2024-02-01', 0),
(123, '30', 'White Blouse', 'Blouse size', '2024-02-01', 0),
(124, 'Navy Blue', 'Navy Blue', 'Half jersey colour', '2024-02-01', 0),
(125, 'Navy Blue', 'Navy Blue', 'Full jersey  colour', '2024-02-01', 0),
(126, 'Half Jersey', 'Half Jersey', 'Half jersey style', '2024-02-01', 0),
(127, 'Full Jersey', 'Full Jersey', 'Full jersey style', '2024-02-01', 0),
(128, '18', 'Half Jersey', 'Half jersey size', '2024-02-01', 0),
(129, '20', 'Half Jersey', 'Half jersey size', '2024-02-01', 0),
(130, '22', 'Half Jersey', 'Half jersey size', '2024-02-01', 0),
(131, '24', 'Half Jersey', 'Half jersey size', '2024-02-01', 0),
(132, '26', 'Half Jersey', 'Half jersey size', '2024-02-01', 0),
(133, '28', 'Half Jersey', 'Half jersey size', '2024-02-01', 0),
(134, '30', 'Half Jersey', 'Half jersey size', '2024-02-01', 0),
(135, '32', 'Half Jersey', 'Half jersey size', '2024-02-01', 0),
(136, '34', 'Half Jersey', 'Half jersey size', '2024-02-01', 0),
(137, '36', 'Half Jersey', 'Half jersey size', '2024-02-01', 0),
(138, '18', 'Full Jersey', 'Full jersey size', '2024-02-01', 0),
(139, '20', 'Full Jersey', 'Full jersey size', '2024-02-01', 0),
(140, '22', 'Full Jersey', 'Full jersey size', '2024-02-01', 0),
(141, '24', 'Full Jersey', 'Full jersey size', '2024-02-01', 0),
(142, '26', 'Full Jersey', 'Full jersey size', '2024-02-01', 0),
(143, '28', 'Full Jersey', 'Full jersey size', '2024-02-01', 0),
(144, '30', 'Full Jersey', 'Full jersey size', '2024-02-01', 0),
(145, '32', 'Full Jersey', 'Full jersey size', '2024-02-01', 0),
(146, '34', 'Full Jersey', 'Full jersey size', '2024-02-01', 0),
(147, '36', 'Full Jersey', 'Half jersey size', '2024-02-01', 0),
(148, '38', 'Full Jersey', 'Full jersey size', '2024-02-01', 0),
(149, 'Navy Blue', 'Navy Blue', 'Tracksuit  colour', '2024-02-01', 0),
(150, '18', 'Navy Blue Tracksuit', 'Tracksuit  size', '2024-02-01', 0),
(151, '20', 'Navy Blue Tracksuit', 'Tracksuit  size', '2024-02-01', 0),
(152, '22', 'Navy Blue Tracksuit', 'Tracksuit  size', '2024-02-01', 0),
(153, '24', 'Navy Blue Tracksuit', 'Tracksuit  size', '2024-02-01', 0),
(154, '26', 'Navy Blue Tracksuit', 'Tracksuit  size', '2024-02-01', 0),
(155, '28', 'Navy Blue Tracksuit', 'Tracksuit  size', '2024-02-01', 0),
(156, '30', 'Navy Blue Tracksuit', 'Tracksuit  size', '2024-02-01', 0),
(157, '32', 'Navy Blue Tracksuit', 'Tracksuit  size', '2024-02-01', 0),
(158, '34', 'Navy Blue Tracksuit', 'Tracksuit  size', '2024-02-01', 0),
(159, '36', 'Navy Blue Tracksuit', 'Tracksuit  size', '2024-02-01', 0),
(160, '38', 'Navy Blue Tracksuit', 'Tracksuit  size', '2024-02-01', 0),
(161, 'English', 'Sunhat', 'Sunhat style', '2024-02-01', 0),
(162, 'Khakhi', 'English Khakhi sunhat', 'Sunhat colour', '2024-02-01', 0),
(163, 'Grey', 'Grey', 'Skirt colour', '2024-02-01', 0),
(164, '24', 'Grey Skirt', 'Skirt size', '2024-02-01', 0),
(165, '26', 'Grey Skirt', 'Skirt size', '2024-02-01', 0),
(166, '28', 'Grey Skirt', 'Skirt size', '2024-02-01', 0),
(167, '30', 'Grey Skirt', 'Skirt size', '2024-02-01', 0),
(168, '32', 'Grey Skirt', 'Skirt size', '2024-02-01', 0),
(169, '34', 'Grey Skirt', 'Skirt size', '2024-02-01', 0),
(170, 'English ', 'English', ' Waistcoat style', '2024-02-02', 0),
(171, 'Khakhi', 'English waistcoat', 'Waistcoat colour', '2024-02-02', 0),
(172, 'Bib ', 'Apron', 'Bib Apron style', '2024-02-02', 0),
(173, 'Book Bag', 'Book Bag', 'Bag style', '2024-02-02', 0),
(174, 'Sports Bag', 'Sports Bag', 'Bag style', '2024-02-02', 0),
(175, 'Navy Blue', 'Navy Blue', 'Bag colour', '2024-02-02', 0),
(176, 'School Satchel', 'School Satchel', 'Satchel style', '2024-02-02', 0),
(177, 'Navy Blue', 'Navy Blue School Satchel', 'Satchel colour', '2024-02-02', 0),
(178, 'White Socks', 'White Socks', 'Socks  colour', '2024-02-02', 0),
(179, 'Grey Socks', 'Grey Socks', 'Socks  colour', '2024-02-02', 0),
(180, 'Navy Blue', 'Navy Blue Blazer', 'Blazer colour', '2024-02-02', 0),
(181, '20', 'Navy Blue Blazer', 'Blazer size', '2024-02-02', 0),
(182, '22', 'Navy Blue Blazer', 'Blazer size', '2024-02-02', 0),
(183, '24', 'Navy Blue Blazer', 'Blazer size', '2024-02-02', 0),
(184, '26', 'Navy Blue Blazer', 'Blazer size', '2024-02-02', 0),
(185, '28', 'Navy Blue Blazer', 'Blazer size', '2024-02-02', 0),
(186, '30', 'Navy Blue Blazer', 'Blazer size', '2024-02-02', 0),
(187, '32', 'Navy Blue Blazer', 'Blazer size', '2024-02-02', 0),
(188, '34', 'Navy Blue Blazer', 'Blazer size', '2024-02-02', 0),
(189, 'Tie', 'Tie', 'Tie', '2024-02-02', 0),
(190, 'Khakhi', 'Khakhi Hat', 'Hat colour', '2024-02-02', 0),
(191, 'Swimming Costume', 'Swimming Costume', 'Costume style', '2024-02-02', 0),
(192, 'Swimming Trunk', 'Swimming Trunk', 'Trunk style', '2024-02-02', 0),
(193, 'Navy Blue', 'Navy Blue Sweater', 'Sweater colour', '2024-02-02', 0),
(194, 'Blue ', 'Blue School Lunch Box Bag', 'Bag colour', '2024-02-02', 0),
(195, 'Luch Box Bag', 'Blue School Lunch Box Bag', 'Bag style', '2024-02-02', 0),
(196, 'Swimming Cap', 'Swimming Cap', 'Cap style', '2024-02-02', 0),
(197, 'V-Neck ', 'Navy Blue Jersey', 'Half jersey style', '2024-02-02', 0),
(198, 'Navy Blue ', 'V-Neck Navy Blue Jersey', 'Half jersey colour', '2024-02-02', 0),
(199, 'All', 'All', 'All', '2024-02-02', 0),
(201, 'Golf T-shirt', 'Golf T-shirt', 'T-shirt style', '2024-02-02', 0),
(202, 'Short', 'short', 'shorts style', '2024-02-02', 0),
(203, 'Girls Tunic Dress', 'Girls Tunic Dress', 'Tunic dress gender', '2024-02-02', 0),
(204, 'Girls Blouse', 'Girls Blouse', 'Blouse gender', '2024-02-02', 0),
(205, 'Boys Waistcoat', 'Boys Waistcoat', 'Waistcoat gender', '2024-02-02', 0),
(206, 'Boys Costume', 'Boys Costume', 'Costume gender', '2024-02-02', 0),
(207, 'Boys Trunk', 'Boys Trunk', 'Trunk gender', '2024-02-02', 0),
(208, 'Complete Tracksuit', 'Complete Tracksuit', 'Tracksuit  style', '2024-02-05', 0),
(209, 'Skirt ', 'Skirt', 'Skirt gender', '2024-02-05', 0),
(210, 'Girls', 'Girls', 'Skirt gender', '2024-02-05', 0),
(211, 'Blazer', 'Blazer', 'Blazer style', '2024-02-05', 0),
(212, 'Blue Elmaz  logo', 'Blue Elmaz  logo', 'Elmaz colour', '2024-02-08', 0),
(213, 'long Course Elmaz ', 'long Course Elmaz ', 'Elmaz style', '2024-02-08', 0),
(214, '30 Courses Elmaz ', '30 Courses Elmaz ', 'Elmaz size', '2024-02-08', 0),
(215, 'All Elmaz', 'All Elmaz', 'Elmaz gender', '2024-02-08', 0);

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

--
-- Table structure for table `unifreceipting`
--

CREATE TABLE `unifreceipting` (
  `id` int(11) NOT NULL,
  `student_id` varchar(255) DEFAULT NULL,
  `rec` varchar(25) NOT NULL,
  `created_date` date NOT NULL,
  `gl_account` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `inv_number` varchar(255) DEFAULT NULL,
  `amount` decimal(11,0) DEFAULT NULL,
  `currency` varchar(40) NOT NULL,
  `discount` int(11) NOT NULL,
  `total_amount` decimal(10,0) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `unifreceipttemp`
--

CREATE TABLE `unifreceipttemp` (
  `id` int(11) NOT NULL,
  `student_id` varchar(255) DEFAULT NULL,
  `rec` varchar(25) NOT NULL,
  `created_date` date NOT NULL,
  `gl_account` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `inv_number` varchar(255) DEFAULT NULL,
  `amount` decimal(11,0) DEFAULT NULL,
  `currency` varchar(40) NOT NULL,
  `discount` int(11) NOT NULL,
  `total_amount` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `unifreceipttemp`
--

INSERT INTO `unifreceipttemp` (`id`, `student_id`, `rec`, `created_date`, `gl_account`, `description`, `inv_number`, `amount`, `currency`, `discount`, `total_amount`) VALUES
(1, 'STM2231', 'REC0001', '2024-12-28', 'TESTING FEES ', 'TESING THE INSERT', 'INV0000283', 12, 'USD', 0, 12),
(2, 'stm11233', 'REC0002', '2024-12-29', 'Creditors', 'testing the view file', 'INV0003', 23, 'USD', 3, 20);

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

--
-- Table structure for table `unif_stock_level`
--

CREATE TABLE `unif_stock_level` (
  `id` int(11) NOT NULL,
  `itemcode` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `warehouse` varchar(255) NOT NULL,
  `qnty_on_hand` int(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `unif_stock_level`
--

INSERT INTO `unif_stock_level` (`id`, `itemcode`, `description`, `warehouse`, `qnty_on_hand`) VALUES
(1, 'WT20', 'White T-shirt', 'Storeroom', 2123),
(2, 'WT24', 'White T-shirt', 'Storeroom', 90),
(3, 'WT26', 'White T-shirt', 'Storeroom', 20),
(4, 'WT22', 'White T-shirt', 'Storeroom', 20),
(5, 'WT28', 'White T-shirt', 'Storeroom', 20),
(6, 'WT30', 'White T-shirt', 'Storeroom', 12),
(7, 'WT32', 'White T-shirt', 'Storeroom', 4),
(8, 'WT34', 'White T-shirt', 'Storeroom', 3),
(9, 'WT36', 'White T-shirt', 'Storeroom', 3),
(10, 'YT20', 'Yellow T-shirt', 'Storeroom', 20),
(11, 'YT24', 'Yellow T-shirt', 'Storeroom', 20),
(12, 'YT22', 'Yellow T-shirt', 'Storeroom', 20),
(13, 'YT26', 'Yellow T-shirt', 'Storeroom', 21),
(14, 'YT28', 'Yellow T-shirt', 'Storeroom', 19),
(15, 'YT30', 'Yellow T-shirt', 'Storeroom', 10),
(16, 'YT32', 'Yellow T-shirt', 'Storeroom', 4),
(17, 'YT34', 'Yellow T-shirt', 'Storeroom', 3),
(18, 'YT36', 'Yellow T-shirt', 'Storeroom', 3),
(19, 'WLSS24', 'White Long Sleeved-Shirts', 'Storeroom', 20),
(20, 'WLSS26', 'White Long Sleeved-Shirts', 'Storeroom', 20),
(21, 'WLSS28', 'White Long Sleeved-Shirts', 'Storeroom', 20),
(22, 'WLSS30', 'White Long Sleeved-Shirts', 'Storeroom', 20),
(23, 'WLSS32', 'White Long Sleeved-Shirts', 'Storeroom', 20),
(24, 'WLSS34', 'White Long Sleeved-Shirts', 'Storeroom', 14),
(25, 'WLSS36', 'White Long Sleeved-Shirts', 'Storeroom', 4),
(26, 'WLSS38', 'White Long Sleeved-Shirts', 'Storeroom', 2),
(27, 'BSS18', 'Blue Sport Short', 'Storeroom', 10),
(28, 'BSS20', 'Blue Sport Short', 'Storeroom', 10),
(29, 'BSS22', 'Blue Sport Short', 'Storeroom', 12),
(30, 'BSS24', 'Blue Sport Short', 'Storeroom', 11),
(31, 'BSS26', 'Blue Sport Short', 'Storeroom', 11),
(32, 'BSS28', 'Blue Sport Short', 'Storeroom', 22),
(33, 'BSS30', 'Blue Sport Short', 'Storeroom', 22),
(34, 'BSS32', 'Blue Sport Short', 'Storeroom', 17),
(35, 'BSS34', 'Blue Sport Short', 'Storeroom', 2),
(36, 'BSS36', 'Blue Sport Short', 'Storeroom', 2),
(37, 'BSS38', 'Blue Sport Short', 'Storeroom', 2),
(38, 'GSHT18', 'Grey Short', 'Storeroom', 15),
(39, 'GSHT20', 'Grey Short', 'Storeroom', 20),
(40, 'GSHT22', 'Grey Short', 'Storeroom', 20),
(41, 'GSHT24', 'Grey Short', 'Storeroom', 18),
(42, 'GSHT26', 'Grey Short', 'Storeroom', 15),
(43, 'GSHT28', 'Grey Short', 'Storeroom', 10),
(44, 'GSHT30', 'Grey Short', 'Storeroom', 11),
(45, 'GSHT32', 'Grey Short', 'Storeroom', 4),
(46, 'GSHT34', 'Grey Short', 'Storeroom', 3),
(47, 'GSHT36', 'Grey Short', 'Storeroom', 2),
(48, 'GSHT38', 'Grey Short', 'Storeroom', 2),
(49, 'WSSS', 'White Short Sleeved shirts', 'Storeroom', 20),
(50, 'WSSS26', 'White Short Sleeved shirts', 'Storeroom', 20),
(51, 'WSSS28', 'White Short Sleeved shirts', 'Storeroom', 20),
(52, 'WSSS30', 'White Short Sleeved shirts', 'Storeroom', 20),
(53, 'WSSS32', 'White Short Sleeved shirts', 'Storeroom', 20),
(54, 'WSSS34', 'White Short Sleeved shirt', 'Storeroom', 20),
(55, 'WSSS36', 'White Short Sleeved shirt', 'Storeroom', 3),
(56, 'WSSS38', 'White Short Sleeved shirt', 'Storeroom', 2),
(57, 'TD18', 'Tunic Dress', 'Storeroom', 20),
(58, 'TD20', 'Tunic Dress', 'Storeroom', 15),
(59, 'TD22', 'Tunic Dress', 'Storeroom', 15),
(60, 'TD24', 'Tunic Dress', 'Storeroom', 15),
(61, 'TD26', 'Tunic Dress', 'Storeroom', 5),
(62, 'TD28', 'Tunic Dress', 'Storeroom', 5),
(63, 'TD30', 'Tunic Dress', 'Storeroom', 0),
(64, 'WB18', 'White Blouse', 'Storeroom', 20),
(65, 'WB20', 'White Blouse', 'Storeroom', 15),
(66, 'WB22', 'White Blouse', 'Storeroom', 15),
(67, 'WB24', 'White Blouse', 'Storeroom', 15),
(68, 'WB26', 'White Blouse', 'Storeroom', 5),
(69, 'WB28', 'White Blouse', 'Storeroom', 5),
(70, 'WB30', 'White Blouse', 'Storeroom', 0),
(71, 'HJ18', 'Half Jersey', 'Storeroom', 1),
(72, 'HJ20', 'Half Jersey', 'Storeroom', 14),
(73, 'HJ22', 'Half Jersey', 'Storeroom', 15),
(74, 'HJ24', 'Half Jersey', 'Storeroom', 29),
(75, 'HJ26', 'Half Jersey', 'Storeroom', 19),
(76, 'HJ28', 'Half Jersey', 'Storeroom', 15),
(77, 'HJ30', 'Half Jersey', 'Storeroom', 10),
(78, 'HJ32', 'Half Jersey', 'Storeroom', 11),
(79, 'HJ34', 'Half Jersey', 'Storeroom', 4),
(80, 'HJ36', 'Half Jersey', 'Storeroom', 3),
(81, 'FJ18', 'Full Jersey', 'Storeroom', 1),
(82, 'FJ20', 'Full Jersey', 'Storeroom', 18),
(83, 'FJ22', 'Full Jersey', 'Storeroom', 15),
(84, 'FJ24', 'Full Jersey', 'Storeroom', 25),
(85, 'FJ26', 'Full Jersey', 'Storeroom', 20),
(86, 'FJ28', 'Full Jersey', 'Storeroom', 16),
(87, 'FJ30', 'Full Jersey', 'Storeroom', 11),
(88, 'FJ32', 'Full Jersey', 'Storeroom', 10),
(89, 'FJ34', 'Full Jersey', 'Storeroom', 4),
(90, 'FJ36', 'Full Jersey', 'Storeroom', 3),
(91, 'FJ38', 'Full Jersey', 'Storeroom', 0),
(92, 'RTS20', 'Red T-shirts', 'Storeroom', 20),
(93, 'TRS22', 'Red T-shirts', 'Storeroom', 19),
(94, 'RTS24', 'Red T-shirts', 'Storeroom', 20),
(95, 'RTS26', 'Red T-shirts', 'Storeroom', 26),
(96, 'RTS28', 'Red T-shirts', 'select', 21),
(97, 'RTS30', 'Red T-shirts', 'Storeroom', 10),
(98, 'RTS32', 'Red T-shirts', 'Storeroom', 4),
(99, 'RTS34', 'Red T-shirts', 'Storeroom', 3),
(100, 'RTS36', 'Red T-shirts', 'Storeroom', 3),
(101, 'TRS18', 'Tracksuit', 'Storeroom', 15),
(102, 'TRS20', 'Tracksuit', 'Storeroom', 16),
(103, 'TRS22', 'Tracksuit', 'Storeroom', 21),
(104, 'TRS24', 'Tracksuit', 'Storeroom', 26),
(105, 'TRS26', 'Tracksuit', 'Storeroom', 15),
(106, 'TRS28', 'Tracksuit', 'Storeroom', 16),
(107, 'TRS30', 'Tracksuit', 'Storeroom', 7),
(108, 'TRS32', 'Tracksuit', 'Storeroom', 5),
(109, 'TRS34', 'Tracksuit', 'Storeroom', 4),
(110, 'TRS36', 'Tracksuit', 'Storeroom', 3),
(111, 'TRS38', 'Tracksuit', 'Storeroom', 1),
(112, 'GRS24', 'Grey Skirt', 'Storeroom', 10),
(113, 'GRS26', 'Grey Skirt', 'Storeroom', 10),
(114, 'GRS28', 'Grey Skirt', 'Storeroom', 10),
(115, 'GRS30', 'Grey Skirt', 'Storeroom', 5),
(116, 'GRS32', 'Grey Skirt', 'Storeroom', 4),
(117, 'GRS34', 'Grey Skirt', 'Storeroom', 4),
(118, 'BLZ20', 'Blazer', 'Storeroom', 2),
(119, 'BLZ22', 'Blazer', 'Storeroom', 2),
(120, 'BLZ24', 'Blazer', 'Storeroom', 10),
(121, 'BLZ26', 'Blazer', 'Storeroom', 7),
(122, 'BLZ28', 'Blazer', 'Storeroom', 3),
(123, 'BLZ30', 'Blazer', 'Storeroom', 2),
(124, 'BLZ32', 'Blazer', 'Storeroom', 1),
(125, 'BLZ34', 'Blazer', 'Storeroom', 1),
(126, 'ELMAZ001', 'ELMAZ BUSINESS', 'Storeroom', 10);

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

--
-- Table structure for table `unif_stock_mgnt`
--

CREATE TABLE `unif_stock_mgnt` (
  `id` int(11) NOT NULL,
  `created_date` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `itemcode` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `description` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `originalqnty` varchar(255) NOT NULL,
  `quantity` varchar(255) NOT NULL,
  `qnty_on_hand` varchar(255) DEFAULT NULL,
  `cost_price` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `selling_price` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `total_cost_price` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `total_selling_price` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `profit_loss` int(255) DEFAULT NULL,
  `exp_total_cost` int(255) DEFAULT NULL,
  `exp_total_selling` int(255) DEFAULT NULL,
  `exp_profit_loss` int(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `unif_stock_mgnt`
--

INSERT INTO `unif_stock_mgnt` (`id`, `created_date`, `itemcode`, `description`, `originalqnty`, `quantity`, `qnty_on_hand`, `cost_price`, `selling_price`, `total_cost_price`, `total_selling_price`, `profit_loss`, `exp_total_cost`, `exp_total_selling`, `exp_profit_loss`) VALUES
(1, '2025-01-02', 'WT34', 'White T-shirt', '3', '23', '-20', '6', '10', '-120', '-200', -80, -120, -200, -80),
(2, '2025-01-04', 'YT28', 'Yellow T-shirt', '19', '57', '-38', '6', '10', '-228', '-380', -152, -228, -380, -152),
(3, '2025-01-04', 'YT32', 'Yellow T-shirt', '4', '89', '-85', '6', '10', '-510', '-850', -340, -510, -850, -340),
(4, '2025-01-07', 'YT36', 'Yellow T-shirt', '3', '23', '-20', '6', '10', '-120', '-200', -80, -120, -200, -80),
(8, '2025-01-07', 'YT36', 'Yellow T-shirt', '3', '6', '-3', '6', '10', '-18', '-30', -12, -18, -30, -12),
(9, '2025-01-08', 'WT34', 'White T-shirt', '3', '12', '-9', '6', '10', '-54', '-90', -36, -54, -90, -36),
(10, '2025-01-08', 'WT30', 'White T-shirt', '12', '12', '0', '6', '10', '0', '0', 0, 0, 0, 0),
(11, '2025-01-15', 'WT20', 'White T-shirt', '2089', '12', '2077', '7', '19', '14539', '39463', 24924, 14539, 39463, 24924),
(12, '2025-01-15', 'YT30', 'Yellow T-shirt', '10', '13', '-3', '6', '10', '-18', '-30', -12, -18, -30, -12),
(13, '2025-01-15', 'WT26', 'White T-shirt', '20', '2', '18', '6', '10', '108', '180', 72, 108, 180, 72),
(14, '2025-01-15', 'YT34', 'Yellow T-shirt', '3', '21', '-18', '6', '10', '-108', '-180', -72, -108, -180, -72),
(15, '2025-01-16', 'YT20', 'Yellow T-shirt', '20', '13', '7', '6', '10', '42', '70', 28, 42, 70, 28),
(16, '2025-01-16', 'WT20', 'White T-shirt', '2123', '12', '2111', '7', '19', '14777', '40109', 25332, 14777, 40109, 25332),
(17, '2025-01-16', 'YT34', 'Yellow T-shirt', '3', '2', '1', '6', '10', '6', '10', 4, 6, 10, 4),
(18, '2025-01-16', 'YT36', 'Yellow T-shirt', '3', '1', '2', '6', '10', '12', '20', 8, 12, 20, 8),
(19, '2025-01-16', 'YT20', 'Yellow T-shirt', '20', '1', '19', '6', '10', '114', '190', 76, 114, 190, 76),
(20, '2025-01-16', 'WT32', 'White T-shirt', '4', '1', '3', '6', '10', '18', '30', 12, 18, 30, 12),
(21, '2025-02-03', 'YT34', 'Yellow T-shirt', '3', '12', '-9', '6', '10', '-54', '-90', -36, -54, -90, -36),
(22, '2025-02-03', 'WT26', 'White T-shirt', '20', '2', '18', '6', '10', '108', '180', 72, 108, 180, 72),
(23, '2025-02-03', 'WT22', 'White T-shirt', '20', '2', '18', '6', '10', '108', '180', 72, 108, 180, 72),
(24, '2025-02-03', 'WT28', 'White T-shirt', '20', '2', '18', '6', '10', '108', '180', 72, 108, 180, 72),
(25, '2025-02-03', 'YT36', 'Yellow T-shirt', '3', '3', '0', '6', '10', '0', '0', 0, 0, 0, 0),
(26, '2025-02-03', 'YT28', 'Yellow T-shirt', '19', '2', '17', '6', '10', '102', '170', 68, 102, 170, 68),
(27, '2025-02-03', 'WT30', 'White T-shirt', '12', '3', '9', '6', '10', '54', '90', 36, 54, 90, 36),
(28, '2025-02-03', 'YT34', 'Yellow T-shirt', '3', '3', '0', '6', '10', '0', '0', 0, 0, 0, 0),
(29, '2025-02-04', 'YT32', 'Yellow T-shirt', '4', '2', '2', '6', '10', '12', '20', 8, 12, 20, 8),
(30, '2025-02-04', 'YT36', 'Yellow T-shirt', '3', '1', '2', '6', '10', '12', '20', 8, 12, 20, 8),
(31, '2025-02-05', 'WLSS24', 'White Long Sleeved-Shirts', '20', '8', '12', '10', '20', '120', '240', 120, 120, 240, 120);

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

--
-- Table structure for table `unif_stock_mvmnt`
--

CREATE TABLE `unif_stock_mvmnt` (
  `id` int(11) NOT NULL,
  `date` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `itemcode` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `description` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `reference` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `warehouse` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `qnty_in` int(25) DEFAULT NULL,
  `qnty_out` int(25) DEFAULT NULL,
  `balance` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `unif_stock_mvmnt`
--

INSERT INTO `unif_stock_mvmnt` (`id`, `date`, `itemcode`, `description`, `reference`, `warehouse`, `qnty_in`, `qnty_out`, `balance`) VALUES
(1, '2025-01-02', 'WT34', 'White T-shirt', 'REC0001', 'Storeroom', NULL, 23, '-20.00'),
(2, '2025-01-02', 'WT34', 'White T-shirt', 'REC0001', 'Storeroom', NULL, 23, '-20'),
(3, '2025-01-04', 'YT28', 'Yellow T-shirt', 'INV0002', 'Storeroom', NULL, 57, '-38.00'),
(4, '2025-01-04', 'YT28', 'Yellow T-shirt', 'INV0002', 'Storeroom', NULL, 57, '-38'),
(5, '2025-01-04', 'YT32', 'Yellow T-shirt', 'INV0002', 'Storeroom', NULL, 89, '-85.00'),
(6, '2025-01-04', 'YT32', 'Yellow T-shirt', 'INV0002', 'Storeroom', NULL, 89, '-85'),
(7, '2025-01-07', 'YT36', 'Yellow T-shirt', 'INV0003', 'Storeroom', NULL, 23, '-20.00'),
(8, '2025-01-07', 'YT36', 'Yellow T-shirt', 'INV0003', 'Storeroom', NULL, 23, '-20'),
(15, '2025-01-07', 'YT36', 'Yellow T-shirt', 'INV0004', 'Storeroom', NULL, 6, '-3.00'),
(16, '2025-01-07', 'YT36', 'Yellow T-shirt', 'INV0004', 'Storeroom', NULL, 6, '-3'),
(17, '2025-01-08', 'WT34', 'White T-shirt', 'INV0005', 'Storeroom', NULL, 12, '-9.00'),
(18, '2025-01-08', 'WT34', 'White T-shirt', 'INV0005', 'Storeroom', NULL, 12, '-9'),
(19, '2025-01-08', 'WT30', 'White T-shirt', 'INV0006', 'Storeroom', NULL, 12, '0.00'),
(20, '2025-01-08', 'WT30', 'White T-shirt', 'INV0006', 'Storeroom', NULL, 12, '0'),
(21, '2025-01-15', 'WT20', 'White T-shirt', 'INV0007', 'Storeroom', NULL, 12, '2077.00'),
(22, '2025-01-15', 'WT20', 'White T-shirt', 'INV0007', 'Storeroom', NULL, 12, '2077'),
(23, '2025-01-15', 'YT30', 'Yellow T-shirt', 'INV0008', 'Storeroom', NULL, 13, '-3.00'),
(24, '2025-01-15', 'YT30', 'Yellow T-shirt', 'INV0008', 'Storeroom', NULL, 13, '-3'),
(25, '2025-01-15', 'WT26', 'White T-shirt', 'INV0009', 'Storeroom', NULL, 2, '18.00'),
(26, '2025-01-15', 'WT26', 'White T-shirt', 'INV0009', 'Storeroom', NULL, 2, '18'),
(27, '2025-01-15', 'YT34', 'Yellow T-shirt', 'INV00010', 'Storeroom', NULL, 21, '-18.00'),
(28, '2025-01-15', 'YT34', 'Yellow T-shirt', 'INV00010', 'Storeroom', NULL, 21, '-18'),
(29, '2025-01-16', 'YT20', 'Yellow T-shirt', 'INV00011', 'Storeroom', NULL, 13, '7.00'),
(30, '2025-01-16', 'YT20', 'Yellow T-shirt', 'INV00011', 'Storeroom', NULL, 13, '7'),
(31, '2025-01-16', 'WT20', 'testing the ashbook', 'SUP00045', 'Storeroom', 34, NULL, '2123'),
(32, '2025-01-16', 'WT20', 'White T-shirt', 'INV00012', 'Storeroom', NULL, 12, '2111.00'),
(33, '2025-01-16', 'WT20', 'White T-shirt', 'INV00012', 'Storeroom', NULL, 12, '2111'),
(34, '2025-01-16', 'YT34', 'Yellow T-shirt', 'INV00012', 'Storeroom', NULL, 2, '1.00'),
(35, '2025-01-16', 'YT34', 'Yellow T-shirt', 'INV00012', 'Storeroom', NULL, 2, '1'),
(36, '2025-01-16', 'YT36', 'Yellow T-shirt', 'INV00012', 'Storeroom', NULL, 1, '2.00'),
(37, '2025-01-16', 'YT36', 'Yellow T-shirt', 'INV00012', 'Storeroom', NULL, 1, '2'),
(38, '2025-01-16', 'YT20', 'Yellow T-shirt', 'INV00015', 'Storeroom', NULL, 1, '19.00'),
(39, '2025-01-16', 'YT20', 'Yellow T-shirt', 'INV00015', 'Storeroom', NULL, 1, '19'),
(40, '2025-01-16', 'WT32', 'White T-shirt', 'INV00015', 'Storeroom', NULL, 1, '3.00'),
(41, '2025-01-16', 'WT32', 'White T-shirt', 'INV00015', 'Storeroom', NULL, 1, '3'),
(42, '2025-02-03', 'YT34', 'Yellow T-shirt', 'INV00016', 'Storeroom', NULL, 12, '-9.00'),
(43, '2025-02-03', 'YT34', 'Yellow T-shirt', 'INV00016', 'Storeroom', NULL, 12, '-9'),
(44, '2025-02-03', 'WT26', 'White T-shirt', 'INV00018', 'Storeroom', NULL, 2, '18.00'),
(45, '2025-02-03', 'WT26', 'White T-shirt', 'INV00018', 'Storeroom', NULL, 2, '18'),
(46, '2025-02-03', 'WT22', 'White T-shirt', 'INV00020', 'Storeroom', NULL, 2, '18.00'),
(47, '2025-02-03', 'WT22', 'White T-shirt', 'INV00020', 'Storeroom', NULL, 2, '18'),
(48, '2025-02-03', 'WT28', 'White T-shirt', 'INV00021', 'Storeroom', NULL, 2, '18.00'),
(49, '2025-02-03', 'WT28', 'White T-shirt', 'INV00021', 'Storeroom', NULL, 2, '18'),
(50, '2025-02-03', 'YT36', 'Yellow T-shirt', 'INV00022', 'Storeroom', NULL, 3, '0.00'),
(51, '2025-02-03', 'YT36', 'Yellow T-shirt', 'INV00022', 'Storeroom', NULL, 3, '0'),
(52, '2025-02-03', 'YT28', 'Yellow T-shirt', 'INV00027', 'Storeroom', NULL, 2, '17.00'),
(53, '2025-02-03', 'YT28', 'Yellow T-shirt', 'INV00027', 'Storeroom', NULL, 2, '17'),
(54, '2025-02-03', 'WT30', 'White T-shirt', 'INV00039', 'Storeroom', NULL, 3, '9.00'),
(55, '2025-02-03', 'WT30', 'White T-shirt', 'INV00039', 'Storeroom', NULL, 3, '9'),
(56, '2025-02-03', 'YT34', 'Yellow T-shirt', 'INV00040', 'Storeroom', NULL, 3, '0.00'),
(57, '2025-02-03', 'YT34', 'Yellow T-shirt', 'INV00040', 'Storeroom', NULL, 3, '0'),
(58, '2025-02-04', 'YT32', 'Yellow T-shirt', 'INV00087', 'Storeroom', NULL, 2, '2.00'),
(59, '2025-02-04', 'YT32', 'Yellow T-shirt', 'INV00087', 'Storeroom', NULL, 2, '2'),
(60, '2025-02-04', 'YT36', 'Yellow T-shirt', 'INV00088', 'Storeroom', NULL, 1, '2.00'),
(61, '2025-02-04', 'YT36', 'Yellow T-shirt', 'INV00088', 'Storeroom', NULL, 1, '2'),
(62, '2025-02-05', 'WLSS24', 'White Long Sleeved-Shirts', 'INV00093', 'Storeroom', NULL, 8, '12'),
(63, '2025-02-05', 'WLSS24', 'White Long Sleeved-Shirts', 'INV00093', 'Storeroom', NULL, 8, '12.00');

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

--
-- Table structure for table `uni_trans_report`
--

CREATE TABLE `uni_trans_report` (
  `id` int(11) NOT NULL,
  `created_date` date NOT NULL,
  `studentid` int(11) NOT NULL,
  `student_name` varchar(255) NOT NULL,
  `itemcode` varchar(50) NOT NULL,
  `description` varchar(255) NOT NULL,
  `reference` varchar(100) DEFAULT NULL,
  `debit` decimal(10,2) NOT NULL,
  `credit` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `userlog`
--

CREATE TABLE `userlog` (
  `id` int(11) NOT NULL,
  `user` varchar(100) DEFAULT NULL,
  `role` varchar(100) DEFAULT NULL,
  `ipaddress` varchar(100) DEFAULT NULL,
  `user_agent` varchar(500) DEFAULT NULL,
  `login_datetime` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `userlog`
--

INSERT INTO `userlog` (`id`, `user`, `role`, `ipaddress`, `user_agent`, `login_datetime`) VALUES
(0, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-06 13:30:02'),
(1, 'superadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 108.0, Windows 10', '2023-01-10 05:17:20'),
(258, 'superadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 109.0, Windows 10', '2023-02-02 07:56:20'),
(259, 'superadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 109.0, Windows 10', '2023-02-02 12:00:15'),
(260, 'superadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 109.0, Windows 10', '2023-02-03 04:27:12'),
(261, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-03 17:03:41'),
(262, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-03 20:08:40'),
(263, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-06 17:38:07'),
(264, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-07 00:49:30'),
(265, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-07 03:11:54'),
(266, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-07 14:49:06'),
(267, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-07 19:21:49'),
(268, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-08 13:42:36'),
(269, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-09 16:12:51'),
(270, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-10 14:59:20'),
(271, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-12 03:10:13'),
(272, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-12 18:44:10'),
(273, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-13 13:49:17'),
(274, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-13 23:21:25'),
(275, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-14 01:30:15'),
(276, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-14 14:29:38'),
(277, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-02-14 18:21:17'),
(278, 'superadmin@gmail.com', 'Super Admin', '172.20.10.3', 'Chrome 107.0.0.0, Windows 10', '2023-02-14 18:26:55'),
(279, 'superadmin@gmail.com', 'Super Admin', '172.20.10.10', 'Chrome 109.0.0.0, Windows 10', '2023-02-14 18:52:34'),
(280, 'superadmin@gmail.com', 'Super Admin', '172.20.10.10', 'Chrome 109.0.0.0, Windows 10', '2023-02-15 14:36:42'),
(281, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 92.0.4515.131, Windows 10', '2023-02-24 17:48:17'),
(282, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-03-02 17:46:16'),
(283, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-03-02 21:00:02'),
(284, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 109.0.0.0, Windows 10', '2023-03-03 15:55:09'),
(285, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 110.0.0.0, Windows 10', '2023-03-06 14:44:48'),
(288, 'superadmin@gmail.com', 'Super Admin', '::1', 'Chrome 110.0.0.0, Windows 10', '2023-03-10 08:46:10'),
(289, 'superadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 110.0, Windows 10', '2023-03-13 07:10:15'),
(290, 'pjssuperadmin@gmail.com', 'Admin', '127.0.0.1', 'Firefox 110.0, Windows 10', '2023-03-13 08:53:43'),
(291, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 110.0, Windows 10', '2023-03-13 08:53:55'),
(292, 'pjssuperadmin@gmail.com', 'Admin', '127.0.0.1', 'Firefox 110.0, Windows 10', '2023-03-13 09:19:49'),
(293, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 110.0, Windows 10', '2023-03-13 14:19:48'),
(294, 'pjssuperadmin@gmail.com', 'Admin', '127.0.0.1', 'Firefox 110.0, Windows 10', '2023-03-14 06:05:49'),
(295, 'pjssuperadmin@gmail.com', 'Admin', '127.0.0.1', 'Firefox 110.0, Windows 10', '2023-03-14 08:21:48'),
(296, 'pjssuperadmin@gmail.com', 'Admin', '127.0.0.1', 'Firefox 110.0, Windows 10', '2023-03-14 10:40:17'),
(297, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 110.0, Windows 10', '2023-03-16 08:00:25'),
(298, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 110.0, Windows 10', '2023-03-17 08:55:54'),
(299, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 110.0, Windows 10', '2023-03-17 12:57:34'),
(300, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-22 09:24:41'),
(301, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-22 10:08:04'),
(302, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-22 10:47:58'),
(303, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-22 10:48:32'),
(304, 'mssuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 111.0.0.0, Windows 10', '2023-03-22 10:49:33'),
(305, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-22 11:05:58'),
(306, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-22 11:17:28'),
(307, 'mssuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 110.0.0.0, Windows 10', '2023-03-22 11:18:27'),
(308, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-22 11:36:36'),
(309, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-23 10:21:51'),
(310, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-24 06:34:00'),
(311, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-24 08:43:01'),
(312, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-24 12:23:50'),
(313, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-24 12:26:02'),
(314, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-24 12:33:58'),
(315, 'pjssuperadmin@gmail.com', 'Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-25 07:29:32'),
(316, 'pjssuperadmin@gmail.com', 'Admin', '172.22.208.1', 'Firefox 111.0, Windows 10', '2023-03-25 07:35:47'),
(317, 'pjssuperadmin@gmail.com', 'Admin', '192.168.1.3', 'Firefox 111.0, Windows 10', '2023-03-25 08:53:45'),
(318, 'mssuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 110.0.0.0, Windows 10', '2023-03-27 07:17:16'),
(319, 'mssuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 110.0.0.0, Windows 10', '2023-03-27 07:42:17'),
(320, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-27 07:47:40'),
(321, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-27 08:37:41'),
(322, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-27 12:27:46'),
(323, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-28 05:50:43'),
(324, 'pjssuperadmin@gmail.com', 'Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-28 14:20:25'),
(325, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-29 06:40:23'),
(326, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-30 07:13:23'),
(327, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-30 14:08:14'),
(328, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-31 05:35:05'),
(329, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-31 06:39:56'),
(330, 'pjssuperadmin@gmail.com', 'Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-31 06:57:49'),
(331, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-03-31 06:58:18'),
(332, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-01 07:10:43'),
(333, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-03 06:31:29'),
(334, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-03 10:05:59'),
(335, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-03 10:31:37'),
(336, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-03 10:38:56'),
(337, 'mssuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 111.0.0.0, Windows 10', '2023-04-03 10:39:39'),
(338, 'mssuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 111.0.0.0, Windows 10', '2023-04-03 10:40:04'),
(339, 'mssuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 111.0.0.0, Windows 10', '2023-04-03 10:46:03'),
(340, 'mssuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 111.0.0.0, Windows 10', '2023-04-04 05:54:38'),
(341, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-04 05:54:59'),
(342, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-04 06:48:27'),
(343, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-04 07:14:23'),
(344, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-04 11:53:21'),
(345, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-04 14:11:14'),
(346, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-04 14:12:53'),
(347, 'mssuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 111.0.0.0, Windows 10', '2023-04-04 14:25:21'),
(348, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-05 05:55:13'),
(349, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-06 06:01:27'),
(350, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-06 13:40:04'),
(351, 'pjssuperadmin@gmail.com', 'Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-07 07:56:48'),
(352, 'pjssuperadmin@gmail.com', 'Admin', '::1', 'Chrome 68.0.3440.75, Windows 10', '2023-04-11 11:51:42'),
(353, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-12 05:53:21'),
(354, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-13 05:34:48'),
(355, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 111.0, Windows 10', '2023-04-13 12:10:09'),
(356, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 112.0, Windows 10', '2023-04-17 07:19:17'),
(357, 'mssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 112.0, Windows 10', '2023-04-17 11:27:29'),
(358, 'pjssuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 112.0, Windows 10', '2023-04-19 06:15:34'),
(359, 'pjssuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-18 06:55:43'),
(360, 'pjssuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-18 10:40:08'),
(361, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-18 10:58:39'),
(362, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-18 11:00:51'),
(363, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-18 11:02:24'),
(364, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-18 11:04:39'),
(365, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-18 11:13:17'),
(366, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-18 11:18:26'),
(367, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-19 14:21:36'),
(368, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-23 08:52:00'),
(369, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-25 08:40:42'),
(370, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-30 11:18:32'),
(371, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 120.0.0.0, Windows 10', '2024-01-30 14:17:55'),
(372, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-01-31 21:31:13'),
(373, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-01 06:17:07'),
(374, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-02 06:16:29'),
(375, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-02 13:09:15'),
(376, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-05 06:06:35'),
(377, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-05 09:51:58'),
(378, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-06 06:41:59'),
(379, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-06 06:45:08'),
(380, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-06 07:11:57'),
(381, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-06 07:12:18'),
(382, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-06 09:24:56'),
(383, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-07 07:41:45'),
(384, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-07 10:12:39'),
(385, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-08 06:28:33'),
(386, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-08 19:53:42'),
(387, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 121.0.0.0, Windows 10', '2024-02-09 06:17:27'),
(388, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-05 10:31:55'),
(389, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-08 14:24:58'),
(390, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-11 07:00:55'),
(391, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-12 05:29:06'),
(392, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-14 06:52:21'),
(393, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-15 05:47:35'),
(394, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-15 09:24:48'),
(395, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-18 08:47:53'),
(396, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-18 11:06:47'),
(397, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-18 13:05:16'),
(398, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-18 13:07:12'),
(399, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-18 13:07:58'),
(400, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 122.0.0.0, Windows 10', '2024-03-18 13:40:04'),
(401, 'smsuperadmin@gmail.com', 'Super Admin', '102.128.76.92', 'Firefox 125.0, Android', '2024-05-14 16:32:01'),
(402, 'smsuperadmin@gmail.com', 'Super Admin', '196.41.88.235', 'Chrome 122.0.0.0, Android', '2024-05-15 19:28:57'),
(403, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.122', 'Firefox 125.0, Windows 10', '2024-05-16 08:28:52'),
(404, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.52.183', 'Firefox 125.0, Android', '2024-05-16 14:55:52'),
(405, 'smsuperadmin@gmail.com', 'Super Admin', '185.216.33.82', 'Firefox 125.0, Windows 10', '2024-05-16 16:25:54'),
(406, 'smsuperadmin@gmail.com', 'Super Admin', '196.4.80.2', 'Firefox 126.0, Windows 10', '2024-05-16 20:32:18'),
(407, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.157', 'Firefox 125.0, Android', '2024-05-22 04:40:16'),
(408, 'smsuperadmin@gmail.com', 'Super Admin', '196.4.80.2', 'Firefox 127.0, Windows 10', '2024-06-14 15:01:48'),
(409, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.239', 'Chrome 126.0.0.0, Windows 10', '2024-06-19 11:38:08'),
(410, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.239', 'Firefox 127.0, Windows 10', '2024-06-19 11:42:33'),
(411, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.60', 'Firefox 129.0, Windows 10', '2024-08-30 16:07:09'),
(412, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.150', 'Firefox 129.0, Android', '2024-09-06 04:53:10'),
(413, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Chrome 128.0.0.0, Windows 10', '2024-09-16 06:38:10'),
(414, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.28', 'Firefox 130.0, Android', '2024-09-16 06:42:41'),
(415, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Chrome 128.0.0.0, Windows 10', '2024-09-16 07:21:18'),
(416, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Chrome 128.0.0.0, Windows 10', '2024-09-18 14:21:50'),
(417, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-18 14:23:18'),
(418, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.196', 'Firefox 130.0, Windows 10', '2024-09-19 15:32:37'),
(419, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-23 06:21:36'),
(420, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-23 07:10:22'),
(421, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-23 07:20:06'),
(422, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.215', 'Firefox 130.0, Windows 10', '2024-09-23 12:08:09'),
(423, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.63', 'Firefox 130.0, Android', '2024-09-23 15:11:42'),
(424, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.55', 'Firefox 130.0, Windows 10', '2024-09-23 17:19:05'),
(425, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.63', 'Firefox 130.0, Android', '2024-09-23 17:59:08'),
(426, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.52.45', 'Firefox 130.0, Android', '2024-09-24 00:05:29'),
(427, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-24 07:01:30'),
(428, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-24 07:02:24'),
(429, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.146', 'Firefox 130.0, Android', '2024-09-24 09:24:04'),
(430, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.30', 'Firefox 130.0, Windows 10', '2024-09-24 14:06:11'),
(431, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.30', 'Firefox 130.0, Windows 10', '2024-09-24 14:08:33'),
(432, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.23', 'Firefox 130.0, Android', '2024-09-25 07:16:37'),
(433, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.221', 'Firefox 130.0, Windows 10', '2024-09-25 16:43:56'),
(434, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Chrome 129.0.0.0, Windows 10', '2024-09-26 06:18:15'),
(435, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-26 06:18:45'),
(436, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.7', 'Chrome 129.0.0.0, Windows 10', '2024-09-26 07:24:14'),
(437, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.7', 'Firefox 130.0, Windows 10', '2024-09-26 07:24:46'),
(438, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.7', 'Firefox 130.0, Windows 10', '2024-09-26 07:28:05'),
(439, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.52.180', 'Firefox 130.0, Android', '2024-09-26 07:54:11'),
(440, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Chrome 129.0.0.0, Windows 10', '2024-09-26 10:19:09'),
(441, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Chrome 129.0.0.0, Windows 10', '2024-09-26 10:19:26'),
(442, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Chrome 129.0.0.0, Windows 10', '2024-09-26 10:21:59'),
(443, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-26 10:23:56'),
(444, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-26 10:26:01'),
(445, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.50.123', 'Firefox 130.0, Android', '2024-09-26 10:33:20'),
(446, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.101', 'Firefox 130.0, Windows 10', '2024-09-26 11:06:21'),
(447, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.53.153', 'Firefox 130.0, Android', '2024-09-27 08:08:49'),
(448, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.21', 'Firefox 130.0, Android', '2024-09-27 10:23:39'),
(449, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-27 10:31:51'),
(450, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-27 11:29:13'),
(451, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-27 11:36:15'),
(452, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-27 11:39:52'),
(453, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-09-27 11:48:21'),
(454, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Chrome 128.0.0.0, Android', '2024-09-27 12:01:16'),
(455, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.226', 'Firefox 130.0, Windows 10', '2024-09-28 15:31:07'),
(456, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.163', 'Firefox 130.0, Android', '2024-09-30 08:56:43'),
(457, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.167', 'Firefox 130.0, Android', '2024-10-04 03:33:48'),
(458, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.8', 'Firefox 131.0, Windows 10', '2024-10-05 13:14:51'),
(459, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-10-08 10:57:53'),
(460, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-10-08 11:01:31'),
(461, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Chrome 129.0.0.0, Windows 10', '2024-10-08 11:02:24'),
(462, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.189', 'Chrome 129.0.0.0, Android', '2024-10-08 11:20:52'),
(463, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.189', 'Firefox 130.0, Android', '2024-10-08 11:21:35'),
(464, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-10-08 11:52:47'),
(465, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 130.0, Windows 10', '2024-10-08 12:37:55'),
(466, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.52.188', 'Chrome 129.0.0.0, Android', '2024-10-08 14:03:30'),
(467, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.52.188', 'Firefox 130.0, Android', '2024-10-08 14:07:44'),
(468, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.52.188', 'Chrome 129.0.0.0, Android', '2024-10-08 14:15:04'),
(469, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.55', 'Firefox 130.0, Windows 10', '2024-10-09 05:37:37'),
(470, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Firefox 131.0, Windows 10', '2024-10-09 06:18:27'),
(471, 'smsuperadmin@gmail.com', 'Super Admin', '197.211.216.11', 'Chrome 129.0.0.0, Android', '2024-10-09 06:22:48'),
(472, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.218', 'Firefox 131.0, Windows 10', '2024-10-09 06:50:22'),
(473, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.218', 'Firefox 131.0, Windows 10', '2024-10-09 07:04:05'),
(474, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.218', 'Chrome 129.0.0.0, Windows 10', '2024-10-09 07:06:46'),
(475, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.173', 'Firefox 131.0, Android', '2024-10-15 11:31:41'),
(476, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.79', 'Firefox 131.0, Windows 10', '2024-10-15 11:54:18'),
(477, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.111', 'Firefox 131.0, Windows 10', '2024-10-16 15:09:40'),
(478, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.21', 'Firefox 131.0, Android', '2024-10-17 17:50:43'),
(479, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.55.165', 'Firefox 131.0, Android', '2024-10-21 21:47:42'),
(480, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.55.166', 'Chrome 129.0.0.0, Windows 10', '2024-10-22 01:44:52'),
(481, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.55.166', 'Firefox 131.0, Windows 10', '2024-10-22 01:45:48'),
(482, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.52.172', 'Firefox 131.0, Android', '2024-11-03 15:07:25'),
(483, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.134', 'Firefox 132.0, Windows 10', '2024-11-04 07:32:24'),
(484, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.198', 'Firefox 132.0, Windows 10', '2024-11-05 14:44:29'),
(485, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.55.225', 'Firefox 132.0, Android', '2024-11-07 07:56:30'),
(486, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.52.51', 'Firefox 132.0, Android', '2024-11-13 10:47:17'),
(487, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.55.237', 'Chrome 130.0.0.0, Android', '2024-11-16 04:20:35'),
(488, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.55.237', 'Firefox 132.0, Android', '2024-11-16 04:21:27'),
(489, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.106', 'Firefox 132.0, Windows 10', '2024-11-18 10:57:57'),
(490, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.254.82', 'Firefox 132.0, Windows 10', '2024-11-19 11:01:24'),
(491, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.160', 'Chrome 131.0.0.0, Windows 10', '2024-11-19 11:12:58'),
(492, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.255.160', 'Chrome 131.0.0.0, Windows 10', '2024-11-19 11:22:17'),
(493, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.52.63', 'Firefox 132.0, Android', '2024-11-20 00:01:28'),
(494, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.161', 'Firefox 132.0, Windows 10', '2024-11-22 10:27:58'),
(495, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.161', 'Chrome 131.0.0.0, Windows 10', '2024-11-22 11:15:25'),
(496, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.55.161', 'Firefox 132.0, Android', '2024-11-25 10:23:19'),
(497, 'smsuperadmin@gmail.com', 'Super Admin', '77.246.55.166', 'Firefox 132.0, Windows 10', '2024-11-25 11:22:45'),
(498, 'smsuperadmin@gmail.com', 'Super Admin', '197.221.253.163', 'Firefox 132.0, Android', '2024-11-25 14:26:40'),
(499, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-04 16:02:55'),
(500, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 131.0.0.0, Windows 10', '2024-12-04 16:09:11'),
(501, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-07 06:38:31'),
(502, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-09 07:53:09'),
(503, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-10 18:46:10'),
(504, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-11 06:46:22'),
(505, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-12 06:16:32'),
(506, 'smsuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 133.0, Windows 10', '2024-12-12 11:17:17'),
(507, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-13 07:09:12'),
(508, 'smsuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 133.0, Windows 10', '2024-12-13 13:23:04'),
(509, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-14 06:24:50'),
(510, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-16 06:58:15'),
(511, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-16 12:58:17'),
(512, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-17 06:16:55'),
(513, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-17 14:04:55'),
(514, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-18 06:31:31'),
(515, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-19 07:45:00'),
(516, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-20 08:26:30'),
(517, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-21 06:27:33'),
(518, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-27 09:47:54'),
(519, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-28 07:39:37'),
(520, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-29 10:42:54'),
(521, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-29 10:56:45'),
(522, 'smsuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-29 12:06:24'),
(523, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-29 12:10:06'),
(524, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-29 12:11:26'),
(525, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2024-12-30 09:34:39'),
(526, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-02 10:07:57'),
(527, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-02 13:32:12'),
(528, 'mesuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 133.0, Windows 10', '2025-01-02 13:35:53'),
(529, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-02 18:31:57'),
(530, 'mesuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 133.0, Windows 10', '2025-01-03 08:51:14'),
(531, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-03 12:17:20'),
(532, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-04 06:18:28'),
(533, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-04 13:10:23'),
(534, 'mesuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 133.0, Windows 10', '2025-01-06 06:25:30'),
(535, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-06 07:59:01'),
(536, 'mesuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 133.0, Windows 10', '2025-01-06 10:18:27'),
(537, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-07 06:07:34'),
(538, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-07 13:01:51'),
(539, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-08 05:51:54'),
(540, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-08 10:25:08'),
(541, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-09 08:00:26'),
(542, 'mesuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 133.0, Windows 10', '2025-01-10 12:15:37'),
(543, 'mesuperadmin@gmail.com', 'Super Admin', '127.0.0.1', 'Firefox 133.0, Windows 10', '2025-01-10 16:21:21'),
(544, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-13 12:54:21'),
(545, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-14 08:05:22'),
(546, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-15 06:26:30'),
(547, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-16 06:18:08'),
(548, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-30 10:34:34'),
(549, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-01-31 05:56:10'),
(550, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-02-01 06:26:24'),
(551, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-02-03 11:48:35'),
(552, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-02-04 06:15:57'),
(553, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-02-04 12:52:41'),
(554, 'mesuperadmin@gmail.com', 'Super Admin', '::1', 'Chrome 126.0.0.0, Windows 10', '2025-02-05 06:30:06');

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

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

CREATE TABLE `users` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `username` varchar(50) DEFAULT NULL,
  `password` varchar(50) DEFAULT NULL,
  `childs` text NOT NULL,
  `role` varchar(30) NOT NULL,
  `verification_code` varchar(200) NOT NULL,
  `is_active` varchar(255) DEFAULT 'yes',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `users` (`id`, `user_id`, `username`, `password`, `childs`, `role`, `verification_code`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 1, 'std1', '31b0zc', '', 'student', '', 'yes', '2025-01-02 09:52:01', ''),
(2, 0, 'parent1', '8kzha7', '1', 'parent', '', 'yes', '2025-01-02 09:52:01', ''),
(3, 2, 'std2', 'ep7z08', '', 'student', '', 'yes', '2025-01-10 15:47:43', ''),
(4, 0, 'parent2', '8c6vey', '2', 'parent', '', 'yes', '2025-01-10 15:47:43', ''),
(5, 3, 'std3', 'x2tl1r', '', 'student', '', 'yes', '2025-01-15 08:33:36', ''),
(6, 0, 'parent3', 'd5w53h', '3', 'parent', '', 'yes', '2025-01-15 08:33:36', ''),
(7, 4, 'std4', 'goclc4', '', 'student', '', 'yes', '2025-01-15 08:34:39', ''),
(8, 0, 'parent4', 'b31qdj', '4', 'parent', '', 'yes', '2025-01-15 08:34:39', ''),
(9, 5, 'std5', '4vp5pw', '', 'student', '', 'yes', '2025-01-15 08:35:34', ''),
(10, 0, 'parent5', '4nl83u', '5', 'parent', '', 'yes', '2025-01-15 08:35:34', '');

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

--
-- Table structure for table `users_authentication`
--

CREATE TABLE `users_authentication` (
  `id` int(11) NOT NULL,
  `users_id` int(11) NOT NULL,
  `token` varchar(255) NOT NULL,
  `expired_at` datetime NOT NULL DEFAULT current_timestamp(),
  `created_at` datetime NOT NULL DEFAULT current_timestamp(),
  `updated_at` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `vehicles`
--

CREATE TABLE `vehicles` (
  `id` int(10) UNSIGNED NOT NULL,
  `vehicle_no` varchar(20) DEFAULT NULL,
  `vehicle_model` varchar(100) NOT NULL DEFAULT 'None',
  `manufacture_year` varchar(4) DEFAULT NULL,
  `driver_name` varchar(50) DEFAULT NULL,
  `driver_licence` varchar(50) NOT NULL DEFAULT 'None',
  `driver_contact` varchar(20) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vehicles`
--

INSERT INTO `vehicles` (`id`, `vehicle_no`, `vehicle_model`, `manufacture_year`, `driver_name`, `driver_licence`, `driver_contact`, `note`, `created_at`) VALUES
(1, 'ADH000Q', 'TOYOTA', '1999', 'DAMBA', '6768JHKSP', '', '', '2023-02-10 17:58:56'),
(2, 'AFK', 'TOYOTA', '2005', 'KATENDERE', 'YT6779GG', '', '', '2023-02-10 17:57:48');

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

--
-- Table structure for table `vehicle_routes`
--

CREATE TABLE `vehicle_routes` (
  `id` int(10) UNSIGNED NOT NULL,
  `route_id` int(11) DEFAULT NULL,
  `vehicle_id` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vehicle_routes`
--

INSERT INTO `vehicle_routes` (`id`, `route_id`, `vehicle_id`, `created_at`) VALUES
(2, 2, 1, '2023-02-10 17:55:18'),
(3, 1, 2, '2023-02-10 17:59:49'),
(4, 6, 1, '2024-02-08 20:29:22');

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

--
-- Table structure for table `visitors_book`
--

CREATE TABLE `visitors_book` (
  `id` int(11) NOT NULL,
  `source` varchar(100) DEFAULT NULL,
  `purpose` varchar(20) NOT NULL,
  `name` varchar(100) NOT NULL,
  `email` varchar(100) DEFAULT NULL,
  `contact` varchar(12) NOT NULL,
  `id_proof` varchar(50) NOT NULL,
  `no_of_pepple` int(11) NOT NULL,
  `date` date NOT NULL,
  `in_time` varchar(20) NOT NULL,
  `out_time` varchar(20) NOT NULL,
  `note` mediumtext NOT NULL,
  `image` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `visitors_purpose`
--

CREATE TABLE `visitors_purpose` (
  `id` int(11) NOT NULL,
  `visitors_purpose` varchar(100) NOT NULL,
  `description` mediumtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

--
-- Table structure for table `warehouse`
--

CREATE TABLE `warehouse` (
  `id` int(11) NOT NULL,
  `warehouse` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `created_date` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `warehouse`
--

INSERT INTO `warehouse` (`id`, `warehouse`, `description`, `created_date`) VALUES
(8, 'Tuckshop', 'Tuckshop', '2024-02-02'),
(9, 'Storeroom', 'Storeroom', '2024-02-02'),
(10, 'Main Warehouse', 'Main Warehouse', '2024-12-10');

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

--
-- Structure for view `uniform_summary`
--
DROP TABLE IF EXISTS `uniform_summary`;

CREATE ALGORITHM=UNDEFINED SQL SECURITY DEFINER VIEW `uniform_summary`  AS SELECT (select sum(`unif_stock_mvmnt`.`qnty_in`) from `unif_stock_mvmnt`) AS `qnty_in`, (select sum(`unif_stock_mvmnt`.`qnty_out`) from `unif_stock_mvmnt`) AS `qnty_out`, (select sum(`uniformitem`.`quantity`) from `uniformitem`) AS `quantity` ;

--
-- Indexes for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `class_sections`
--
ALTER TABLE `class_sections`
  ADD PRIMARY KEY (`id`),
  ADD KEY `class_id` (`class_id`),
  ADD KEY `section_id` (`section_id`);

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

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

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

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

--
-- Indexes for table `content_for`
--
ALTER TABLE `content_for`
  ADD PRIMARY KEY (`id`),
  ADD KEY `content_id` (`content_id`),
  ADD KEY `user_id` (`user_id`);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `exam_results`
--
ALTER TABLE `exam_results`
  ADD PRIMARY KEY (`id`),
  ADD KEY `exam_schedule_id` (`exam_schedule_id`),
  ADD KEY `student_id` (`student_id`);

--
-- Indexes for table `exam_schedules`
--
ALTER TABLE `exam_schedules`
  ADD PRIMARY KEY (`id`),
  ADD KEY `teacher_subject_id` (`teacher_subject_id`);

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

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

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

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

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

--
-- Indexes for table `fees_discounts`
--
ALTER TABLE `fees_discounts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `session_id` (`session_id`);

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

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

--
-- Indexes for table `fee_groups_feetype`
--
ALTER TABLE `fee_groups_feetype`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fee_session_group_id` (`fee_session_group_id`),
  ADD KEY `fee_groups_id` (`fee_groups_id`),
  ADD KEY `feetype_id` (`feetype_id`),
  ADD KEY `session_id` (`session_id`);

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

--
-- Indexes for table `fee_session_groups`
--
ALTER TABLE `fee_session_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fee_groups_id` (`fee_groups_id`),
  ADD KEY `session_id` (`session_id`);

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

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

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

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

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

--
-- Indexes for table `front_cms_page_contents`
--
ALTER TABLE `front_cms_page_contents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `page_id` (`page_id`);

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

--
-- Indexes for table `front_cms_program_photos`
--
ALTER TABLE `front_cms_program_photos`
  ADD PRIMARY KEY (`id`),
  ADD KEY `program_id` (`program_id`);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `invoicegenaration`
--
ALTER TABLE `invoicegenaration`
  ADD PRIMARY KEY (`ID`);

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

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

--
-- Indexes for table `item_issue`
--
ALTER TABLE `item_issue`
  ADD PRIMARY KEY (`id`),
  ADD KEY `item_id` (`item_id`),
  ADD KEY `item_category_id` (`item_category_id`);

--
-- Indexes for table `item_stock`
--
ALTER TABLE `item_stock`
  ADD PRIMARY KEY (`id`),
  ADD KEY `item_id` (`item_id`),
  ADD KEY `supplier_id` (`supplier_id`),
  ADD KEY `store_id` (`store_id`);

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

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

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

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

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

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

--
-- Indexes for table `leave_types`
--
ALTER TABLE `leave_types`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `type` (`type`);

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

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

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

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

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

--
-- Indexes for table `notification_roles`
--
ALTER TABLE `notification_roles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `send_notification_id` (`send_notification_id`),
  ADD KEY `role_id` (`role_id`);

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `sch_settings`
--
ALTER TABLE `sch_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `lang_id` (`lang_id`),
  ADD KEY `session_id` (`session_id`);

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

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

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

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

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

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

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

--
-- Indexes for table `staff`
--
ALTER TABLE `staff`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `employee_id` (`employee_id`);

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

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

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

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

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

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

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

--
-- Indexes for table `staff_roles`
--
ALTER TABLE `staff_roles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `role_id` (`role_id`),
  ADD KEY `staff_id` (`staff_id`);

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

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

--
-- Indexes for table `student_attendences`
--
ALTER TABLE `student_attendences`
  ADD PRIMARY KEY (`id`),
  ADD KEY `student_session_id` (`student_session_id`),
  ADD KEY `attendence_type_id` (`attendence_type_id`);

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

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

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

--
-- Indexes for table `student_fees_discounts`
--
ALTER TABLE `student_fees_discounts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `student_session_id` (`student_session_id`),
  ADD KEY `fees_discount_id` (`fees_discount_id`);

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `teacher_subjects`
--
ALTER TABLE `teacher_subjects`
  ADD PRIMARY KEY (`id`),
  ADD KEY `class_section_id` (`class_section_id`),
  ADD KEY `session_id` (`session_id`),
  ADD KEY `subject_id` (`subject_id`),
  ADD KEY `teacher_id` (`teacher_id`);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `accummdeprec`
--
ALTER TABLE `accummdeprec`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `allergies`
--
ALTER TABLE `allergies`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `assets`
--
ALTER TABLE `assets`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `assettypes`
--
ALTER TABLE `assettypes`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

--
-- AUTO_INCREMENT for table `bank_rates_history`
--
ALTER TABLE `bank_rates_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `book_depreciation`
--
ALTER TABLE `book_depreciation`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `cashbook_report`
--
ALTER TABLE `cashbook_report`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `complaint`
--
ALTER TABLE `complaint`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `complaint_type`
--
ALTER TABLE `complaint_type`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `contents`
--
ALTER TABLE `contents`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `content_for`
--
ALTER TABLE `content_for`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

--
-- AUTO_INCREMENT for table `customer_receipt`
--
ALTER TABLE `customer_receipt`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `depreciationexpenses`
--
ALTER TABLE `depreciationexpenses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `depreciationmethods`
--
ALTER TABLE `depreciationmethods`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `dispatch_receive`
--
ALTER TABLE `dispatch_receive`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `enquiry`
--
ALTER TABLE `enquiry`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `enquiry_type`
--
ALTER TABLE `enquiry_type`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `events`
--
ALTER TABLE `events`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `exams`
--
ALTER TABLE `exams`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `exam_results`
--
ALTER TABLE `exam_results`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `exam_schedules`
--
ALTER TABLE `exam_schedules`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `expenses`
--
ALTER TABLE `expenses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `expense_head`
--
ALTER TABLE `expense_head`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `fd_department`
--
ALTER TABLE `fd_department`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `feecategory`
--
ALTER TABLE `feecategory`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `feemasters`
--
ALTER TABLE `feemasters`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `fees_discounts`
--
ALTER TABLE `fees_discounts`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `fee_receipt_no`
--
ALTER TABLE `fee_receipt_no`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `follow_up`
--
ALTER TABLE `follow_up`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `general_calls`
--
ALTER TABLE `general_calls`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `grades`
--
ALTER TABLE `grades`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `homework`
--
ALTER TABLE `homework`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `homework_evaluation`
--
ALTER TABLE `homework_evaluation`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `hostel`
--
ALTER TABLE `hostel`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `hostel_rooms`
--
ALTER TABLE `hostel_rooms`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `income`
--
ALTER TABLE `income`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `income_head`
--
ALTER TABLE `income_head`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `invoicegenaration`
--
ALTER TABLE `invoicegenaration`
  MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=95;

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `leave_types`
--
ALTER TABLE `leave_types`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `location`
--
ALTER TABLE `location`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `medical`
--
ALTER TABLE `medical`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `medical_details`
--
ALTER TABLE `medical_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `messages`
--
ALTER TABLE `messages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

--
-- AUTO_INCREMENT for table `payslip_allowance`
--
ALTER TABLE `payslip_allowance`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

--
-- AUTO_INCREMENT for table `reference`
--
ALTER TABLE `reference`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `room_types`
--
ALTER TABLE `room_types`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `school_houses`
--
ALTER TABLE `school_houses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `sms_config`
--
ALTER TABLE `sms_config`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `source`
--
ALTER TABLE `source`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sport`
--
ALTER TABLE `sport`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `staff_attendance`
--
ALTER TABLE `staff_attendance`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `staff_leave_details`
--
ALTER TABLE `staff_leave_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `staff_leave_request`
--
ALTER TABLE `staff_leave_request`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `staff_payroll`
--
ALTER TABLE `staff_payroll`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `staff_payslip`
--
ALTER TABLE `staff_payslip`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `staff_timeline`
--
ALTER TABLE `staff_timeline`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `student_attendences`
--
ALTER TABLE `student_attendences`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `student_doc`
--
ALTER TABLE `student_doc`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `student_fees`
--
ALTER TABLE `student_fees`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `student_fees_deposite`
--
ALTER TABLE `student_fees_deposite`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `student_sibling`
--
ALTER TABLE `student_sibling`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `student_sport`
--
ALTER TABLE `student_sport`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `student_timeline`
--
ALTER TABLE `student_timeline`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `student_transport_fees`
--
ALTER TABLE `student_transport_fees`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `supinvoicegenaration`
--
ALTER TABLE `supinvoicegenaration`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `supplier_receipt`
--
ALTER TABLE `supplier_receipt`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `teams`
--
ALTER TABLE `teams`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `unifreceipting`
--
ALTER TABLE `unifreceipting`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `uni_trans_report`
--
ALTER TABLE `uni_trans_report`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `users_authentication`
--
ALTER TABLE `users_authentication`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `visitors_book`
--
ALTER TABLE `visitors_book`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `visitors_purpose`
--
ALTER TABLE `visitors_purpose`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `warehouse`
--
ALTER TABLE `warehouse`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
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 */;
