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

START TRANSACTION;



--
-- Database: `cbaasset_asmDB`
--

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

--
-- Table structure for table `accountofficers`
--

CREATE TABLE `accountofficers` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `full_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gender` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `accountofficers`
--

INSERT INTO `accountofficers` (`id`, `user_id`, `branch_id`, `full_name`, `email`, `gender`, `phone`, `address`, `created_at`, `updated_at`) VALUES
(1, 10, 1, 'YAKUB SHERIFF ADEYEMI', 'yakubsheriff5480@gmail.com', 'male', '08061204081', 'plot 19 saka alade house, agbaje ijokodo ibadan', '2025-02-12 14:51:29', '2025-02-12 14:51:29'),
(2, 6, 1, 'IKUPOLUYI JUSTINA', 'oluyidiamond@gmail.com', 'female', '08066444595', 'yidi', '2025-02-12 14:51:42', '2025-02-12 14:51:42'),
(3, 7, 1, 'ADEBOYE ADEWALE', 'walexkid247@gmail.com', 'male', '08157021025', 'no 32 anuoluwa quarters yidi arola apete ibadan', '2025-02-12 14:52:10', '2025-02-12 14:52:10'),
(4, 8, 1, 'EYINADE DAVID IDOWU', 'eyinadeidowu@gmail.com', 'male', '07069226554', 'NO 71, BELIEVERS QUARTERS OLOUNJE OLOMO APETE IBADAN', '2025-02-12 14:52:26', '2025-02-12 14:52:26'),
(5, 4, 1, 'Ajetunmobi Femi', 'info@dwmfb.com', 'male', '08032336345', 'Ibadan', '2025-02-12 14:52:42', '2025-02-12 14:52:42'),
(6, 9, 1, 'OKELEYE ADEBAYO OLASUNKANMI', 'ookeleyeadebayo@gmail.com', 'male', '08083553107', 'NO 27 Alao Layout Ayegun road, Cele junction Apete Ibadan', '2025-02-12 14:53:02', '2025-02-12 14:53:02'),
(8, 12, 1, 'Abiola Babatunde Abiodun', 'Abiolababatunde77@gmail.com', 'male', '08079249503', 'no 10 idi omo powerline Ojo, ibadan', '2025-03-07 13:21:09', '2025-03-17 10:23:31');

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

--
-- Table structure for table `account_categories`
--

CREATE TABLE `account_categories` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `account_categories`
--

INSERT INTO `account_categories` (`id`, `name`, `type`, `description`, `created_at`, `updated_at`) VALUES
(1, 'accounts receivable', 'asset', 'Accounts Receivable', '2023-01-10 23:29:11', '2023-01-10 23:29:11'),
(2, 'accounts payable', 'liability', 'Accounts Payable', '2023-01-10 23:32:04', '2023-01-10 23:32:04'),
(3, 'account closing', 'Income', 'Account closed income', '2023-01-10 23:32:42', '2023-01-10 23:32:42'),
(6, 'accrued interest receivable', 'asset', 'Accrued Interest Receivable', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(7, 'accumulated depreciation', 'liability', 'Accumulated Depreciation', '2023-01-11 15:36:38', '2025-03-04 13:36:35'),
(8, 'advances under micro leases', 'asset', 'Advances Under Micro Leases', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(10, 'bad debts written off', 'expense', 'Bad Debts Written Off', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(11, 'balances with banks', 'asset', 'Balances With Banks', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(12, 'bill discounted', 'asset', 'Bill Discounted', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(13, 'bonus reserves', 'capital', 'Bonus Reserves', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(14, 'borrowings on lending', 'liability', 'Borrowings On Lending', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(15, 'capital', 'capital', 'Capital', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(16, 'cash asset', 'asset', 'Cash Asset', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(17, 'cash balances', 'asset', 'CASH ITEMS', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(18, 'cheques for collection and transit items', 'asset', 'Cheques For Collection And Transit Items', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(20, 'commission', 'income', 'Commission', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(21, 'debenture loan stock', 'liability', 'Debenture Loan Stock', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(22, 'deferred grantsa and donations reserves', 'capital', 'Deferred Grantsa And Donations Reserves', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(23, 'demand deposits', 'liability', 'Demand Deposits', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(24, 'deposit', 'liability', 'Deposit', '2023-01-11 15:36:38', '2023-01-11 15:36:38'),
(26, 'deposit for shares', 'liability', 'Deposit For Shares', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(27, 'depreciation expense', 'expense', 'Depreciation', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(29, 'directors', 'expense', 'Directors', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(30, 'dividends payable', 'liability', 'Dividends Payable', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(32, 'due from banks in nigeria', 'asset', 'Due From Banks In Nigeria', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(33, 'due from placements', 'asset', 'Due From Placements', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(34, 'expense', 'expense', 'Expense', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(35, 'federal government', 'liability', 'Federal Government', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(36, 'fees and charges', 'income', 'Fees And Charges', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(39, 'fixed assets', 'asset', 'Fixed Assets', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(40, 'foreign exchange', 'liability', 'Foreign exchange', '2023-03-25 10:14:49', '2023-07-25 12:16:10'),
(41, 'freehold land and building', 'asset', 'Freehold Land And Building', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(42, 'furniture and fixtures', 'asset', 'Furniture And Fixtures', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(43, 'general loan and lease loss provision', 'liability', 'General Loan And Lease Loss Provision', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(44, 'general reserve', 'capital', 'General Reserve', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(45, 'goodwill and other intangible assets', 'asset', 'Goodwill And Other Intangible Assets', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(46, 'hire purchase', 'asset', 'Hire Purchase', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(47, 'ict', 'expense', 'Overhead', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(48, 'income', 'income', 'Income', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(49, 'income from investments', 'income', 'Income From Investments', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(50, 'increase in deposit for share', 'capital', 'INCREASE IN DEPOSIT FOR SHARE', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(51, 'interest accrued not paid', 'liability', 'Interest Accrued Not Paid', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(52, 'interest expense', 'expense', 'Interest Expense', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(53, 'interest in suspense', 'liability', 'Interest In Suspense', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(54, 'interest on loans and advances', 'income', 'Interest On Loans And Advances', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(55, 'irredeemable debenture', 'liability', 'Irredeemable Debenture', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(56, 'issued and fully paid up capital', 'capital', 'Issued And Fully Paid Up Capital', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(57, 'leasehold land and building', 'asset', 'Leasehold Land And Building', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(58, 'liability', 'liability', 'Liability', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(59, 'loans and advances', 'asset', 'Loans And Advances And Leases', '2023-03-25 10:14:49', '2023-05-07 12:47:58'),
(60, 'local government', 'liability', 'Local Government', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(61, 'long term investments', 'asset', 'Long Term Investments', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(62, 'mandatory deposits', 'liability', 'Mandatory Deposits', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(63, 'micro loans', 'asset', 'Micro Loans', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(64, 'miscellaneous other assets', 'asset', 'Miscellaneous Other Assets', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(65, 'liabilities and provisions', 'liability', 'Liabilities and Provisions', '2023-03-25 10:14:49', '2025-02-25 14:11:26'),
(66, 'motor vehicles', 'asset', 'Motor Vehicles', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(67, 'office equipment', 'asset', 'Office Equipment', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(68, 'operating expenses', 'expense', 'Operating Expenses', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(69, 'other assets', 'asset', 'Other Assets', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(70, 'other borrowings', 'liability', 'Other Borrowings', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(71, 'other deposits', 'liability', 'Other Deposits', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(72, 'other income', 'income', 'Other Income', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(73, 'other income from non financial services', 'income', 'Other Income From Non Financial Services', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(74, 'other liabilities', 'liability', 'Other Liabilities', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(75, 'other loans', 'asset', 'Other Loans', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(76, 'other long term investments', 'asset', 'Other Long Term Investments', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(77, 'other prepayments', 'asset', 'Other Prepayments', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(78, 'other reserves', 'capital', 'Other Reserves', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(79, 'other short term investments', 'asset', 'Other Short Term Investments', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(80, 'overdrafts', 'asset', 'Overdrafts', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(81, 'overheads', 'expense', 'Overheads', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(82, 'penalties paid', 'expense', 'Penalties Paid', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(83, 'petty cash', 'asset', 'PETTY CASH', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(84, 'plant and machinery', 'asset', 'Plant And Machinery', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(85, 'preference shares', 'capital', 'Preference Shares', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(86, 'prepaid interest', 'asset', 'Prepaid Interest', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(87, 'prepaid rent', 'asset', 'Prepaid Rent', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(88, 'provision for bad debts', 'expense', 'Provision For Bad Debts', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(89, 'provision for diminution in the value of investments', 'liability', 'Provision For Diminution In The Value Of Investments', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(90, 'provision for losses on off balance sheet items', 'liability', 'Provision For Losses On Off Balance Sheet Items', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(91, 'provision for losses on other assets', 'liability', 'Provision For Losses On Other Assets', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(92, 'provision for other known losses', 'liability', 'Provision For Other Known Losses', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(93, 'provision for taxation', 'liability', 'Provision For Taxation', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(94, 'quoted companies', 'asset', 'Quoted Companies', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(95, 'redeemable debenture', 'liability', 'Redeemable Debenture', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(96, 'refinancing facilities', 'liability', 'Refinancing Facilities', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(97, 'reserves', 'capital', 'Reserves', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(98, 'retained profit or loss', 'capital', 'Retained Profit Or Loss', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(99, 'revaluation reserves', 'capital', 'Revaluation Reserves', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(100, 'secured with treasury bills', 'asset', 'Secured With Treasury Bills', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(101, 'share premium', 'capital', 'Share Premium', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(102, 'short term investments', 'asset', 'Short Term Investments', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(104, 'small and medium enterprise loans', 'asset', 'Small And Medium Enterprise Loans', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(105, 'specific loan and lease loss provision', 'liability', 'Specific Loan And Lease Loss Provision', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(106, 'staff costs', 'expense', 'Staff Costs', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(107, 'staff loans', 'asset', 'Staff Loans', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(108, 'state government', 'liability', 'State Government', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(109, 'stationery', 'asset', 'Stationery', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(110, 'statutory reserve', 'capital', 'Statutory Reserve', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(112, 'subsidiary companies', 'asset', 'Subsidiary Companies', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(113, 'suspense accounts( assets)', 'asset', 'Suspense Account For Other Assets', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(114, 'suspense accounts( liabilities)', 'liability', 'Suspense Account For Other Liabilities', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(115, 'takings from', 'liability', 'Takings From', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(117, 'takings from other institutions', 'liability', 'Takings From Other Institutions', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(118, 'term or time deposits', 'liability', 'Term Or Time Deposits', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(119, 'transit account', 'asset', 'This is transit account', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(120, 'treasury bills', 'asset', 'Treasury Bills', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(121, 'unaudited loss to date', 'capital', 'Unaudited Loss To Date', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(122, 'unaudited profit to date', 'liability', 'Unaudited Profit To Date', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(123, 'uncleared effects and transit items', 'liability', 'Uncleared Effects And Transit Items', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(124, 'unearned income', 'liability', 'Unearned Income', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(126, 'unpaid advances under micro leases principal', 'asset', 'Unpaid Advances Under Micro Leases Principal', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(127, 'unpaid bill discounted principal', 'asset', 'Unpaid Bill Discounted Principal', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(128, 'unpaid hire purchase principal', 'asset', 'Unpaid Hire Purchase Principal', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(129, 'unpaid micro loan principal', 'asset', 'Unpaid Micro Loan Principal', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(130, 'unpaid other loans principal', 'asset', 'Unpaid Other Loans Principal', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(131, 'unpaid small and medium enterprise loans principal', 'asset', 'Unpaid Small And Medium Enterprise Loans Principal', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(132, 'unpaid staff loans principal', 'asset', 'Unpaid Staff Loans Principal', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(133, 'fx due from banks', 'asset', 'FX in Banks', '2023-03-25 10:14:49', '2023-09-25 09:38:44'),
(134, 'e-channel (unsecured)', 'asset', 'Unsecured', '2023-03-25 10:14:49', '2023-06-09 20:48:06'),
(135, 'voluntary savings deposits', 'liability', 'Voluntary Savings Deposits', '2023-03-25 10:14:49', '2023-03-25 10:14:49'),
(136, 'fx expenses', 'expense', 'FX expense', '2023-09-25 17:57:39', '2023-09-25 17:57:39');

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

--
-- Table structure for table `account_types`
--

CREATE TABLE `account_types` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(225) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `account_types`
--

INSERT INTO `account_types` (`id`, `name`, `code`, `created_at`, `updated_at`) VALUES
(1, 'asset', '10', NULL, '2025-08-13 09:49:21'),
(2, 'liability', '20', NULL, NULL),
(3, 'capital', '30', NULL, NULL),
(4, 'Income', '40', NULL, NULL),
(5, 'expense', '50', NULL, '2023-01-15 05:54:25');

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

--
-- Table structure for table `api_keys`
--

CREATE TABLE `api_keys` (
  `id` bigint UNSIGNED NOT NULL,
  `api_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `encrypt_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `webhook_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `merchant_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

CREATE TABLE `assets` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `asset_type_id` bigint UNSIGNED DEFAULT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `purchase_date` date DEFAULT NULL,
  `purchase_price` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `replacement_value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `initial` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `serial_number` text COLLATE utf8mb4_unicode_ci,
  `bought_from` text COLLATE utf8mb4_unicode_ci,
  `note` text COLLATE utf8mb4_unicode_ci,
  `file` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `asset_types`
--

CREATE TABLE `asset_types` (
  `id` bigint UNSIGNED NOT NULL,
  `name` text COLLATE utf8mb4_unicode_ci,
  `type` enum('current','fixed','intangible','other') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `initial` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `asset_types`
--

INSERT INTO `asset_types` (`id`, `name`, `type`, `initial`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, 'Laptop', 'intangible', 'IA', NULL, '2025-08-13 08:55:39', '2025-08-13 08:55:39'),
(2, 'Cars', 'intangible', 'IA', NULL, '2025-08-13 08:55:53', '2025-08-13 08:55:53');

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

--
-- Table structure for table `asset_valuations`
--

CREATE TABLE `asset_valuations` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `asset_id` bigint UNSIGNED DEFAULT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `audittrails`
--

CREATE TABLE `audittrails` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `user` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `module` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `audittrails`
--

INSERT INTO `audittrails` (`id`, `user_id`, `branch_id`, `user`, `module`, `notes`, `created_at`, `updated_at`) VALUES
(1, 1, 2, 'admin system', 'user', 'created new user account', '2025-08-07 08:24:38', '2025-08-07 08:24:38'),
(2, 1, 2, 'admin system', 'user', 'user account updated', '2025-08-07 08:25:05', '2025-08-07 08:25:05'),
(3, 1, 2, 'admin system', 'user', 'user account activated', '2025-08-07 08:26:53', '2025-08-07 08:26:53'),
(4, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-12 15:27:44', '2025-08-12 15:27:44'),
(5, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-12 15:59:31', '2025-08-12 15:59:31'),
(6, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-12 16:04:24', '2025-08-12 16:04:24'),
(7, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-08-12 16:06:25', '2025-08-12 16:06:25'),
(8, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-08-12 16:06:53', '2025-08-12 16:06:53'),
(9, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-08-12 16:06:59', '2025-08-12 16:06:59'),
(10, 1, NULL, 'admin system', 'customer', 'updated a customer account', '2025-08-12 16:07:45', '2025-08-12 16:07:45'),
(11, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-12 16:14:03', '2025-08-12 16:14:03'),
(12, 1, NULL, 'admin system', 'customer', 'updated a customer account', '2025-08-12 16:15:49', '2025-08-12 16:15:49'),
(13, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-12 16:20:17', '2025-08-12 16:20:17'),
(14, 1, NULL, 'admin system', 'customer', 'deactivated/closed a customer account', '2025-08-12 16:20:35', '2025-08-12 16:20:35'),
(15, 1, 2, 'admin system', 'user', 'created new user account', '2025-08-13 08:50:19', '2025-08-13 08:50:19'),
(16, 1, NULL, 'admin system', 'account officer', 'created a new account officer', '2025-08-13 08:53:48', '2025-08-13 08:53:48'),
(17, 1, NULL, 'admin system', 'account officer', 'updated an account officer', '2025-08-13 08:54:08', '2025-08-13 08:54:08'),
(18, 1, NULL, 'admin system', 'account officer', 'deleted an account officer', '2025-08-13 08:54:12', '2025-08-13 08:54:12'),
(19, 1, NULL, 'admin system', 'asset', 'created a new asset type', '2025-08-13 08:55:39', '2025-08-13 08:55:39'),
(20, 1, NULL, 'admin system', 'asset', 'created a new asset type', '2025-08-13 08:55:53', '2025-08-13 08:55:53'),
(21, 1, NULL, 'admin system', 'asset', 'created a new asset', '2025-08-13 08:56:08', '2025-08-13 08:56:08'),
(22, 1, NULL, 'admin system', 'asset', 'updated an asset', '2025-08-13 08:56:18', '2025-08-13 08:56:18'),
(23, 1, 2, 'admin system', 'asset', 'deleted an asset', '2025-08-13 08:56:21', '2025-08-13 08:56:21'),
(24, 1, 2, 'admin system', 'branch', 'created a new branch', '2025-08-13 08:58:14', '2025-08-13 08:58:14'),
(25, 1, 2, 'admin system', 'branch', 'updated a branch', '2025-08-13 08:58:24', '2025-08-13 08:58:24'),
(26, 1, 2, 'admin system', 'branch', 'deleted a branch', '2025-08-13 08:58:39', '2025-08-13 08:58:39'),
(27, 1, NULL, 'admin system', 'wallet topup', 'Wallet Top', '2025-08-13 08:59:12', '2025-08-13 08:59:12'),
(28, 1, NULL, 'admin system', 'wallet topup', 'Vas Wallet Top', '2025-08-13 08:59:27', '2025-08-13 08:59:27'),
(29, 1, NULL, 'admin system', 'wallet topup', 'Vas Wallet Top', '2025-08-13 08:59:32', '2025-08-13 08:59:32'),
(30, 1, NULL, 'admin system', 'wallet topup', 'Verifyme Wallet Top', '2025-08-13 08:59:40', '2025-08-13 08:59:40'),
(31, 1, NULL, 'admin system', 'customer', 'updated a customer account', '2025-08-13 09:04:36', '2025-08-13 09:04:36'),
(32, 1, NULL, 'admin system', 'communication', 'sent email message', '2025-08-13 09:35:11', '2025-08-13 09:35:11'),
(33, 1, NULL, 'admin system', 'customer', 'updated a customer account', '2025-08-13 09:37:42', '2025-08-13 09:37:42'),
(34, 1, 2, 'admin system', 'account type', 'updated account type code', '2025-08-13 09:49:14', '2025-08-13 09:49:14'),
(35, 1, 2, 'admin system', 'account type', 'updated account type code', '2025-08-13 09:49:21', '2025-08-13 09:49:21'),
(36, 1, 2, 'admin system', 'account category', 'updated account category', '2025-08-13 09:49:52', '2025-08-13 09:49:52'),
(37, 1, 2, 'admin system', 'account category', 'created account category', '2025-08-13 09:50:07', '2025-08-13 09:50:07'),
(38, 1, NULL, 'admin system', 'account category', 'deleted an account category', '2025-08-13 09:50:11', '2025-08-13 09:50:11'),
(39, 1, 2, 'admin system', 'account category', 'created capital', '2025-08-13 09:51:31', '2025-08-13 09:51:31'),
(40, 1, 2, 'admin system', 'capital', 'updated capital', '2025-08-13 09:51:39', '2025-08-13 09:51:39'),
(41, 1, 2, 'admin system', 'capital', 'deleted capital', '2025-08-13 09:51:47', '2025-08-13 09:51:47'),
(42, 1, 2, 'admin system', 'general ledger', 'created general ledger', '2025-08-13 09:52:24', '2025-08-13 09:52:24'),
(43, 1, 2, 'admin system', 'general ledger', 'deleted general ledger', '2025-08-13 09:52:38', '2025-08-13 09:52:38'),
(44, 1, NULL, 'admin system', 'from capital', 'deposited to a  GL account from capital', '2025-08-13 09:58:08', '2025-08-13 09:58:08'),
(45, 1, NULL, 'admin system', 'from capital', 'deposited to a  GL account from capital', '2025-08-13 10:10:02', '2025-08-13 10:10:02'),
(46, 1, NULL, 'admin system', 'from capital', 'deposited to a  GL account from capital', '2025-08-13 10:14:08', '2025-08-13 10:14:08'),
(47, 1, NULL, 'admin system', 'from capital', 'deposited to a  GL account from capital', '2025-08-13 10:23:02', '2025-08-13 10:23:02'),
(48, 1, NULL, 'admin system', 'from capital', 'deposited to a  GL account from capital', '2025-08-13 10:33:01', '2025-08-13 10:33:01'),
(49, 1, NULL, 'admin system', 'from capital', 'deposited to a  GL account from capital', '2025-08-13 10:33:59', '2025-08-13 10:33:59'),
(50, 1, NULL, 'admin system', 'general ledger', 'deposited to an account', '2025-08-13 10:36:32', '2025-08-13 10:36:32'),
(51, 1, NULL, 'admin system', 'general ledger', 'deposited to an expense account', '2025-08-13 10:36:32', '2025-08-13 10:36:32'),
(52, 1, 2, 'admin system', 'general ledger', 'deposited to an account', '2025-08-13 10:56:37', '2025-08-13 10:56:37'),
(53, 1, 2, 'admin system', 'general ledger', 'deposited to an asset account', '2025-08-13 10:56:37', '2025-08-13 10:56:37'),
(54, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-13 11:31:38', '2025-08-13 11:31:38'),
(55, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-13 11:37:17', '2025-08-13 11:37:17'),
(56, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-13 12:41:10', '2025-08-13 12:41:10'),
(57, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-13 13:33:06', '2025-08-13 13:33:06'),
(58, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-13 13:40:12', '2025-08-13 13:40:12'),
(59, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-13 13:47:45', '2025-08-13 13:47:45'),
(60, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-13 13:52:34', '2025-08-13 13:52:34'),
(61, 1, 2, 'admin system', 'user', 'created new user account', '2025-08-13 14:25:22', '2025-08-13 14:25:22'),
(62, 1, 2, 'admin system', 'user', 'user account activated', '2025-08-13 14:25:27', '2025-08-13 14:25:27'),
(63, 1, 2, 'admin system', 'user', 'user account updated', '2025-08-13 14:26:14', '2025-08-13 14:26:14'),
(64, 1, 2, 'admin system', 'user', 'user account deleted', '2025-08-14 10:08:04', '2025-08-14 10:08:04'),
(65, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-15 10:44:56', '2025-08-15 10:44:56'),
(66, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-15 10:46:52', '2025-08-15 10:46:52'),
(67, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-15 10:55:40', '2025-08-15 10:55:40'),
(68, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-08-15 11:17:35', '2025-08-15 11:17:35'),
(69, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-10-06 10:26:51', '2025-10-06 10:26:51'),
(70, 1, 2, 'admin', 'Target Savings', 'Create Target Savings Product. 4', '2025-10-14 10:02:30', '2025-10-14 10:02:30'),
(71, 1, 2, 'admin', 'Target Savings', 'Create Target Savings Product. 3', '2025-10-14 10:07:26', '2025-10-14 10:07:26'),
(72, 1, 2, 'admin', 'Target Savings', 'Create Target Savings Product. 5', '2025-10-14 10:30:35', '2025-10-14 10:30:35'),
(73, 1, 2, 'admin', 'Target Savings', 'Create Target Savings Product. 6', '2025-10-14 12:31:49', '2025-10-14 12:31:49'),
(74, 1, 2, 'admin', 'Target Savings', 'Update Target Savings Product. 6', '2025-10-14 12:32:00', '2025-10-14 12:32:00'),
(75, 1, 2, 'admin', 'Target Savings', 'Create Target Savings Product. 7', '2025-10-15 17:27:56', '2025-10-15 17:27:56'),
(76, 1, 2, 'admin', 'Target Savings', 'Create Target Savings Product. 8', '2025-10-15 17:29:18', '2025-10-15 17:29:18'),
(77, 1, 2, 'admin', 'Target Savings', 'Create Target Savings Product. 9', '2025-10-15 17:29:48', '2025-10-15 17:29:48'),
(78, 1, 2, 'admin', 'Target Savings', 'Create Target Savings Product. 10', '2025-10-15 17:30:28', '2025-10-15 17:30:28'),
(79, 1, 2, 'admin', 'Target Savings', 'Create Target Savings Product. 11', '2025-10-15 18:24:51', '2025-10-15 18:24:51'),
(80, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 4', '2025-10-16 09:10:21', '2025-10-16 09:10:21'),
(81, 1, 2, 'admin', 'Target Savings', 'Update Target Savings. 1', '2025-10-16 10:00:44', '2025-10-16 10:00:44'),
(82, 1, 2, 'admin', 'Target Savings', 'Update Target Savings. 4', '2025-10-16 10:04:15', '2025-10-16 10:04:15'),
(83, 1, NULL, 'admin system', 'fixed deposit', 'added a fixed deposit with code:85913126', '2025-10-16 10:11:27', '2025-10-16 10:11:27'),
(84, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 5', '2025-10-17 08:57:45', '2025-10-17 08:57:45'),
(85, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 6', '2025-10-17 10:09:30', '2025-10-17 10:09:30'),
(86, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 7', '2025-10-17 15:24:26', '2025-10-17 15:24:26'),
(87, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 8', '2025-10-17 15:50:48', '2025-10-17 15:50:48'),
(88, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 9', '2025-10-17 16:15:28', '2025-10-17 16:15:28'),
(89, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 10', '2025-10-17 16:18:39', '2025-10-17 16:18:39'),
(90, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 11', '2025-10-17 16:21:53', '2025-10-17 16:21:53'),
(91, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 1', '2025-10-17 17:46:07', '2025-10-17 17:46:07'),
(92, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 2', '2025-10-17 20:20:49', '2025-10-17 20:20:49'),
(93, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 3', '2025-10-17 20:21:54', '2025-10-17 20:21:54'),
(94, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 4', '2025-10-17 21:38:53', '2025-10-17 21:38:53'),
(95, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 5', '2025-10-17 21:40:11', '2025-10-17 21:40:11'),
(96, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 6', '2025-10-17 21:40:33', '2025-10-17 21:40:33'),
(97, 1, 2, 'admin system', 'general ledger', 'created general ledger', '2025-10-17 22:10:29', '2025-10-17 22:10:29'),
(98, 1, 2, 'admin system', 'general ledger', 'updated general ledger', '2025-10-17 22:10:57', '2025-10-17 22:10:57'),
(99, 1, 2, 'admin system', 'general ledger', 'updated general ledger', '2025-10-17 22:11:34', '2025-10-17 22:11:34'),
(100, 1, 2, 'admin system', 'general ledger', 'created general ledger', '2025-10-17 22:12:08', '2025-10-17 22:12:08'),
(101, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 7', '2025-10-17 22:28:10', '2025-10-17 22:28:10'),
(102, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 8', '2025-10-17 23:26:38', '2025-10-17 23:26:38'),
(103, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 9', '2025-10-18 00:20:47', '2025-10-18 00:20:47'),
(104, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 10', '2025-10-18 02:38:24', '2025-10-18 02:38:24'),
(105, 1, 2, 'admin', 'Target Savings', 'Disbursed Target Savings. TS0255701594', '2025-10-18 02:38:38', '2025-10-18 02:38:38'),
(106, 1, 2, 'admin system', 'settings', 'Settings Updated', '2025-10-20 20:39:04', '2025-10-20 20:39:04'),
(107, NULL, 2, NULL, 'Target Savings', 'Auto-debit SUCCESS for target , schedule #454, ref TXN4c3f0ede-c49c-4ed9-8563-b679eee98438', '2025-10-21 10:06:29', '2025-10-21 10:06:29'),
(108, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 11', '2025-10-22 08:53:15', '2025-10-22 08:53:15'),
(109, 1, 2, 'admin', 'Target Savings', 'Approve Target Savings. 11', '2025-10-22 14:30:07', '2025-10-22 14:30:07'),
(110, 1, 2, 'admin', 'Target Savings', 'Auto-debit first schedule. Target 11, Schedule 457, Amount 1300', '2025-10-22 14:30:07', '2025-10-22 14:30:07'),
(111, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 12', '2025-10-22 15:32:17', '2025-10-22 15:32:17'),
(112, 1, 2, 'admin', 'Target Savings', 'Approve Target Savings. 12', '2025-10-22 15:38:08', '2025-10-22 15:38:08'),
(113, 1, 2, 'admin', 'Target Savings', 'Auto-debit first schedule. Target 12, Schedule 461, Amount 2300', '2025-10-22 15:38:08', '2025-10-22 15:38:08'),
(114, 1, NULL, 'admin system', 'loan', 'added a loan with code:27102581', '2025-10-27 12:43:13', '2025-10-27 12:43:13'),
(115, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-10-27 12:44:33', '2025-10-27 12:44:33'),
(116, 1, NULL, 'admin system', 'loan', 'added a loan with code:27102566', '2025-10-27 16:33:57', '2025-10-27 16:33:57'),
(117, 1, NULL, 'admin system', 'loan', 'Approved a loan with code:27102566', '2025-10-28 11:59:55', '2025-10-28 11:59:55'),
(118, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:15:42', '2025-10-28 12:15:42'),
(119, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:15:45', '2025-10-28 12:15:45'),
(120, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:15:54', '2025-10-28 12:15:54'),
(121, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:15:57', '2025-10-28 12:15:57'),
(122, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:15:59', '2025-10-28 12:15:59'),
(123, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:16:02', '2025-10-28 12:16:02'),
(124, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:16:05', '2025-10-28 12:16:05'),
(125, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:16:08', '2025-10-28 12:16:08'),
(126, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:16:12', '2025-10-28 12:16:12'),
(127, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:16:15', '2025-10-28 12:16:15'),
(128, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:16:17', '2025-10-28 12:16:17'),
(129, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-10-28 12:16:20', '2025-10-28 12:16:20'),
(130, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. 13', '2025-10-28 12:28:41', '2025-10-28 12:28:41'),
(131, 1, 2, 'admin', 'Target Savings', 'Approve Target Savings. 13', '2025-10-28 12:28:49', '2025-10-28 12:28:49'),
(132, 1, 2, 'admin', 'Target Savings', 'Auto-debit first schedule. Target 13, Schedule 464, Amount 2300', '2025-10-28 12:28:49', '2025-10-28 12:28:49'),
(133, 1, 2, 'admin', 'Target Savings', 'Create Target Savings Product. 12', '2025-10-30 12:26:08', '2025-10-30 12:26:08'),
(134, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. TS3528402480', '2025-10-30 12:30:37', '2025-10-30 12:30:37'),
(135, 1, 2, 'admin', 'Target Savings', 'Approve Target Savings. TS3528402480', '2025-10-30 12:30:53', '2025-10-30 12:30:53'),
(136, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. TS2737135280', '2025-10-30 13:15:33', '2025-10-30 13:15:33'),
(137, 1, 2, 'admin', 'Target Savings', 'Approve & build schedule. TS2737135280', '2025-10-30 13:20:39', '2025-10-30 13:20:39'),
(138, 1, 2, 'admin', 'Target Savings', 'Immediate debit success. Target 15, Schedule 472, Amount 3500', '2025-10-30 13:20:39', '2025-10-30 13:20:39'),
(139, 1, 2, 'admin system', 'general ledger', 'created general ledger', '2025-10-30 13:25:03', '2025-10-30 13:25:03'),
(140, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. TS8680184918', '2025-10-30 15:50:25', '2025-10-30 15:50:25'),
(141, 1, 2, 'admin', 'Target Savings', 'Approve & build schedule. TS8680184918', '2025-10-30 15:51:03', '2025-10-30 15:51:03'),
(142, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. TS6354057987', '2025-10-30 15:54:10', '2025-10-30 15:54:10'),
(143, 1, 2, 'admin', 'Target Savings', 'Approve & build schedule. TS6354057987', '2025-10-30 15:54:16', '2025-10-30 15:54:16'),
(144, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. TS7992212053', '2025-10-30 15:56:46', '2025-10-30 15:56:46'),
(145, 1, 2, 'admin', 'Target Savings', 'Approve & build schedule. TS7992212053', '2025-10-30 15:56:52', '2025-10-30 15:56:52'),
(146, 1, 2, 'admin', 'Target Savings', 'Immediate debit success. Target TS7992212053, Schedule 479, Amount 4500', '2025-10-30 15:56:52', '2025-10-30 15:56:52'),
(147, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. TS1339786666', '2025-10-30 15:58:24', '2025-10-30 15:58:24'),
(148, 1, 2, 'admin', 'Target Savings', 'Approve & build schedule. TS1339786666', '2025-10-30 15:58:31', '2025-10-30 15:58:31'),
(149, 1, 2, 'admin', 'Target Savings', 'Immediate debit success. Target TS1339786666, Schedule 481, Amount 5000', '2025-10-30 15:58:31', '2025-10-30 15:58:31'),
(150, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. TS5774098050', '2025-10-30 16:00:31', '2025-10-30 16:00:31'),
(151, 1, 2, 'admin', 'Target Savings', 'Approve & build schedule. TS5774098050', '2025-10-30 16:00:39', '2025-10-30 16:00:39'),
(152, 1, 2, 'admin', 'Target Savings', 'Immediate debit success. Target TS5774098050, Schedule 483, Amount 6000', '2025-10-30 16:00:39', '2025-10-30 16:00:39'),
(153, 1, 2, 'admin system', 'user', 'user account deleted', '2025-10-31 14:58:42', '2025-10-31 14:58:42'),
(154, 1, 2, 'admin system', 'user', 'user account deleted', '2025-10-31 14:58:44', '2025-10-31 14:58:44'),
(155, 1, 2, 'admin system', 'user', 'user account deleted', '2025-10-31 15:00:18', '2025-10-31 15:00:18'),
(156, 1, 2, 'admin system', 'user', 'user account activated', '2025-10-31 15:01:19', '2025-10-31 15:01:19'),
(157, 1, 2, 'admin system', 'user', 'user account updated', '2025-10-31 15:01:39', '2025-10-31 15:01:39'),
(158, 20, 2, 'Ikhianosen Victor', 'account transfer', 'deposited to an account', '2025-10-31 15:19:00', '2025-10-31 15:19:00'),
(159, 1, 2, 'admin system', 'settings', 'Settings Updated', '2025-11-02 14:20:25', '2025-11-02 14:20:25'),
(160, 1, 2, 'admin system', 'settings', 'Settings Updated', '2025-11-02 14:22:28', '2025-11-02 14:22:28'),
(161, 1, 2, 'admin system', 'general ledger', 'created general ledger', '2025-11-02 14:28:42', '2025-11-02 14:28:42'),
(162, 1, 2, 'admin system', 'general ledger', 'updated general ledger', '2025-11-02 14:29:08', '2025-11-02 14:29:08'),
(163, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 533.33 to 1012198215 for 2025-11 (ref PRF202511020338076ite8LK9)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(164, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 533.33 to 1015544781 for 2025-11 (ref PRF20251102033807AVHb3uU2)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(165, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 533.33 to 1018665751 for 2025-11 (ref PRF202511020338076z6T43ZC)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(166, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 533.33 to 1018215427 for 2025-11 (ref PRF202511020338077D2noe9o)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(167, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 533.33 to 1016573687 for 2025-11 (ref PRF202511020338079PS8VNcF)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(168, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 4800 to 1014214976 for 2025-11 (ref PRF202511020338077sSuqc6J)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(169, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 533.33 to 1013212300 for 2025-11 (ref PRF20251102033807XrjXSEpQ)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(170, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 533.33 to 1014367839 for 2025-11 (ref PRF20251102033807UlEoI65C)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(171, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 533.33 to 1011887802 for 2025-11 (ref PRF20251102033807ih4zt4qh)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(172, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 533.33 to 1018268213 for 2025-11 (ref PRF20251102033807U1qlzFKd)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(173, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 533.33 to 1016752141 for 2025-11 (ref PRF20251102033807SdClEUhW)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(174, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 4784 to 1011203590 for 2025-11 (ref PRF202511020338070QrO3tk0)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(175, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 4786.67 to 1019437074 for 2025-11 (ref PRF20251102033807WvCzPVMt)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(176, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 4799.2 to 1016390154 for 2025-11 (ref PRF202511020338076tXAfDA5)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(177, NULL, 2, 'SYSTEM', 'Monthly Savings Profit', 'Paid 240 to 1013060222 for 2025-11 (ref PRF20251102033807gW8Qht0W)', '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(178, 1, 2, 'admin system', 'settings', 'Settings Updated', '2025-11-02 14:51:55', '2025-11-02 14:51:55'),
(179, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. TS1023374020', '2025-11-02 16:06:08', '2025-11-02 16:06:08'),
(180, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. TS3193285413', '2025-11-02 16:34:11', '2025-11-02 16:34:11'),
(181, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. TS7207505094', '2025-11-02 16:43:34', '2025-11-02 16:43:34'),
(182, 1, 2, 'admin', 'Target Savings', 'Approve & build schedule. TS7207505094', '2025-11-02 16:43:41', '2025-11-02 16:43:41'),
(183, 1, 2, 'admin', 'Target Savings', 'Immediate debit success. Target TS7207505094, Schedule 485, Amount 500', '2025-11-02 16:43:41', '2025-11-02 16:43:41'),
(184, 1, 2, 'admin', 'Target Savings', 'Create Target Savings. TS3632637153', '2025-11-02 16:45:37', '2025-11-02 16:45:37'),
(185, 1, 2, 'admin system', 'user', 'user account activated', '2025-11-11 15:04:49', '2025-11-11 15:04:49'),
(186, 1, 1, 'admin system', 'customer', 'Insufficent Fund', '2025-11-17 10:25:49', '2025-11-17 10:25:49'),
(187, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-11-20 14:39:28', '2025-11-20 14:39:28'),
(188, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-11-20 14:43:35', '2025-11-20 14:43:35'),
(189, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-11-20 16:05:50', '2025-11-20 16:05:50'),
(190, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-11-21 08:05:29', '2025-11-21 08:05:29'),
(191, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-11-21 08:13:30', '2025-11-21 08:13:30'),
(192, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-11-21 08:14:14', '2025-11-21 08:14:14'),
(193, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-11-21 08:17:58', '2025-11-21 08:17:58'),
(194, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-11-21 08:22:23', '2025-11-21 08:22:23'),
(195, 1, NULL, 'admin system', 'customer', 'updated a customer account', '2025-11-21 08:37:03', '2025-11-21 08:37:03'),
(196, 1, NULL, 'admin system', 'customer upload', 'uploaded customers via csv', '2025-11-21 09:08:14', '2025-11-21 09:08:14'),
(197, 1, NULL, 'admin system', 'customer upload', 'uploaded customers via csv', '2025-11-21 09:10:10', '2025-11-21 09:10:10'),
(198, 1, NULL, 'admin system', 'customer upload', 'uploaded customers via csv', '2025-11-21 09:22:15', '2025-11-21 09:22:15'),
(199, 1, NULL, 'admin system', 'customer upload', 'uploaded customers via csv', '2025-11-21 09:22:35', '2025-11-21 09:22:35'),
(200, 1, NULL, 'admin system', 'customer upload', 'uploaded customers via csv', '2025-11-21 09:32:08', '2025-11-21 09:32:08'),
(201, 1, NULL, 'admin system', 'customer upload', 'uploaded customers via csv', '2025-11-21 09:33:41', '2025-11-21 09:33:41'),
(202, 1, NULL, 'admin system', 'customer upload', 'uploaded customers via csv', '2025-11-21 09:38:23', '2025-11-21 09:38:23'),
(203, 1, NULL, 'admin system', 'customer upload', 'uploaded customers via csv', '2025-11-21 09:38:34', '2025-11-21 09:38:34'),
(204, 1, NULL, 'admin system', 'customer upload', 'uploaded customers via csv', '2025-11-21 09:45:56', '2025-11-21 09:45:56'),
(205, 1, NULL, 'admin system', 'customer upload', 'uploaded customers via csv', '2025-11-21 09:50:09', '2025-11-21 09:50:09'),
(206, 1, NULL, 'admin system', 'customer upload', 'uploaded customers via csv', '2025-11-21 09:54:55', '2025-11-21 09:54:55'),
(207, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-11-21 12:13:45', '2025-11-21 12:13:45'),
(208, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-11-21 12:13:50', '2025-11-21 12:13:50'),
(209, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-11-21 12:14:01', '2025-11-21 12:14:01'),
(210, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-11-21 12:14:05', '2025-11-21 12:14:05'),
(211, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-11-21 12:14:07', '2025-11-21 12:14:07'),
(212, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-11-21 12:14:10', '2025-11-21 12:14:10'),
(213, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-11-21 12:14:13', '2025-11-21 12:14:13'),
(214, 1, 1, 'admin system', 'customer', 'Insufficent Fund', '2025-11-21 13:24:43', '2025-11-21 13:24:43'),
(215, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-11-27 00:08:46', '2025-11-27 00:08:46'),
(216, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-11-27 00:10:53', '2025-11-27 00:10:53'),
(217, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-11-27 00:19:30', '2025-11-27 00:19:30'),
(218, 1, NULL, 'admin system', 'customer', 'created a new customer account', '2025-12-03 13:43:02', '2025-12-03 13:43:02'),
(219, 1, NULL, 'admin system', 'customer', 'activated a customer account', '2025-12-03 13:43:05', '2025-12-03 13:43:05'),
(220, 1, NULL, 'admin system', 'customer', 'sent password reset to customer account', '2025-12-03 13:44:35', '2025-12-03 13:44:35'),
(221, 1, NULL, 'admin system', 'customer', 'sent password reset to customer account', '2025-12-03 15:02:00', '2025-12-03 15:02:00'),
(222, 1, 1, 'christian scarlett', 'customer', 'OTP verification', '2025-12-03 16:38:44', '2025-12-03 16:38:44'),
(223, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 08:54:45', '2025-12-04 08:54:45'),
(224, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 09:09:04', '2025-12-04 09:09:04'),
(225, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 09:10:40', '2025-12-04 09:10:40'),
(226, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 09:21:35', '2025-12-04 09:21:35'),
(227, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 09:21:44', '2025-12-04 09:21:44'),
(228, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 09:23:12', '2025-12-04 09:23:12'),
(229, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 09:24:31', '2025-12-04 09:24:31'),
(230, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 09:28:20', '2025-12-04 09:28:20'),
(231, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 10:23:52', '2025-12-04 10:23:52'),
(232, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 11:08:30', '2025-12-04 11:08:30'),
(233, 1, 1, 'christian scarlett', 'customer', 'OTP Confirmation', '2025-12-04 11:10:14', '2025-12-04 11:10:14'),
(234, 1, 1, 'christian scarlett', 'customer', 'OTP Confirmation', '2025-12-04 11:11:01', '2025-12-04 11:11:01'),
(235, 1, 1, 'christian scarlett', 'customer', 'OTP Confirmation', '2025-12-04 11:11:04', '2025-12-04 11:11:04'),
(236, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 11:11:25', '2025-12-04 11:11:25'),
(237, 2, 1, 'christian scarlett', 'customer', 'OTP Confirmation', '2025-12-04 11:16:57', '2025-12-04 11:16:57'),
(238, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 11:28:42', '2025-12-04 11:28:42'),
(239, 2, 1, 'christian scarlett', 'customer', 'OTP Confirmation', '2025-12-04 11:29:06', '2025-12-04 11:29:06'),
(240, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 13:03:39', '2025-12-04 13:03:39'),
(241, 1, 1, 'christian scarlett', 'customer', 'OTP verification', '2025-12-04 13:04:44', '2025-12-04 13:04:44'),
(242, 1, 1, 'christian scarlett', 'customer', 'OTP Resent Successfully to rige@mailinator.com', '2025-12-04 13:12:55', '2025-12-04 13:12:55'),
(243, 1, 1, 'christian scarlett', 'customer', 'OTP Resent Successfully to rige@mailinator.com', '2025-12-04 13:33:34', '2025-12-04 13:33:34'),
(244, 2, 1, 'christian scarlett', 'customer', 'Password Reset Successfully', '2025-12-04 13:33:52', '2025-12-04 13:33:52'),
(245, 1, 1, 'christian scarlett', 'customer', 'OTP Sent Successfully to rige@mailinator.com', '2025-12-04 13:40:11', '2025-12-04 13:40:11'),
(246, 2, 1, 'christian scarlett', 'customer', 'Password Reset Successfully', '2025-12-04 13:40:40', '2025-12-04 13:40:40'),
(247, 2, 1, 'christian scarlett', 'customer', 'Password Changed Successfully', '2025-12-04 13:50:48', '2025-12-04 13:50:48'),
(248, 2, 1, 'christian scarlett', 'customer', 'Password Changed Successfully', '2025-12-04 13:51:05', '2025-12-04 13:51:05'),
(249, 2, 1, 'christian scarlett', 'customer', 'Password Changed Successfully', '2025-12-04 13:56:18', '2025-12-04 13:56:18'),
(250, 2, 1, 'christian scarlett', 'customer', 'Password Changed Successfully', '2025-12-04 13:57:41', '2025-12-04 13:57:41'),
(251, 2, 1, 'christian scarlett', 'customer', 'PIN Reset Successfully', '2025-12-04 14:18:55', '2025-12-04 14:18:55'),
(252, 2, 1, 'christian scarlett', 'customer', 'PIN Reset Successfully', '2025-12-04 14:19:17', '2025-12-04 14:19:17'),
(253, 2, 1, 'christian scarlett', 'customer', 'Profile Updated Successfully', '2025-12-04 14:30:58', '2025-12-04 14:30:58'),
(254, 2, 1, 'christian scarlett', 'customer', 'File Upload Successfully', '2025-12-04 14:36:59', '2025-12-04 14:36:59'),
(255, 2, 1, 'christian scarlett', 'customer', 'File Upload Successfully', '2025-12-04 14:37:59', '2025-12-04 14:37:59'),
(256, 2, 1, 'christian scarlett', 'customer', 'File Upload Successfully', '2025-12-04 15:08:14', '2025-12-04 15:08:14'),
(257, 2, 1, 'christian scarlett', 'customer', 'File Upload Successfully', '2025-12-04 15:11:14', '2025-12-04 15:11:14'),
(258, 1, 1, '07033274155 123456', 'customer', 'new customer account created', '2025-12-05 14:09:18', '2025-12-05 14:09:18'),
(259, 1, 1, 'James Victor', 'customer', 'new customer account created', '2025-12-05 17:09:55', '2025-12-05 17:09:55'),
(260, 1, 1, 'Adeyemi Michael', 'customer', 'new customer account created', '2025-12-08 09:28:15', '2025-12-08 09:28:15'),
(261, 1, 1, 'Ogunleye Daniel', 'customer', 'new customer account created', '2025-12-08 09:40:43', '2025-12-08 09:40:43'),
(262, 1, 1, 'Ogunleye Daniel', 'customer', 'new customer account created', '2025-12-08 09:46:52', '2025-12-08 09:46:52'),
(263, 1, 1, 'Balogun Aisha', 'customer', 'new customer account created', '2025-12-08 09:52:44', '2025-12-08 09:52:44'),
(264, 1, 1, 'Adeniran Michael', 'customer', 'new customer account created', '2025-12-08 10:17:40', '2025-12-08 10:17:40'),
(265, 1, 1, 'Olatunde Queen', 'customer', 'new customer account created', '2025-12-08 10:54:20', '2025-12-08 10:54:20'),
(266, 1, 1, 'Olatunde Queen', 'customer', 'new customer account created', '2025-12-08 15:03:19', '2025-12-08 15:03:19'),
(267, 1, 2, 'admin system', 'user', 'user account updated', '2025-12-11 12:11:49', '2025-12-11 12:11:49'),
(268, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 13:53:34', '2025-12-15 13:53:34'),
(269, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 13:53:39', '2025-12-15 13:53:39'),
(270, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 13:54:32', '2025-12-15 13:54:32'),
(271, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 13:54:39', '2025-12-15 13:54:39'),
(272, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 13:55:23', '2025-12-15 13:55:23'),
(273, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 13:58:20', '2025-12-15 13:58:20'),
(274, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 13:58:23', '2025-12-15 13:58:23'),
(275, 1, 1, 'Olatunde Queen', 'customer', 'Account Restricted', '2025-12-15 13:58:23', '2025-12-15 13:58:23'),
(276, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 13:59:05', '2025-12-15 13:59:05'),
(277, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:00:25', '2025-12-15 14:00:25'),
(278, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:03:48', '2025-12-15 14:03:48'),
(279, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:04:10', '2025-12-15 14:04:10'),
(280, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:05:01', '2025-12-15 14:05:01'),
(281, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:06:52', '2025-12-15 14:06:52'),
(282, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:06:53', '2025-12-15 14:06:53'),
(283, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:06:55', '2025-12-15 14:06:55'),
(284, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:06:56', '2025-12-15 14:06:56'),
(285, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:06:58', '2025-12-15 14:06:58'),
(286, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:07:04', '2025-12-15 14:07:04'),
(287, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:07:06', '2025-12-15 14:07:06'),
(288, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:07:07', '2025-12-15 14:07:07'),
(289, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:07:09', '2025-12-15 14:07:09'),
(290, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:07:10', '2025-12-15 14:07:10'),
(291, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:07:11', '2025-12-15 14:07:11'),
(292, 1, 1, 'Olatunde Queen', 'customer', 'transaction initialized', '2025-12-15 14:16:02', '2025-12-15 14:16:02');

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

--
-- Table structure for table `banks`
--

CREATE TABLE `banks` (
  `id` bigint UNSIGNED NOT NULL,
  `bank_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `bank_code` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `bank_logo` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `short_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `banks`
--

INSERT INTO `banks` (`id`, `bank_name`, `bank_code`, `bank_logo`, `short_code`, `created_at`, `updated_at`) VALUES
(1, '3Line', '110005', 'uploads/1692110916_3Line.png', '', NULL, '2023-08-15 15:48:36'),
(2, 'Ab MFB', '090270', 'uploads/1692110985_Ab MFB.png', '', NULL, '2023-08-15 15:49:45'),
(3, 'Abbey Mortgage Bank', '070010', 'uploads/1692110996_Abbey Mortage Bank.png', '', NULL, '2023-08-15 15:49:56'),
(4, 'Above Only MFB', '090260', 'uploads/1692111017_Above Only.jpeg', '', NULL, '2023-08-15 15:50:17'),
(5, 'Abu MFB', '090197', 'uploads/1692111030_ABU MFB.jpeg', '', NULL, '2023-08-15 15:50:30'),
(6, 'Access Bank Nigeria', '000014', 'uploads/1692111053_Access Bank.png', '044', NULL, '2023-08-15 15:50:53'),
(7, 'Access Yello and Beta', '100052', 'uploads/1692117160_bank-icon-png_239804.jpg', '', NULL, '2023-08-15 17:32:40'),
(8, 'Accessmoney', '100013', 'uploads/1692117148_bank-icon-png_239804.jpg', '323', NULL, '2023-08-15 17:32:28'),
(9, 'Accion MFB', '090134', 'uploads/1692111332_Accion MFB.png', '', NULL, '2023-08-15 15:55:32'),
(10, 'Addosser MFB', '090160', 'uploads/1692111345_Addosser MFB.png', '', NULL, '2023-08-15 15:55:45'),
(11, 'Adeyemi College Staff MFB', '090268', 'uploads/1692111362_Adeyemi CS MFB.jpeg', '', NULL, '2023-08-15 15:56:02'),
(12, 'Afekhafe MFB', '090292', 'uploads/1692111380_Afekhafe MfB.jpeg', '', NULL, '2023-08-15 15:56:20'),
(13, 'Ag Mortgage Bank', '100028', 'uploads/1692111401_Ag MB.jpeg', '', NULL, '2023-08-15 15:56:41'),
(14, 'Al-Barkah MFB', '090133', 'uploads/1692111432_Al- Barkah MFB.jpeg', '', NULL, '2023-08-15 15:57:12'),
(15, 'Al-Hayat MFB', '090277', 'uploads/1692111449_Al- Hayat MFB.jpeg', '', NULL, '2023-08-15 15:57:29'),
(16, 'Alekun MFB', '090259', 'uploads/1692111467_Alekun MFB.jpeg', '', NULL, '2023-08-15 15:57:47'),
(17, 'Alert MFB', '090297', 'uploads/1692111483_Alert MFB.jpeg', '', NULL, '2023-08-15 15:58:03'),
(18, 'Allworkers MFB', '090131', 'uploads/1692111501_Allworkers MFB.png', '', NULL, '2023-08-15 15:58:21'),
(19, 'Alpha Kapital MFB', '090169', 'uploads/1692111528_Alpha Kapital.jpeg', '', NULL, '2023-08-15 15:58:48'),
(20, 'Amju Unique MFB', '090180', 'uploads/1692111546_Amju Unique MFB.png', '', NULL, '2023-08-15 15:59:06'),
(21, 'AMML MFB', '090116', 'uploads/1692111569_AMML MFB.png', '', NULL, '2023-08-15 15:59:29'),
(22, 'Apeks MFB', '090143', 'uploads/1692111627_Apeks MFB.jpeg', '', NULL, '2023-08-15 16:00:27'),
(23, 'Arise MFB', '090282', 'uploads/1692111771_new-arise-logo-2.png', '', NULL, '2023-08-15 16:02:51'),
(24, 'Aso Savings And Loans', '090001', 'uploads/1692111791_Aso saving and loans.png', '401', NULL, '2023-08-15 16:03:11'),
(25, 'Asset Matrix MFB', '090287', 'uploads/1692111810_Asset MAtrix MFB.png', '', NULL, '2023-08-15 16:03:30'),
(26, 'Astrapolaris MFB', '090172', 'uploads/1692111844_Astra Polaris MFB.jpeg', '', NULL, '2023-08-15 16:04:04'),
(27, 'Auchi MFB', '090264', 'uploads/1692111933_Auchi MFB.jpeg', '', NULL, '2023-08-15 16:05:33'),
(28, 'Baines Credit MFB', '090188', 'uploads/1692111992_Baines Credit MFB.png', '', NULL, '2023-08-15 16:06:32'),
(29, 'Balogun Gambari MFB', '090326', 'uploads/1692112213_Balogun MFB.jpeg', '', NULL, '2023-08-15 16:10:13'),
(30, 'Baobab MFB', '090136', 'uploads/1692113257_Baobab MFB.png', '', NULL, '2023-08-15 16:27:37'),
(31, 'BC Kash MFB', '090127', 'uploads/1692113358_BC kash MFB.png', '', NULL, '2023-08-15 16:29:18'),
(32, 'Boctrust MFB', '090117', 'uploads/1692113623_Boctrust MFB.png', '', NULL, '2023-08-15 16:33:43'),
(33, 'Bosak MFB', '090176', 'uploads/1692113651_Bosak MFB.png', '', NULL, '2023-08-15 16:34:11'),
(34, 'Bowen MFB', '090148', 'uploads/1692113675_Bowen MFB.jpeg', '', NULL, '2023-08-15 16:34:35'),
(35, 'Brent Mortgage Bank', '070015', 'uploads/1692113708_Brent Mortage Bank.png', '', NULL, '2023-08-15 16:35:08'),
(36, 'Brethren MFB', '090293', 'uploads/1692113735_Brethren MFB.jpeg', '', NULL, '2023-08-15 16:35:35'),
(37, 'Brightway MFB', '090308', 'uploads/1692113853_Brightway MFB.png', '', NULL, '2023-08-15 16:37:33'),
(39, 'CEMCS MFB', '090154', 'uploads/1692114117_CEMCS MFB.jpeg', '50823', NULL, '2023-08-15 16:41:57'),
(40, 'Chikum MFB', '090141', 'uploads/1692114148_Chikum MFB.png', '', NULL, '2023-08-15 16:42:28'),
(41, 'CIT MFB', '090144', 'uploads/1692114170_CIT MFB.jpeg', '', NULL, '2023-08-15 16:42:50'),
(42, 'Citibank Nigeria', '000009', 'uploads/1692114192_Citibank Nigeria.png', '023', NULL, '2023-08-15 16:43:12'),
(43, 'Consumer MFB', '090130', 'uploads/1692114219_Consumer MFb.png', '', NULL, '2023-08-15 16:43:39'),
(44, 'Contec Global Infotech', '100032', 'uploads/1692114650_Contec Global Infotech.jpeg', '', NULL, '2023-08-15 16:50:50'),
(45, 'Coronation Merchant Bank', '060001', 'uploads/1692114816_Coronation Merchant bank.png', '902', NULL, '2023-08-15 16:53:36'),
(46, 'Covenant', '070006', 'uploads/1692114919_Covenant MFB.png', '', NULL, '2023-08-15 16:55:19'),
(47, 'Credit Afrique MFB', '090159', 'uploads/1692115054_Credit Afrique.jpeg', '', NULL, '2023-08-15 16:57:34'),
(48, 'Daylight MFB', '090167', 'uploads/1692115071_Daylight MFB.jpeg', '', NULL, '2023-08-15 16:57:51'),
(49, 'E-Barcs MFB', '090156', 'uploads/1692115088_E- barcs MFB.png', '', NULL, '2023-08-15 16:58:08'),
(50, 'Eagle Flight MFB', '090294', 'uploads/1692115107_Eagle Flight MFB.jpeg', '', NULL, '2023-08-15 16:58:27'),
(51, 'Eartholeum (Qik Qik)', '100021', 'uploads/1692117034_Eartholeum(Qik Qik).png', '', NULL, '2023-08-15 17:30:34'),
(52, 'Ecobank Bank', '000010', 'uploads/1692117009_Ecobank.png', '050', NULL, '2023-08-15 17:30:09'),
(53, 'Ecobank Xpress', '100008', 'uploads/1692116979_Ecobank Xpress.png', '307', NULL, '2023-08-15 17:29:39'),
(54, 'EdFin MFB', '090310', 'uploads/1692116958_Edfin MFB.png', '', NULL, '2023-08-15 17:29:18'),
(55, 'Ekondo MFB', '090097', 'uploads/1692116935_Ekondo Bank.png', '562', NULL, '2023-08-15 17:28:55'),
(56, 'Emeralds MFB', '090273', 'uploads/1692116906_Emeralds Mfb.png', '', NULL, '2023-08-15 17:28:26'),
(57, 'Empire Trust MFB', '090114', 'uploads/1692115965_Empire Trust MFb.png', '', NULL, '2023-08-15 17:12:45'),
(58, 'Esan MFB', '090189', 'uploads/1692115801_Esn MFB.jpeg', '', NULL, '2023-08-15 17:10:01'),
(59, 'Eso-E MFB', '090166', 'uploads/1692115777_Eso- E MFB.png', '', NULL, '2023-08-15 17:09:37'),
(60, 'Etranzact', '100006', 'uploads/1692115751_Etranzact.png', '', NULL, '2023-08-15 17:09:11'),
(61, 'Evangel MFB', '090304', 'uploads/1692115732_Evangle MFB.png', '', NULL, '2023-08-15 17:08:52'),
(62, 'Fast MFB', '090179', 'uploads/1692115711_Fast MFB.png', '', NULL, '2023-08-15 17:08:31'),
(63, 'FBNQuest Merchant Bank', '060002', 'uploads/1692115685_FBNQuest Merchant Bank.png', '911', NULL, '2023-08-15 17:08:05'),
(64, 'FCMB Easy Account', '100031', 'uploads/1692115661_FCMB.png', '', NULL, '2023-08-15 17:07:41'),
(65, 'FCT MFB', '090290', 'uploads/1692115606_FCT MFB.jpeg', '', NULL, '2023-08-15 17:06:46'),
(66, 'FUD MFB', '090318', 'uploads/1692115536_bank-icon-png_239804.jpg', '', NULL, '2024-10-25 16:53:44'),
(67, 'Fedpoly Nasarawa MFB', '090298', 'uploads/1692115431_Fedpoly Nasarawa MFB.jpeg', '', NULL, '2023-08-15 17:03:51'),
(68, 'FETS (My Wallet)', '100001', 'uploads/1692115405_FETS.jpeg', '', NULL, '2023-08-15 17:03:25'),
(69, 'FFS Microfinance', '090153', 'uploads/1692115382_FFS MFB.jpeg', '', NULL, '2023-08-15 17:03:02'),
(70, 'Fidelity Bank', '000007', 'uploads/1692115353_Fidelity Bank.png', '070', NULL, '2023-08-15 17:02:33'),
(71, 'Fidelity Mobile', '100019', 'uploads/1692115329_Fidelity Mobile.png', '', NULL, '2023-08-15 17:02:09'),
(72, 'Fidfund MFB', '090126', 'uploads/1692115303_Fidfund MFB.png', '', NULL, '2023-08-15 17:01:43'),
(73, 'Finatrust MFB', '090111', 'uploads/1692115280_Finatrust MFB.jpeg', '', NULL, '2023-08-15 17:01:20'),
(75, 'First Bank of Nigeria', '000016', 'uploads/1692115139_First Bank.png', '011', NULL, '2023-08-15 16:58:59'),
(76, 'First City Monument Bank', '000003', 'uploads/1692194663_FCMB.png', '214', NULL, '2023-08-16 15:04:23'),
(77, 'First Gen Mortgage Bank', '070014', 'uploads/1692194739_First Generation MB.png', '', NULL, '2023-08-16 15:05:39'),
(78, 'First Multiple MFB', '090163', 'uploads/1692194781_First Multiple MFB.png', '', NULL, '2023-08-16 15:06:21'),
(79, 'First Option MFB', '090285', 'uploads/1692194831_First Option MFB.png', '', NULL, '2023-08-16 15:07:11'),
(80, 'First Royal MFB', '090164', NULL, '', NULL, NULL),
(81, 'First Trust Mortgage Bank', '090005', NULL, '', NULL, NULL),
(82, 'First Trust Mortgage Bank', '090107', NULL, '', NULL, NULL),
(83, 'Firstmonie Wallet', '100014', 'uploads/1692195699_firstmonie.jpeg', '', NULL, '2023-08-16 15:21:39'),
(85, 'Fortis MFB', '070002', 'uploads/1692195296_Fortis MFB.png', '', NULL, '2023-08-16 15:14:56'),
(86, 'Fortis Mobile', '100016', 'uploads/1692195348_Fortis mobile.png', '', NULL, '2023-08-16 15:15:48'),
(87, 'FSDH Merchant Bank', '400001', 'uploads/1692195183_bank-icon-png_239804.jpg', '501', NULL, '2023-08-16 15:13:03'),
(88, 'Full Range MFB', '090145', 'uploads/1692195127_full range MFB.png', '', NULL, '2023-08-16 15:12:07'),
(89, 'Futo MFB', '090158', 'uploads/1692195075_bank-icon-png_239804.jpg', '', NULL, '2023-08-16 15:11:15'),
(90, 'Gashua MFB', '090168', 'uploads/1692195038_Gashua MFB.jpeg', '', NULL, '2023-08-16 15:10:38'),
(91, 'Gateway Mortgage Bank', '070009', 'uploads/1692195554_Gateway Mortgage Bank.jpeg', '', NULL, '2023-08-16 15:19:14'),
(92, 'Globus Bank', '000027', 'uploads/1692195005_Globus BAnk.png', '103', NULL, '2023-08-16 15:10:05'),
(93, 'Glory MFB', '090278', 'uploads/1692117617_Glory MFB.png', '', NULL, '2023-08-15 17:40:17'),
(94, 'Gomoney', '100022', 'uploads/1692117594_Gomoney.png', NULL, NULL, '2023-08-15 17:39:54'),
(95, 'Gowans MFB', '090122', 'uploads/1692117576_Gowans MFB.jpeg', '', NULL, '2023-08-15 17:39:36'),
(96, 'Greenbank MFB', '090178', 'uploads/1692117546_GreenBank MFB.jpeg', '', NULL, '2023-08-15 17:39:06'),
(97, 'Greenville MFB', '090269', 'uploads/1692117526_Greenville.png', '', NULL, '2023-08-15 17:38:46'),
(98, 'Grooming MFB', '090195', 'uploads/1692117485_grooming MFB.png', '', NULL, '2023-08-15 17:38:05'),
(99, 'GT Mobile Money', '100009', 'uploads/1692117133_bank-icon-png_239804.jpg', '315', NULL, '2023-08-15 17:32:13'),
(100, 'Guaranty Trust Bank', '000013', 'uploads/1692037410_download.png', '058', NULL, '2023-08-14 19:23:30'),
(101, 'Hackman MFB', '090147', NULL, '', NULL, NULL),
(102, 'Haggai Mortgage Bank', '070017', NULL, '', NULL, NULL),
(103, 'Hala MFB', '090291', NULL, '', NULL, NULL),
(104, 'Hasal MFB', '090121', NULL, '50383', NULL, NULL),
(105, 'Hedonmark', '100017', NULL, '', NULL, NULL),
(107, 'Ibile MFB', '090118', NULL, '', NULL, NULL),
(108, 'Ikire MFB', '090275', NULL, '', NULL, NULL),
(109, 'Ikire MFB', '090279', NULL, '', NULL, NULL),
(110, 'Imo State MFB', '090258', NULL, '', NULL, NULL),
(111, 'Imperial Homes Mortgage Bank', '100024', NULL, '', NULL, NULL),
(112, 'Infinity MFB', '090157', NULL, '', NULL, NULL),
(113, 'Infinity Trust Mortgage Bank', '070016', NULL, '', NULL, NULL),
(114, 'Innovectives Kesh', '100029', NULL, '', NULL, NULL),
(116, 'IRL MFB', '090149', NULL, '', NULL, NULL),
(117, 'Itex Integrated Services', '090211', NULL, '', NULL, NULL),
(118, 'Jaiz Bank', '000006', NULL, '301', NULL, NULL),
(119, 'Jubilee Life', '090003', NULL, '', NULL, NULL),
(120, 'Kadpoly MFB', '090320', NULL, '', NULL, NULL),
(121, 'KCMB MFB', '090191', NULL, '', NULL, NULL),
(122, 'Kegow', '100015', NULL, '', NULL, NULL),
(123, 'Keystone Bank', '000002', NULL, '082', NULL, NULL),
(124, 'Kontagora MFB', '090299', NULL, '', NULL, NULL),
(125, 'Kredi Bank', '090380', NULL, '50200', NULL, NULL),
(126, 'Kuda MFB', '090267', NULL, '50211', NULL, NULL),
(127, 'La Fayette MFB', '090155', NULL, '', NULL, NULL),
(128, 'Lagos Building Investment Company', '070012', NULL, '', NULL, NULL),
(129, 'LAPO MFB', '090177', NULL, '', NULL, NULL),
(130, 'Lavender MFB', '090271', NULL, '', NULL, NULL),
(131, 'Lovonus MFB', '090265', NULL, '', NULL, NULL),
(132, 'M-Kudi', '100011', NULL, '', NULL, NULL),
(133, 'Mainstreet MFB', '090171', NULL, '', NULL, NULL),
(134, 'Malachy MFB', '090174', NULL, '', NULL, NULL),
(135, 'Megapraise MFB', '090280', NULL, '', NULL, NULL),
(136, 'Microvis MFB', '090113', NULL, '', NULL, NULL),
(137, 'Midland MFB', '090192', NULL, '', NULL, NULL),
(138, 'Mimoney Intellifin Solutions', '100027', NULL, '', NULL, NULL),
(139, 'Mint-Finex MFB', '090281', NULL, '', NULL, NULL),
(140, 'Money Trust MFB', '090129', NULL, '', NULL, NULL),
(141, 'Moneybox', '100020', NULL, '', NULL, NULL),
(142, 'Mutual Benefits Mifb', '090190', NULL, '', NULL, NULL),
(143, 'Mutual Trust MFB', '090151', NULL, '', NULL, NULL),
(144, 'Nargata MFB', '090152', NULL, '', NULL, NULL),
(145, 'Ndiorah MFB', '090128', NULL, '', NULL, NULL),
(146, 'New Dawn MFB', '090205', NULL, '', NULL, NULL),
(147, 'New Prudential Bank', '090108', NULL, '', NULL, NULL),
(148, 'Nigerian Navy MFB', '090263', NULL, '', NULL, NULL),
(149, 'Nigerian Police Force MFB', '070001', NULL, '', NULL, NULL),
(150, 'Nirsal MFB', '090194', NULL, '', NULL, NULL),
(151, 'Nnew Women MFB', '090283', NULL, '', NULL, NULL),
(152, 'Nova Bank', '060003', NULL, '561', NULL, '2024-07-12 17:11:30'),
(153, 'Ohafia MFB', '090119', NULL, '', NULL, NULL),
(154, 'Okpoga MFB', '090161', NULL, '', NULL, NULL),
(155, 'Olabisi Onabanjo University MFB', '090272', NULL, '', NULL, NULL),
(156, 'Omiye MFB', '090295', NULL, '', NULL, NULL),
(157, 'Omoluabi Mortgage Bank', '070007', NULL, '', NULL, NULL),
(158, 'One Finance', '100026', NULL, '565', NULL, NULL),
(159, 'Paga', '100002', NULL, '', NULL, NULL),
(160, 'Page Financials', '070008', NULL, '', NULL, NULL),
(161, 'Palmpay', '100033', NULL, '', NULL, NULL),
(162, 'Parallex Bank', '090004', 'uploads/1712927725_parallex-logo-CBN-2.png', '526', NULL, '2024-04-12 14:15:25'),
(163, 'Parkway-Readycash', '100003', NULL, '311', NULL, NULL),
(164, 'Patrickgold MFB', '090317', NULL, '', NULL, NULL),
(166, 'Paycom (Opay)', '100004', NULL, '999992', NULL, NULL),
(168, 'Pecantrust MFB', '090137', NULL, '', NULL, NULL),
(169, 'Pennywise MFB', '090196', NULL, '', NULL, NULL),
(170, 'First Ally MFB', '090135', NULL, '', NULL, '2025-07-14 11:25:42'),
(171, 'Petra MFB', '090165', NULL, '', NULL, NULL),
(172, 'Pillar MFB', '090289', NULL, '', NULL, NULL),
(173, 'Platinum Mortgage Bank', '070013', NULL, '', NULL, NULL),
(174, 'Polaris Bank', '000008', NULL, '076', NULL, NULL),
(175, 'Polyuwana MFB', '090296', NULL, '', NULL, NULL),
(176, 'Prestige MFB', '090274', NULL, '', NULL, NULL),
(177, 'Providus Bank', '000023', NULL, '101', NULL, NULL),
(178, 'Purplemoney MFB', '090303', NULL, '', NULL, NULL),
(179, 'Quickfund MFB', '090261', NULL, '', NULL, NULL),
(180, 'Rahama MFB', '090170', NULL, '', NULL, NULL),
(181, 'Rand Merchant Bank', '000024', NULL, '502', NULL, NULL),
(182, 'Refuge Mortgage Bank', '070011', NULL, '', NULL, NULL),
(183, 'Regent MFB', '090125', NULL, '', NULL, NULL),
(184, 'Reliance MFB', '090173', NULL, '', NULL, NULL),
(185, 'Renmoney MFB', '090198', NULL, '', NULL, NULL),
(186, 'Richway MFB', '090132', NULL, '', NULL, NULL),
(187, 'MoniePoint MFB', '090405', NULL, '50515', NULL, NULL),
(188, 'Royal Exchange MFB', '090138', NULL, '', NULL, NULL),
(189, 'Rubies MFB', '090175', NULL, '125', NULL, NULL),
(190, 'Safe Haven MFB', '090286', NULL, '', NULL, NULL),
(191, 'Safetrust Mortgage Bank', '090006', NULL, '', NULL, NULL),
(192, 'Sagamu MFB', '090140', NULL, '', NULL, NULL),
(193, 'Seed Capital MFB', '090112', NULL, '', NULL, NULL),
(194, 'Sparkle Bank', '090325', NULL, '51310', NULL, NULL),
(195, 'Stanbic IBTC', '000012', NULL, '221', NULL, NULL),
(196, 'Stanbic IBTC @Ease Wal', '100007', NULL, '304', NULL, NULL),
(197, 'Standard Chartered Bank', '000021', NULL, '068', NULL, NULL),
(198, 'Stanford MFB', '090162', NULL, '', NULL, NULL),
(199, 'Stellas MFB', '090262', NULL, '', NULL, NULL),
(200, 'Sterling Bank', '000001', NULL, '232', NULL, NULL),
(201, 'Sulspap MFB', '090305', NULL, '', NULL, NULL),
(202, 'Suntrust Bank', '000022', NULL, '100', NULL, NULL),
(203, 'Tagpay', '100023', NULL, '', NULL, NULL),
(204, 'Taj Bank', '000026', NULL, '302', NULL, NULL),
(205, 'IBank Microfinance Bank', '090115', 'uploads/1718968721_iBankLogoHome.png', '51211', NULL, '2024-06-21 12:18:41'),
(207, 'Teasy Mobile', '100010', NULL, '', NULL, NULL),
(208, 'Titan Trust Bank', '000025', NULL, '102', NULL, NULL),
(209, 'Trident MFB', '090146', NULL, '', NULL, NULL),
(210, 'Trustbanc J6 MFB', '090123', NULL, '', NULL, NULL),
(211, 'Trustfund MFB', '090276', NULL, '', NULL, NULL),
(212, 'UNIBEN MFB', '090266', NULL, '', NULL, NULL),
(213, 'UNICAL MFB', '090193', NULL, '', NULL, NULL),
(214, 'Union Bank of Nigeria', '000018', NULL, '032', NULL, NULL),
(215, 'United Bank for Africa', '000004', NULL, '033', NULL, NULL),
(216, 'Unity Bank', '000011', NULL, '215', NULL, NULL),
(217, 'Unn MFB', '090251', NULL, '', NULL, NULL),
(218, 'VFD MFB', '090110', NULL, '566', NULL, NULL),
(219, 'Virtue MFB', '090150', NULL, '', NULL, NULL),
(220, 'Visa MFB', '090139', NULL, '', NULL, NULL),
(221, 'Vtnetwork', '100012', NULL, '', NULL, NULL),
(222, 'Wema Bank', '000017', NULL, '035', NULL, NULL),
(223, 'Wetland MFB', '090120', NULL, '', NULL, NULL),
(224, 'Xslnce MFB', '090124', NULL, '', NULL, NULL),
(225, 'Yes MFB', '090142', NULL, '', NULL, NULL),
(226, 'Zenith Bank', '000015', NULL, '057', NULL, NULL),
(227, 'Zenith Mobile', '100018', NULL, '322', NULL, NULL),
(228, 'Zinternet', '100025', NULL, '', NULL, NULL),
(229, 'Waya MFB', '090590', NULL, NULL, NULL, NULL),
(230, 'MP', '50515', NULL, NULL, NULL, NULL),
(231, 'Nuggets MFB', '090676', 'uploads/1711096153_nuggets.jpg', NULL, '2024-03-22 09:29:13', '2024-03-22 09:29:13'),
(232, 'Halo MFB', '090539', NULL, NULL, '2024-03-22 09:51:56', '2024-03-22 09:51:56'),
(233, 'Aella MFB', '090614', NULL, NULL, '2024-03-26 04:22:53', '2024-03-26 04:22:53'),
(234, 'Garun Mallam MFB', '090691', NULL, NULL, '2024-04-08 13:41:14', '2024-04-08 13:41:14'),
(235, 'WRA MFB', '090631', NULL, NULL, '2024-04-08 13:41:59', '2024-04-08 13:41:59'),
(236, 'Olive MFB', '090696', 'uploads/1712927629_olive_logo.PNG', NULL, '2024-04-12 14:13:49', '2024-04-12 14:13:49'),
(237, 'Mkobo MFB', '090455', 'uploads/1712936516_mko.png', NULL, '2024-04-12 16:41:56', '2024-04-12 16:41:56'),
(238, 'BellBank Microfinance Bank', '090672', 'uploads/1713179523_bellbank.png', NULL, '2024-04-15 12:12:03', '2024-04-15 12:12:03'),
(239, 'Bokkos MFB', '090703', NULL, NULL, '2024-04-25 07:34:58', '2024-04-25 07:34:58'),
(240, 'ClearPay Microfinance Bank', '090482', NULL, NULL, '2024-05-07 18:08:23', '2024-05-07 18:08:23'),
(241, 'UCEE MFB', '090706', NULL, NULL, '2024-05-28 07:57:15', '2024-05-28 07:57:15'),
(242, 'REX MFB', '090449', NULL, NULL, '2024-05-31 11:17:05', '2024-05-31 11:17:05'),
(243, 'MADOBI MFB', '090605', NULL, NULL, '2024-06-04 03:17:42', '2024-06-04 03:17:42'),
(244, 'ISUA MFB', '090701', NULL, NULL, '2024-06-04 03:18:24', '2024-06-04 03:18:24'),
(245, 'FOCUS MFB', '090709', NULL, NULL, '2024-06-04 03:18:55', '2024-06-04 03:18:55'),
(246, 'TransPay MFB', '090708', NULL, NULL, '2024-06-11 17:49:32', '2024-06-11 17:49:32'),
(247, 'Prospa Capital MFB', '090495', NULL, NULL, '2024-06-13 10:34:54', '2024-06-13 10:34:54'),
(248, 'FCMB MFB', '090409', 'uploads/1719476434_fcmb.jpeg', NULL, '2024-06-27 09:20:34', '2024-06-27 09:20:34'),
(249, 'DAILY TRUST MFB', '090705', NULL, NULL, '2024-07-03 16:11:57', '2024-07-03 16:11:57'),
(250, 'UBA MONI', '000040', NULL, NULL, '2024-07-03 16:12:37', '2024-07-03 16:12:37'),
(251, 'ADA MFB', '090483', NULL, NULL, '2024-07-03 16:13:11', '2024-07-03 16:13:11'),
(252, 'CAPSTONE MFB', '090445', NULL, NULL, '2024-07-03 17:24:44', '2024-07-03 17:24:44'),
(253, 'UNIUYO MFB', '090338', NULL, NULL, '2024-07-03 17:25:06', '2024-07-03 17:25:06'),
(254, 'DAL MFB', '090596', NULL, NULL, '2024-07-03 17:25:38', '2024-07-03 17:25:38'),
(255, 'AKALABO MFB', '090698', NULL, NULL, '2024-07-03 17:29:17', '2024-07-03 17:29:17'),
(256, 'Millennium MFB', '090711', NULL, NULL, '2024-07-07 08:34:30', '2024-07-07 08:34:30'),
(257, 'TOFA MFB', '090714', NULL, NULL, '2024-07-07 08:35:05', '2024-07-07 08:35:05'),
(258, 'Emaar MFB', '090712', NULL, NULL, '2024-07-07 08:36:11', '2024-07-07 08:36:11'),
(259, 'IMOWO MFB', '090417', NULL, NULL, '2024-07-12 17:02:33', '2024-07-12 17:02:33'),
(260, 'RAYYAN MFB', '090616', NULL, NULL, '2024-07-12 17:02:56', '2024-07-12 17:02:56'),
(261, 'ILE-OLUJI MFB', '090710', NULL, NULL, '2024-07-15 12:54:59', '2024-07-22 09:37:13'),
(262, 'Kolomoni Microfinance Bank', '090480', NULL, NULL, '2024-07-17 12:06:05', '2024-07-17 12:06:05'),
(263, 'COOPFUND MFB', '090717', NULL, NULL, '2024-07-17 12:06:37', '2024-07-17 12:06:37'),
(264, 'Tenn MFB', '090716', NULL, NULL, '2024-07-18 11:49:54', '2024-07-18 11:49:54'),
(265, 'RIC MFB', '090720', NULL, NULL, '2024-07-21 09:22:38', '2024-07-21 09:22:38'),
(266, 'ONUBI MFB', '090719', NULL, NULL, '2024-07-22 09:48:24', '2024-07-22 09:48:24'),
(267, 'LAWYERS MFB', '090724', NULL, NULL, '2024-07-23 12:39:27', '2024-07-23 12:39:27'),
(268, 'Zedvance Finance Limited', '050019', NULL, NULL, '2024-07-23 17:35:33', '2024-07-23 17:35:33'),
(269, 'Ihiala MFB', '090725', NULL, NULL, '2024-07-23 17:36:03', '2024-07-23 17:36:03'),
(270, 'Destiny MFB', '090723', NULL, NULL, '2024-07-23 17:36:27', '2024-07-23 17:36:27'),
(271, 'Zitra MFB', '090718', NULL, NULL, '2024-07-24 14:29:14', '2024-07-24 14:29:14'),
(272, 'OMAK MFB', '090700', NULL, NULL, '2024-07-29 16:06:01', '2024-07-29 16:06:01'),
(273, 'SINCERE MFB', '090339', NULL, NULL, '2024-08-16 10:21:24', '2024-08-16 10:21:24'),
(274, 'SURE ANCHOR MFB', '090728', NULL, NULL, '2024-08-23 13:27:20', '2024-08-23 13:27:20'),
(275, 'IJARE MFB', '090730', NULL, NULL, '2024-08-23 13:27:44', '2024-08-23 13:27:44'),
(276, 'Crystal Finance Company LTD', '050029', NULL, NULL, '2024-08-29 14:57:37', '2024-08-29 14:57:37'),
(277, 'SABI MFB', '090727', NULL, NULL, '2024-08-29 14:59:15', '2024-08-29 14:59:15'),
(278, 'IBBU MFB', '090697', NULL, NULL, '2024-09-29 16:05:21', '2024-09-29 16:05:21'),
(279, 'NAF MFB', '090740', NULL, NULL, '2024-10-02 13:05:00', '2024-10-02 13:05:00'),
(280, 'Levite MFB', '090731', NULL, NULL, '2024-10-02 14:04:11', '2024-10-02 14:04:11'),
(281, 'Novus MFB', '090734', NULL, NULL, '2024-10-02 14:04:45', '2024-10-02 14:04:45'),
(282, 'Katagum MFB', '090684', NULL, NULL, '2024-10-02 14:05:10', '2024-10-02 14:05:10'),
(283, 'Babcock MFB', '090729', NULL, NULL, '2024-10-02 14:05:44', '2024-10-02 14:05:44'),
(284, 'MOUA MFB', '090659', NULL, NULL, '2024-10-02 14:06:48', '2024-10-02 14:06:59'),
(286, 'OGBERURU MFB', '090738', NULL, NULL, '2024-10-23 13:11:22', '2024-10-23 13:11:22'),
(287, 'WESTON-CHARIS MFB', '090741', NULL, NULL, '2024-10-23 13:12:56', '2024-10-23 13:12:56'),
(288, 'MAESTRO MFB', '090746', NULL, NULL, '2024-10-23 13:13:18', '2024-10-23 13:13:18'),
(289, 'DIGITVANT MFB', '090745', NULL, NULL, '2024-10-23 13:13:39', '2024-10-23 13:13:39'),
(290, 'NOMASE MFB', '090736', NULL, NULL, '2024-10-23 13:20:00', '2024-10-23 13:20:00'),
(291, 'Paystack-Titan Bank', '100039', NULL, NULL, '2024-10-26 13:20:00', '2024-10-26 13:20:00'),
(292, 'Whitecrust Finance', '050035', NULL, NULL, '2025-06-30 13:46:22', '2025-06-30 13:46:22'),
(293, 'Bowman MFB', '090804', NULL, NULL, '2025-06-30 13:50:30', '2025-06-30 13:50:30'),
(294, 'Ukpor MFB', '090820', NULL, NULL, '2025-06-30 13:51:33', '2025-06-30 13:51:33'),
(295, 'Dillon MFB', '090828', NULL, NULL, '2025-06-30 13:52:45', '2025-06-30 13:52:45'),
(296, 'Charis MFB', '090815', NULL, NULL, '2025-06-30 13:53:32', '2025-06-30 13:53:32'),
(297, 'Tatum Bank', '000042', NULL, NULL, '2025-06-30 13:54:20', '2025-06-30 13:54:20'),
(298, 'Moneytronics MFB', '090692', NULL, NULL, '2025-06-30 13:55:03', '2025-06-30 13:55:03'),
(299, 'Eastman MFB', '090707', NULL, NULL, '2025-06-30 13:56:27', '2025-06-30 13:56:27'),
(300, 'Mega MFB', '090824', NULL, NULL, '2025-06-30 13:58:44', '2025-06-30 13:58:44'),
(301, 'Victory MFB', '090813', NULL, NULL, '2025-06-30 13:59:46', '2025-06-30 13:59:46'),
(302, 'Adamawa Mortgage Bank', '070030', NULL, NULL, '2025-06-30 14:00:34', '2025-06-30 14:00:34'),
(303, 'Boost MFB', '090819', NULL, NULL, '2025-06-30 14:01:18', '2025-06-30 14:01:18'),
(304, 'Summit Bank', '080003', NULL, NULL, '2025-06-30 14:02:19', '2025-06-30 14:02:19'),
(305, 'Build MicroFinance Bank', '090613', NULL, NULL, '2025-06-30 14:04:40', '2025-06-30 14:04:40'),
(306, 'Poder finance', '050021', NULL, NULL, '2025-06-30 14:06:25', '2025-06-30 14:06:25'),
(307, 'Moremonee Microfinance Bank Limited', '090685', NULL, NULL, '2025-06-30 14:07:53', '2025-06-30 14:07:53'),
(308, 'Doje Microfinance Bank Limited', '090404', NULL, NULL, '2025-06-30 14:09:19', '2025-06-30 14:09:19'),
(309, 'First Marina Trust Finance', '050022', NULL, NULL, '2025-06-30 14:11:03', '2025-06-30 14:11:03'),
(310, 'BLOOMS MFB', '090743', NULL, NULL, '2025-06-30 14:12:49', '2025-06-30 14:12:49'),
(311, 'GREENWICH MERCHANT BANK', '060004', NULL, NULL, '2025-06-30 14:14:11', '2025-06-30 14:14:11'),
(312, 'Bank of Agriculture', '090367', NULL, NULL, '2025-07-14 11:20:59', '2025-07-14 11:20:59'),
(313, '5TT', '090832', NULL, NULL, '2025-07-14 11:21:44', '2025-07-14 11:21:44'),
(314, 'Flexi MFB', '090835', NULL, NULL, '2025-07-14 11:22:44', '2025-07-14 11:22:44'),
(315, 'Old Shoreham MFB', '090410', NULL, NULL, '2025-07-14 11:27:41', '2025-07-14 11:27:41'),
(316, 'Old Shoreham MFB', '090410', NULL, NULL, '2025-07-14 11:27:52', '2025-07-14 11:27:52');

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

--
-- Table structure for table `beneficiaries`
--

CREATE TABLE `beneficiaries` (
  `id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint UNSIGNED NOT NULL,
  `account_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `bank_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_shortcode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `branches`
--

CREATE TABLE `branches` (
  `id` bigint UNSIGNED NOT NULL,
  `branch_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8mb4_unicode_ci,
  `default_branch` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `branches`
--

INSERT INTO `branches` (`id`, `branch_name`, `branch_code`, `address`, `default_branch`, `created_at`, `updated_at`) VALUES
(1, 'Head Office', NULL, 'Address', 0, '2024-06-17 03:10:49', '2024-06-17 03:10:49');

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

--
-- Table structure for table `branch_users`
--

CREATE TABLE `branch_users` (
  `id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `capitals`
--

CREATE TABLE `capitals` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED NOT NULL,
  `share_holder_name` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `percentage` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `charges`
--

CREATE TABLE `charges` (
  `id` bigint UNSIGNED NOT NULL,
  `chargename` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `charges`
--

INSERT INTO `charges` (`id`, `chargename`, `amount`, `description`, `branch_id`, `created_at`, `updated_at`) VALUES
(2, 'Esusu', '1000', NULL, NULL, '2022-12-06 16:09:57', '2022-12-06 17:25:52'),
(3, 'Form Fees', '1000', NULL, NULL, '2022-12-06 16:10:15', '2022-12-06 17:38:40'),
(4, 'Monthly Charge', '300', 'Charge', NULL, '2022-12-06 16:10:59', '2023-05-07 14:23:08'),
(5, 'Process Fees', '150', NULL, NULL, '2022-12-06 16:11:28', '2022-12-06 16:15:08'),
(6, 'Transfer Charge', '0', NULL, NULL, '2022-12-06 16:11:55', '2025-03-18 11:14:22'),
(7, 'other charges', '0', 'other charges', NULL, '2023-05-02 16:01:49', '2025-03-18 11:14:43'),
(8, '1000 flatchgs', '1000', 'hfgf', NULL, '2023-05-07 14:31:16', '2023-05-07 14:31:55');

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

--
-- Table structure for table `collaterals`
--

CREATE TABLE `collaterals` (
  `id` bigint UNSIGNED NOT NULL,
  `loan_id` bigint UNSIGNED DEFAULT NULL,
  `customer_id` bigint UNSIGNED DEFAULT NULL,
  `collateral_type_id` bigint UNSIGNED DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `date` date DEFAULT NULL,
  `status` enum('returned_to_customer','repossessed','repossession_initiated','sold','lost','collateral_with_customer','deposited_into_branch') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `photo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `files` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `serial_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `model_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `model_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `manufacture_date` date DEFAULT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `collateral_types`
--

CREATE TABLE `collateral_types` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `customer_restrictions`
--

CREATE TABLE `customer_restrictions` (
  `id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint UNSIGNED NOT NULL,
  `customer_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `session_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  `status` int NOT NULL,
  `branch_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `emails`
--

CREATE TABLE `emails` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `subject` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `recipient` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



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

--
-- Table structure for table `exchangerates`
--

CREATE TABLE `exchangerates` (
  `id` bigint UNSIGNED NOT NULL,
  `currency` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `currency_rate` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `currency_symbol` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `exchangerates`
--

INSERT INTO `exchangerates` (`id`, `currency`, `currency_rate`, `currency_symbol`, `created_at`, `updated_at`) VALUES
(1, 'dollar', '885', '$', '2023-08-14 16:08:43', '2023-08-23 12:52:55'),
(2, 'pounds', '1145', '£', '2023-08-22 16:11:16', '2023-08-23 12:53:22'),
(3, 'euro', '925', '€', '2023-08-22 16:11:38', '2023-08-23 12:53:29'),
(4, 'canadian dollar', '780', 'CA$', '2023-08-22 16:16:04', '2023-08-24 15:42:58');

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

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

CREATE TABLE `expenses` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `expense_type_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `expense_account` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `credit_account` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `expslip` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `month` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `recurring` tinyint NOT NULL DEFAULT '0',
  `recur_frequency` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `recur_start_date` date DEFAULT NULL,
  `recur_end_date` date DEFAULT NULL,
  `recur_next_date` date DEFAULT NULL,
  `recur_type` enum('daily','weekly','monthly','yearly') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  `file` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `expense_types`
--

CREATE TABLE `expense_types` (
  `id` bigint UNSIGNED NOT NULL,
  `expcat` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

CREATE TABLE `failed_jobs` (
  `id` bigint UNSIGNED NOT NULL,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `fixed_deposits`
--

CREATE TABLE `fixed_deposits` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `customer_id` bigint UNSIGNED NOT NULL,
  `fixed_deposit_product_id` bigint UNSIGNED NOT NULL,
  `accountofficer_id` bigint UNSIGNED NOT NULL,
  `approved_by_id` bigint UNSIGNED DEFAULT NULL,
  `declined_by_id` bigint UNSIGNED DEFAULT NULL,
  `closed_by_id` bigint UNSIGNED DEFAULT NULL,
  `fixed_deposit_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `old_disbursedate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `old_maturedate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `release_date` date DEFAULT NULL,
  `maturity_date` date DEFAULT NULL,
  `interest_start_date` date DEFAULT NULL,
  `first_payment_date` date DEFAULT NULL,
  `principal` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_method` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_period` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'day',
  `duration` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `duration_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'year',
  `payment_cycle` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'monthly',
  `status_id` int DEFAULT NULL,
  `fd_status` enum('open','fully_paid','defaulted','restructured','processing') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
  `balance` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `applied_amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_notes` text COLLATE utf8mb4_unicode_ci,
  `enable_withholding_tax` tinyint(1) DEFAULT '0',
  `withholding_tax` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `auto_book_investment` tinyint(1) NOT NULL DEFAULT '0',
  `closed_notes` text COLLATE utf8mb4_unicode_ci,
  `declined_notes` text COLLATE utf8mb4_unicode_ci,
  `approved_date` date DEFAULT NULL,
  `closed_date` date DEFAULT NULL,
  `declined_date` date DEFAULT NULL,
  `written_off_date` date DEFAULT NULL,
  `status` enum('pending','approved','disbursed','declined','withdrawn','written_off','closed','pending_reschedule','rescheduled','trashed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `system_approve` tinyint(1) DEFAULT '0',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `branch_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fixed_deposits`
--

INSERT INTO `fixed_deposits` (`id`, `user_id`, `customer_id`, `fixed_deposit_product_id`, `accountofficer_id`, `approved_by_id`, `declined_by_id`, `closed_by_id`, `fixed_deposit_code`, `reference`, `old_disbursedate`, `old_maturedate`, `release_date`, `maturity_date`, `interest_start_date`, `first_payment_date`, `principal`, `interest_method`, `interest_rate`, `interest_period`, `duration`, `duration_type`, `payment_cycle`, `status_id`, `fd_status`, `balance`, `applied_amount`, `approved_amount`, `approved_notes`, `enable_withholding_tax`, `withholding_tax`, `auto_book_investment`, `closed_notes`, `declined_notes`, `approved_date`, `closed_date`, `declined_date`, `written_off_date`, `status`, `system_approve`, `deleted_at`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 1, 1, NULL, NULL, NULL, '85913126', NULL, NULL, NULL, '2025-10-16', '2025-12-17', NULL, '2025-10-17', '10000', 'monthly', '2', 'month', '2', 'month', 'monthly', NULL, 'open', '10000', '10000', NULL, NULL, 1, '10', 0, NULL, NULL, NULL, NULL, NULL, NULL, 'pending', 0, NULL, NULL, '2025-10-16 10:11:27', '2025-10-16 10:11:27');

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

--
-- Table structure for table `fixed_deposit_products`
--

CREATE TABLE `fixed_deposit_products` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `minimum_principal` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_principal` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `maximum_principal` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_method` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_period` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'year',
  `minimum_interest_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_interest_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `maximum_interest_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_payment` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'monthly',
  `default_duration` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_duration_type` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT 'monthly',
  `branch_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fixed_deposit_products`
--

INSERT INTO `fixed_deposit_products` (`id`, `user_id`, `name`, `minimum_principal`, `default_principal`, `maximum_principal`, `interest_method`, `interest_rate`, `interest_period`, `minimum_interest_rate`, `default_interest_rate`, `maximum_interest_rate`, `interest_payment`, `default_duration`, `default_duration_type`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, 5, 'fixed deposit', '100', '1000000', '5000000000', 'monthly', NULL, 'month', '2', '2', '2', 'monthly', '2', 'month', NULL, '2023-07-05 12:41:38', '2024-05-08 13:45:41'),
(2, 5, 'fixed deposit @3%', '100', '1000000', '5000000000', 'monthly', NULL, 'month', '3', '3', '5', 'monthly', '3', 'month', NULL, '2023-07-05 12:42:32', '2024-05-08 13:34:30'),
(3, 5, 'fixed deposit @4%', '100', '1000000', '5000000000', 'monthly', NULL, 'month', '4', '4', '4', 'monthly', '5', 'month', NULL, '2023-07-05 12:44:16', '2024-05-08 13:34:46');

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

--
-- Table structure for table `fxmgmts`
--

CREATE TABLE `fxmgmts` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `accountofficer_id` bigint UNSIGNED DEFAULT NULL,
  `exchangerate_id` bigint UNSIGNED DEFAULT NULL,
  `customer` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `purchase_exchange_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sales_exchange_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `naria_amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `foreign_amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `fee_amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `fx_reference` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `purchase_naria_from` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `purchase_recieve_currency` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_mode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sales_from` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sales_paid_to` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sales_margin` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `beneficiary` text COLLATE utf8mb4_unicode_ci,
  `beneficiary_bank` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `depositor` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `actual_payment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `swift_bank_charges` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `fxtype` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `initiated_by` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tranx_date` date DEFAULT NULL,
  `rev_status` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `general_ledgers`
--

CREATE TABLE `general_ledgers` (
  `id` bigint UNSIGNED NOT NULL,
  `account_category_id` bigint UNSIGNED DEFAULT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `gl_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `gl_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `gl_type` enum('asset','liability','capital','income','expense') COLLATE utf8mb4_unicode_ci NOT NULL,
  `glcode_ref` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_balance` varchar(225) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `general_ledgers`
--

INSERT INTO `general_ledgers` (`id`, `account_category_id`, `user_id`, `branch_id`, `gl_name`, `gl_code`, `gl_type`, `glcode_ref`, `account_balance`, `status`, `created_at`, `updated_at`) VALUES
(1, 32, 1, NULL, 'providus bank-- dw mfb', '10434862', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-07 07:09:48'),
(2, 131, 1, 2, 'all loan principal overdue', '10596204', 'asset', NULL, '23000', 1, '0000-00-00 00:00:00', '2025-08-13 10:56:37'),
(3, 133, 1, 2, 'SafeSmart Tech', '10677960', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(4, 32, 1, 2, 'LeatherBack', '10209695', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(5, 17, 1, NULL, 'main vault-- 00111100010001- migration', '10558417', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-07-08 09:53:13'),
(6, 17, 1, NULL, 'teller2-- 00111100010004-migration', '10626102', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-02-25 14:45:36'),
(7, 59, 1, 1, 'business/sme loans', '10156223', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-07 04:30:07'),
(8, 17, 1, 1, 'cash advance', '10228259', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(9, 17, 1, NULL, 'globus bank-- 00113100010020- migration', '10520985', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-04-24 17:09:24'),
(10, 17, 1, NULL, 'correspondent account-- 00113100010006- migration', '10587620', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-07-08 09:52:53'),
(11, 32, 1, 2, 'company account(serling bank)', '10997918', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(12, 17, 1, NULL, 'providus bank-- 00113100010021- migration', '10135007', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-02-25 14:46:56'),
(13, 133, 1, 2, 'danbethel polaris dollar', '10501673', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(14, 33, 1, 2, 'deposit at cbn', '10134702', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(15, 16, 1, 2, 'dway remit', '10207237', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(16, 17, 1, NULL, 'overdraft - current individual-- 00119100010001- migration', '10490462', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-02-25 14:48:56'),
(17, 17, 1, NULL, 'individual loans-- 00119300010001- migration', '10865311', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-02-25 14:50:10'),
(18, 17, 1, NULL, 'stanbic ibtc bank-- 00113100010019- migration', '10923105', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-02-25 14:50:42'),
(19, 17, 1, NULL, 'term loans-- 00119300010002- migration', '10295295', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-02-25 14:51:20'),
(20, 32, 1, 2, 'fidelity bank rgm 5610047314', '10899792', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(21, 32, 1, 2, 'fidelity bank sambethel 5600287939', '10721320', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(22, 39, 1, NULL, 'furnitures and fittings', '10968173', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-03 09:53:25'),
(23, 61, 1, 2, 'ggt connect international limited', '10705763', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(24, 32, 1, 2, 'ggt diagnostics gl', '10757150', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(25, 61, 1, 2, 'ggt diagnostics solutions limited', '10931732', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(26, 134, 1, 2, 'giftbills account', '10839235', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(27, 16, 1, 2, 'gm fetch', '10391365', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(28, 32, 1, 2, 'gtb bank rg 0654019026', '10424117', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(29, 32, 1, 2, 'gtb igwt', '10405410', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(30, 32, 1, 1, 'igwt global 1012954941 keystone', '10575245', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(31, 57, 1, 2, 'improvement to building(lease)', '10465194', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(32, 41, 1, 2, 'improvement to building(purchase)', '10502088', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-03 09:58:43'),
(33, 134, 1, 2, 'investment in software', '10480994', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(34, 102, 1, NULL, 'pof investment', '10258652', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-07-07 14:21:57'),
(35, 32, 1, 2, 'keystone bank rg 1007039314', '10409042', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(36, 16, 1, 2, 'lockit tech', '10653699', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(37, 59, 1, 1, 'micro loans', '10739869', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(38, 134, 1, 1, 'moniepoint pos', '10553282', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(39, 134, 1, 1, 'moniepointmfb', '10794478', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(40, 39, 1, NULL, 'motor vehicles', '10815485', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-03 09:54:24'),
(41, 112, 1, 2, 'nnpc gl', '10939567', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(42, 67, 1, 2, 'office equipments', '10661678', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(43, 17, 1, 2, 'petty cash gl', '10987740', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(44, 84, 1, 2, 'plant and machinery', '10280383', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-03 09:59:25'),
(45, 32, 1, 2, 'polari rich energy', '10976303', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(46, 32, 1, 2, 'polaris bank rg 4010026420', '10130271', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(47, 32, 1, 2, 'polaris bank sambethel 4010027692', '10955696', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(48, 32, 1, 2, 'polaris danbethel logistics', '10812793', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(49, 32, 1, 2, 'polaris rgm material', '10446819', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(50, 133, 1, 2, 'promassidor fx gl', '10406291', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(51, 41, 1, 2, 'property at 25, talabi estate, adeniyi jones, ikeja', '10653231', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(52, 41, 1, 2, 'property at 4, alhaji ajadi street, egbeda, lagos', '10536390', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(53, 41, 1, 2, 'property at 9, olaiya treet, egbeda, lagos', '10446027', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(54, 41, 1, 2, 'property at 9, younnis  bashorun v.i', '10473578', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(55, 41, 1, 2, 'property at peace estate, aboru lagos', '10354762', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(56, 41, 1, 2, 'property at plot 24, mulmaco estate, ikotun, lagos', '10368005', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(57, 39, 1, NULL, 'computer equipment', '10205117', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-03 09:57:04'),
(58, 77, 1, 2, 'rent prepayment', '10985214', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(59, 133, 1, 2, 'rg access dollars', '10322812', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(60, 32, 1, 2, 'rg cashmatrix 5000024360', '10486203', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(61, 32, 1, 2, 'rg ecobank 3802057929', '10111426', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(62, 133, 1, 2, 'rg fcmb dollar', '10462565', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(63, 133, 1, 2, 'rg fidelity dollar', '10124650', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(64, 32, 1, 2, 'rg globus', '10172158', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(65, 133, 1, 2, 'rg gtb dollar', '10816836', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(66, 32, 1, NULL, 'providus', '10549120', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-03-08 13:36:49'),
(67, 133, 1, 2, 'rg stanbic dollar', '10481970', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(68, 32, 1, 2, 'rg taj bank', '10776733', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(69, 32, 1, 1, 'rg uba2 1019392436', '10575242', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(70, 133, 1, 2, 'rg uk gbp account', '10209491', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(71, 133, 1, 2, 'rg uk gbp- pst sunkanmi', '10444331', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(72, 133, 1, 2, 'rg uk( oyeku) gbp', '10644379', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(73, 32, 1, 2, 'rgm consolidated company limited', '10805505', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(74, 32, 1, 2, 'rgm consolidated fid 5540025060', '10596872', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(75, 32, 1, 2, 'rgm energy fbn', '10994226', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(76, 133, 1, 2, 'rgm energy fbn dollar', '10296765', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(77, 32, 1, 2, 'rgm energy solution gtb 0683928498', '10445253', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(78, 133, 1, 2, 'rgm evergy  gtb dollar', '10473113', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(79, 32, 1, 2, 'rgm gtb', '10567334', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(80, 133, 1, 2, 'rgm materials polaris dollars', '10270839', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(81, 133, 1, 2, 'rich energy polaris dollars', '10454536', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(82, 133, 1, 2, 'rich energy zenith dollars', '10238602', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(83, 32, 1, 2, 'richgreen cash matrix', '10582327', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(84, 61, 1, 2, 'richgreen master\'s capital limited', '10721495', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(85, 133, 1, 2, 'richgreen usd sterling gl', '10472786', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(86, 32, 1, 2, 'sambethel energy access bank 0773074352', '10266043', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(87, 32, 1, 2, 'sambethel energy polaris bank', '10603240', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(88, 133, 1, 2, 'sambethel energy polaris dollars', '10210663', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(89, 133, 1, 2, 'sambethel energy pounds', '10741843', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(90, 133, 1, 2, 'sambethel enery dollar', '10849727', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(91, 32, 1, 2, 'sambethel store uba  2107492366', '10957923', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(92, 32, 1, 2, 'sambethel stores keystone bank 1009015684', '10264337', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(93, 32, 1, 2, 'sambethel superstore wema bank 0122836181', '10680550', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(94, 133, 1, 2, 'sasha fx gl', '10564344', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(95, 41, 1, 2, 'shagamu farm at shagamu, ogun state', '10989932', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(96, 16, 1, 1, 'shortages', '10259119', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(97, 59, 1, 2, 'staff loans', '10297264', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-06 17:15:27'),
(98, 32, 1, 2, 'stanbic bank rg 0022322837', '10402295', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(99, 32, 1, 2, 'sterling bank igwt 0020230022', '10213331', 'asset', NULL, '-100', 1, '0000-00-00 00:00:00', '2025-08-13 10:56:37'),
(100, 32, 1, 2, 'sterling bank sambethel 0068969186', '10763261', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(101, 32, 1, 2, 'subway sub bdc keystone bank', '10357622', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(102, 61, 1, 2, 'subwaysob bdc ltd gl', '10568595', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(103, 17, 1, NULL, 'tellers till 1', '10923392', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-10-31 15:19:00'),
(104, NULL, 1, 2, 'teller\'s till 2', '10327129', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(105, 32, 1, 2, 'transit gl', '10459040', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(106, 102, 1, 2, 'treasury bills', '10525945', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(107, 16, 1, 2, 'triumphant word christian centre', '10243906', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(108, 133, 1, 2, 'uac fx gl', '10990965', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(109, 33, 1, 2, 'uba 1 rg', '10603851', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(110, NULL, 1, 2, 'undeliverable cheque books(stanbic)', '10407676', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(111, 32, 1, 2, 'union bank --rg--0063858740', '10948061', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(112, NULL, 1, 2, 'unpaid account - sms charges', '10256593', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(113, NULL, 1, 2, 'ussd session stock', '10893901', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(114, 17, 1, 1, 'vault account', '10373391', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-06 17:32:26'),
(115, 134, 1, 2, 'verifyme stock', '10116963', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(116, 134, 1, 1, 'vtpass account', '10221490', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-07 06:43:51'),
(117, 16, 1, 2, 'walk-in fx sales', '10287989', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(118, 17, 1, 1, 'wallet gl', '10733842', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-06 13:46:33'),
(119, 32, 1, NULL, 'wema bank rg 0123749963', '10667246', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(120, 134, 1, 2, 'whatsapp session stock', '10268368', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(121, 32, 1, 2, 'zenith bank rg 1013712410', '10677628', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(122, 32, 1, 2, 'zenith bank rich energy concept--- rg—1218542571', '10569288', 'asset', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(123, NULL, 1, 2, 'e-channel outflow account', '10158294', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(124, NULL, 1, 2, 'electrical equipments', '10310574', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(125, NULL, 1, 2, 'electricity prepayment', '10618593', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(126, NULL, 1, 2, 'esusu savings loan - penalty outstanding', '10275374', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(127, NULL, 1, 2, 'fixed asset receivables', '10384176', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(128, NULL, 1, 2, 'general insurance prepayement', '10515156', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(129, NULL, 1, 2, 'guaranty fund', '10195849', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(130, NULL, 1, 2, 'head office main cash', '10738800', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(131, NULL, 1, 2, 'hmo prepayment', '10619464', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(132, NULL, 1, 2, 'instant cash loan - fee outstanding', '10229831', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(133, NULL, 1, 2, 'instant cash loan - interest receivable', '10894405', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(134, NULL, 1, 2, 'instant cash loan - penalty outstanding', '10428615', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(135, NULL, 1, 2, 'insurance premium prepayments', '10791190', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(136, NULL, 1, 2, 'interest suspense on cutomer fixed deposit account', '10222684', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(137, NULL, 1, 2, 'keystone fixed deposit', '10822350', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(138, NULL, 1, 2, 'keystone operation', '10389200', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(139, NULL, 1, 2, 'lease rental(prepayment)', '10929204', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(140, NULL, 1, 2, 'm/vehicle insurance prepayment', '10477669', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(141, NULL, 1, 2, 'other assets(prepayment)', '10469967', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(142, NULL, 1, 2, 'other investment(short term)', '10628294', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(143, NULL, 1, 2, 'other petty cash', '10829844', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(144, NULL, 1, 2, 'payvice pos', '10512808', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(145, 41, 1, NULL, 'plot of land at shell estate lekki', '10166461', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(146, NULL, 1, 2, 'pre-incorporation expenses prepaid', '10733634', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(147, NULL, 1, 2, 'prepaid virtual airtime stock', '10137901', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(148, NULL, 1, 2, 'prepaid virtual airtime(suspense account)', '10572320', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(149, NULL, 1, 2, 'prepayment(audit)', '10603042', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(150, NULL, 1, 2, 'principal overdue -', '10531478', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(151, NULL, 1, 2, 'principal overdue - business', '10580145', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(152, NULL, 1, 2, 'receivables', '10253101', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(153, NULL, 1, 2, 'recova payment receivable', '10156659', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(154, NULL, 1, 2, 'salary advance', '10336725', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(155, NULL, 1, 2, 'sms prepaid', '10914615', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(156, NULL, 1, 2, 'sms repayment', '10738624', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(157, NULL, 1, 2, 'staff loan - interest overdue', '10589628', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(158, NULL, 1, 2, 'staff loan - interest receivable', '10833445', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(159, NULL, 1, 2, 'staff loan - penalty outstanding', '10928019', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(160, NULL, 1, 2, 'stanbic ibtc fixed deposit', '10357093', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(161, NULL, 1, 2, 'stanbic settlement acct', '10936739', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(162, NULL, 1, 2, 'stationary prepayment', '10260766', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(163, NULL, 1, 2, 'sterling fixed deposit', '10237333', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(164, NULL, 1, 2, 'sterling operation', '10395687', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(165, NULL, 1, 2, 'stock of cheque book (stanbic ibtc)', '10359880', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(166, NULL, 1, 2, 'stock of stationery', '10689188', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(167, NULL, 1, 2, 'student ent scheme-balance outstandin', '10314721', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(168, NULL, 1, 2, 'suspense (asset)', '10293144', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(169, NULL, 1, 2, 'suspense account(asset)', '10163749', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(170, NULL, 1, 2, 'suspense recon.', '10801964', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(171, NULL, 1, 2, 'target savings - overdraft', '10503840', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(172, NULL, 1, 2, 'teler', '10761641', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(173, NULL, 1, 2, 'teler\'s till', '10570254', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(174, NULL, 1, 2, 'teller,s till 1', '10639015', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(175, NULL, 1, 2, 'teller3', '10972852', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(176, NULL, 1, 2, 'tellers\' till 3', '10424650', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(177, NULL, 1, 2, 'teller\'s till 3', '10127293', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(178, NULL, 1, 2, 'teller\'s till 3', '10437817', 'asset', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(179, 97, 1, 2, '2023 financial year p&l', '30785510', 'capital', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(180, 56, 1, 2, 'ordinary shared capital', '30488648', 'capital', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-03 10:00:27'),
(181, NULL, 1, 2, '2012 financial year p&l', '30365556', 'capital', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(182, NULL, 1, 2, '2020 financial year p & l', '30981150', 'capital', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(183, NULL, 1, 2, 'general reserve', '30334129', 'capital', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(184, NULL, 1, 2, 'increase in deposit for share(sub)', '30716369', 'capital', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(185, NULL, 1, 2, 'previous yr p&l summary', '30498901', 'capital', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(186, NULL, 1, 2, 'share holding', '30652948', 'capital', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(187, NULL, 1, 2, 'statutory reserve', '30572266', 'capital', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(188, NULL, 1, 2, 'statutory reserve', '30176453', 'capital', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(189, NULL, 1, 2, 'suspense account(capital)', '30235195', 'capital', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(190, 106, 1, 2, '13th month', '50740271', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(191, 81, 1, 2, 'asset matrix virtual account expense', '50792058', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(192, 81, 1, 2, 'audit expenses', '50708169', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(193, 10, 1, 1, 'bad debt expense', '50926990', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(194, 10, 1, 2, 'bad debt written off-lost-100%', '50760891', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(195, 81, 1, 2, 'bank charges', '50409815', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(196, 81, 1, 2, 'bank charges  usd', '50534208', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(197, 81, 1, 1, 'banqpro subscription payment expense', '50486638', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(198, 29, 1, 2, 'board meetintg expenses', '50293041', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(199, 81, 1, 2, 'brokerage gl', '50514924', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(200, 81, 1, 2, 'c.a.c expense', '50871371', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(201, 81, 1, 2, 'computer consumables', '50970546', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(202, 81, 1, 2, 'computer maintenance', '50176483', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(203, 81, 1, 2, 'consultancy and professional', '50137384', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(204, 81, 1, 2, 'corporate gifts', '50880526', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(205, 81, 1, 2, 'corporate subscription', '50689798', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(206, 27, 1, 2, 'depreciation expenses', '50218508', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(207, 81, 1, 2, 'digital services', '50133656', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(208, 29, 1, 2, 'directors remuneration and expense', '50972841', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(209, 29, 1, 2, 'directors travelling expense', '50912004', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(210, 81, 1, 2, 'e channel expense', '50574888', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(211, 81, 1, 2, 'egbeda project', '50453990', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(212, 81, 1, 2, 'electricity', '50578708', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(213, 81, 1, 2, 'email expense', '50678901', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(214, NULL, 1, 2, 'entertainment - staff', '50929265', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(215, 81, 1, 2, 'furniture and equipment maintenance', '50155276', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(216, 136, 1, 2, 'fx commission', '50928409', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(217, 81, 1, 2, 'generator(diesel)', '50824690', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(218, 81, 1, 2, 'generator(petrol)', '50932240', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(219, 106, 1, 2, 'Another Staff Salary', '50728695', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(220, 81, 1, NULL, 'ghana project', '50231150', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(221, 106, 1, 2, 'health maintenance organisation', '50254457', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(222, 81, 1, 2, 'hibiscus flower export gl', '50267757', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(223, 81, 1, 1, 'insurance premium', '50178260', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(224, 52, 1, NULL, 'savings interest', '50962524', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '2025-05-02 13:12:59'),
(225, 52, 1, 2, 'interest expense ( fixed deposit)', '50249457', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(226, 52, 1, 2, 'interest expense fd dollars', '50500086', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(227, 52, 1, 2, 'interest expense fd euros', '50921377', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(228, 52, 1, 2, 'interest expense fd pounds', '50359501', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(229, 81, 1, 2, 'internet-services', '50280821', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(230, NULL, 1, 2, 'investment note - interest expense', '50218625', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(231, 81, 1, 2, 'kano project expenses', '50564852', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(232, 106, 1, 2, 'leave allowance', '50481988', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(233, 81, 1, 2, 'legal fees', '50319729', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(234, 81, 1, 2, 'licensing and registration', '50677094', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(235, 81, 1, NULL, 'management expense ( mgt )', '50866646', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(236, 81, 1, 2, 'marine expenses', '50277011', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(237, 106, 1, NULL, 'medical allowance', '50478994', 'expense', NULL, '-450', 1, '0000-00-00 00:00:00', '2025-08-13 10:36:32'),
(238, 68, 1, 2, 'mining expense', '50452090', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(239, 81, 1, 1, 'moniepoint pos(charges)', '50809927', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(240, 81, 1, 2, 'motor vechcle-fuel', '50414005', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(241, 81, 1, 1, 'motor vechcle-insurance', '50708190', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(242, 81, 1, NULL, 'office expenses', '50318693', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(243, 81, 1, 2, 'office rent expense', '50132448', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(244, 34, 1, 2, 'other expense', '50814096', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(245, 81, 1, 1, 'pension contribution', '50686120', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(246, 81, 1, 1, 'plant maintenance', '50164686', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(247, 81, 1, 2, 'pof brokerage', '50275200', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(248, 47, 1, 2, 'pos purchase', '50282581', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(249, 81, 1, 1, 'postage and courier', '50564350', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(250, 81, 1, 1, 'pre-incorporation expenses', '50950558', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(251, NULL, 1, 2, 'printed stationeries', '50337932', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(252, NULL, 1, 2, 'publicity and advertisement', '50216027', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(253, 81, 1, 1, 'regulatory charge', '50602641', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(254, 81, 1, 2, 'repair & maintenance office premises', '50167764', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(255, 81, 1, 2, 'rg farms expenses', '50910751', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(256, 106, 1, NULL, 'salaries-- 00180200010001- migration', '50182638', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '2025-02-25 14:53:09'),
(257, 68, 1, 1, 'salaries', '50777202', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(258, 81, 1, 1, 'security service - office', '50383563', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(259, NULL, 1, 2, 'sms expense account', '50880429', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(260, 106, 1, 2, 'staff salary', '50725226', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(261, 136, 1, 2, 'subway bdc expense gl', '50737081', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(262, NULL, 1, 2, 'telephone', '50798781', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(263, NULL, 1, 2, 'training expenses-local', '50896631', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(264, NULL, 1, 2, 'transport allowance', '50861671', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(265, 81, 1, 1, 'transportation', '50581240', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(266, NULL, 1, 2, 'travel & hotel expenses', '50586187', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(267, NULL, 1, 2, 'unprinted stationery', '50570619', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(268, NULL, 1, 2, 'ussd session expense', '50232071', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(269, NULL, 1, 2, 'utility allowance', '50983510', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(270, NULL, 1, 2, 'utility bills', '50357731', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(271, NULL, 1, 2, 'vehicles maintenance', '50371896', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(272, 68, 1, 2, 'verifyme expense account', '50536190', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(273, 81, 1, 2, 'water expense', '50235033', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(274, 81, 1, 1, 'wht expense', '50349936', 'expense', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(275, NULL, 1, 2, 'db', '50593805', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(276, NULL, 1, 2, 'dc', '50518176', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(277, NULL, 1, 2, 'dd', '50758109', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(278, NULL, 1, 2, 'de', '50600039', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(279, NULL, 1, 2, 'df', '50625382', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(280, NULL, 1, 2, 'dg', '50765954', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(281, NULL, 1, 2, 'dh', '50871849', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(282, NULL, 1, 2, 'di', '50616293', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(283, NULL, 1, 2, 'domestic allowance', '50232620', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(284, NULL, 1, 2, 'dressing allowance', '50935582', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(285, NULL, 1, 2, 'entertainment - client', '50590389', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(286, NULL, 1, 2, 'entertainment allowance', '50748396', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(287, NULL, 1, 2, 'general insurance expense', '50465330', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(288, NULL, 1, 2, 'group life insurance exp', '50190608', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(289, NULL, 1, 2, 'housing allowance', '50439284', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(290, NULL, 1, 2, 'industrial attachee allowance', '50524584', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(291, NULL, 1, 2, 'inte', '50709977', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(292, NULL, 1, 2, 'investment note - interest expense', '50576790', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(293, NULL, 1, 2, 'lease finance charges', '50412603', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(294, NULL, 1, 2, 'lease rental', '50445404', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(295, NULL, 1, 2, 'loan recovery expense', '50288794', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(296, NULL, 1, 2, 'loss on fixed asset disposal', '50266772', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(297, NULL, 1, 2, 'lunch allowance', '50260802', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(298, NULL, 1, 2, 'marketing bonus', '50977135', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(299, NULL, 1, 2, 'marketing expense', '50143221', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(300, NULL, 1, 2, 'marketing expenses', '50686053', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(301, NULL, 1, 2, 'n.d.i.c', '50419641', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(302, 1, 1, NULL, 'newspapers, books and magazines', '50732005', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(303, NULL, 1, 2, 'nysc project expenses', '50357823', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(304, NULL, 1, 2, 'other asset (stationeries)', '50940504', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(305, NULL, 1, 2, 'other deposit interest expense', '50999624', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(306, NULL, 1, 2, 'other subscription', '50196951', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(307, NULL, 1, 2, 'passage allowance', '50373328', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(308, NULL, 1, 2, 'payee', '50393627', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(309, NULL, 1, 2, 'payvice pos(charges)', '50616817', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(310, NULL, 1, 2, 'productivity allowance', '50410631', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(311, NULL, 1, 2, 'rates(local govt & states)', '50823444', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(312, NULL, 1, 2, 'recova (fee) expense gl', '50671508', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(313, NULL, 1, 2, 'staff welfare', '50192088', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(314, NULL, 1, 2, 'staff welfare(2)', '50319507', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(315, NULL, 1, 2, 'suspense account(expense)', '50180282', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(316, NULL, 1, 2, 'tax', '50671605', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(317, NULL, 1, 2, 'taxation expense account', '50595534', 'expense', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(318, 36, 1, 2, 'account closing', '40540409', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(319, 36, 1, 2, 'administrative fees', '40352528', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(320, 36, 1, 2, 'advisory fees', '40891449', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(321, 36, 1, 2, 'application fees', '40766975', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-05 14:25:42'),
(322, NULL, 1, 2, 'business loan - interest income', '40173578', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(323, 20, 1, NULL, 'pof interest income', '40926777', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-07-07 14:19:10'),
(324, 36, 1, 2, 'correspondent banking income', '40170667', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(325, 36, 1, 2, 'e-channel fee income account', '40517303', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(326, 36, 1, 2, 'fees & charges(income)', '40476030', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(327, 72, 1, 2, 'gain on fixed asset disposal', '40358412', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(328, 20, 1, NULL, 'overdraft charges', '40920905', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-04 16:05:50'),
(329, 36, 1, 2, 'income (account closing)', '40752794', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(330, 36, 1, 2, 'investment manual liquidation charge', '40774946', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(331, 36, 1, 2, 'investment manual liquidation charge cad', '40942289', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(332, 36, 1, 2, 'investment manual liquidation charge dollar', '40305095', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(333, 36, 1, 2, 'investment manual liquidation charge euro', '40420294', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(334, 36, 1, 2, 'investment manual liquidation charge pounds', '40775710', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(335, 72, 1, 2, 'legal search fees(account opening)', '40530627', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(336, 36, 1, 2, 'loan fee income', '40953331', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-06 17:13:00'),
(337, 54, 1, 2, 'loan interest income', '40248362', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-07 04:30:07'),
(338, 36, 1, 1, 'maintenance fee', '40238192', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(339, 36, 1, 1, 'moniepoint pos income fee', '40548469', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(340, 36, 1, 1, 'monthly admin fee', '40203722', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(341, 36, 1, 1, 'nibss transfer charges', '40754383', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(342, 36, 1, 1, 'other charges', '40973920', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-03-18 10:09:50'),
(343, 20, 1, 1, 'sales of withdrawal booklet', '40760502', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(344, 36, 1, 1, 'sms income account', '40898987', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(345, NULL, 1, 2, 'training', '40814420', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(346, 36, 1, 1, 'transfer charges', '40857863', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-06 16:16:36'),
(347, 72, 1, 1, 'treasury bill income', '40275850', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(348, NULL, 1, 2, 'ussd fee income', '40267306', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(349, 20, 1, 2, 'vtpass income', '40469341', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-07 06:43:51'),
(350, NULL, 1, 2, 'Nibss Direct Debit Fee', '40750866', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(351, 20, 1, NULL, 'other commissions-- 00170900010000- migration', '40133621', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-03-24 11:18:52'),
(352, NULL, 1, 2, 'am esusu savings - od interest income', '40610422', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(353, NULL, 1, 2, 'am instant cash loan - fee income', '40843915', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(354, NULL, 1, 2, 'am salary account - od fee income', '40931582', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(355, NULL, 1, 2, 'am salary account - od interest income', '40803733', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(356, NULL, 1, 2, 'am savings club - od interest income', '40472895', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(357, NULL, 1, 2, 'am super savings - od interest income', '40528521', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(358, NULL, 1, 2, 'am super savings plus - od fee income', '40835970', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(359, NULL, 1, 2, 'am super savings plus - od interest income', '40587183', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(360, NULL, 1, 2, 'am target savings - interest income', '40830744', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(361, NULL, 1, 2, 'am target savings - od fee income', '40545266', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(362, NULL, 1, 2, 'am target savings - od interest income', '40321281', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(363, NULL, 1, 2, 'charges on returned cheque', '40506748', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(364, NULL, 1, 2, 'charges on statement of account', '40875503', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-07-29 15:49:43'),
(365, NULL, 1, 2, 'cheque income account', '40936558', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(366, NULL, 1, 2, 'cheque sales income', '40860405', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(367, NULL, 1, NULL, 'commission on virtual account', '40459749', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-07-21 12:21:43'),
(368, 36, 1, 2, 'commission-nip', '40972865', 'income', NULL, '0', 1, '0000-00-00 00:00:00', '2025-05-20 17:25:55'),
(369, NULL, 1, 2, 'coop-xpress loan - interest income', '40649206', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(370, NULL, 1, 2, 'esusu loan - fee income', '40192835', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(371, NULL, 1, 2, 'esusu loan - interest income', '40833824', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(372, NULL, 1, 2, 'esusu savings - od fee income', '40558832', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(373, NULL, 1, 2, 'esusu savings loan - fee income', '40491917', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(374, NULL, 1, 2, 'esusu savings loan - interest income', '40232220', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(375, NULL, 1, 2, 'esusu xpress savings - od interest income', '40219716', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(376, NULL, 1, 2, 'fixed deposit income', '40784457', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(377, NULL, 1, 2, 'income from card transactions', '40375379', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(378, NULL, 1, 2, 'instant cash loan - interest income', '40217326', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(379, NULL, 1, 2, 'loan overdue- interest', '40224523', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(380, NULL, 1, 2, 'payvice pos fee income', '40924607', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(381, NULL, 1, 2, 'prepaid virtual airtime(income)', '40447439', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(382, NULL, 1, 2, 'recova commission', '40857167', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(383, NULL, 1, 2, 'staff loan - fee income', '40786773', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(384, NULL, 1, 2, 'staff loan - interest income', '40129108', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(385, NULL, 1, 2, 'suspense account(income)', '40171757', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(386, 36, 1, 2, 'whatsapp fee income', '40628214', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(387, 36, 1, 2, 'whatsapp session charge', '40405204', 'income', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(388, 7, 1, NULL, 'accumulated depreciation - computer equipment', '20948566', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-03-04 13:37:16'),
(389, NULL, 1, 2, 'accumulated depreciation - electrical equipment', '20883566', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(390, NULL, 1, 2, 'accumulated depreciation - furniture/fittings', '20624112', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(391, NULL, 1, 2, 'accumulated depreciation - motor vehicle', '20604716', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(392, NULL, 1, 2, 'accumulated depreciation - office equipment', '20633833', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(393, NULL, 1, 2, 'accumulated depreciation - plant and machinery', '20209522', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(394, NULL, 1, 2, 'accumulated depreciation building/building improve(lease)', '20742965', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(395, NULL, 1, 2, 'accumulated depreciation building/building improve(purchase)', '20734172', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(396, 135, 1, 2, 'cad account gl', '20276747', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(397, 135, 1, 1, 'current account', '20639526', 'liability', NULL, '-7700', 1, '0000-00-00 00:00:00', '2025-10-31 15:19:00'),
(398, 135, 1, 2, 'dollar account gl', '20242722', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00');
INSERT INTO `general_ledgers` (`id`, `account_category_id`, `user_id`, `branch_id`, `gl_name`, `gl_code`, `gl_type`, `glcode_ref`, `account_balance`, `status`, `created_at`, `updated_at`) VALUES
(399, 40, 1, 2, 'dollar cash', '20614386', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(400, 135, 1, 2, 'euro account gl', '20409988', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(401, 40, 1, 2, 'euro cash', '20141511', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(402, 118, 1, 2, 'fixed deposit & investment gl', '20944548', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(403, 118, 1, 2, 'fixed deposit gl cad', '20128265', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(404, 118, 1, 2, 'fixed deposit gl dollar', '20398069', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(405, 118, 1, 2, 'fixed deposit gl euros', '20719646', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(406, 118, 1, 2, 'fixed deposit gl pounds', '20794594', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(407, 2, 1, 1, 'income tax', '20740261', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(408, NULL, 1, 2, 'investment note - interest payeable', '20517975', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(409, 53, 1, 2, 'loan - income suspense', '20117581', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(410, 124, 1, 2, 'loan fees in suspense', '20986758', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(411, 53, 1, 2, 'loan interest in suspense', '20258512', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(412, 2, 1, NULL, 'staff welfare contribution', '20306545', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-07-28 15:34:46'),
(413, 2, 1, 2, 'plethoria trustees and fiduciary services ltd creditors', '20740363', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(414, 135, 1, NULL, 'suspense account one', '20776967', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-06 16:50:04'),
(415, 40, 1, 2, 'pounds cash', '20142330', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(416, 135, 1, 1, 'savings account', '20993097', 'liability', NULL, '7700', 1, '0000-00-00 00:00:00', '2025-10-31 15:19:00'),
(417, 93, 1, NULL, 'vat', '20391084', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-07-22 11:38:16'),
(418, 93, 1, NULL, 'withholding tax', '20481975', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-05-02 13:13:23'),
(419, 93, 1, 2, 'withholding tax dollar', '20685315', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(420, 93, 1, 2, 'withholding tax euros', '20590802', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(421, 93, 1, 2, 'withholding tax pounds', '20696956', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(422, NULL, 1, 2, 'account closing gl', '20246589', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(423, 65, 1, NULL, 'other liabilities-- 00148100010000 migration', '20754198', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-03-24 11:20:55'),
(424, 65, 1, NULL, 'current government-- 00140100010003 migration', '20347879', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-03-24 11:21:27'),
(425, 65, 1, NULL, 'savings individual-- 00141100010001 migration', '20490606', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-03-24 11:22:45'),
(426, 65, 1, NULL, 'current corporate-- 00140100010002 migration', '20259228', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-03-24 11:43:29'),
(427, 65, 1, NULL, 'savings corporate-- 00141100010003 migration', '20184985', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-03-24 11:44:08'),
(428, 65, 1, NULL, 'current individual-- 00140100010001 migration', '20189693', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-03-24 11:22:00'),
(429, 135, 1, 1, 'customer balances - dw migration', '20630379', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(430, NULL, 1, 2, 'am super savings plus - interest payable', '20887950', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(431, NULL, 1, 2, 'am super savings plus - od interest in suspense', '20777085', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(432, NULL, 1, 2, 'am target savings', '20962697', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(433, NULL, 1, 2, 'am target savings - fees in suspense', '20954186', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(434, NULL, 1, 2, 'am target savings - interest payable', '20496315', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(435, NULL, 1, 2, 'am target savings - od interest in suspense', '20552782', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(436, NULL, 1, 2, 'business loan - interest in suspense', '20469560', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(437, NULL, 1, 2, 'business loan - penalty in suspense', '20888915', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(438, NULL, 1, 2, 'cheques in clearing', '20365684', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(439, NULL, 1, 2, 'deferred payment', '20251812', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(440, NULL, 1, 2, 'esusu loan - fee suspense', '20670888', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(441, NULL, 1, 2, 'esusu loan - interest in suspense', '20336260', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(442, NULL, 1, 2, 'esusu loan - penalty in suspense', '20433229', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(443, NULL, 1, 2, 'esusu savings - fees in suspense', '20332909', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(444, NULL, 1, 2, 'esusu savings - od interest in suspense', '20775013', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(445, NULL, 1, 2, 'esusu savings loan - fees in suspense', '20433263', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(446, NULL, 1, 2, 'esusu savings loan - interest in suspense', '20448344', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(447, NULL, 1, 2, 'esusu savings loan - penalty in suspense', '20486986', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(448, NULL, 1, 2, 'esusu xpress', '20149468', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(449, NULL, 1, 2, 'fee suspense', '20335834', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(450, NULL, 1, 2, 'general loan/lease loss account', '20324325', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(451, NULL, 1, 2, 'general loan/lease prov - am salary advance', '20938857', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(452, NULL, 1, 2, 'general loan/lease prov - business loan', '20840603', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(453, NULL, 1, 2, 'general loan/lease prov - instant cash', '20857553', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(454, NULL, 1, 2, 'instant cash loan - penalty in suspense', '20630612', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(455, NULL, 1, 2, 'interbank transfer fee suspense', '20389953', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(456, NULL, 1, 2, 'micro insurance premium', '20153814', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(457, NULL, 1, 2, 'micro insurance premium', '20345639', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(458, NULL, 1, 2, 'nhf', '20523094', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(459, NULL, 1, 2, 'nipost stamp duty', '20157136', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '2025-07-22 11:40:06'),
(460, NULL, 1, 2, 'nsitfund', '20719669', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(461, NULL, 1, 2, 'payee (liability)', '20586820', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(462, NULL, 1, 2, 'pension scheme', '20360253', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(463, NULL, 1, 2, 'savings club - interest payable', '20580075', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(464, 35, 1, NULL, 'emtl - stamp duty', '20289869', 'liability', NULL, '0', 1, '0000-00-00 00:00:00', '2025-08-06 21:24:05'),
(465, NULL, 1, 2, 'specific loan/lease prov - am instant cash', '20993808', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(466, NULL, 1, 2, 'specific loan/lease prov - am salary advance', '20151603', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(467, NULL, 1, 2, 'specific loan/lease prov - loans & adv', '20817066', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(468, NULL, 1, 2, 'staff loan - fees suspense', '20593345', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(469, NULL, 1, 2, 'staff loan - interest in suspense', '20268835', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(470, NULL, 1, 2, 'staff loan - penalty in suspense', '20769371', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(471, NULL, 1, 2, 'staff salary', '20297525', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(472, NULL, 1, 2, 'student ent scheme-fees in suspense', '20963487', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(473, NULL, 1, 2, 'sundry creditors', '20302489', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(474, NULL, 1, 2, 'suspense account(liability)', '20993529', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(475, NULL, 1, 2, 'suspense acct - sms charges', '20557140', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(476, NULL, 1, 2, 'suspense acct-loan penalty', '20179874', 'liability', NULL, '0', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(477, 1, 1, 2, 'testing', '10281296', 'asset', NULL, '0', 0, '2025-08-13 09:52:24', '2025-08-13 09:52:38'),
(478, 48, 1, 2, 'old', '30310374', 'capital', NULL, '0', 1, '2025-10-17 22:10:29', '2025-10-17 22:11:34'),
(479, 48, 1, 2, 'target savings', '40836407', 'income', NULL, '-14900', 1, '2025-10-17 22:12:08', '2025-11-02 16:43:41'),
(480, 34, 1, 2, 'target savings accrued interest', '40909777', 'income', NULL, '0', 1, '2025-10-30 13:25:03', '2025-10-30 13:25:03'),
(481, 52, 1, 2, 'monthly saviings interest', '20311399', 'liability', NULL, '24743.17', 1, '2025-11-02 14:28:42', '2025-11-02 14:38:07');

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

--
-- Table structure for table `investment_schedules`
--

CREATE TABLE `investment_schedules` (
  `id` bigint UNSIGNED NOT NULL,
  `fixed_deposit_id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `due_date` date NOT NULL,
  `principal` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rollover` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_interest` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_due` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `closed` tinyint NOT NULL DEFAULT '0',
  `payment_date` date DEFAULT NULL,
  `payment_method` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `posted_by` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `investmet_repayments`
--

CREATE TABLE `investmet_repayments` (
  `id` bigint UNSIGNED NOT NULL,
  `fixed_deposit_id` bigint UNSIGNED NOT NULL,
  `accountofficer_id` bigint UNSIGNED DEFAULT NULL,
  `customer_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_method` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `collection_date` date NOT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `due_date` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `ipwhitelistings`
--

CREATE TABLE `ipwhitelistings` (
  `id` bigint UNSIGNED NOT NULL,
  `company_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ip_address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ipwhitelistings`
--

INSERT INTO `ipwhitelistings` (`id`, `company_name`, `ip_address`, `created_at`, `updated_at`) VALUES
(1, 'DW MFB', '51.21.102.52', '2024-11-29 11:03:21', '2024-11-29 11:03:21');

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

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

CREATE TABLE `jobs` (
  `id` bigint UNSIGNED NOT NULL,
  `queue` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `attempts` tinyint UNSIGNED NOT NULL,
  `reserved_at` int UNSIGNED DEFAULT NULL,
  `available_at` int UNSIGNED NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `loans`
--

CREATE TABLE `loans` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `customer_id` bigint UNSIGNED NOT NULL,
  `loan_product_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `accountofficer_id` bigint UNSIGNED NOT NULL,
  `approved_by_id` bigint UNSIGNED DEFAULT NULL,
  `disbursed_by_id` bigint UNSIGNED DEFAULT NULL,
  `withdrawn_by_id` bigint UNSIGNED DEFAULT NULL,
  `declined_by_id` bigint UNSIGNED DEFAULT NULL,
  `written_off_by_id` bigint UNSIGNED DEFAULT NULL,
  `rescheduled_by_id` bigint UNSIGNED DEFAULT NULL,
  `closed_by_id` bigint UNSIGNED DEFAULT NULL,
  `loan_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `equity` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `purpose` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `old_disbursedate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `old_maturedate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `release_date` date DEFAULT NULL,
  `maturity_date` date DEFAULT NULL,
  `interest_start_date` date DEFAULT NULL,
  `first_payment_date` date DEFAULT NULL,
  `principal` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_method` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_period` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'day',
  `override_interest` tinyint(1) NOT NULL DEFAULT '0',
  `override_interest_amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_duration` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_duration_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'year',
  `repayment_cycle` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'monthly',
  `repayment_order` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_fees_schedule` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'distribute_fees_evenly',
  `grace_on_interest_charged` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_status_id` int DEFAULT NULL,
  `files` text COLLATE utf8mb4_unicode_ci,
  `description` text COLLATE utf8mb4_unicode_ci,
  `loan_status` enum('open','fully_paid','defaulted','restructured','processing') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
  `balance` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `override` tinyint(1) NOT NULL DEFAULT '0',
  `applied_amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_notes` text COLLATE utf8mb4_unicode_ci,
  `disbursed_notes` text COLLATE utf8mb4_unicode_ci,
  `withdrawn_notes` text COLLATE utf8mb4_unicode_ci,
  `closed_notes` text COLLATE utf8mb4_unicode_ci,
  `rescheduled_notes` text COLLATE utf8mb4_unicode_ci,
  `declined_notes` text COLLATE utf8mb4_unicode_ci,
  `written_off_notes` text COLLATE utf8mb4_unicode_ci,
  `approved_date` date DEFAULT NULL,
  `disbursed_date` date DEFAULT NULL,
  `disbursed_by` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `withdrawn_date` date DEFAULT NULL,
  `closed_date` date DEFAULT NULL,
  `rescheduled_date` date DEFAULT NULL,
  `declined_date` date DEFAULT NULL,
  `written_off_date` date DEFAULT NULL,
  `processing_fee` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('pending','approved','disbursed','declined','withdrawn','written_off','closed','pending_reschedule','rescheduled','trashed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `provision_date` date DEFAULT NULL,
  `provision_amount` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `provision_type` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sector_id` bigint DEFAULT NULL,
  `debit_mandate` tinyint(1) DEFAULT NULL,
  `mandate_ref` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mandate_sessionid` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `loan_comments`
--

CREATE TABLE `loan_comments` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `loan_id` bigint UNSIGNED NOT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `loan_fees`
--

CREATE TABLE `loan_fees` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `loan_fee_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_fees`
--

INSERT INTO `loan_fees` (`id`, `name`, `loan_fee_type`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, 'management fees', 'percentage', NULL, '2022-12-08 21:41:11', '2022-12-08 21:41:11'),
(2, 'process fees', 'percentage', NULL, '2022-12-08 21:41:35', '2022-12-08 21:45:47');

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

--
-- Table structure for table `loan_fee_metas`
--

CREATE TABLE `loan_fee_metas` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `parent_id` bigint UNSIGNED NOT NULL,
  `loan_fee_id` bigint UNSIGNED DEFAULT NULL,
  `category` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `loan_fees_schedule` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_fee_metas`
--

INSERT INTO `loan_fee_metas` (`id`, `user_id`, `parent_id`, `loan_fee_id`, `category`, `value`, `loan_fees_schedule`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 1, 'loan', '2', '', NULL, '2025-10-27 12:43:13', '2025-10-27 12:43:13'),
(2, 1, 1, 2, 'loan', '10', '', NULL, '2025-10-27 12:43:13', '2025-10-27 12:43:13'),
(3, 1, 2, 1, 'loan', '10', '', NULL, '2025-10-27 16:33:57', '2025-10-27 16:33:57'),
(4, 1, 2, 2, 'loan', '10', '', NULL, '2025-10-27 16:33:57', '2025-10-27 16:33:57');

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

--
-- Table structure for table `loan_products`
--

CREATE TABLE `loan_products` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gl_code` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_disbursed_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `minimum_principal` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_principal` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `maximum_principal` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_method` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_period` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'year',
  `minimum_interest_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_interest_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `maximum_interest_rate` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `override_interest` tinyint(1) NOT NULL DEFAULT '0',
  `override_interest_amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_loan_duration` int DEFAULT NULL,
  `default_loan_duration_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'year',
  `repayment_cycle` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'monthly',
  `repayment_order` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_fees_schedule` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'distribute_fees_evenly',
  `branch_access` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `grace_on_interest_charged` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `advanced_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `enable_late_repayment_penalty` tinyint(1) NOT NULL DEFAULT '0',
  `enable_after_maturity_date_penalty` tinyint(1) NOT NULL DEFAULT '0',
  `after_maturity_date_penalty_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percentage',
  `late_repayment_penalty_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percentage',
  `late_repayment_penalty_calculate` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'overdue_principal',
  `after_maturity_date_penalty_calculate` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'overdue_principal',
  `late_repayment_penalty_amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `after_maturity_date_penalty_amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `late_repayment_penalty_grace_period` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `after_maturity_date_penalty_grace_period` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `late_repayment_penalty_recurring` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `after_maturity_date_penalty_recurring` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_products`
--

INSERT INTO `loan_products` (`id`, `user_id`, `name`, `gl_code`, `loan_disbursed_by`, `minimum_principal`, `default_principal`, `maximum_principal`, `interest_method`, `interest_rate`, `interest_period`, `minimum_interest_rate`, `default_interest_rate`, `maximum_interest_rate`, `override_interest`, `override_interest_amount`, `default_loan_duration`, `default_loan_duration_type`, `repayment_cycle`, `repayment_order`, `loan_fees_schedule`, `branch_access`, `grace_on_interest_charged`, `advanced_enabled`, `enable_late_repayment_penalty`, `enable_after_maturity_date_penalty`, `after_maturity_date_penalty_type`, `late_repayment_penalty_type`, `late_repayment_penalty_calculate`, `after_maturity_date_penalty_calculate`, `late_repayment_penalty_amount`, `after_maturity_date_penalty_amount`, `late_repayment_penalty_grace_period`, `after_maturity_date_penalty_grace_period`, `late_repayment_penalty_recurring`, `after_maturity_date_penalty_recurring`, `branch_id`, `created_at`, `updated_at`) VALUES
(5, 1, 'Quick Loan', '10739869', '[\"cheque\",\"cash\",\"transfer\"]', '1000', '1000000', '10000000', 'flat_rate', NULL, 'month', '0', '0', '0', 0, '2000', 1, 'month', 'monthly', '[\"fees\",\"interest\",\"principal\",\"penalty\"]', 'distribute_fees_evenly', NULL, '5', 0, 1, 0, 'percentage', 'percentage', 'overdue_principal_interest', 'overdue_principal', '0', NULL, '0', NULL, '0', NULL, NULL, '2022-12-08 21:54:57', '2025-04-17 12:34:53'),
(6, 5, 'business loan', '10156223', '[\"transfer\"]', '50000', '1000', '150000000', 'flat_rate', NULL, 'month', '4', '5', '5', 0, NULL, 1, 'month', 'monthly', '[\"interest\",\"principal\"]', 'distribute_fees_evenly', NULL, '3', 0, 0, 0, 'percentage', 'percentage', 'overdue_principal', 'overdue_principal', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2023-06-01 12:26:21', '2025-04-16 15:17:37'),
(7, 5, 'staff loan', '10297264', '[\"cash\",\"transfer\"]', '500', '5000', '1000000', 'flat_rate', NULL, 'month', '2', '2', '2', 0, NULL, 3, 'month', 'monthly', '[\"interest\",\"principal\"]', 'distribute_fees_evenly', NULL, '0', 0, 0, 0, 'percentage', 'percentage', 'overdue_principal', 'overdue_principal', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2023-06-09 11:23:05', '2025-07-02 16:03:57');

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

--
-- Table structure for table `loan_repayments`
--

CREATE TABLE `loan_repayments` (
  `id` bigint UNSIGNED NOT NULL,
  `loan_id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `accountofficer_id` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `repayment_method` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `collection_date` date NOT NULL,
  `type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `due_date` date NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `loan_schedules`
--

CREATE TABLE `loan_schedules` (
  `id` bigint UNSIGNED NOT NULL,
  `loan_id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `due_date` date NOT NULL,
  `principal` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `principal_balance` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fees` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `penalty` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `due` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `system_generated` tinyint NOT NULL DEFAULT '0',
  `closed` tinyint NOT NULL DEFAULT '0',
  `missed` tinyint NOT NULL DEFAULT '0',
  `missed_penalty_applied` tinyint NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

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

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(5, '2014_10_12_000000_create_users_table', 1),
(6, '2014_10_12_100000_create_password_resets_table', 1),
(7, '2019_08_19_000000_create_failed_jobs_table', 1),
(8, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(11, '2022_11_17_080247_create_role_users_table', 1),
(12, '2022_11_18_143436_create_accountofficers_table', 2),
(13, '2022_11_18_145138_create_branches_table', 3),
(14, '2022_11_18_172750_create_branch_users_table', 4),
(17, '2022_11_22_161644_create_permission_tables', 5),
(18, '2022_11_23_141005_create_assets_table', 6),
(19, '2022_11_23_145957_create_asset_types_table', 7),
(20, '2022_11_23_154131_create_asset_valuations_table', 7),
(21, '2022_11_24_123029_create_audittrails_table', 8),
(22, '2022_11_24_180905_create_customers_table', 9),
(23, '2022_11_24_185346_create_emails_table', 9),
(24, '2022_11_25_194848_create_expenses_table', 10),
(25, '2022_11_25_195133_create_expense_types_table', 10),
(27, '2022_11_30_160912_create_savings_products_table', 12),
(28, '2022_11_30_165326_create_savings_table', 13),
(29, '2022_11_30_191030_create_other_incomes_table', 13),
(30, '2022_11_30_191052_create_other_income_types_table', 13),
(31, '2022_12_01_165510_create_saving_fees_table', 14),
(32, '2022_12_02_111157_create_savings_transactions_table', 15),
(33, '2022_12_06_115910_create_charges_table', 16),
(40, '2022_12_07_115829_create_loans_table', 17),
(41, '2022_12_07_141947_create_loan_products_table', 17),
(42, '2022_12_07_152647_create_provision_rates_table', 17),
(43, '2022_12_08_141303_create_loan_fees_table', 18),
(44, '2022_12_08_141530_create_loan_fee_metas_table', 18),
(45, '2022_12_12_135443_create_loan_schedules_table', 19),
(46, '2022_12_12_145939_create_loan_repayments_table', 19),
(47, '2022_12_14_125639_create_collaterals_table', 20),
(48, '2022_12_14_125701_create_collateral_types_table', 20),
(49, '2022_12_14_133536_create_loan_comments_table', 20),
(50, '2022_12_25_120831_create_upload_transaction_statuses_table', 21),
(51, '2022_12_26_180717_create_capitals_table', 22),
(52, '2022_12_26_184514_create_payrolls_table', 23),
(54, '2022_12_26_193038_create_payroll_templates_table', 23),
(55, '2023_01_03_183009_create_payment_structures_table', 24),
(56, '2023_01_05_004739_create_payslips_table', 25),
(57, '2023_01_09_124700_create_savings_transaction_g_l_s_table', 26),
(59, '2023_01_10_171155_create_account_types_table', 27),
(60, '2023_01_10_184537_create_account_categories_table', 28),
(61, '2023_01_11_165954_create_general_ledgers_table', 29),
(62, '2022_12_26_185105_create_payroll_metas_table', 30),
(63, '2023_03_03_132331_create_statuses_table', 30),
(64, '2022_11_28_202102_create_settings_table', 31),
(65, '2023_03_22_121344_create_banks_table', 32),
(66, '2023_03_22_121852_create_beneficiaries_table', 32),
(67, '2023_05_05_084422_create_api_keys_table', 33);

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

--
-- Table structure for table `model_has_permissions`
--

CREATE TABLE `model_has_permissions` (
  `permission_id` bigint UNSIGNED NOT NULL,
  `model_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `model_has_roles`
--

CREATE TABLE `model_has_roles` (
  `role_id` bigint UNSIGNED NOT NULL,
  `model_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `model_has_roles`
--

INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES
(1, 'App\\Models\\User', 1),
(1, 'App\\Models\\User', 2),
(7, 'App\\Models\\User', 3),
(3, 'App\\Models\\User', 4),
(10, 'App\\Models\\User', 6),
(5, 'App\\Models\\User', 7),
(7, 'App\\Models\\User', 8),
(9, 'App\\Models\\User', 9),
(8, 'App\\Models\\User', 11),
(6, 'App\\Models\\User', 12),
(1, 'App\\Models\\User', 13),
(4, 'App\\Models\\User', 14),
(6, 'App\\Models\\User', 14),
(4, 'App\\Models\\User', 15),
(1, 'App\\Models\\User', 20),
(2, 'App\\Models\\User', 21),
(5, 'App\\Models\\User', 22),
(5, 'App\\Models\\User', 23),
(6, 'App\\Models\\User', 24),
(5, 'App\\Models\\User', 25),
(5, 'App\\Models\\User', 26),
(5, 'App\\Models\\User', 27),
(1, 'App\\Models\\User', 28);

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

--
-- Table structure for table `monthly_savings_profits`
--

CREATE TABLE `monthly_savings_profits` (
  `id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint UNSIGNED DEFAULT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `account_number` varchar(255) DEFAULT NULL,
  `interest_rate_percent` decimal(8,4) NOT NULL,
  `balance_basis` decimal(30,2) DEFAULT NULL,
  `profit_amount` decimal(30,2) DEFAULT NULL,
  `withdrawals_total` decimal(30,2) DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `reference` varchar(255) DEFAULT NULL,
  `month` varchar(255) DEFAULT NULL,
  `initiated_by` varchar(255) DEFAULT NULL,
  `note` text,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `monthly_savings_profits`
--

INSERT INTO `monthly_savings_profits` (`id`, `customer_id`, `user_id`, `branch_id`, `account_number`, `interest_rate_percent`, `balance_basis`, `profit_amount`, `withdrawals_total`, `status`, `reference`, `month`, `initiated_by`, `note`, `created_at`, `updated_at`) VALUES
(1, 18, 2, 1, '1011203590', 2.5000, 150000.00, 3125.00, 0.00, 'approved', 'MSP-2025-0001', '2025-01', 'System', 'Monthly profit posted', '2025-11-04 10:49:50', '2025-11-04 10:49:50'),
(2, 17, 2, 1, '1016752141', 3.0000, 200000.00, 5000.00, 20000.00, 'pending', 'MSP-2025-0002', '2025-01', 'System', 'Withdrawal affected profit', '2025-11-04 10:49:50', '2025-11-04 10:49:50'),
(3, 3, 2, 1, '2233445566', 1.8000, 85000.00, 1275.00, 0.00, 'approved', 'MSP-2025-0003', '2025-01', 'System', 'Auto monthly payout', '2025-11-04 10:49:50', '2025-11-04 10:49:50'),
(4, 4, 2, 1, '7788990011', 2.2000, 50000.00, 1100.00, 5000.00, 'pending', 'MSP-2025-0004', '2025-01', 'System', 'Customer made partial withdrawal', '2025-11-04 10:49:50', '2025-11-04 10:49:50'),
(19, 5, 2, 1, '1019437074', 2.7500, 300000.00, 6875.00, 0.00, 'approved', 'MSP-2025-0005', '2025-01', 'System', 'Large balance profit credited', '2025-11-04 10:49:50', '2025-11-04 10:49:50');

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

--
-- Table structure for table `nibss_logs`
--

CREATE TABLE `nibss_logs` (
  `id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint UNSIGNED NOT NULL,
  `customer_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `session_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `nip_access_tokens`
--

CREATE TABLE `nip_access_tokens` (
  `id` bigint UNSIGNED NOT NULL,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `access_token` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `expiration_time` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `notification_payloads`
--

CREATE TABLE `notification_payloads` (
  `id` bigint UNSIGNED NOT NULL,
  `body` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `other_incomes`
--

CREATE TABLE `other_incomes` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `other_income_type_id` bigint UNSIGNED NOT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `income_date` date NOT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `files` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `other_income_types`
--

CREATE TABLE `other_income_types` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `outstanding_loans`
--

CREATE TABLE `outstanding_loans` (
  `id` bigint UNSIGNED NOT NULL,
  `loan_id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint NOT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '0',
  `branch_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

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

--
-- Table structure for table `payment_structures`
--

CREATE TABLE `payment_structures` (
  `id` bigint UNSIGNED NOT NULL,
  `payroll_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint DEFAULT NULL,
  `basic` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `other_allowance` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `gross_pay` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `paye_percent` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `paye` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `other_deduction` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `deduction` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `net_pay` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `payrolls`
--

CREATE TABLE `payrolls` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED NOT NULL,
  `employee_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `designation` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_method` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `payroll_metas`
--

CREATE TABLE `payroll_metas` (
  `id` bigint UNSIGNED NOT NULL,
  `payroll_id` bigint UNSIGNED NOT NULL,
  `payroll_template_id` bigint UNSIGNED NOT NULL,
  `value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `position` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `payroll_templates`
--

CREATE TABLE `payroll_templates` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `position` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_templates`
--

INSERT INTO `payroll_templates` (`id`, `name`, `position`, `status`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, 'Basic Salary', '1', '1', NULL, '2023-01-02 23:04:22', '2023-01-02 23:04:22'),
(2, 'other allowances', '1', '2', NULL, '2023-01-02 23:11:01', '2023-01-02 23:23:14'),
(3, 'Paye', '2', '2', NULL, '2023-01-02 23:14:24', '2023-01-04 14:54:03'),
(4, 'Other Deductions', '2', '2', NULL, '2023-01-02 23:28:16', '2023-01-02 23:28:16');

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

--
-- Table structure for table `payslips`
--

CREATE TABLE `payslips` (
  `id` bigint UNSIGNED NOT NULL,
  `payroll_id` bigint UNSIGNED NOT NULL,
  `payment_structure_id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `month` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `year` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



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

--
-- Table structure for table `provision_rates`
--

CREATE TABLE `provision_rates` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `days` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `rate` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `provision_rates`
--

INSERT INTO `provision_rates` (`id`, `name`, `days`, `rate`, `notes`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, 'performing', '0', '1.00', NULL, NULL, NULL, NULL),
(2, 'pass & watch', '31', '5.00', NULL, NULL, NULL, NULL),
(3, 'substandard', '61', '10.00', NULL, NULL, NULL, NULL),
(4, 'doubtful', '91', '50.00', NULL, NULL, NULL, NULL),
(5, 'lost', '181', '100.00', NULL, NULL, NULL, NULL);

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

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

CREATE TABLE `roles` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `roles` (`id`, `name`, `guard_name`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, 'super admin', 'web', NULL, '2022-11-22 20:00:18', '2022-11-22 20:00:18'),
(2, 'Financial Controller', 'web', NULL, '2022-11-22 20:35:56', '2025-02-11 19:22:18'),
(3, 'managing director', 'web', NULL, '2022-11-22 20:36:09', '2022-11-22 20:36:09'),
(4, 'Account Officer', 'web', NULL, '2023-06-04 16:19:06', '2024-03-07 11:54:50'),
(5, 'Teller', 'web', NULL, '2023-06-04 22:17:26', '2025-02-11 19:36:30'),
(6, 'head of operations', 'web', NULL, '2023-11-09 09:52:48', '2025-02-11 19:28:38'),
(7, 'admin', 'web', NULL, '2024-11-14 11:31:04', '2025-03-17 20:11:41'),
(8, 'customer service', 'web', NULL, '2025-02-11 19:50:32', '2025-02-12 14:12:56'),
(9, 'internal control', 'web', NULL, '2025-02-11 19:54:06', '2025-02-11 19:54:06'),
(10, 'i t officer', 'web', NULL, '2025-02-11 20:14:57', '2025-02-11 20:14:57');

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

--
-- Table structure for table `role_has_permissions`
--

CREATE TABLE `role_has_permissions` (
  `permission_id` bigint UNSIGNED NOT NULL,
  `role_id` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_has_permissions`
--

INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES
(1, 1),
(2, 1),
(3, 1),
(4, 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),
(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),
(95, 1),
(96, 1),
(97, 1),
(98, 1),
(99, 1),
(100, 1),
(101, 1),
(102, 1),
(103, 1),
(104, 1),
(105, 1),
(106, 1),
(107, 1),
(108, 1),
(109, 1),
(110, 1),
(111, 1),
(112, 1),
(113, 1),
(114, 1),
(115, 1),
(116, 1),
(117, 1),
(118, 1),
(119, 1),
(120, 1),
(121, 1),
(122, 1),
(123, 1),
(124, 1),
(125, 1),
(126, 1),
(127, 1),
(128, 1),
(129, 1),
(130, 1),
(131, 1),
(132, 1),
(133, 1),
(134, 1),
(135, 1),
(136, 1),
(137, 1),
(138, 1),
(139, 1),
(140, 1),
(141, 1),
(142, 1),
(143, 1),
(144, 1),
(145, 1),
(146, 1),
(147, 1),
(148, 1),
(149, 1),
(150, 1),
(151, 1),
(152, 1),
(153, 1),
(154, 1),
(155, 1),
(156, 1),
(157, 1),
(158, 1),
(159, 1),
(160, 1),
(161, 1),
(162, 1),
(163, 1),
(164, 1),
(165, 1),
(166, 1),
(167, 1),
(168, 1),
(169, 1),
(170, 1),
(171, 1),
(172, 1),
(173, 1),
(174, 1),
(175, 1),
(176, 1),
(177, 1),
(179, 1),
(180, 1),
(181, 1),
(182, 1),
(183, 1),
(184, 1),
(185, 1),
(186, 1),
(187, 1),
(191, 1),
(192, 1),
(193, 1),
(7, 2),
(10, 2),
(27, 2),
(33, 2),
(50, 2),
(60, 2),
(71, 2),
(91, 2),
(99, 2),
(102, 2),
(113, 2),
(147, 2),
(160, 2),
(166, 2),
(179, 2),
(184, 2),
(1, 3),
(2, 3),
(3, 3),
(4, 3),
(7, 3),
(8, 3),
(10, 3),
(11, 3),
(12, 3),
(13, 3),
(14, 3),
(15, 3),
(16, 3),
(17, 3),
(18, 3),
(19, 3),
(20, 3),
(21, 3),
(22, 3),
(23, 3),
(24, 3),
(25, 3),
(26, 3),
(27, 3),
(28, 3),
(29, 3),
(30, 3),
(31, 3),
(32, 3),
(33, 3),
(34, 3),
(35, 3),
(36, 3),
(37, 3),
(38, 3),
(39, 3),
(40, 3),
(41, 3),
(42, 3),
(43, 3),
(44, 3),
(45, 3),
(46, 3),
(47, 3),
(48, 3),
(49, 3),
(50, 3),
(51, 3),
(52, 3),
(53, 3),
(54, 3),
(55, 3),
(56, 3),
(57, 3),
(59, 3),
(60, 3),
(61, 3),
(62, 3),
(63, 3),
(64, 3),
(65, 3),
(66, 3),
(67, 3),
(68, 3),
(69, 3),
(70, 3),
(71, 3),
(72, 3),
(73, 3),
(74, 3),
(75, 3),
(76, 3),
(77, 3),
(78, 3),
(79, 3),
(80, 3),
(81, 3),
(82, 3),
(83, 3),
(84, 3),
(85, 3),
(86, 3),
(87, 3),
(88, 3),
(89, 3),
(90, 3),
(91, 3),
(92, 3),
(93, 3),
(94, 3),
(95, 3),
(96, 3),
(97, 3),
(98, 3),
(99, 3),
(100, 3),
(101, 3),
(102, 3),
(103, 3),
(104, 3),
(105, 3),
(106, 3),
(107, 3),
(108, 3),
(109, 3),
(110, 3),
(111, 3),
(112, 3),
(113, 3),
(114, 3),
(115, 3),
(116, 3),
(117, 3),
(118, 3),
(119, 3),
(120, 3),
(121, 3),
(122, 3),
(123, 3),
(124, 3),
(125, 3),
(126, 3),
(127, 3),
(128, 3),
(129, 3),
(130, 3),
(131, 3),
(132, 3),
(133, 3),
(134, 3),
(135, 3),
(136, 3),
(137, 3),
(138, 3),
(139, 3),
(140, 3),
(141, 3),
(142, 3),
(143, 3),
(144, 3),
(145, 3),
(146, 3),
(147, 3),
(148, 3),
(149, 3),
(150, 3),
(151, 3),
(152, 3),
(153, 3),
(154, 3),
(155, 3),
(156, 3),
(157, 3),
(158, 3),
(159, 3),
(160, 3),
(163, 3),
(164, 3),
(165, 3),
(166, 3),
(167, 3),
(168, 3),
(169, 3),
(170, 3),
(171, 3),
(172, 3),
(173, 3),
(174, 3),
(175, 3),
(176, 3),
(177, 3),
(179, 3),
(180, 3),
(181, 3),
(182, 3),
(186, 3),
(15, 4),
(20, 4),
(24, 4),
(52, 4),
(53, 4),
(59, 4),
(67, 4),
(68, 4),
(83, 4),
(85, 4),
(87, 4),
(181, 4),
(11, 5),
(15, 5),
(19, 5),
(20, 5),
(22, 5),
(24, 5),
(33, 5),
(34, 5),
(35, 5),
(38, 5),
(39, 5),
(52, 5),
(53, 5),
(59, 5),
(60, 5),
(67, 5),
(68, 5),
(69, 5),
(77, 5),
(80, 5),
(101, 5),
(115, 5),
(117, 5),
(121, 5),
(122, 5),
(123, 5),
(124, 5),
(129, 5),
(130, 5),
(133, 5),
(135, 5),
(141, 5),
(144, 5),
(163, 5),
(10, 6),
(14, 6),
(17, 6),
(19, 6),
(20, 6),
(22, 6),
(23, 6),
(24, 6),
(28, 6),
(29, 6),
(33, 6),
(34, 6),
(38, 6),
(39, 6),
(48, 6),
(52, 6),
(53, 6),
(55, 6),
(59, 6),
(60, 6),
(61, 6),
(63, 6),
(66, 6),
(67, 6),
(68, 6),
(69, 6),
(70, 6),
(71, 6),
(73, 6),
(74, 6),
(77, 6),
(80, 6),
(82, 6),
(83, 6),
(85, 6),
(86, 6),
(95, 6),
(108, 6),
(109, 6),
(110, 6),
(115, 6),
(116, 6),
(117, 6),
(118, 6),
(119, 6),
(120, 6),
(121, 6),
(122, 6),
(123, 6),
(124, 6),
(126, 6),
(127, 6),
(128, 6),
(129, 6),
(130, 6),
(132, 6),
(133, 6),
(134, 6),
(135, 6),
(136, 6),
(137, 6),
(138, 6),
(139, 6),
(140, 6),
(141, 6),
(144, 6),
(145, 6),
(148, 6),
(155, 6),
(160, 6),
(163, 6),
(168, 6),
(177, 6),
(180, 6),
(181, 6),
(1, 7),
(4, 7),
(7, 7),
(10, 7),
(11, 7),
(12, 7),
(13, 7),
(14, 7),
(15, 7),
(16, 7),
(17, 7),
(18, 7),
(19, 7),
(20, 7),
(21, 7),
(22, 7),
(23, 7),
(24, 7),
(25, 7),
(26, 7),
(27, 7),
(28, 7),
(29, 7),
(30, 7),
(31, 7),
(32, 7),
(33, 7),
(34, 7),
(35, 7),
(36, 7),
(37, 7),
(38, 7),
(39, 7),
(40, 7),
(41, 7),
(42, 7),
(43, 7),
(44, 7),
(45, 7),
(46, 7),
(47, 7),
(48, 7),
(49, 7),
(50, 7),
(51, 7),
(52, 7),
(53, 7),
(54, 7),
(55, 7),
(56, 7),
(57, 7),
(59, 7),
(60, 7),
(61, 7),
(62, 7),
(63, 7),
(64, 7),
(65, 7),
(66, 7),
(67, 7),
(68, 7),
(69, 7),
(70, 7),
(71, 7),
(72, 7),
(73, 7),
(74, 7),
(75, 7),
(76, 7),
(77, 7),
(78, 7),
(79, 7),
(80, 7),
(81, 7),
(82, 7),
(83, 7),
(84, 7),
(85, 7),
(86, 7),
(87, 7),
(88, 7),
(89, 7),
(90, 7),
(91, 7),
(92, 7),
(93, 7),
(94, 7),
(95, 7),
(96, 7),
(97, 7),
(98, 7),
(99, 7),
(100, 7),
(101, 7),
(102, 7),
(103, 7),
(104, 7),
(105, 7),
(106, 7),
(107, 7),
(108, 7),
(109, 7),
(110, 7),
(111, 7),
(112, 7),
(113, 7),
(114, 7),
(115, 7),
(116, 7),
(117, 7),
(118, 7),
(119, 7),
(120, 7),
(121, 7),
(122, 7),
(123, 7),
(124, 7),
(125, 7),
(126, 7),
(127, 7),
(128, 7),
(129, 7),
(130, 7),
(131, 7),
(132, 7),
(133, 7),
(134, 7),
(135, 7),
(136, 7),
(137, 7),
(138, 7),
(139, 7),
(140, 7),
(141, 7),
(142, 7),
(143, 7),
(144, 7),
(145, 7),
(146, 7),
(147, 7),
(148, 7),
(149, 7),
(150, 7),
(151, 7),
(152, 7),
(153, 7),
(154, 7),
(155, 7),
(156, 7),
(157, 7),
(158, 7),
(159, 7),
(160, 7),
(163, 7),
(164, 7),
(165, 7),
(166, 7),
(167, 7),
(168, 7),
(169, 7),
(170, 7),
(171, 7),
(172, 7),
(173, 7),
(174, 7),
(175, 7),
(176, 7),
(177, 7),
(179, 7),
(180, 7),
(181, 7),
(182, 7),
(183, 7),
(184, 7),
(185, 7),
(186, 7),
(1, 8),
(8, 8),
(10, 8),
(11, 8),
(15, 8),
(19, 8),
(20, 8),
(22, 8),
(23, 8),
(24, 8),
(29, 8),
(33, 8),
(34, 8),
(35, 8),
(39, 8),
(43, 8),
(44, 8),
(48, 8),
(49, 8),
(52, 8),
(53, 8),
(54, 8),
(59, 8),
(67, 8),
(68, 8),
(70, 8),
(77, 8),
(78, 8),
(79, 8),
(80, 8),
(81, 8),
(82, 8),
(84, 8),
(85, 8),
(86, 8),
(89, 8),
(94, 8),
(95, 8),
(99, 8),
(101, 8),
(108, 8),
(109, 8),
(115, 8),
(117, 8),
(121, 8),
(122, 8),
(123, 8),
(125, 8),
(126, 8),
(128, 8),
(130, 8),
(133, 8),
(135, 8),
(136, 8),
(137, 8),
(138, 8),
(139, 8),
(140, 8),
(141, 8),
(144, 8),
(162, 8),
(163, 8),
(165, 8),
(177, 8),
(181, 8),
(182, 8),
(1, 9),
(8, 9),
(9, 9),
(11, 9),
(15, 9),
(19, 9),
(20, 9),
(22, 9),
(23, 9),
(24, 9),
(33, 9),
(34, 9),
(39, 9),
(44, 9),
(48, 9),
(49, 9),
(52, 9),
(53, 9),
(59, 9),
(67, 9),
(68, 9),
(77, 9),
(79, 9),
(80, 9),
(81, 9),
(82, 9),
(83, 9),
(90, 9),
(95, 9),
(99, 9),
(101, 9),
(106, 9),
(109, 9),
(115, 9),
(117, 9),
(124, 9),
(126, 9),
(130, 9),
(133, 9),
(135, 9),
(137, 9),
(138, 9),
(139, 9),
(140, 9),
(141, 9),
(144, 9),
(152, 9),
(162, 9),
(163, 9),
(165, 9),
(169, 9),
(177, 9),
(181, 9),
(1, 10),
(2, 10),
(7, 10),
(8, 10),
(11, 10),
(15, 10),
(19, 10),
(20, 10),
(22, 10),
(23, 10),
(24, 10),
(33, 10),
(34, 10),
(39, 10),
(44, 10),
(49, 10),
(52, 10),
(53, 10),
(54, 10),
(59, 10),
(67, 10),
(68, 10),
(70, 10),
(77, 10),
(78, 10),
(79, 10),
(80, 10),
(81, 10),
(82, 10),
(83, 10),
(84, 10),
(90, 10),
(95, 10),
(101, 10),
(106, 10),
(108, 10),
(109, 10),
(113, 10),
(115, 10),
(116, 10),
(117, 10),
(123, 10),
(124, 10),
(126, 10),
(128, 10),
(130, 10),
(135, 10),
(136, 10),
(137, 10),
(138, 10),
(139, 10),
(140, 10),
(141, 10),
(142, 10),
(144, 10),
(148, 10),
(152, 10),
(163, 10),
(165, 10),
(169, 10),
(177, 10),
(181, 10);

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

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

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

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

--
-- Table structure for table `savings`
--

CREATE TABLE `savings` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `customer_id` bigint UNSIGNED DEFAULT NULL,
  `savings_product_id` bigint UNSIGNED DEFAULT NULL,
  `account_balance` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT '0',
  `ledger_balance` varchar(225) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `lien_amount` varchar(225) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `lien_deducted` varchar(225) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `lien_remaining` varchar(225) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savings`
--

INSERT INTO `savings` (`id`, `user_id`, `customer_id`, `savings_product_id`, `account_balance`, `ledger_balance`, `lien_amount`, `lien_deducted`, `lien_remaining`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, NULL, 1, 1, '10000', '0', '0', '0', '0', NULL, '2025-12-08 15:03:19', '2025-12-08 15:03:19');

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

--
-- Table structure for table `savings_products`
--

CREATE TABLE `savings_products` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `product_number` int NOT NULL,
  `allow_overdraw` tinyint NOT NULL DEFAULT '0',
  `interest_rate` decimal(8,2) DEFAULT NULL,
  `minimum_balance` int NOT NULL DEFAULT '0',
  `interest_posting` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_adding` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savings_products`
--

INSERT INTO `savings_products` (`id`, `user_id`, `name`, `product_number`, `allow_overdraw`, `interest_rate`, `minimum_balance`, `interest_posting`, `interest_adding`, `notes`, `created_at`, `updated_at`) VALUES
(1, 5, 'savings', 101, 0, 0.00, 0, '30', '0', NULL, '2024-06-21 17:12:06', '2025-02-05 16:13:37'),
(2, 1, 'cooperate', 203, 0, 0.00, 0, '30', '0', NULL, '2025-02-05 16:39:27', '2025-02-05 16:49:38'),
(3, 2, 'current individual', 301, 0, 0.00, 0, '30', '0', NULL, '2025-02-28 17:03:18', '2025-02-28 17:03:18'),
(4, 2, 'savings individual', 401, 0, 0.00, 0, '30', '0', NULL, '2025-02-28 17:04:04', '2025-02-28 17:04:04'),
(5, 2, 'current government', 501, 0, 0.00, 0, '30', '0', NULL, '2025-02-28 17:06:43', '2025-02-28 17:06:43'),
(6, 2, 'current corporate', 302, 0, 0.00, 0, '30', '0', NULL, '2025-02-28 17:07:47', '2025-02-28 17:07:47'),
(7, 2, 'savings corporate', 303, 0, 0.00, 0, '30', '0', NULL, '2025-02-28 17:08:58', '2025-02-28 17:08:58'),
(8, 2, 'savings joint', 304, 0, 0.00, 0, '30', '0', NULL, '2025-02-28 17:11:24', '2025-02-28 17:11:24');

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

--
-- Table structure for table `savings_transactions`
--

CREATE TABLE `savings_transactions` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `customer_id` bigint UNSIGNED DEFAULT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `device` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `system_interest` tinyint NOT NULL DEFAULT '0',
  `slip` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_approve` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `destination_account` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transfer_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_no` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `status` varchar(225) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status_type` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trnx_type` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `initiated_by` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approve_by` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approve_date` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savings_transactions`
--

INSERT INTO `savings_transactions` (`id`, `user_id`, `customer_id`, `branch_id`, `amount`, `type`, `device`, `system_interest`, `slip`, `is_approve`, `destination_account`, `transfer_type`, `reference_no`, `notes`, `status`, `status_type`, `trnx_type`, `initiated_by`, `approve_by`, `approve_date`, `created_at`, `updated_at`) VALUES
(24, 1, 20, 2, '3500', 'withdrawal', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', 0, NULL, '1', '1016390154', 'internal', 'TXN01K8TME2SBNNJ5NYBXK815SJ8S', 'Target savings funding TS2737135280 (schedule #1)', 'success', 'debit', 'system', 'admin', 'admin', NULL, '2025-10-30 13:20:39', '2025-10-30 13:20:39'),
(27, 1, 20, 2, '4500', 'withdrawal', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', 0, NULL, '1', '1016390154', 'internal', 'TXN01K8TXC46ZARTEFNT1YFQ8D945', 'Target savings funding TS7992212053 (schedule #1)', 'success', 'debit', 'system', 'admin', 'admin', NULL, '2025-10-30 15:56:52', '2025-10-30 15:56:52'),
(28, 1, 19, 2, '5000', 'withdrawal', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', 0, NULL, '1', '1019437074', 'internal', 'TXN01K8TXF43TWYB6AK4DE6WEDCV2', 'Target savings funding TS1339786666 (schedule #1)', 'success', 'debit', 'system', 'admin', 'admin', NULL, '2025-10-30 15:58:31', '2025-10-30 15:58:31'),
(29, 1, 18, 2, '6000', 'withdrawal', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', 0, NULL, '1', '1011203590', 'internal', 'TXN01K8TXK1K6NGEW5JG1TZ70B693', 'Target savings funding TS5774098050 (schedule #1)', 'success', 'debit', 'system', 'admin', 'admin', NULL, '2025-10-30 16:00:39', '2025-10-30 16:00:39'),
(30, 1, 21, NULL, '7700', 'withdrawal', 'core', 0, NULL, '1', 'patton damon,1016390154', 'actoac', 'W20251031033843hvChG9dU', 'Testing from victor', 'declined', '2', 'trnsfer', 'admin system', 'admin system', '2025-10-31 16:06:50', '2025-10-31 14:38:43', '2025-10-31 15:06:50'),
(31, 1, 21, NULL, '7700', 'withdrawal', 'core', 0, NULL, '1', 'patton damon,1016390154', 'actoac', 'W20251031040859t1221cYu', 'Testing', 'approved', '2', 'trnsfer', 'admin system', 'Ikhianosen Victor', '2025-10-31 16:19:00', '2025-10-31 15:08:59', '2025-10-31 15:19:00'),
(32, 20, 20, NULL, '7700', 'credit', 'core', 0, NULL, NULL, NULL, NULL, 'Cr20251031041900r9NFYML8', 'Testing', 'approved', '1', 'trnsfer', 'Ikhianosen Victor', 'Ikhianosen Victor', NULL, '2025-10-31 15:19:00', '2025-10-31 15:19:00'),
(33, NULL, 7, 2, '533.33', 'interest', 'SYSTEM', 0, NULL, NULL, '1012198215', 'internal', 'PRF202511020338076ite8LK9', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(34, NULL, 8, 2, '533.33', 'interest', 'SYSTEM', 0, NULL, NULL, '1015544781', 'internal', 'PRF20251102033807AVHb3uU2', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(35, NULL, 9, 2, '533.33', 'interest', 'SYSTEM', 0, NULL, NULL, '1018665751', 'internal', 'PRF202511020338076z6T43ZC', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(36, NULL, 10, 2, '533.33', 'interest', 'SYSTEM', 0, NULL, NULL, '1018215427', 'internal', 'PRF202511020338077D2noe9o', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(37, NULL, 11, 2, '533.33', 'interest', 'SYSTEM', 0, NULL, NULL, '1016573687', 'internal', 'PRF202511020338079PS8VNcF', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(38, NULL, 12, 2, '4800', 'interest', 'SYSTEM', 0, NULL, NULL, '1014214976', 'internal', 'PRF202511020338077sSuqc6J', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(39, NULL, 13, 2, '533.33', 'interest', 'SYSTEM', 0, NULL, NULL, '1013212300', 'internal', 'PRF20251102033807XrjXSEpQ', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(40, NULL, 14, 2, '533.33', 'interest', 'SYSTEM', 0, NULL, NULL, '1014367839', 'internal', 'PRF20251102033807UlEoI65C', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(41, NULL, 15, 2, '533.33', 'interest', 'SYSTEM', 0, NULL, NULL, '1011887802', 'internal', 'PRF20251102033807ih4zt4qh', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(42, NULL, 16, 2, '533.33', 'interest', 'SYSTEM', 0, NULL, NULL, '1018268213', 'internal', 'PRF20251102033807U1qlzFKd', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(43, NULL, 17, 2, '533.33', 'interest', 'SYSTEM', 0, NULL, NULL, '1016752141', 'internal', 'PRF20251102033807SdClEUhW', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(44, NULL, 18, 2, '4784', 'interest', 'SYSTEM', 0, NULL, NULL, '1011203590', 'internal', 'PRF202511020338070QrO3tk0', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(45, NULL, 19, 2, '4786.67', 'interest', 'SYSTEM', 0, NULL, NULL, '1019437074', 'internal', 'PRF20251102033807WvCzPVMt', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(46, NULL, 20, 2, '4799.2', 'interest', 'SYSTEM', 0, NULL, NULL, '1016390154', 'internal', 'PRF202511020338076tXAfDA5', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(47, NULL, 21, 2, '240', 'interest', 'SYSTEM', 0, NULL, NULL, '1013060222', 'internal', 'PRF20251102033807gW8Qht0W', 'Monthly Savings Profit (3.2%)', 'approved', '1', 'trnsfer', 'SYSTEM', 'SYSTEM', NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(48, 1, 14, 2, '500', 'withdrawal', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', 0, NULL, '1', '1014367839', 'internal', 'TXN01K92Q7ZV9DGCYANN6GHXC4NQM', 'Target savings funding TS7207505094 (schedule #1)', 'success', 'debit', 'system', 'admin', 'admin', NULL, '2025-11-02 16:43:41', '2025-11-02 16:43:41'),
(49, 1, 2, 2, '1000', 'credit', 'core', 0, 'Glc20251103122411gzKrtLpl', '0', NULL, 'glc', 'Cr20251103122411Pxzfgd3v', 'Testing', 'pending', '1', 'trnsfer', 'admin system', 'admin system', NULL, '2025-11-03 11:24:11', '2025-11-03 11:24:11'),
(50, 1, 2, 2, '1000', 'credit', 'core', 0, 'Glc2025110312265260MoQtIS', '0', NULL, 'glc', 'Cr20251103122652G4Mc1AUB', 'Testing', 'pending', '1', 'trnsfer', 'admin system', 'admin system', NULL, '2025-11-03 11:26:52', '2025-11-03 11:26:52'),
(51, 1, 2, 2, '1000', 'credit', 'core', 0, 'Glc20251103123229JpZlD4m1', '0', NULL, 'glc', 'Cr20251103123229D2KTJCYw', 'Testing', 'pending', '1', 'trnsfer', 'admin system', 'admin system', NULL, '2025-11-03 11:32:29', '2025-11-03 11:32:29'),
(52, 1, 21, 2, '2000', 'credit', 'core', 0, 'Glc20251110053736gPnBozLs', '0', NULL, 'glc', 'Cr20251110053736h97Vjgp0', '', 'pending', '1', 'trnsfer', 'admin system', 'admin system', NULL, '2025-11-10 16:37:36', '2025-11-10 16:37:36'),
(53, 1, 1, 1, '5000', 'credit', 'mobile', 0, NULL, 'yes', NULL, 'deposit', 'REF10001', 'Test TXN', 'success', 'completed', 'savings', 'system', 'admin', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(54, 1, 1, 1, '3200', 'debit', 'web', 0, NULL, 'yes', '0123456789', 'withdrawal', 'REF10002', 'Test TXN', 'success', 'completed', 'savings', 'system', 'admin', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(55, 1, 1, 1, '7800', 'credit', 'mobile', 0, NULL, 'yes', NULL, 'deposit', 'REF10003', 'Test TXN', 'success', 'completed', 'savings', 'system', 'admin', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(56, 1, 1, 1, '2600', 'debit', 'mobile', 0, NULL, 'yes', '1122334455', 'withdrawal', 'REF10004', 'Test TXN', 'success', 'completed', 'savings', 'system', 'admin', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(57, 1, 1, 1, '11000', 'credit', 'web', 0, NULL, 'yes', NULL, 'deposit', 'REF10005', 'Test TXN', 'success', 'completed', 'savings', 'system', 'admin', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(58, 1, 2, 1, '5200', 'credit', 'mobile', 0, NULL, 'yes', NULL, 'deposit', 'REF20001', 'Test TXN', 'success', 'completed', 'savings', 'system', 'manager', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(59, 1, 2, 1, '2900', 'debit', 'web', 0, NULL, 'yes', '8877665544', 'withdrawal', 'REF20002', 'Test TXN', 'success', 'completed', 'savings', 'system', 'manager', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(60, 1, 2, 1, '7400', 'credit', 'mobile', 0, NULL, 'yes', NULL, 'deposit', 'REF20003', 'Test TXN', 'success', 'completed', 'savings', 'system', 'manager', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(61, 1, 2, 1, '4600', 'credit', 'mobile', 0, NULL, 'yes', NULL, 'deposit', 'REF20004', 'Test TXN', 'success', 'completed', 'savings', 'system', 'manager', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(62, 1, 2, 1, '5200', 'debit', 'web', 0, NULL, 'yes', '5566778899', 'withdrawal', 'REF20005', 'Test TXN', 'success', 'completed', 'savings', 'system', 'manager', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(63, 1, 3, 1, '5500', 'credit', 'mobile', 0, NULL, 'yes', NULL, 'deposit', 'REF30001', 'Test TXN', 'success', 'completed', 'savings', 'system', 'officer', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(64, 1, 3, 1, '3100', 'debit', 'web', 0, NULL, 'yes', '7788990011', 'withdrawal', 'REF30002', 'Test TXN', 'success', 'completed', 'savings', 'system', 'officer', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(65, 1, 3, 1, '7000', 'credit', 'mobile', 0, NULL, 'yes', NULL, 'deposit', 'REF30003', 'Test TXN', 'success', 'completed', 'savings', 'system', 'officer', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(66, 1, 3, 1, '2500', 'debit', 'mobile', 0, NULL, 'yes', '6677889900', 'withdrawal', 'REF30004', 'Test TXN', 'success', 'completed', 'savings', 'system', 'officer', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20'),
(67, 1, 3, 1, '12000', 'credit', 'web', 0, NULL, 'yes', NULL, 'deposit', 'REF30005', 'Test TXN', 'success', 'completed', 'savings', 'system', 'officer', '2025-12-09 15:54:20', '2025-12-09 14:54:20', '2025-12-09 14:54:20');

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

--
-- Table structure for table `savings_transaction_g_l_s`
--

CREATE TABLE `savings_transaction_g_l_s` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `general_ledger_id` bigint UNSIGNED DEFAULT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` enum('deposit','rev_deposit','rev_withdrawal','withdrawal','esusu','monthly_charge','form_fees','bank_fees','interest','sms','dividend','guarantee','guarantee_restored','repayment','fd_interest','investment','process_fees','fixed_deposit','rev_fixed_deposit','loan','wht','rev_interest','transfer_charge','debit','credit','part_liquidate') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `device` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `slip` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_no` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `status` text COLLATE utf8mb4_unicode_ci,
  `status_type` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `initiated_by` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_by` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approve_date` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savings_transaction_g_l_s`
--

INSERT INTO `savings_transaction_g_l_s` (`id`, `user_id`, `branch_id`, `general_ledger_id`, `amount`, `type`, `device`, `slip`, `reference_no`, `notes`, `status`, `status_type`, `initiated_by`, `approved_by`, `approve_date`, `created_at`, `updated_at`) VALUES
(38, 1, 2, 479, '3500', 'deposit', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', NULL, 'TXN01K8TME2SBNNJ5NYBXK815SJ8S', 'Target savings funding TS2737135280 (schedule #1)', 'success', NULL, 'admin', NULL, NULL, '2025-10-30 13:20:39', '2025-10-30 13:20:39'),
(41, 1, 2, 479, '4500', 'deposit', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', NULL, 'TXN01K8TXC46ZARTEFNT1YFQ8D945', 'Target savings funding TS7992212053 (schedule #1)', 'success', NULL, 'admin', NULL, NULL, '2025-10-30 15:56:52', '2025-10-30 15:56:52'),
(42, 1, 2, 479, '5000', 'deposit', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', NULL, 'TXN01K8TXF43TWYB6AK4DE6WEDCV2', 'Target savings funding TS1339786666 (schedule #1)', 'success', NULL, 'admin', NULL, NULL, '2025-10-30 15:58:31', '2025-10-30 15:58:31'),
(43, 1, 2, 479, '6000', 'deposit', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', NULL, 'TXN01K8TXK1K6NGEW5JG1TZ70B693', 'Target savings funding TS5774098050 (schedule #1)', 'success', NULL, 'admin', NULL, NULL, '2025-10-30 16:00:39', '2025-10-30 16:00:39'),
(44, 1, NULL, 103, '7700', 'credit', 'core', 'W20251031033843hvChG9dU', 'Ctp20251031033843GeCbfcO6', 'Testing from victor', 'declined', NULL, 'admin system', 'admin system', '2025-10-31 16:06:50', '2025-10-31 14:38:43', '2025-10-31 15:06:50'),
(45, 1, NULL, 103, '7700', 'credit', 'core', 'W20251031040859t1221cYu', 'Ctp20251031040859T84LMoeN', 'Testing', 'approved', NULL, 'admin system', 'Ikhianosen Victor', '2025-10-31 16:19:00', '2025-10-31 15:08:59', '2025-10-31 15:19:00'),
(46, 20, 2, 397, '7700', 'debit', 'core', 'W20251031040859t1221cYu', 'W20251031041900b4ZQwbAH', 'customer debited', 'approved', NULL, 'Ikhianosen Victor', NULL, NULL, '2025-10-31 15:19:00', '2025-10-31 15:19:00'),
(47, NULL, 2, 416, '7700', 'credit', 'core', 'Cr20251031041900r9NFYML8', 'D20251031041900iLq4CkyI', 'customer credited', 'approved', NULL, 'Ikhianosen Victor', NULL, NULL, '2025-10-31 15:19:00', '2025-10-31 15:19:00'),
(48, 20, 2, 103, '7700', 'debit', 'core', 'Cr20251031041900r9NFYML8', 'Tcp20251031041900DWLqk7MF', 'Testing', 'approved', NULL, 'Ikhianosen Victor', NULL, NULL, '2025-10-31 15:19:00', '2025-10-31 15:19:00'),
(49, NULL, 2, 481, '533.33', 'debit', 'SYSTEM', 'PRF202511020338076ite8LK9', 'PRF20251102033807qaCVfJSa', 'Monthly Savings Profit EXPENSE (DR) for 1012198215', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(50, NULL, 2, 481, '533.33', 'debit', 'SYSTEM', 'PRF20251102033807AVHb3uU2', 'PRF202511020338071ikIvI3l', 'Monthly Savings Profit EXPENSE (DR) for 1015544781', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(51, NULL, 2, 481, '533.33', 'debit', 'SYSTEM', 'PRF202511020338076z6T43ZC', 'PRF20251102033807aJVMDsbH', 'Monthly Savings Profit EXPENSE (DR) for 1018665751', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(52, NULL, 2, 481, '533.33', 'debit', 'SYSTEM', 'PRF202511020338077D2noe9o', 'PRF20251102033807sjtUUrDx', 'Monthly Savings Profit EXPENSE (DR) for 1018215427', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(53, NULL, 2, 481, '533.33', 'debit', 'SYSTEM', 'PRF202511020338079PS8VNcF', 'PRF202511020338071vork5g5', 'Monthly Savings Profit EXPENSE (DR) for 1016573687', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(54, NULL, 2, 481, '4800', 'debit', 'SYSTEM', 'PRF202511020338077sSuqc6J', 'PRF20251102033807drnvYO8P', 'Monthly Savings Profit EXPENSE (DR) for 1014214976', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(55, NULL, 2, 481, '533.33', 'debit', 'SYSTEM', 'PRF20251102033807XrjXSEpQ', 'PRF20251102033807chRWqMt8', 'Monthly Savings Profit EXPENSE (DR) for 1013212300', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(56, NULL, 2, 481, '533.33', 'debit', 'SYSTEM', 'PRF20251102033807UlEoI65C', 'PRF20251102033807Ik7RrHZv', 'Monthly Savings Profit EXPENSE (DR) for 1014367839', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(57, NULL, 2, 481, '533.33', 'debit', 'SYSTEM', 'PRF20251102033807ih4zt4qh', 'PRF202511020338079MZzqJBZ', 'Monthly Savings Profit EXPENSE (DR) for 1011887802', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(58, NULL, 2, 481, '533.33', 'debit', 'SYSTEM', 'PRF20251102033807U1qlzFKd', 'PRF20251102033807kO22Y2Ie', 'Monthly Savings Profit EXPENSE (DR) for 1018268213', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(59, NULL, 2, 481, '533.33', 'debit', 'SYSTEM', 'PRF20251102033807SdClEUhW', 'PRF20251102033807rW0sfEzE', 'Monthly Savings Profit EXPENSE (DR) for 1016752141', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(60, NULL, 2, 481, '4784', 'debit', 'SYSTEM', 'PRF202511020338070QrO3tk0', 'PRF20251102033807swGrwqDa', 'Monthly Savings Profit EXPENSE (DR) for 1011203590', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(61, NULL, 2, 481, '4786.67', 'debit', 'SYSTEM', 'PRF20251102033807WvCzPVMt', 'PRF20251102033807IWi9IBiC', 'Monthly Savings Profit EXPENSE (DR) for 1019437074', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(62, NULL, 2, 481, '4799.2', 'debit', 'SYSTEM', 'PRF202511020338076tXAfDA5', 'PRF20251102033807U9aHnAUt', 'Monthly Savings Profit EXPENSE (DR) for 1016390154', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(63, NULL, 2, 481, '240', 'debit', 'SYSTEM', 'PRF20251102033807gW8Qht0W', 'PRF20251102033807SQk6qJLJ', 'Monthly Savings Profit EXPENSE (DR) for 1013060222', 'approved', NULL, 'SYSTEM', NULL, NULL, '2025-11-02 14:38:07', '2025-11-02 14:38:07'),
(64, 1, 2, 479, '500', 'deposit', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', NULL, 'TXN01K92Q7ZV9DGCYANN6GHXC4NQM', 'Target savings funding TS7207505094 (schedule #1)', 'success', NULL, 'admin', NULL, NULL, '2025-11-02 16:43:41', '2025-11-02 16:43:41'),
(65, 1, 2, 2, '600', 'debit', 'core', NULL, 'Glc20251103103936kxMaZ6xV', 'Testing', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-03 09:39:36', '2025-11-03 09:39:36'),
(66, 1, 2, 2, '600', 'debit', 'core', NULL, 'Glc20251103103939n73SZhQc', 'Testing', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-03 09:39:39', '2025-11-03 09:39:39'),
(67, 1, 2, 2, '1000', 'debit', 'core', NULL, 'Glc20251103111841TStI4r9j', 'Testing', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-03 10:18:41', '2025-11-03 10:18:41'),
(68, 1, 2, 2, '1000', 'debit', 'core', NULL, 'Glc20251103111846mWjTlAOE', 'Testing', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-03 10:18:46', '2025-11-03 10:18:46'),
(69, 1, 2, 2, '1000', 'debit', 'core', NULL, 'Glc202511031118508wzegWIy', 'Testing', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-03 10:18:50', '2025-11-03 10:18:50'),
(70, 1, 2, 2, '1000', 'debit', 'core', NULL, 'Glc20251103120858o7u0Akor', 'Testing', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-03 11:08:58', '2025-11-03 11:08:58'),
(71, 1, 2, 2, '1000', 'debit', 'core', NULL, 'Glc202511031209433PM8Ssq7', 'Testing', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-03 11:09:43', '2025-11-03 11:09:43'),
(72, 1, 2, 2, '1000', 'debit', 'core', NULL, 'Glc20251103122411gzKrtLpl', 'Testing', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-03 11:24:11', '2025-11-03 11:24:11'),
(73, 1, 2, 2, '1000', 'debit', 'core', NULL, 'Glc2025110312265260MoQtIS', 'Testing', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-03 11:26:52', '2025-11-03 11:26:52'),
(74, 1, 2, 2, '1000', 'debit', 'core', NULL, 'Glc20251103123229JpZlD4m1', 'Testing', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-03 11:32:29', '2025-11-03 11:32:29'),
(75, 1, 2, 2, '2000', 'debit', 'core', NULL, 'Glc20251110053736gPnBozLs', '', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-10 16:37:36', '2025-11-10 16:37:36'),
(76, 1, 2, 2, '2000', 'debit', 'core', NULL, 'Gltogl20251110053931jJ3c49hV', '', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-10 16:39:31', '2025-11-10 16:39:31'),
(77, 1, 2, 4, '2000', 'credit', 'core', 'Gltogl20251110053931jJ3c49hV', 'Gltogl20251110053931ao5VFIHg', '', 'pending', NULL, 'admin system', NULL, NULL, '2025-11-10 16:39:31', '2025-11-10 16:39:31');

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

--
-- Table structure for table `saving_fees`
--

CREATE TABLE `saving_fees` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `savings_products` text COLLATE utf8mb4_unicode_ci,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `fees_posting` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fees_adding` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `new_fee_type` enum('full','pro_data') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'full',
  `branch_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sectors`
--

CREATE TABLE `sectors` (
  `id` bigint UNSIGNED NOT NULL,
  `sector` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sectors`
--

INSERT INTO `sectors` (`id`, `sector`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, 'Agriculture & Forestry', NULL, '2023-09-28 12:11:02', '2023-09-28 12:18:45'),
(2, 'Mining & Quarry', NULL, '2023-09-28 12:19:10', '2023-09-28 12:19:10'),
(3, 'Manufacturing & Food Processing', NULL, '2023-09-28 12:19:29', '2023-09-28 12:19:29'),
(4, 'Trade & Commerce', NULL, '2023-09-28 12:22:27', '2023-09-28 12:22:27'),
(5, 'Transport & Communication', NULL, '2023-09-28 12:23:05', '2023-09-28 12:23:05'),
(6, 'Real Estate & Construction', NULL, '2023-09-28 12:23:54', '2023-09-28 12:23:54'),
(7, 'Rent/Housing', NULL, '2023-09-28 12:24:31', '2023-09-28 12:24:31'),
(8, 'Consumer/Personal', NULL, '2023-09-28 12:24:51', '2023-09-28 12:24:51'),
(9, 'Health', NULL, '2023-09-28 12:25:04', '2023-09-28 12:25:04'),
(10, 'Education', NULL, '2023-09-28 12:25:19', '2023-09-28 12:25:19'),
(11, 'Tourism & Hospitality', NULL, '2023-09-28 12:25:35', '2023-09-28 12:25:35'),
(12, 'Purchase of Shares', NULL, '2023-09-28 12:25:54', '2023-09-28 12:25:54'),
(13, 'Others', NULL, '2023-09-28 12:26:17', '2023-09-28 12:29:07');

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

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` bigint UNSIGNED NOT NULL,
  `setting_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `setting_value` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `created_at`, `updated_at`) VALUES
(1, 'company_name', 'AssetMatrix MFB', NULL, '2025-11-02 14:51:54'),
(2, 'company_share', '200000000', NULL, '2025-11-02 14:51:54'),
(3, 'company_capital', '112928102.04', NULL, '2025-11-02 14:51:54'),
(4, 'bank_fund', '0', NULL, '2025-11-02 14:51:54'),
(5, 'till_account', '10923392', NULL, '2025-11-02 14:51:54'),
(6, 'vault_account', '10373391', NULL, '2025-11-02 14:51:54'),
(7, 'giftbill_account', '10839235', NULL, '2025-11-02 14:51:54'),
(8, 'vtpass_account', '10221490', NULL, '2025-11-02 14:51:54'),
(9, 'company_account', '10997918', NULL, '2025-11-02 14:51:54'),
(10, 'online_transfer', '5000000', NULL, '2025-11-02 14:51:54'),
(11, 'company_address', 'Ibadan', NULL, '2025-11-02 14:51:54'),
(12, 'company_currency', 'NGN', NULL, '2025-11-02 14:51:55'),
(13, 'company_website', 'https://www.assetmatrixmfb.com', NULL, '2025-11-02 14:51:54'),
(14, 'company_country', 'Nigeria', NULL, '2025-11-02 14:51:55'),
(15, 'system_version', '1.0', NULL, NULL),
(16, 'sms_enabled', '1', NULL, '2025-11-02 14:51:55'),
(17, 'active_sms', 'termii', NULL, '2025-11-02 14:51:55'),
(18, 'portal_address', 'http://www.assetmatrixmfb.com', NULL, '2025-11-02 14:51:55'),
(19, 'company_email', 'info@assetmatrixmfb.com', NULL, '2025-11-02 14:51:54'),
(20, 'company_phone', '080', NULL, '2025-11-02 14:51:54'),
(21, 'currency_symbol', '₦', NULL, '2025-11-02 14:51:55'),
(22, 'currency_position', 'left', NULL, '2025-11-02 14:51:55'),
(23, 'company_logo', 'uploads/1671474299_asset_matrix_logo.png', NULL, '2024-11-08 15:07:16'),
(24, 'login_background', 'uploads/1669749834_Am_Bkgrd3.jpg', NULL, '2024-11-08 15:38:21'),
(25, 'sms_public_key', 'TLLOIHNInhqZtTKUhSdeBIgdGbPKGFiPjaaZTWzEqEyVEyCvSRTTbcVOsQZVqS', NULL, '2025-11-02 14:51:55'),
(26, 'sms_secret_key', NULL, NULL, '2025-11-02 14:51:55'),
(27, 'twilio_phone_number', NULL, NULL, '2025-11-02 14:51:55'),
(28, 'sms_baseurl', 'https://v3.api.termii.com/api/', NULL, '2025-11-02 14:51:55'),
(29, 'routesms_host', NULL, NULL, NULL),
(30, 'routesms_username', NULL, NULL, NULL),
(31, 'routesms_password', NULL, NULL, NULL),
(32, 'routesms_port', NULL, NULL, NULL),
(33, 'sms_sender', 'AssetMatrix MFB', NULL, '2025-11-02 14:51:55'),
(34, 'clickatell_username', NULL, NULL, '2025-11-02 14:51:55'),
(35, 'clickatell_password', NULL, NULL, '2025-11-02 14:51:55'),
(36, 'clickatell_api_id', NULL, NULL, '2025-11-02 14:51:55'),
(37, 'clickatell_baseurl', NULL, NULL, '2025-11-02 14:51:55'),
(38, 'paypal_email', NULL, NULL, NULL),
(39, 'currency', 'USD', NULL, NULL),
(40, 'password_reset_subject', 'Password reset instructions', NULL, NULL),
(41, 'password_reset_template', 'Password reset instructions', NULL, NULL),
(42, 'payment_received_sms_template', 'Dear {borrowerFirstName}, we have received your payment of {paymentAmount} for loan {loanNumber}. New loan balance:{loanBalance}. Thank you', NULL, '2025-11-02 14:51:55'),
(43, 'payment_received_email_template', 'Dear {borrowerFirstName}, we have received your payment of {paymentAmount} for loan {loanNumber}. New loan balance:{loanBalance}. Thank you', NULL, '2025-11-02 14:51:55'),
(44, 'payment_received_email_subject', 'Payment Received', NULL, '2025-11-02 14:51:55'),
(45, 'payment_email_subject', 'Payment Receipt', NULL, '2025-11-02 14:51:55'),
(46, 'payment_email_template', 'Dear {borrowerFirstName}, find attached receipt of your payment of {paymentAmount} for loan {loanNumber} on {paymentDate}. New loan balance:{loanBalance}. Thank you', NULL, '2025-11-02 14:51:55'),
(47, 'borrower_statement_email_subject', 'Client Statement', NULL, '2025-11-02 14:51:55'),
(48, 'borrower_statement_email_template', 'Dear {borrowerFirstName}, find attached statement of your loans with us. Thank you', NULL, '2025-11-02 14:51:55'),
(49, 'loan_statement_email_subject', 'Loan Statement', NULL, '2025-11-02 14:51:55'),
(50, 'loan_statement_email_template', 'Dear {borrowerFirstName}, find attached loan statement for loan {loanNumber}. Thank you', NULL, '2025-11-02 14:51:55'),
(51, 'loan_schedule_email_subject', 'Loan Schedule', NULL, '2025-11-02 14:51:55'),
(52, 'loan_schedule_email_template', 'Dear {borrowerFirstName}, find attached loan schedule for loan {loanNumber}. Thank you', NULL, '2025-11-02 14:51:55'),
(53, 'cron_last_run', NULL, NULL, NULL),
(54, 'auto_apply_penalty', '1', NULL, '2025-11-02 14:51:55'),
(55, 'auto_payment_receipt_sms', '1', NULL, '2025-11-02 14:51:55'),
(56, 'auto_payment_receipt_email', '1', NULL, '2025-11-02 14:51:55'),
(57, 'auto_repayment_sms_reminder', '1', NULL, '2025-11-02 14:51:55'),
(58, 'auto_repayment_email_reminder', '1', NULL, '2025-11-02 14:51:55'),
(59, 'auto_repayment_days', '4', NULL, '2025-11-02 14:51:55'),
(60, 'auto_overdue_repayment_sms_reminder', '0', NULL, '2025-11-02 14:51:55'),
(61, 'auto_overdue_repayment_email_reminder', '1', NULL, '2025-11-02 14:51:55'),
(62, 'auto_overdue_repayment_days', '2', NULL, '2025-11-02 14:51:55'),
(63, 'auto_overdue_loan_sms_reminder', '0', NULL, '2025-11-02 14:51:55'),
(64, 'auto_overdue_loan_email_reminder', '1', NULL, '2025-11-02 14:51:55'),
(65, 'auto_overdue_loan_days', '2', NULL, '2025-11-02 14:51:55'),
(66, 'loan_overdue_email_subject', 'Loan Overdue', NULL, '2025-11-02 14:51:55'),
(67, 'loan_overdue_email_template', 'Dear {borrowerFirstName}, Your loan {loanNumber} is overdue. Please make your payment. Thank you', NULL, '2025-11-02 14:51:55'),
(68, 'loan_overdue_sms_template', 'Dear {borrowerFirstName}, Your loan {loanNumber} is overdue. Please make your payment. Thank you', NULL, '2025-11-02 14:51:55'),
(69, 'loan_payment_reminder_subject', 'Upcoming Payment Reminder', NULL, '2025-11-02 14:51:55'),
(70, 'loan_payment_reminder_email_template', 'Dear {borrowerFirstName},You have an upcoming payment of {paymentAmount} due on {paymentDate} for loan {loanNumber}. Please make your payment. Thank you', NULL, '2025-11-02 14:51:55'),
(71, 'loan_payment_reminder_sms_template', 'Dear {borrowerFirstName},You have an upcoming payment of {paymentAmount} due on {paymentDate} for loan {loanNumber}. Please make your payment. Thank you', NULL, '2025-11-02 14:51:55'),
(72, 'missed_payment_email_subject', 'Missed Payment', NULL, '2025-11-02 14:51:55'),
(73, 'missed_payment_email_template', 'Dear {borrowerFirstName},You missed  payment of {paymentAmount} which was due on {paymentDate} for loan {loanNumber}. Please make your payment. Thank you', NULL, '2025-11-02 14:51:55'),
(74, 'missed_payment_sms_template', 'Dear {borrowerFirstName},You missed  payment of {paymentAmount} which was due on {paymentDate} for loan {loanNumber}. Please make your payment. Thank you', NULL, '2025-11-02 14:51:55'),
(75, 'enable_cron', '1', NULL, '2025-11-02 14:51:55'),
(76, 'infobip_username', NULL, NULL, '2025-11-02 14:51:55'),
(77, 'infobip_password', NULL, NULL, '2025-11-02 14:51:55'),
(78, 'infobip_api_key', NULL, NULL, '2025-11-02 14:51:55'),
(79, 'infobip_baseurl', NULL, NULL, '2025-11-02 14:51:55'),
(80, 'welcome_note', 'Welcome to AssetMatrix Microfinance Bank Limited', NULL, '2025-11-02 14:51:55'),
(81, 'allow_self_registration', '1', NULL, '2025-11-02 14:51:55'),
(82, 'client_auto_activate_account', '1', NULL, '2025-11-02 14:51:55'),
(83, 'allow_client_login', '1', NULL, '2025-11-02 14:51:55'),
(84, 'client_request_guarantor', '1', NULL, '2025-11-02 14:51:55'),
(85, 'allow_client_apply', '1', NULL, '2025-11-02 14:51:55'),
(86, 'auto_post_savings_interest', '1', NULL, '2025-11-02 14:51:55'),
(87, 'enable_online_payment', '1', NULL, '2025-11-02 14:51:55'),
(88, 'payment_gateway', 'Flutterwave', NULL, '2025-11-02 14:51:55'),
(89, 'gateway_pub_key', 'FLWPUBK-7e29638573271bd98b7a8ff83c31a6c7-', NULL, '2025-11-02 14:51:55'),
(90, 'gateway_secret_key', 'FLWSECK-48901f50145a4f75549013bdaf5c289f-189fe7889d9vt-', NULL, '2025-11-02 14:51:55'),
(91, 'vtpass_income', '40469341', '2023-03-22 14:19:22', '2025-11-02 14:51:54'),
(92, 'giftbill_income', '40920905', '2023-03-22 14:19:22', '2025-11-02 14:51:54'),
(93, 'pos_charges', '50809927', '2023-03-29 14:54:59', '2025-11-02 14:51:54'),
(94, 'glcharges', '40857863', '2023-03-29 14:57:21', '2025-11-02 14:51:54'),
(95, 'transfer_charge', NULL, '2023-05-02 11:57:39', '2025-11-02 14:51:54'),
(96, 'esusucharges', '2', '2023-05-02 11:57:39', '2025-11-02 14:51:54'),
(97, 'frmfeecharges', '3', '2023-05-02 11:57:39', '2025-11-02 14:51:54'),
(98, 'processcharges', '5', '2023-05-02 12:05:20', '2025-11-02 14:51:54'),
(99, 'monthlycharges', '4', '2023-05-02 12:05:20', '2025-11-02 14:51:54'),
(100, 'othercharges', NULL, '2023-05-02 16:22:59', '2025-11-02 14:51:54'),
(101, 'othrchargesgl', '40973920', '2023-05-02 16:22:59', '2025-11-02 14:51:54'),
(102, 'monnifycharge', '0', NULL, '2025-11-02 14:51:54'),
(103, 'enable_2FA', '0', '2023-05-03 09:39:19', '2025-11-02 14:51:55'),
(104, 'moniepointgl', '10794478', '2023-05-03 09:39:19', '2025-11-02 14:51:54'),
(105, 'bankcharge', '0', '2023-05-03 10:13:03', '2025-11-02 14:51:54'),
(106, 'payoption', '1', '2023-05-04 08:55:36', '2025-11-02 14:51:55'),
(107, 'income_suspense', '40171757', '2023-05-06 11:59:51', '2025-11-02 14:51:54'),
(108, 'asset_suspense', '10163749', '2023-05-06 11:59:51', '2025-11-02 14:51:54'),
(109, 'liability_suspense', '20993529', '2023-05-06 11:59:51', '2025-11-02 14:51:54'),
(110, 'exps_suspense', '50180282', '2023-05-06 11:59:51', '2025-11-02 14:51:54'),
(111, 'capital_suspense', '30235195', '2023-05-06 11:59:51', '2025-11-02 14:51:54'),
(112, 'birthday_msg', 'Dear {name}, On this special day, your birthday, we at DW MFB wish you a prosperous and successful year.', '2023-05-08 13:40:46', '2025-11-02 14:51:55'),
(113, 'deposit_limit', '500', '2023-05-22 13:05:50', '2025-11-02 14:51:55'),
(114, 'withdrawal_limit', '500', '2023-05-22 13:05:50', '2025-11-02 14:51:55'),
(115, 'company_code', '51168', '2023-06-08 09:41:48', '2025-11-02 14:51:54'),
(116, 'withholdingtax', '10', '2023-06-24 11:45:53', '2025-11-02 14:51:54'),
(117, 'fdcharge', '10', '2023-06-24 11:45:53', '2025-11-02 14:51:54'),
(118, 'fdliquid_interest', '40774946', '2023-06-24 16:24:27', '2025-11-02 14:51:54'),
(119, 'enable_virtual_ac', '0', '2023-06-24 16:24:27', '2025-11-02 14:51:54'),
(120, 'assetmtx', '10434862', '2023-07-10 19:02:59', '2025-11-02 14:51:54'),
(121, 'company_balance', '84728870.15', '2023-09-26 09:15:05', '2025-08-13 08:59:12'),
(122, 'inwardoption', '2', '2024-01-15 15:36:39', '2025-11-02 14:51:54'),
(123, 'bvnroute', '1', '2024-01-22 13:45:52', '2025-11-02 14:51:54'),
(124, 'botname', NULL, '2024-06-25 11:42:51', '2025-11-02 14:51:55'),
(125, 'whatsapp_username', NULL, '2024-06-25 11:42:51', '2025-11-02 14:51:55'),
(126, 'whatsapp_phone', NULL, '2024-06-25 11:42:51', '2025-11-02 14:51:55'),
(127, 'whatsapp_api_key', NULL, '2024-06-25 11:42:51', '2025-11-02 14:51:55'),
(128, 'whatsapp_session_charge', '0', '2024-06-25 11:42:51', '2025-11-02 14:51:55'),
(129, 'whatsapp_channel', '1', '2024-06-25 11:42:51', '2025-11-02 14:51:55'),
(130, 'ussd_channel', '0', '2024-06-25 11:42:51', '2024-06-25 11:42:51'),
(131, 'vas_wallet', '893037', '2023-09-25 10:32:34', '2025-08-13 08:59:27'),
(132, 'whatsapp_balance', '20000', '2023-10-06 14:40:08', '2025-08-13 08:59:32'),
(133, 'ussd_balance', '0', '2024-06-25 14:58:27', '2024-06-25 13:53:59'),
(138, 'enable_verifyme', '1', '2024-06-25 14:58:27', '2025-11-02 14:51:55'),
(139, 'verifyme_balance', '100000', '2024-06-25 14:58:27', '2025-08-13 08:59:40'),
(140, 'verifyme_nincharge', '0', '2024-06-25 14:58:27', '2025-11-02 14:51:55'),
(141, 'verifyme_bvncharge', '0', '2024-06-25 14:58:27', '2025-11-02 14:51:55'),
(142, 'enable_support_fee', '0', '2024-06-25 14:58:27', '2025-11-02 14:51:55'),
(143, 'support_fee', '0', '2024-06-25 14:58:27', '2025-11-02 14:51:55'),
(144, 'inwardoptiongl', '10434862', '2024-11-08 06:01:28', '2025-11-02 14:51:55'),
(145, 'outwardoptiongl', '10434862', '2024-11-08 06:01:28', '2025-11-02 14:51:55'),
(146, 'enable_auto_debit_loan_mandate', '0', '2024-11-15 14:03:52', '2025-11-02 14:51:55'),
(147, 'db_backup_email', 'lawalcwd@gmail.com', '2025-02-13 14:03:52', '2025-11-02 14:51:55'),
(148, 'enable_inward_charge', '1', '2025-05-20 16:44:27', '2025-11-02 14:51:55'),
(149, 'account_inward_charge', '1', '2025-05-20 16:44:27', '2025-11-02 14:51:55'),
(150, 'inwardoptionchrgl', '20289869', '2025-05-20 17:18:30', '2025-11-02 14:51:55'),
(151, 'stamp_duty', '50', NULL, '2025-11-02 14:51:54'),
(152, 'savings_account_interest_rate', '3.2', '2025-10-30 16:28:30', '2025-11-02 14:51:55'),
(153, 'savings_account_transfer_limit_per_month', '3', '2025-10-30 16:28:31', '2025-11-02 14:51:55');

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

--
-- Table structure for table `statuses`
--

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

--
-- Dumping data for table `statuses`
--

INSERT INTO `statuses` (`id`, `name`, `created_at`, `updated_at`) VALUES
(1, 'Active', '2022-11-10 15:49:26', '2022-11-10 15:49:26'),
(2, 'Closed Account', '2022-11-10 15:49:26', '2022-11-10 15:49:26'),
(3, 'Complete', '2022-11-10 15:49:26', '2022-11-10 15:49:26'),
(4, 'Restricted', '2022-11-10 15:49:26', '2022-11-10 15:49:26'),
(5, 'Fraud Blocked', '2022-11-10 15:49:26', '2022-11-10 15:49:26'),
(6, 'Wrong Password Blocked', '2022-11-10 15:49:26', '2022-11-10 15:49:26'),
(7, 'Pending', '2022-11-10 15:49:26', '2022-11-10 15:49:26'),
(8, 'Dom Account', '2022-11-10 15:49:26', '2022-11-10 15:49:26'),
(9, 'Deleted', '2022-11-10 15:49:26', '2022-11-10 15:49:26'),
(10, 'Setup Fee Payment', '2022-11-10 15:49:26', '2022-11-10 15:49:26'),
(11, 'Company Agreement', '2022-11-10 15:49:26', '2022-11-10 15:49:26');

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

--
-- Table structure for table `subcription_logs`
--

CREATE TABLE `subcription_logs` (
  `id` bigint UNSIGNED NOT NULL,
  `subcription` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount_paid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `vat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_paid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `expense_account` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `credit_account` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `warning_date` date NOT NULL,
  `expiration_date` date NOT NULL,
  `payment_date` datetime NOT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
  `branch_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `paymentref` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `subcription_plans`
--

CREATE TABLE `subcription_plans` (
  `id` bigint UNSIGNED NOT NULL,
  `package_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `duration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `price` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `vat` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `subcription_plans`
--

INSERT INTO `subcription_plans` (`id`, `package_name`, `duration`, `price`, `vat`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, 'CBA + Mobile Mnthly Sub', '30', '600000', '7.5', NULL, '2023-06-14 12:57:28', '2025-06-30 20:01:29'),
(2, 'CBA + Mobile Qrtrly Sub', '90', '1800000', '7.5', NULL, '2023-06-14 13:00:10', '2025-06-30 20:02:04'),
(3, 'CBA + Mobile B-Annual Sub', '180', '3600000', '7.5', NULL, '2023-06-14 13:01:38', '2025-06-30 20:02:21'),
(4, 'CBA + Mobile Annual Sub', '365', '7000000', '7.5', NULL, '2023-06-14 13:02:21', '2025-06-30 20:02:45');

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

--
-- Table structure for table `target_savings`
--

CREATE TABLE `target_savings` (
  `id` bigint UNSIGNED NOT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_id` bigint UNSIGNED DEFAULT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `target_savings_product_id` bigint UNSIGNED NOT NULL,
  `account_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `savings_plan_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `currency` char(3) COLLATE utf8mb4_unicode_ci DEFAULT 'NGN',
  `target_amount` decimal(15,2) NOT NULL,
  `duration` int UNSIGNED DEFAULT NULL,
  `auto_save` tinyint(1) DEFAULT '1',
  `frequency` enum('daily','weekly','monthly') COLLATE utf8mb4_unicode_ci DEFAULT 'daily',
  `per_debit_amount` decimal(15,2) DEFAULT NULL,
  `auto_save_start_date` date DEFAULT NULL,
  `auto_save_amount` decimal(15,2) DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'pending',
  `target_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
  `initiated_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `initiated_at` timestamp NULL DEFAULT NULL,
  `terminate_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `disbursed_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `terminate_at` timestamp NULL DEFAULT NULL,
  `disbursed_at` timestamp NULL DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `maturity_date` date DEFAULT NULL,
  `first_successful_auto_debit_at` date DEFAULT NULL,
  `last_interest_accrued_at` date DEFAULT NULL,
  `interest_method` enum('daily','weekly','monthly') COLLATE utf8mb4_unicode_ci DEFAULT 'daily',
  `total_amount_saved` decimal(15,2) DEFAULT '0.00',
  `total_amount_paid` decimal(30,2) NOT NULL DEFAULT '0.00',
  `total_accrued_interest` decimal(30,2) NOT NULL DEFAULT '0.00',
  `funding_source_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `declined_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `terminated_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_date` timestamp NULL DEFAULT NULL,
  `created_date` timestamp NULL DEFAULT NULL,
  `declined_at` timestamp NULL DEFAULT NULL,
  `terminated_at` timestamp NULL DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `paused_at` timestamp NULL DEFAULT NULL,
  `paused_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `metadata` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `target_savings_products`
--

CREATE TABLE `target_savings_products` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `product_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `minimum_target_deposit` decimal(30,2) DEFAULT '0.00',
  `interest_rate` decimal(30,2) NOT NULL,
  `minimum_hold_days` int UNSIGNED NOT NULL DEFAULT '30',
  `description` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `target_savings_products`
--

INSERT INTO `target_savings_products` (`id`, `user_id`, `name`, `product_code`, `minimum_target_deposit`, `interest_rate`, `minimum_hold_days`, `description`, `created_at`, `updated_at`) VALUES
(7, 1, 'Flex Target', '9423143041', 5000.00, 18.00, 30, NULL, '2025-10-15 17:27:56', '2025-10-15 17:27:56'),
(8, 1, 'Student Flex', '5826659402', 6000.00, 18.00, 30, NULL, '2025-10-15 17:29:18', '2025-10-15 17:29:18'),
(9, 1, 'Corporate', '1466892778', 7000.00, 20.00, 30, NULL, '2025-10-15 17:29:48', '2025-10-15 17:29:48'),
(10, 1, 'Jet Target', '9928709141', 5500.00, 15.00, 30, NULL, '2025-10-15 17:30:28', '2025-10-15 17:30:28'),
(11, 1, 'Rebecca Kaufman', '0473318275', 5000.00, 12.00, 30, NULL, '2025-10-15 18:24:51', '2025-10-15 18:24:51'),
(12, 1, 'Today', '1922781772', 7000.00, 10.00, 30, NULL, '2025-10-30 12:26:08', '2025-10-30 12:26:08');

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

--
-- Table structure for table `target_savings_schedules`
--

CREATE TABLE `target_savings_schedules` (
  `id` bigint UNSIGNED NOT NULL,
  `target_savings_id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint UNSIGNED DEFAULT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `target_savings_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `schedule_no` int UNSIGNED NOT NULL,
  `due_date` date NOT NULL,
  `due_at` datetime DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'pending',
  `initiated_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `initiated_at` timestamp NULL DEFAULT NULL,
  `terminate_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `disbursed_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `terminate_at` timestamp NULL DEFAULT NULL,
  `disbursed_at` timestamp NULL DEFAULT NULL,
  `terminated_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `terminated_at` timestamp NULL DEFAULT NULL,
  `attempt_count` tinyint UNSIGNED DEFAULT '0',
  `debit_at` timestamp NULL DEFAULT NULL,
  `paid_at` timestamp NULL DEFAULT NULL,
  `debit_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `paid_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `target_savings_transactions`
--

CREATE TABLE `target_savings_transactions` (
  `id` bigint UNSIGNED NOT NULL,
  `target_savings_id` bigint UNSIGNED NOT NULL,
  `target_savings_schedule_id` bigint UNSIGNED DEFAULT NULL,
  `customer_id` bigint UNSIGNED DEFAULT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `target_savings_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(20,2) NOT NULL,
  `reference_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `external_reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `narration` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `initiated_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `initiated_at` timestamp NULL DEFAULT NULL,
  `approved_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `device` text COLLATE utf8mb4_unicode_ci,
  `note` text COLLATE utf8mb4_unicode_ci,
  `created_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `disbursed_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `disbursed_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `transaction_charges`
--

CREATE TABLE `transaction_charges` (
  `id` bigint UNSIGNED NOT NULL,
  `uuid` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `max_amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `min_amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `charge_amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transaction_charges`
--

INSERT INTO `transaction_charges` (`id`, `uuid`, `max_amount`, `min_amount`, `charge_amount`, `branch_id`, `created_at`, `updated_at`) VALUES
(1, NULL, '9999', '0', '10', NULL, '2025-05-20 15:30:18', '2025-05-20 15:30:18'),
(2, NULL, '19999', '10000', '15', NULL, '2025-05-20 15:31:02', '2025-05-20 15:32:55'),
(3, NULL, '29999', '20000', '20', NULL, '2025-05-20 15:39:42', '2025-05-20 15:43:17'),
(4, NULL, '39999', '30000', '25', NULL, '2025-05-20 15:40:58', '2025-05-20 15:44:00'),
(5, NULL, '49999', '40000', '35', NULL, '2025-05-20 15:44:58', '2025-05-20 15:44:58'),
(6, NULL, '100000000000000', '50000', '50', NULL, '2025-05-20 15:47:06', '2025-05-20 15:47:06');

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

--
-- Table structure for table `transaction_status`
--

CREATE TABLE `transaction_status` (
  `id` bigint NOT NULL,
  `status_type` varchar(225) COLLATE utf8mb4_general_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `transaction_status`
--

INSERT INTO `transaction_status` (`id`, `status_type`) VALUES
(1, 'deposit'),
(2, 'withdrawal'),
(3, 'reverse deposit'),
(4, 'reverse withdrawal'),
(5, 'fixed deposit charge'),
(6, 'monthly charge'),
(7, 'loan fees'),
(8, 'fixed deposit interest'),
(9, 'sms'),
(10, 'transfer charge'),
(11, 'withholding tax'),
(12, 'fixed deposit'),
(13, 'betting'),
(14, 'airtime Topup'),
(15, 'data subscription'),
(16, 'cable subcription'),
(17, 'electricity payment'),
(18, 'loan interest'),
(19, 'loan'),
(20, 'POS Cashout'),
(21, 'POS Bills Payment'),
(22, 'POS Funds Transfer'),
(23, 'POS Airtime Purchase'),
(24, 'POS Data Purchase'),
(25, 'POS Cable Subscription'),
(26, 'POS Bet Topup'),
(27, 'POS Electricity Purchase'),
(28, 'USSD Session Charge'),
(29, 'Whatsapp Session Charge');

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

--
-- Table structure for table `upload_transaction_statuses`
--

CREATE TABLE `upload_transaction_statuses` (
  `id` bigint UNSIGNED NOT NULL,
  `branch_id` bigint UNSIGNED DEFAULT NULL,
  `customer_id` bigint UNSIGNED DEFAULT NULL,
  `general_ledger_id` bigint UNSIGNED DEFAULT NULL,
  `balance` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `trx_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gl_type` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trx_date` date NOT NULL,
  `reason` text COLLATE utf8mb4_unicode_ci,
  `trx_status` tinyint(1) NOT NULL DEFAULT '0',
  `upload_status` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `whatsapp_ussd_sessions`
--

CREATE TABLE `whatsapp_ussd_sessions` (
  `id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint UNSIGNED DEFAULT NULL,
  `branch_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `session_time` datetime DEFAULT NULL,
  `session_status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `operation` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vtu_phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vtu_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vtu_network` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `variation_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bankcode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `datalist` text COLLATE utf8mb4_unicode_ci,
  `cablelist` text COLLATE utf8mb4_unicode_ci,
  `electlist` text COLLATE utf8mb4_unicode_ci,
  `channel_type` enum('whatsapp','ussd') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sessionid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `statement_date` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `userp` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);

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

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

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

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

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

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

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

--
-- Indexes for table `jobs`
--
ALTER TABLE `jobs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `jobs_queue_index` (`queue`);

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

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

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

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

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

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

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

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

--
-- Indexes for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  ADD KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  ADD KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`);

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`);

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

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`role_id`),
  ADD KEY `role_has_permissions_role_id_foreign` (`role_id`);

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `target_savings`
--
ALTER TABLE `target_savings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`),
  ADD KEY `idx_target_savings_customer_status` (`customer_id`,`status`),
  ADD KEY `idx_target_savings_user_status` (`user_id`,`status`),
  ADD KEY `fk_target_savings_product` (`target_savings_product_id`);

--
-- Indexes for table `target_savings_products`
--
ALTER TABLE `target_savings_products`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `target_savings_products_product_code_unique` (`product_code`),
  ADD KEY `fk_target_savings_products_user` (`user_id`);

--
-- Indexes for table `target_savings_schedules`
--
ALTER TABLE `target_savings_schedules`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uq_target_savings_schedule` (`target_savings_id`,`schedule_no`),
  ADD KEY `idx_target_savings_code` (`target_savings_code`),
  ADD KEY `idx_due_date_status` (`due_date`,`status`),
  ADD KEY `idx_due_at` (`due_at`),
  ADD KEY `idx_debit_at` (`debit_at`),
  ADD KEY `idx_paid_at` (`paid_at`),
  ADD KEY `fk_schedule_customer` (`customer_id`),
  ADD KEY `fk_schedule_user` (`user_id`);

--
-- Indexes for table `target_savings_transactions`
--
ALTER TABLE `target_savings_transactions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_target_savings_transactions_target_savings_id` (`target_savings_id`),
  ADD KEY `fk_target_savings_transactions_target_savings_schedule_id` (`target_savings_schedule_id`),
  ADD KEY `fk_target_savings_transactions_customer_id` (`customer_id`),
  ADD KEY `fk_target_savings_transactions_user_id` (`user_id`);

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

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `accountofficers`
--
ALTER TABLE `accountofficers`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `account_categories`
--
ALTER TABLE `account_categories`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=138;

--
-- AUTO_INCREMENT for table `account_types`
--
ALTER TABLE `account_types`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `api_keys`
--
ALTER TABLE `api_keys`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `assets`
--
ALTER TABLE `assets`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `asset_types`
--
ALTER TABLE `asset_types`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `asset_valuations`
--
ALTER TABLE `asset_valuations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `audittrails`
--
ALTER TABLE `audittrails`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=293;

--
-- AUTO_INCREMENT for table `banks`
--
ALTER TABLE `banks`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=318;

--
-- AUTO_INCREMENT for table `beneficiaries`
--
ALTER TABLE `beneficiaries`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `branches`
--
ALTER TABLE `branches`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `branch_users`
--
ALTER TABLE `branch_users`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `capitals`
--
ALTER TABLE `capitals`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `charges`
--
ALTER TABLE `charges`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `collaterals`
--
ALTER TABLE `collaterals`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `collateral_types`
--
ALTER TABLE `collateral_types`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `customer_restrictions`
--
ALTER TABLE `customer_restrictions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `emails`
--
ALTER TABLE `emails`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=141;

--
-- AUTO_INCREMENT for table `exchangerates`
--
ALTER TABLE `exchangerates`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `expenses`
--
ALTER TABLE `expenses`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `expense_types`
--
ALTER TABLE `expense_types`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `fixed_deposits`
--
ALTER TABLE `fixed_deposits`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `fixed_deposit_products`
--
ALTER TABLE `fixed_deposit_products`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `fxmgmts`
--
ALTER TABLE `fxmgmts`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `general_ledgers`
--
ALTER TABLE `general_ledgers`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=482;

--
-- AUTO_INCREMENT for table `investment_schedules`
--
ALTER TABLE `investment_schedules`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `investmet_repayments`
--
ALTER TABLE `investmet_repayments`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `ipwhitelistings`
--
ALTER TABLE `ipwhitelistings`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `jobs`
--
ALTER TABLE `jobs`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `loans`
--
ALTER TABLE `loans`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `loan_comments`
--
ALTER TABLE `loan_comments`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `loan_fees`
--
ALTER TABLE `loan_fees`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `loan_fee_metas`
--
ALTER TABLE `loan_fee_metas`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `loan_products`
--
ALTER TABLE `loan_products`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `loan_repayments`
--
ALTER TABLE `loan_repayments`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `loan_schedules`
--
ALTER TABLE `loan_schedules`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=68;

--
-- AUTO_INCREMENT for table `monthly_savings_profits`
--
ALTER TABLE `monthly_savings_profits`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `nibss_logs`
--
ALTER TABLE `nibss_logs`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `nip_access_tokens`
--
ALTER TABLE `nip_access_tokens`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `notification_payloads`
--
ALTER TABLE `notification_payloads`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `other_incomes`
--
ALTER TABLE `other_incomes`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `other_income_types`
--
ALTER TABLE `other_income_types`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `outstanding_loans`
--
ALTER TABLE `outstanding_loans`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payment_structures`
--
ALTER TABLE `payment_structures`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payrolls`
--
ALTER TABLE `payrolls`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payroll_metas`
--
ALTER TABLE `payroll_metas`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payroll_templates`
--
ALTER TABLE `payroll_templates`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `payslips`
--
ALTER TABLE `payslips`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=194;

--
-- AUTO_INCREMENT for table `provision_rates`
--
ALTER TABLE `provision_rates`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `role_users`
--
ALTER TABLE `role_users`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `savings`
--
ALTER TABLE `savings`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `savings_products`
--
ALTER TABLE `savings_products`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `savings_transactions`
--
ALTER TABLE `savings_transactions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=68;

--
-- AUTO_INCREMENT for table `savings_transaction_g_l_s`
--
ALTER TABLE `savings_transaction_g_l_s`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=78;

--
-- AUTO_INCREMENT for table `saving_fees`
--
ALTER TABLE `saving_fees`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sectors`
--
ALTER TABLE `sectors`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=154;

--
-- AUTO_INCREMENT for table `statuses`
--
ALTER TABLE `statuses`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `subcription_logs`
--
ALTER TABLE `subcription_logs`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `subcription_plans`
--
ALTER TABLE `subcription_plans`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `target_savings`
--
ALTER TABLE `target_savings`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `target_savings_products`
--
ALTER TABLE `target_savings_products`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `target_savings_schedules`
--
ALTER TABLE `target_savings_schedules`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=498;

--
-- AUTO_INCREMENT for table `target_savings_transactions`
--
ALTER TABLE `target_savings_transactions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `transaction_charges`
--
ALTER TABLE `transaction_charges`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `transaction_status`
--
ALTER TABLE `transaction_status`
  MODIFY `id` bigint NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT for table `upload_transaction_statuses`
--
ALTER TABLE `upload_transaction_statuses`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `whatsapp_ussd_sessions`
--
ALTER TABLE `whatsapp_ussd_sessions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `target_savings`
--
ALTER TABLE `target_savings`
  ADD CONSTRAINT `fk_target_savings_customer` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE RESTRICT ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_target_savings_product` FOREIGN KEY (`target_savings_product_id`) REFERENCES `target_savings_products` (`id`) ON DELETE RESTRICT ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_target_savings_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE CASCADE;

--
-- Constraints for table `target_savings_products`
--
ALTER TABLE `target_savings_products`
  ADD CONSTRAINT `fk_target_savings_products_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `target_savings_schedules`
--
ALTER TABLE `target_savings_schedules`
  ADD CONSTRAINT `fk_schedule_customer` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_schedule_target_savings` FOREIGN KEY (`target_savings_id`) REFERENCES `target_savings` (`id`) ON DELETE RESTRICT ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_schedule_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;

--
-- Constraints for table `target_savings_transactions`
--
ALTER TABLE `target_savings_transactions`
  ADD CONSTRAINT `fk_target_savings_transactions_customer_id` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_target_savings_transactions_target_savings_id` FOREIGN KEY (`target_savings_id`) REFERENCES `target_savings` (`id`) ON DELETE RESTRICT ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_target_savings_transactions_target_savings_schedule_id` FOREIGN KEY (`target_savings_schedule_id`) REFERENCES `target_savings_schedules` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_target_savings_transactions_user_id` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;
COMMIT;

