<?php
defined('BASEPATH') or exit('No direct script access allowed');


$route['default_controller']   = 'Login';
$route['404_override']         = 'ErorPage';
$route['translate_uri_dashes'] = FALSE;

// Perjalanan sangat panjang
$route['logout']                        = 'Login/logout';
$route['login']                         = 'Login';
// ==============================================================//
//                                                               //
//************************Bagian Pengurus************************//
//                                                               //
// ==============================================================//
// Menu Dashboard
// Bagian Pengurus
// Menu Dashboard
$route['owner']                                                      = 'owner/ControllerBeranda';
$route['owner/beranda']                                              = 'owner/ControllerBeranda/beranda';
$route['owner/beranda/ringkasan_aruskas']                            = 'owner/ControllerBeranda/lihat_tanggal';
$route['owner/beranda/daftar_heboh/crud']                            = 'owner/ControllerBeranda/crud';
$route['owner/beranda/daftar_motor/crud']                            = 'owner/ControllerBeranda/crud';
$route['owner/beranda/bayar_heboh/crud']                             = 'owner/ControllerBeranda/crud';
$route['owner/beranda/cek_arisan']                                   = 'owner/ControllerBeranda/cek_arisan';
$route['owner/identitas']                                            = 'owner/ControllerAnggota';
$route['owner/identitas/anggota/(:any)']                             = 'owner/ControllerAnggota/anggota_detail/$1';
$route['owner/identitas/anggota_arisan/crud']                        = 'owner/ControllerAnggota/crud';
// Menu Aturan Pinjaman
$route['owner/aturan_pinjaman']                                      = 'owner/ControllerPengaturan';
$route['owner/aturan_pinjaman/crud']                                 = 'owner/ControllerPengaturan/crud';
// =====================================================================================================================================================================================================
// ######Bagian Laporan Owner / Pengurus######
// =====================================================================================================================================================================================================
// Laporan Owner Menu laporan koperasi pinjaman status
$route['owner/koperasi/pengajuan_pinjaman']                                 = 'owner/koperasi/ControllerPengajuan';
$route['owner/koperasi/pengajuan/crud']                                     = 'owner/koperasi/ControllerPengajuan/crud';
$route['owner/koperasi/aktif_pinjaman']                                     = 'owner/koperasi/ControllerAktif';
$route['owner/koperasi/kontrak_pinjaman/(:any)']                            = 'owner/koperasi/ControllerAktif/kontrak/$1';
$route['owner/koperasi/macet_pinjaman']                                     = 'owner/koperasi/ControllerMacet';
$route['owner/koperasi/lunas_pinjaman']                                     = 'owner/koperasi/ControllerLunas';
// Laporan Owner / Pengurus Arisan Heboh
$route['owner/laporan_arisan/kelompok_heboh']                               = 'owner/laporan/arisan/ControllerLaporanHeboh';
$route['owner/laporan_arisan/kelompok_heboh/list_laporan/(:any)']           = 'owner/laporan/arisan/ControllerLaporanHeboh/list/$1';
$route['owner/laporan_arisan/kelompok_heboh/detail_laporan/(:any)']         = 'owner/laporan/arisan/ControllerLaporanHeboh/detail/$1';
$route['owner/laporan_arisan/kelompok_heboh/crud/(:any)']                   = 'owner/laporan/arisan/ControllerLaporanHeboh/crud/$1';
// Laporan Owner / Pengurus Arisan Motor
$route['owner/laporan_arisan/kelompok_motor']                               = 'owner/laporan/arisan/ControllerLaporanMotor';
$route['owner/laporan_arisan/kelompok_motor/list_laporan/(:any)']           = 'owner/laporan/arisan/ControllerLaporanMotor/list/$1';
$route['owner/laporan_arisan/kelompok_motor/detail_laporan/(:any)']         = 'owner/laporan/arisan/ControllerLaporanMotor/detail/$1';
$route['owner/laporan_arisan/kelompok_motor/crud/(:any)']                   = 'owner/laporan/arisan/ControllerLaporanMotor/crud/$1';
// =====================================================================================================================================================================================================
// ######Bagian Buku Kas Owner / Pengurus######
// =====================================================================================================================================================================================================
// Kas Anggaran Dasar Owner / Pengurus Arisan Heboh
$route['owner/kas/anggaran_dasar']                                  = 'owner/kas/ControllerAnggaranDasar';
$route['owner/kas/anggaran_dasar/crud']                             = 'owner/kas/ControllerAnggaranDasar/crud';
// Kas Umum Koperasi
$route['owner/kas/umum']                                            = 'owner/kas/ControllerKasOperasional';
$route['owner/kas/umum/lihat_tanggal']                              = 'owner/kas/ControllerKasOperasional/lihat_tanggal';
$route['owner/kas/umum/crud']                                       = 'owner/kas/ControllerKasOperasional/crud';
$route['owner/kas/umum/cetak_filter/(:any)']                        = 'owner/kas/ControllerKasOperasional/cetak_filter/$1';
$route['owner/kas/umum/download_filter/(:any)']                     = 'owner/kas/ControllerKasOperasional/download_filter/$1';
// Kas Umum Koperasi
$route['owner/kas/produk_arisan']                                   = 'owner/kas/ControllerKasProdukArisan';
$route['owner/kas/produk_arisan/crud']                              = 'owner/kas/ControllerKasProdukArisan/crud';
$route['owner/kas/produk_arisan/lihat_tanggal']                     = 'owner/kas/ControllerKasProdukArisan/lihat_tanggal';
$route['owner/kas/produk_arisan/cetak_filter/(:any)']               = 'owner/kas/ControllerKasProdukArisan/cetak_filter/$1';
$route['owner/kas/produk_arisan/download_filter/(:any)']            = 'owner/kas/ControllerKasProdukArisan/download_filter/$1';
// Kas Operasional Koperasi
$route['owner/kas/produk_koperasi']                                 = 'owner/kas/ControllerKasProdukKoperasi';
$route['owner/kas/produk_koperasi/crud']                            = 'owner/kas/ControllerKasProdukKoperasi/crud';
$route['owner/kas/produk_koperasi/lihat_tanggal']                   = 'owner/kas/ControllerKasProdukKoperasi/lihat_tanggal';
$route['owner/kas/produk_koperasi/cetak_filter/(:any)']             = 'owner/kas/ControllerKasProdukKoperasi/cetak_filter/$1';
$route['owner/kas/produk_koperasi/download_filter/(:any)']          = 'owner/kas/ControllerKasProdukKoperasi/download_filter/$1';
// =====================================================================================================================================================================================================
// ###### Bagian Laporan Koperasi ######
// =====================================================================================================================================================================================================
$route['owner/pinjaman_koperasi']                                   = 'owner/laporan/koperasi/ControllerPinjaman';
$route['owner/pinjaman_koperasi/marketing/(:any)']                  = 'owner/laporan/koperasi/ControllerPinjaman/marketing/$1';
$route['owner/pinjaman_koperasi/realisasi_stroting']                = 'owner/laporan/koperasi/ControllerPinjaman/realisasi_stroting';
$route['owner/pinjaman_koperasi/kontrak/(:any)']                    = 'owner/laporan/koperasi/ControllerPinjaman/kontrak/$1';
// =====================================================================================================================================================================================================
// ######Bagian Kelola Data Owner / Pengurus######
// =====================================================================================================================================================================================================
// Keloa Data Anggota Pengurus 
$route['owner/anggota/pengurus']                                    = 'owner/anggota/ControllerAnggotaPengurus';
$route['owner/anggota/pengurus/crud']                               = 'owner/anggota/ControllerAnggotaPengurus/crud';
// Keloa Data Anggota Karyawan
$route['owner/anggota/karyawan']                                    = 'owner/anggota/ControllerAnggotaKaryawan';
$route['owner/anggota/karyawan/crud']                               = 'owner/anggota/ControllerAnggotaKaryawan/crud';
$route['owner/anggota/karyawan/aktif/(:any)']                       = 'owner/anggota/ControllerAnggotaKaryawan/aktif/$1';
$route['owner/anggota/karyawan/blokir/(:any)']                      = 'owner/anggota/ControllerAnggotaKaryawan/blokir/$1';
// Keloa Data Anggota Karyawan
$route['owner/anggota/koperasi']                                    = 'owner/anggota/ControllerAnggotaKoperasi';
$route['owner/anggota/koperasi/crud']                               = 'owner/anggota/ControllerAnggotaKoperasi/crud';
// Bagian Database
// Sistem
// Role Level
$route['owner/database/sistem/role_level']                          = 'owner/database/sistem/ControllerDataRoleLevel';
$route['owner/database/sistem/role_level/crud']                     = 'owner/database/sistem/ControllerDataRoleLevel/crud';
// Alamat
$route['owner/database/sistem/alamat']                              = 'owner/database/sistem/ControllerDataAlamat';
$route['owner/database/sistem/alamat/crud']                         = 'owner/database/sistem/ControllerDataAlamat/crud';
// WhatsApp
$route['owner/database/sistem/whatsapp']                            = 'owner/database/sistem/ControllerDataWA';
$route['owner/database/sistem/whatsapp/crud']                       = 'owner/database/sistem/ControllerDataWA/crud';
// Email
$route['owner/database/sistem/email']                               = 'owner/database/sistem/ControllerDataEmail';
$route['owner/database/sistem/email/crud']                          = 'owner/database/sistem/ControllerDataEmail/crud';
// Login
$route['owner/database/sistem/login']                               = 'owner/database/sistem/ControllerDataLogin';
$route['owner/database/sistem/login/crud']                          = 'owner/database/sistem/ControllerDataLogin/crud';
// Identitas
$route['owner/database/sistem/identitas']                           = 'owner/database/sistem/ControllerDataIdentitas';
$route['owner/database/sistem/identitas/crud']                      = 'owner/database/sistem/ControllerDataIdentitas/crud';
// Bagian Nota
// Nota Utama
$route['owner/database/nota/utama']                                 = 'owner/database/nota/ControllerDataNota';
$route['owner/database/nota/utama/crud']                            = 'owner/database/nota/ControllerDataNota/crud';
// Nota Koperasi
$route['owner/database/nota/detail_koperasi']                       = 'owner/database/nota/ControllerDataNotaKoperasi';
$route['owner/database/nota/detail_koperasi/crud']                  = 'owner/database/nota/ControllerDataNotaKoperasi/crud';
// Nota Arisan
$route['owner/database/nota/detail_koperasi']                       = 'owner/database/nota/ControllerDataNotaKoperasi';
$route['owner/database/nota/detail_koperasi/crud']                  = 'owner/database/nota/ControllerDataNotaKoperasi/crud';
// Bagian Koperasi
// Anggota Koperasi
$route['owner/database/koperasi/anggota']                           = 'owner/database/koperasi/ControllerDataAnggota';
$route['owner/database/koperasi/anggota/crud']                      = 'owner/database/koperasi/ControllerDataAnggota/crud';
// Kontrak Koperasi
$route['owner/database/koperasi/kontrak']                           = 'owner/database/koperasi/ControllerDataKontrak';
$route['owner/database/koperasi/kontrak/crud']                      = 'owner/database/koperasi/ControllerDataKontrak/crud';
// Progress Koperasi
$route['owner/database/koperasi/progress']                          = 'owner/database/koperasi/ControllerDataProgress';
$route['owner/database/koperasi/progress/crud']                     = 'owner/database/koperasi/ControllerDataProgress/crud';
// Jaminan Koperasi
$route['owner/database/koperasi/jaminan']                           = 'owner/database/koperasi/ControllerDataJaminan';
$route['owner/database/koperasi/jaminan/crud']                      = 'owner/database/koperasi/ControllerDataJaminan/crud';
// Angsuran Koperasi
$route['owner/database/koperasi/angsuran']                          = 'owner/database/koperasi/ControllerDataAngsuran';
$route['owner/database/koperasi/angsuran/crud']                     = 'owner/database/koperasi/ControllerDataAngsuran/crud';

// ==============================================================//
//                                                               //
//************************Bagian Keuangan************************//
//                                                               //
// ==============================================================//
// Menu Dashboard
// Bagian Keuangan
// Menu Dashboard
$route['keuangan']                                                     = 'keuangan/ControllerBeranda';
$route['keuangan/beranda']                                             = 'keuangan/ControllerBeranda';
$route['keuangan/beranda/ringkasan_aruskas']                           = 'keuangan/ControllerBeranda/lihat_tanggal';
$route['keuangan/beranda/daftar_heboh/crud']                           = 'keuangan/ControllerBeranda/crud';
$route['keuangan/beranda/daftar_motor/crud']                           = 'keuangan/ControllerBeranda/crud';
$route['keuangan/beranda/bayar_heboh/crud']                            = 'keuangan/ControllerBeranda/crud';
$route['keuangan/beranda/cek_arisan']                                  = 'keuangan/ControllerBeranda/cek_arisan';
$route['keuangan/identitas']                                           = 'keuangan/ControllerAnggota';
$route['keuangan/identitas/anggota/(:any)']                            = 'keuangan/ControllerAnggota/anggota/$1';
$route['keuangan/identitas/anggota_arisan/crud']                       = 'keuangan/ControllerAnggota/crud';
$route['keuangan/identitas/tabungan_anggota/hapus/(:any)']             = 'keuangan/ControllerAnggota/tabungan_hapus/$1';
// Menu Aturan Pinjaman
$route['keuangan/sistem/aturan_pinjaman']                              = 'keuangan/ControllerPengaturan';
$route['keuangan/sistem/aturan_pinjaman/crud']                         = 'keuangan/ControllerPengaturan/crud';
// Menu Pinjaman Karyawan
$route['keuangan/sistem/pinjaman_karyawan']                            = 'keuangan/ControllerPinjamanKaryawan';
$route['keuangan/sistem/pinjaman_karyawan/crud']                       = 'keuangan/ControllerPinjamanKaryawan/crud';
$route['keuangan/sistem/kontrak_pinjaman/(:any)']                      = 'keuangan/ControllerPinjamanKaryawan/kontrak/$1';
$route['keuangan/sistem/karyawan/bayar_lunas/(:any)']                  = 'keuangan/ControllerPinjamanKaryawan/bayar_lunas/$1';
$route['keuangan/sistem/karyawan/bayar_macet/(:any)']                  = 'keuangan/ControllerPinjamanKaryawan/bayar_macet/$1';
// Menu Kelola Kas Keuangan Koperasi
// Anggaran Dasar Koperasi
$route['keuangan/kas/anggaran_dasar']                                  = 'keuangan/kas/ControllerAnggaranDasar';
$route['keuangan/kas/anggaran_dasar/crud']                             = 'keuangan/kas/ControllerAnggaranDasar/crud';
// Kas Umum Koperasi
$route['keuangan/kas/umum']                                            = 'keuangan/kas/ControllerKasOperasional';
$route['keuangan/kas/umum/lihat_tanggal']                              = 'keuangan/kas/ControllerKasOperasional/lihat_tanggal';
$route['keuangan/kas/umum/crud']                                       = 'keuangan/kas/ControllerKasOperasional/crud';
$route['keuangan/kas/umum/cetak_filter/(:any)']                        = 'keuangan/kas/ControllerKasOperasional/cetak_filter/$1';
$route['keuangan/kas/umum/download_filter/(:any)']                     = 'keuangan/kas/ControllerKasOperasional/download_filter/$1';
// Kas Operasional Koperasi
$route['keuangan/kas/produk_koperasi']                                 = 'keuangan/kas/ControllerKasProdukKoperasi';
$route['keuangan/kas/produk_koperasi/crud']                            = 'keuangan/kas/ControllerKasProdukKoperasi/crud';
$route['keuangan/kas/produk_koperasi/lihat_tanggal']                   = 'keuangan/kas/ControllerKasProdukKoperasi/lihat_tanggal';
$route['keuangan/kas/produk_koperasi/cetak_filter/(:any)']             = 'keuangan/kas/ControllerKasProdukKoperasi/cetak_filter/$1';
$route['keuangan/kas/produk_koperasi/download_filter/(:any)']          = 'keuangan/kas/ControllerKasProdukKoperasi/download_filter/$1';
// Kas Arisan Koperasi
$route['keuangan/kas/produk_arisan']                                   = 'keuangan/kas/ControllerKasProdukArisan';
$route['keuangan/kas/produk_arisan/crud']                              = 'keuangan/kas/ControllerKasProdukArisan/crud';
$route['keuangan/kas/produk_arisan/lihat_tanggal']                     = 'keuangan/kas/ControllerKasProdukArisan/lihat_tanggal';
$route['keuangan/kas/produk_arisan/cetak_filter/(:any)']               = 'keuangan/kas/ControllerKasProdukArisan/cetak_filter/$1';
$route['keuangan/kas/produk_arisan/download_filter/(:any)']            = 'keuangan/kas/ControllerKasProdukArisan/download_filter/$1';
// Kas Penggajian Karyawan
$route['keuangan/kas/gaji']                                             = 'keuangan/kas/ControllerKasGaji';
$route['keuangan/kas/gaji/history/(:any)']                             = 'keuangan/kas/ControllerKasGaji/histori/$1';
$route['keuangan/kas/gaji/detail_history/(:any)']                      = 'keuangan/kas/ControllerKasGaji/histori_detail/$1';
$route['keuangan/kas/gaji/crud_gaji']                                  = 'keuangan/kas/ControllerKasGaji/crud';
$route['keuangan/kas/gaji/slip_gaji/cetak/(:any)']                     = 'keuangan/kas/ControllerKasGaji/cetak_slip/$1';
// Menu Pinjaman Koperasi
// Sub Menu Realisasi Pinjaman
$route['keuangan/pinjaman_koperasi']                                   = 'keuangan/laporan/koperasi/ControllerPinjaman';
$route['keuangan/pinjaman_koperasi/marketing/(:any)']                  = 'keuangan/laporan/koperasi/ControllerPinjaman/marketing/$1';
$route['keuangan/pinjaman_koperasi/realisasi_stroting']                = 'keuangan/laporan/koperasi/ControllerPinjaman/realisasi_stroting';
$route['keuangan/pinjaman_koperasi/kontrak/(:any)']                    = 'keuangan/laporan/koperasi/ControllerPinjaman/kontrak/$1';
// =====================================================================================================================================================================================================
// ######Bagian Laporan Keuangan###### 
// =====================================================================================================================================================================================================
// Laporan Keuangan Menu laporan koperasi pinjaman status
$route['keuangan/koperasi/pengajuan_pinjaman']                                 = 'keuangan/koperasi/ControllerPengajuan';
$route['keuangan/koperasi/pengajuan/crud']                                     = 'keuangan/koperasi/ControllerPengajuan/crud';
$route['keuangan/koperasi/aktif_pinjaman']                                     = 'keuangan/koperasi/ControllerAktif';
$route['keuangan/koperasi/kontrak_pinjaman/(:any)']                            = 'keuangan/koperasi/ControllerAktif/kontrak/$1';
$route['keuangan/koperasi/macet_pinjaman']                                     = 'keuangan/koperasi/ControllerMacet';
$route['keuangan/koperasi/lunas_pinjaman']                                     = 'keuangan/koperasi/ControllerLunas';
$route['keuangan/koperasi/pembayaran_pinjaman']                                = 'keuangan/koperasi/ControllerPembayaran';
$route['keuangan/koperasi/filter_pembayaran']                                  = 'keuangan/koperasi/ControllerPembayaran/lihat_tanggal';
$route['keuangan/koperasi/batal_bayar/(:any)']                                 = 'keuangan/koperasi/ControllerPembayaran/batal_pembayaran/$1';
// Laporan Keuangan Arisan Heboh
$route['keuangan/laporan_arisan/kelompok_heboh']                               = 'keuangan/laporan/arisan/ControllerLaporanHeboh';
$route['keuangan/laporan_arisan/kelompok_heboh/list_laporan/(:any)']           = 'keuangan/laporan/arisan/ControllerLaporanHeboh/list/$1';
$route['keuangan/laporan_arisan/kelompok_heboh/detail_laporan/(:any)']         = 'keuangan/laporan/arisan/ControllerLaporanHeboh/detail/$1';
$route['keuangan/laporan_arisan/kelompok_heboh/crud/(:any)']                   = 'keuangan/laporan/arisan/ControllerLaporanHeboh/crud/$1';
$route['keuangan/laporan_arisan/heboh_crud']                                   = 'keuangan/laporan/arisan/ControllerLaporanHeboh/heboh_crud';
// Laporan Keuangan Arisan Motor
$route['keuangan/laporan_arisan/kelompok_motor']                               = 'keuangan/laporan/arisan/ControllerLaporanMotor';
$route['keuangan/laporan_arisan/kelompok_motor/detail/(:any)']                 = 'keuangan/laporan/arisan/ControllerLaporanMotor/detail/$1';
$route['keuangan/laporan_arisan/kelompok_motor/list_laporan/(:any)']           = 'keuangan/laporan/arisan/ControllerLaporanMotor/list/$1';
$route['keuangan/laporan_arisan/kelompok_motor/detail_laporan/(:any)']         = 'keuangan/laporan/arisan/ControllerLaporanMotor/detail_laporan/$1';
$route['keuangan/laporan_arisan/kelompok_motor/crud/(:any)']                   = 'keuangan/laporan/arisan/ControllerLaporanMotor/crud/$1';
$route['keuangan/laporan_arisan/motor_crud']                                   = 'keuangan/laporan/arisan/ControllerLaporanMotor/motor_crud';
// =====================================================================================================================================================================================================
// ######Bagian Anggota Koperasi######
// =====================================================================================================================================================================================================
// Anggota Koperasi
$route['keuangan/sistem/anggota']                                               = 'keuangan/ControllerAnggota/anggota_koperasi';
$route['keuangan/sistem/anggota_koperasi/crud']                                 = 'keuangan/ControllerAnggota/crud';
$route['keuangan/sistem/karyawan']                                              = 'keuangan/ControllerAnggota/karyawan';
$route['keuangan/sistem/karyawan/crud']                                         = 'keuangan/ControllerAnggota/crud_karyawan';
$route['keuangan/identitas/karyawan/(:any)']                                    = 'keuangan/ControllerAnggota/karyawan_detail/$1';
$route['keuangan/identitas/detail_gaji/(:any)']                                 = 'keuangan/ControllerAnggota/gaji_detail/$1';
$route['keuangan/identitas/crud_gaji']                                          = 'keuangan/ControllerAnggota/crud_gaji/$1';
$route['keuangan/identitas/myprofile']                                          = 'keuangan/ControllerAnggota';

// Menu bagian sistem arisan
$route['keuangan/sistem/arisan']                                                = 'keuangan/ControllerArisan';

// Menu Bagian Keuangan
$route['keuangan/salery']                                                       = 'keuangan/kas/ControllerSalery';

// ==============================================================//
//                                                               //
//*************************Bagian Manager*************************//
//                                                               //
// ==============================================================//
// Menu Dashboard
$route['manager']                                                     = 'manager/ControllerBeranda';
$route['manager/beranda']                                             = 'manager/ControllerBeranda';
$route['manager/beranda/ringkasan_aruskas']                           = 'manager/ControllerBeranda/lihat_tanggal';
$route['manager/beranda/daftar_heboh/crud']                           = 'manager/ControllerBeranda/crud';
$route['manager/beranda/daftar_motor/crud']                           = 'manager/ControllerBeranda/crud';
$route['manager/beranda/bayar_heboh/crud']                            = 'manager/ControllerBeranda/crud';
$route['manager/beranda/cek_arisan']                                  = 'manager/ControllerBeranda/cek_arisan';
$route['manager/identitas/anggota/(:any)']                            = 'manager/sistem/ControllerAnggota/anggota_detail/$1';
$route['manager/identitas/tabungan_anggota/hapus/(:any)']             = 'manager/sistem/ControllerAnggota/tabungan_hapus/$1';
$route['manager/identitas/anggota_arisan/crud']                       = 'manager/sistem/ControllerAnggota/crud';
$route['manager/identitas/myprofile']                                 = 'manager/ControllerProfile';
$route['manager/identitas/karyawan/(:any)']                           = 'manager/sistem/ControllerKaryawan/karyawan_detail/$1';
$route['manager/identitas/kpi_update/(:any)']                         = 'manager/sistem/ControllerKPIMarketing/kpi_update/$1';
$route['manager/identitas/kpi_update/(:any)']                         = 'manager/sistem/ControllerKPIMarketing/kpi_update/$1';
$route['manager/identitas/detail_gaji/(:any)']                        = 'manager/sistem/ControllerSaleryKaryawan/detail_gaji/$1';
// =====================================================================================================================================================================================================
// ######Kelola Data Kas######
// =====================================================================================================================================================================================================
// Anggaran Dasar Koperasi
$route['manager/kas/anggaran_dasar']                                  = 'manager/kas/ControllerAnggaranDasar';
$route['manager/kas/anggaran_dasar/crud']                             = 'manager/kas/ControllerAnggaranDasar/crud';
// Kas Umum Koperasi
$route['manager/kas/umum']                                            = 'manager/kas/ControllerKasOperasional';
$route['manager/kas/umum/lihat_tanggal']                              = 'manager/kas/ControllerKasOperasional/lihat_tanggal';
$route['manager/kas/umum/crud']                                       = 'manager/kas/ControllerKasOperasional/crud';
$route['manager/kas/umum/cetak_filter/(:any)']                        = 'manager/kas/ControllerKasOperasional/cetak_filter/$1';
// Kas Operasional Koperasi
$route['manager/kas/produk_koperasi']                                 = 'manager/kas/ControllerKasProdukKoperasi';
$route['manager/kas/produk_koperasi/crud']                            = 'manager/kas/ControllerKasProdukKoperasi/crud';
$route['manager/kas/produk_koperasi/lihat_tanggal']                   = 'manager/kas/ControllerKasProdukKoperasi/lihat_tanggal';
$route['manager/kas/produk_koperasi/cetak_filter/(:any)']             = 'manager/kas/ControllerKasProdukKoperasi/cetak_filter/$1';
// Kas Arisan Koperasi
$route['manager/kas/produk_arisan']                                   = 'manager/kas/ControllerKasProdukArisan';
$route['manager/kas/produk_arisan/crud']                              = 'manager/kas/ControllerKasProdukArisan/crud';
$route['manager/kas/produk_arisan/lihat_tanggal']                     = 'manager/kas/ControllerKasProdukArisan/lihat_tanggal';
$route['manager/kas/produk_arisan/cetak_filter/(:any)']               = 'manager/kas/ControllerKasProdukArisan/cetak_filter/$1';
// =====================================================================================================================================================================================================
// ######Kelola Data Sistem######
// =====================================================================================================================================================================================================
// Menu Kelola Data Karyawan
$route['manager/sistem/karyawan']                                     = 'manager/sistem/ControllerKaryawan';
$route['manager/sistem/karyawan/crud']                                = 'manager/sistem/ControllerKaryawan/crud';
// Menu Kelola Data Karyawan
$route['manager/sistem/anggota']                                      = 'manager/sistem/ControllerAnggota';
// $route['manager/sistem/anggota/detail/(:any)']                        = 'manager/sistem/ControllerAnggota/detail/$1';
$route['manager/sistem/anggota/crud']                                 = 'manager/sistem/ControllerAnggota/crud';
// $route['manager/sistem/anggota/data']                                 = 'manager/sistem/ControllerAnggota/dataview';
// $route['manager/sistem/anggota/tambah']                               = 'manager/sistem/ControllerAnggota/tambah';
// =====================================================================================================================================================================================================
// ######Kelola Data Sistem######
// =====================================================================================================================================================================================================
// Menu Identitas Karyawan
// Menu Aturan Pinjaman
$route['manager/sistem/aturan_pinjaman']                              = 'manager/sistem/ControllerAturanPinjaman';
$route['manager/sistem/aturan_pinjaman/crud']                         = 'manager/sistem/ControllerAturanPinjaman/crud';

// =====================================================================================================================================================================================================
// ######Kelola Data KPI######
// =====================================================================================================================================================================================================
// Menu Komponen
// HAPUS
$route['manager/kpi/marketing']                                       = 'manager/kpi/ControllerKomponenMarketing';
$route['manager/kpi/marketing/crud']                                  = 'manager/kpi/ControllerKomponenMarketing/crud';
// DEtail Komponen
$route['manager/kpi/komponen/crud']                                   = 'manager/kpi/ControllerKomponenMarketing/crud';
$route['manager/kpi/komponen/detkomp/(:any)']                         = 'manager/kpi/ControllerKomponenMarketing/detkomp/$1';
$route['manager/kpi/faktor/crud']                                     = 'manager/kpi/ControllerKomponenMarketing/faktor_crud';
// Detail Target Penilaian
$route['manager/kpi/komponen/target/(:any)']                          = 'manager/kpi/ControllerKomponenMarketing/target/$1';
// END HAPUS

$route['manager/sistem/kpi_marketing']                                = 'manager/sistem/ControllerKPIMarketing';
$route['manager/sistem/kpi_marketing/target_marketing/(:any)']        = 'manager/sistem/ControllerKPIMarketing/target/$1';
$route['manager/sistem/kpi_crud']                                     = 'manager/sistem/ControllerKPIMarketing/crud';
$route['manager/sistem/kpi_detail/(:any)']                            = 'manager/sistem/ControllerKPIMarketing/detail_kpi/$1';

// Menu Salery
$route['manager/salery']                                              = 'manager/ControllerSalery';

// =====================================================================================================================================================================================================
// ######Kelola Data Laporan######
// =====================================================================================================================================================================================================
// Menu Laporan Arisan
// Menu Laporan Arisan Heboh
$route['manager/laporan_arisan/kelompok_heboh']                               = 'manager/laporan/arisan/ControllerLaporanHeboh';
$route['manager/laporan_arisan/kelompok_heboh/list_laporan/(:any)']           = 'manager/laporan/arisan/ControllerLaporanHeboh/list/$1';
$route['manager/laporan_arisan/kelompok_heboh/detail_laporan/(:any)']         = 'manager/laporan/arisan/ControllerLaporanHeboh/detail/$1';
$route['manager/laporan_arisan/kelompok_heboh/crud/(:any)']                   = 'manager/laporan/arisan/ControllerLaporanHeboh/crud/$1';
$route['manager/laporan_arisan/heboh_crud']                                   = 'manager/laporan/arisan/ControllerLaporanHeboh/heboh_crud';
// Menu Laporan Arisan Motor
$route['manager/laporan_arisan/kelompok_motor']                               = 'manager/laporan/arisan/ControllerLaporanMotor';
$route['manager/laporan_arisan/kelompok_motor/detail/(:any)']                 = 'manager/laporan/arisan/ControllerLaporanMotor/detail/$1';
$route['manager/laporan_arisan/kelompok_motor/detail_laporan/(:any)']         = 'manager/laporan/arisan/ControllerLaporanMotor/detail_laporan/$1';
$route['manager/laporan_arisan/kelompok_motor/crud/(:any)']                   = 'manager/laporan/arisan/ControllerLaporanMotor/crud/$1';
$route['manager/laporan_arisan/motor_crud']                                   = 'manager/laporan/arisan/ControllerLaporanMotor/motor_crud';
$route['manager/laporan_arisan/kelompok_motor/remake_laporan/(:any)']         = 'manager/laporan/arisan/ControllerLaporanMotor/remake_laporan/$1';
// Menu laporan koperasi
$route['manager/koperasi/pengajuan_pinjaman']                                 = 'manager/koperasi/ControllerPengajuan';
$route['manager/koperasi/pengajuan/crud']                                     = 'manager/koperasi/ControllerPengajuan/crud';
$route['manager/koperasi/aktif_pinjaman']                                     = 'manager/koperasi/ControllerAktif';
$route['manager/koperasi/kontrak_pinjaman/(:any)']                            = 'manager/koperasi/ControllerAktif/kontrak/$1';
$route['manager/koperasi/macet_pinjaman']                                     = 'manager/koperasi/ControllerMacet';
$route['manager/koperasi/lunas_pinjaman']                                     = 'manager/koperasi/ControllerLunas';
$route['manager/koperasi/set_libur']                                          = 'manager/koperasi/ControllerSettLibur';
$route['manager/koperasi/set_libur/crud']                                     = 'manager/koperasi/ControllerSettLibur/crud';
// Laporan Marketing
$route['manager/marketing']                                                   = 'manager/laporan/koperasi/ControllerPinjaman';
$route['manager/marketing/pinjaman/daftar/(:any)']                            = 'manager/laporan/koperasi/ControllerPinjaman/marketing/$1';
$route['manager/marketing/pinjaman/realisasi_storting']                       = 'manager/laporan/koperasi/ControllerPinjaman/realisasi_stroting';
$route['manager/marketing/pinjaman/kontrak/(:any)']                           = 'manager/laporan/koperasi/ControllerAktif/kontrak/$1';
$route['manager/marketing/pinjaman/crud_angsuran']                            = 'manager/laporan/koperasi/ControllerAktif/crud';
$route['manager/pinjaman_koperasi/realisasi_stroting']                        = 'manager/laporan/koperasi/ControllerPinjaman/realisasi_stroting';

// ==============================================================//
//                                                               //
//*****************Bagian Kepala Bagian Koperasi*****************//
//                                                               //
// ==============================================================//
// Bagian Kepala Bagian Koperasi
// Menu Dashboard
$route['kabag_marketing']                                                     = 'kabag_marketing/ControllerBeranda';
$route['kabag_marketing/beranda/angsuran/bayar/(:any)']                       = 'kabag_marketing/ControllerBeranda/angsuran_bayar/$1';
// Menu Kelola data
// Menu Data Marketing - DONE
$route['kabag_marketing/data/marketing']                                      = 'kabag_marketing/kelola_data/ControllerDataMarketing';
$route['kabag_marketing/data/marketing/crud']                                 = 'kabag_marketing/kelola_data/ControllerDataMarketing/crud';
$route['kabag_marketing/data/marketing/detail/(:any)']                        = 'kabag_marketing/kelola_data/ControllerDataMarketing/detail/$1';
// Menu Data Anggota Koperasi
$route['kabag_marketing/data/anggota_koperasi']                               = 'kabag_marketing/kelola_data/ControllerDataAnggotaKoperasi';
$route['kabag_marketing/data/anggota/data']                                   = 'kabag_marketing/kelola_data/ControllerDataAnggotaKoperasi/dataview';
$route['kabag_marketing/data/anggota/detail/(:any)']                          = 'kabag_marketing/kelola_data/ControllerDataAnggotaKoperasi/detail/$1';
// Data Kinerja Marketing
$route['kabag_marketing/data/kpi']                                            = 'kabag_marketing/kelola_data/ControllerDataKpi';
$route['kabag_marketing/data/kpi_tgt/(:any)']                                 = 'kabag_marketing/kelola_data/ControllerDataKpi/target/$1';
$route['kabag_marketing/data/kpi_crud']                                       = 'kabag_marketing/kelola_data/ControllerDataKpi/kpi_crud';

// Menu Operasional Kabag Marketing
// Bagian Pinjaman
// Sub Menu Verifikasi Perminataan Kasir 
$route['kabag_marketing/kegiatan/permintaan_pinjaman']                         = 'kabag_marketing/operasional/ControllerPermintaanPinjaman';
$route['kabag_marketing/kegiatan/permintaan_pinjaman/crud']                    = 'kabag_marketing/operasional/ControllerPermintaanPinjaman/crud';
// Sub Menu Verifikasi Pengajuan 
$route['kabag_marketing/kegiatan/pengajuan_pinjaman']                         = 'kabag_marketing/operasional/ControllerPengajuanPinjaman';
$route['kabag_marketing/kegiatan/pengajuan_pinjaman/crud']                    = 'kabag_marketing/operasional/ControllerPengajuanPinjaman/crud';
$route['kabag_marketing/kegiatan/realisasi_pinjaman']                         = 'kabag_marketing/operasional/ControllerPengajuanPinjaman/riwayat';
// Sub Menu View Pinjaman Aktif
$route['kabag_marketing/kegiatan/pinjaman_aktif']                             = 'kabag_marketing/operasional/ControllerAktifPinjaman';
$route['kabag_marketing/kegiatan/kontrak_pinjaman/(:any)']                    = 'kabag_marketing/operasional/ControllerAktifPinjaman/kontrak/$1';
$route['kabag_marketing/kegiatan/kontrak/bayar_lunas/(:any)']                 = 'kabag_marketing/operasional/ControllerAktifPinjaman/bayar_lancar/$1';
$route['kabag_marketing/kegiatan/kontrak/bayar_macet/(:any)']                 = 'kabag_marketing/operasional/ControllerAktifPinjaman/bayar_macet/$1';
// Sub Menu View Pinjaman Macet
$route['kabag_marketing/kegiatan/pinjaman_macet']                             = 'kabag_marketing/operasional/ControllerMacetPinjaman';
// Sub Menu View Pinjaman Lunas
$route['kabag_marketing/kegiatan/pinjaman_lunas']                             = 'kabag_marketing/operasional/ControllerLunasPinjaman';
// Menu Marketing
// Menu Realisasi
$route['kabag_marketing/marketing_aktifitas']                                 = 'kabag_marketing/ControllerAktifitas';
$route['kabag_marketing/marketing_aktifitas/pinjaman/(:any)']                 = 'kabag_marketing/ControllerAktifitas/realisasi/$1';
$route['kabar_marketing/pinjaman_koperasi/realisasi_stroting']                = 'kabag_marketing/ControllerAktifitas/realisasi_stroting';
$route['kabag_marketing/kegiatan/update_kpi/(:any)']                          = 'kabag_marketing/ControllerKPI/update_harian/$1';
$route['kabag_marketing/kegiatan/update_nilai_kpi/(:any)']                    = 'kabag_marketing/ControllerKPI/update_bulanan/$1';


// Menu Identitas
// Identitas Anggota Koperasi
$route['kabag_marketing/identitas/anggota/(:any)']                            = 'kabag_marketing/ControllerAnggota/anggota/$1';
$route['kabag_marketing/identitas/anggota_arisan/crud']                       = 'kabag_marketing/ControllerAnggota/crud';
$route['kabag_marketing/identitas/myprofile']                                 = 'kabag_marketing/ControllerAnggota';
$route['kabag_marketing/identitas/kpi_update/(:any)']                         = 'kabag_marketing/kelola_data/ControllerDataMarketing/update_kpi/$1';
$route['kabag_marketing/identitas/kpi_update_hasil/(:any)']                   = 'kabag_marketing/kelola_data/ControllerDataMarketing/kpi_update/$1';
$route['kabag_marketing/marketing_aktifitas/kpi_detail/(:any)']               = 'kabag_marketing/kelola_data/ControllerDataMarketing/detail_kpi/$1';
// Menu Salery Kabag Marketing
$route['kabag_marketing/salery']                                              = 'kabag_marketing/kelola_data/ControllerDataSalery';
$route['kabag_marketing/salery/detail/(:any)']                                = 'kabag_marketing/kelola_data/ControllerDataSalery/detail/$1';




// ==============================================================//
//                                                               //
//*******************Bagian Marketing Koperasi*******************//
//                                                               //
// ==============================================================//
// Bagian Marketing Koperasi
// Menu Dashboard
$route['marketing']                                                           = 'marketing/ControllerBeranda';
$route['marketing/beranda/crud']                                              = 'marketing/ControllerBeranda/crud';
$route['marketing/kegiatan/angsuran/notifikasi/(:any)']                       = 'marketing/kegiatan/ControllerPinjamanAktif/angsuran_notifikasi/$1';
$route['marketing/kegiatan/angsuran/bayar/(:any)']                            = 'marketing/kegiatan/ControllerPinjamanAktif/angsuran_bayar/$1';
// Kegiatan Bisnis Marketing Koperasi
// Pengajuan Pinjaman
$route['marketing/kegiatan/pengajuan_pinjaman']                               = 'marketing/kegiatan/ControllerPengajuanPinjaman';
$route['marketing/kegiatan/pengajuan_pinjaman/crud']                          = 'marketing/kegiatan/ControllerPengajuanPinjaman/crud';
// Riwayat Pengajuan Pinjaman
$route['marketing/cek_angsuran_new']                                          = 'marketing/kegiatan/ControllerPengajuanPinjaman/cek_angsuran_new';
$route['marketing/kegiatan/riwayat_pengajuan']                                = 'marketing/kegiatan/ControllerPengajuanPinjaman/riwayat';
$route['marketing/kegiatan/riwayat_pengajuan/crud']                           = 'marketing/kegiatan/ControllerPengajuanPinjaman/crud';
// Pinjaman Aktif
$route['marketing/kegiatan/pinjaman_aktif']                                   = 'marketing/kegiatan/ControllerPinjamanAktif';
$route['marketing/kegiatan/pinjaman_aktif/kontrak/(:any)']                    = 'marketing/kegiatan/ControllerPinjamanAktif/kontrak/$1';
$route['marketing/kegiatan/pinjaman_aktif/crud']                              = 'marketing/kegiatan/ControllerPinjamanAktif/crud';
$route['marketing/kegiatan/kontrak_pinjaman/(:any)']                          = 'marketing/kegiatan/ControllerPinjamanAktif/kontrak/$1';
$route['marketing/kegiatan/kontrak/bayar_lunas/(:any)']                             = 'marketing/kegiatan/ControllerPinjamanAktif/bayar_lancar/$1';
$route['marketing/kegiatan/kontrak/bayar_macet/(:any)']                             = 'marketing/kegiatan/ControllerPinjamanAktif/bayar_macet/$1';
$route['marketing/kegiatan/kontrak/notifikasi/(:any)']                        = 'marketing/kegiatan/ControllerPinjamanAktif/notifikasi/$1';
// Pinjaman Macet
$route['marketing/kegiatan/pinjaman_macet']                                   = 'marketing/kegiatan/ControllerPinjamanMacet';
// Pinjaman Macet
$route['marketing/kegiatan/pinjaman_lunas']                                   = 'marketing/kegiatan/ControllerPinjamanLunas';
// Anggota Koperasi
$route['marketing/anggota']                                                   = 'marketing/ControllerAnggota/anggota_koperasi';
$route['marketing/identitas/anggota/(:any)']                                  = 'marketing/ControllerAnggota/anggota/$1';
$route['marketing/identitas_update/crud']                                     = 'marketing/ControllerAnggota/crud_karyawan';
$route['marketing/identitas/myprofile']                                       = 'marketing/ControllerAnggota';
$route['marketing/sistem/karyawan/crud']                                      = 'marketing/ControllerAnggota/crud_karyawan';
// Menu KPI
$route['marketing/kpi']                                                       = 'marketing/ControllerKPIMarketing';
$route['marketing/kpi/detail_kpi/(:any)']                                     = 'marketing/ControllerKPIMarketing/detail_kpi/$1';
$route['marketing/kpi/update_hasil/(:any)']                                   = 'marketing/ControllerKPIMarketing/update_kpi/$1';
// Menu KPI
$route['marketing/salery']                                                    = 'marketing/ControllerDataSalery';
$route['marketing/salery/detail/(:any)']                                      = 'marketing/ControllerDataSalery/detail/$1';

// ==============================================================//
//                                                               //
//*************************Bagian Arisan*************************//
//                                                               //
// ==============================================================//
// =====================================================================================================================================================================================================
// ###### Bagian Menu Beranda ######
// =====================================================================================================================================================================================================
// Menu Dashboard
$route['arisan']                                                     = 'arisan/ControllerBeranda';
$route['arisan/beranda']                                             = 'arisan/ControllerBeranda/beranda';
$route['arisan/beranda/daftar/crud']                                 = 'arisan/ControllerBeranda/crud';
$route['arisan/beranda/bayar/crud']                                  = 'arisan/ControllerBeranda/crud';
$route['arisan/beranda/cek_arisan']                                  = 'arisan/ControllerBeranda/cek_arisan';
$route['arisan/identitas']                                           = 'arisan/ControllerAnggota';
$route['arisan/identitas/anggota/(:any)']                            = 'arisan/ControllerAnggota/anggota/$1';
$route['arisan/identitas/anggota_arisan/crud']                       = 'arisan/ControllerAnggota/crud';
// =====================================================================================================================================================================================================
// ###### Bagian Menu KAS ###### - DONE
// =====================================================================================================================================================================================================
// Menu Kas Arisan
$route['arisan/kas']                                                 = 'arisan/ControllerBukuKas';
$route['arisan/kas/crud']                                            = 'arisan/ControllerBukuKas/crud';
$route['arisan/kas/tanggal']                                         = 'arisan/ControllerBukuKas/tanggal';
// =====================================================================================================================================================================================================
// ###### DONE  Kelola Data Arisan######  - DONE
// =====================================================================================================================================================================================================
// Menu Kelola Pengajuan Arisan
$route['arisan/data/pengajuan']                                      = 'arisan/keloladata/ControllerDataPengajuan';
$route['arisan/data/pengajuan/verifikasi']                            = 'arisan/keloladata/ControllerDataPengajuan/verifikasi';
$route['arisan/identitas/pengajuan_arisan/(:any)']                   = 'arisan/ControllerAnggota/pengajuan_arisan/$1';
$route['arisan/identitas/anggota/pengajuan/arisan/heboh/(:any)']     = 'arisan/ControllerAnggota/pengajuan_arisan/$1';
$route['arisan/data/cek_pemenang']                                   = 'arisan/ControllerAnggota/cek_pemenang';
// Menu Kelola Data Arisan Heboh - ( DONE )
$route['arisan/data/kelompok_heboh']                                 = 'arisan/keloladata/ControllerDataKelompokHeboh';
$route['arisan/data/kelompok_heboh/crud']                            = 'arisan/keloladata/ControllerDataKelompokHeboh/crud';
$route['arisan/data/kelompok_heboh/kelompok/(:any)']                 = 'arisan/keloladata/ControllerDataKelompokHeboh/kelompok/$1';
$route['arisan/data/kelompok_heboh/anggota/mundur/(:any)']           = 'arisan/keloladata/ControllerDataKelompokHeboh/anggota_mundur/$1';
$route['arisan/data/kelompok_heboh/anggota/hapus/(:any)']            = 'arisan/keloladata/ControllerDataKelompokHeboh/hapus_anggota/$1';
// Menu Kelola Data Kelompok Arisan Motor - ( DONE )
$route['arisan/data/kelompok_motor']                                 = 'arisan/keloladata/ControllerDataKelompokMotor';
$route['arisan/data/kelompok_motor/crud']                            = 'arisan/keloladata/ControllerDataKelompokMotor/crud';
$route['arisan/data/kelompok_motor/kelompok/(:any)']                 = 'arisan/keloladata/ControllerDataKelompokMotor/kelompok/$1';
$route['arisan/data/kelompok_motor/anggota/mundur/(:any)']           = 'arisan/keloladata/ControllerDataKelompokMotor/anggota_mundur/$1';
$route['arisan/data/kelompok_motor/anggota/hapus/(:any)']            = 'arisan/keloladata/ControllerDataKelompokMotor/hapus_anggota/$1';
// Menu Kelola data anggota arisan - ( DONE )
$route['arisan/data/anggota_arisan']                                 = 'arisan/keloladata/ControllerDataAnggota';
// Menu Kelola data Keluarga anggota - ( DONE )
$route['arisan/data/anggota_keluarga']                               = 'arisan/keloladata/ControllerDataKeluarga';
$route['arisan/data/anggota_keluarga/crud']                          = 'arisan/keloladata/ControllerDataKeluarga/crud';
$route['arisan/data/anggota_keluarga/kelompok/(:any)']               = 'arisan/keloladata/ControllerDataKeluarga/kelompok/$1';
$route['arisan/data/cek_keluarga']                                   = 'arisan/ControllerAnggota/cek_keluarga';
$route['arisan/data/cek_keluarga_nohp']                              = 'arisan/ControllerAnggota/cek_keluarga_nohp';
$route['arisan/data/anggota_keluarga/hapus/(:any)']                  = 'arisan/keloladata/ControllerDataKeluarga/hapus_keluarga/$1';
$route['arisan/data/anggota_keluarga/hapus_anggota/(:any)']          = 'arisan/keloladata/ControllerDataKeluarga/hapus_anggota/$1';
// Menu kelola data anggota referral
$route['arisan/data/referral_arisan']                                = 'arisan/keloladata/ControllerDataReferral';
$route['arisan/data/referral_arisan/crud']                           = 'arisan/keloladata/ControllerDataReferral/crud';
// =====================================================================================================================================================================================================
// ######Kelola Proses Arisan atau Aktifitas Arisan###### 
// =====================================================================================================================================================================================================
// Kelola Operasional Arisan
// Operasional Arisan heboh
$route['arisan/operasional/operasional_heboh']                       = 'arisan/operasional/ControllerArisanHeboh';

// Operasional Arisan Motor
$route['arisan/operasional/operasional_motor']                       = 'arisan/operasional/ControllerArisanMotor';
$route['arisan/operasional/jadwal_motor/(:any)']                     = 'arisan/operasional/ControllerArisanMotor/jadwal/$1';
$route['arisan/operasional/jadwal_motor/histori/(:any)']             = 'arisan/operasional/ControllerArisanMotor/jadwal_histori/$1';
$route['arisan/operasional/tagihan_motor/(:any)']                    = 'arisan/operasional/ControllerArisanMotor/tagihan/$1';
$route['arisan/operasional/tagihan_motor/bayar_undian/(:any)']       = 'arisan/operasional/ControllerArisanMotor/bayar_undian/$1';
$route['arisan/operasional/tagihan_motor/kirim_invoice/(:any)']      = 'arisan/operasional/ControllerArisanMotor/kirim_invoice/$1';
$route['arisan/operasional/jm/crud']                                 = 'arisan/operasional/ControllerArisanMotor/crud';
// Operasional Lelang / Undian Arisan Motor
$route['arisan/operasional/kegiatan/lelang_motor/proses/(:any)']            = 'arisan/operasional/ControllerArisanMotorKegiatan/lelang/$1';
$route['arisan/operasional/kegiatan/lelang_motor/crud']                     = 'arisan/operasional/ControllerArisanMotorKegiatan/crud';
// Operasional tagihan nunggak atau aktifitas tunggakan
$route['arisan/operasional/tagihan_motor/tunggakan/(:any)']          = 'arisan/operasional/ControllerArisanTunggakan/tunggakan_motor/$1';

// Kelola Aktifitas Arisan
// Aktifitas Arisan Heboh
$route['arisan/aktifitas/aktifitas_heboh']                            = 'arisan/aktifitas/ControllerAktifitasHeboh';
$route['arisan/aktifitas/aktifitas_motor']                            = 'arisan/aktifitas/ControllerAktifitasMotor';
$route['arisan/aktifitas']                                            = 'arisan/aktifitas/ControllerAktifitas';
// Bagian Jadwal  - ( DONE ) - Kurang Laporan
$route['arisan/aktifitas/jadwal/kelompok/(:any)']                     = 'arisan/aktifitas/ControllerJadwalAktifitas/index/$1';
$route['arisan/aktifitas/jadwal/crud']                                = 'arisan/aktifitas/ControllerJadwalAktifitas/crud';
// Bagian Tagihan  - ( DONE ) - Kurang Notifikasi
$route['arisan/aktifitas/tagihan/kelompok/(:any)']                    = 'arisan/aktifitas/ControllerTagihanAktifitas/kelompok/$1';
$route['arisan/aktifitas/tagihan/bayar']                              = 'arisan/aktifitas/ControllerTagihanAktifitas/bayar';
$route['arisan/aktifitas/tagihan/keluarga']                           = 'arisan/aktifitas/ControllerTagihanAktifitas/keluarga';
$route['arisan/aktifitas/tagihan/bayar_undian/(:any)']                = 'arisan/aktifitas/ControllerTagihanAktifitas/bayar_undian/$1';
$route['arisan/aktifitas/tagihan_nuggak/bayar/(:any)']                = 'arisan/aktifitas/ControllerTagihanAktifitas/bayar_susulan/$1';
$route['arisan/aktifitas/tagihan/invoice_cetak/(:any)']               = 'arisan/aktifitas/ControllerTagihanAktifitas/invoice_cetak/$1';
$route['arisan/aktifitas/tagihan/tunggakan/(:any)']                   = 'arisan/aktifitas/ControllerTagihanAktifitas/tunggakan_beranda/$1';
$route['arisan/data/cek_arisan']                                      = 'arisan/ControllerAnggota/cek_arisan';
$route['arisan/data/cek_arisan_kasir']                                = 'arisan/ControllerAnggota/cek_arisan_kasir';
// Bagian Undian  - ( DONE ) - Kurang Notifikasi dan Bagian Laporan
$route['arisan/aktifitas/undian/crud']                                = 'arisan/aktifitas/ControllerUndianAktifitas/crud';
$route['arisan/aktifitas/undian/proses/(:any)']                       = 'arisan/aktifitas/ControllerUndianAktifitas/proses/$1';
$route['arisan/aktifitas/undian/kelompok/(:any)']                     = 'arisan/aktifitas/ControllerUndianAktifitas/$id';
$route['arisan/aktifitas/lelang/crud']                                = 'arisan/aktifitas/ControllerUndianAktifitas/crud';
$route['arisan/aktifitas/lelang/proses/(:any)']                       = 'arisan/aktifitas/ControllerUndianAktifitas/lelang/$1';
$route['arisan/aktifitas/lelang/hapus_anggota_lelang/(:any)']         = 'arisan/aktifitas/ControllerUndianAktifitas/hapus_anggota_lelang/$1';
// Bagian Laporan - ( DONE )
$route['arisan/aktifitas/laporan/arisan_heboh/kelompok/(:any)']                 = 'arisan/aktifitas/ControllerLaporanHeboh/arisan_heboh/$1';
$route['arisan/aktifitas/laporan/arisan_heboh/detail_laporan/(:any)']           = 'arisan/aktifitas/ControllerLaporanHeboh/detail/$1';
$route['arisan/aktifitas/laporan/preview_heboh']                                = 'arisan/aktifitas/ControllerLaporanHeboh/preview_heboh';
$route['arisan/aktifitas/laporan/preview_motor']                                = 'arisan/aktifitas/ControllerLaporanHeboh/preview_motor';
$route['arisan/aktifitas/laporan/arisan_motor/kelompok/(:any)']                 = 'arisan/aktifitas/ControllerLaporanMotor/arisan_motor/$1';
$route['arisan/aktifitas/laporan/arisan_motor/detail_laporan/(:any)']           = 'arisan/aktifitas/ControllerLaporanMotor/detail/$1';
// =====================================================================================================================================================================================================
//                                         ######Laporan Arisan dan Kegiatan###### 
// =====================================================================================================================================================================================================
// Menu Laporan
// Laporan Arisan Heboh
$route['arisan/laporan/laporan_heboh']                                           = 'arisan/laporan/ControllerLaporanArisanHeboh';
$route['arisan/laporan/laporan_heboh/kelompok/(:any)']                           = 'arisan/laporan/ControllerLaporanArisanHeboh/laporan/$1';
$route['arisan/laporan/laporan_heboh/lap_detail/(:any)']                         = 'arisan/laporan/ControllerLaporanArisanHeboh/detail/$1';
// Laporan Arisan Motor
$route['arisan/laporan/laporan_motor']                                           = 'arisan/laporan/ControllerLaporanArisanMotor';
$route['arisan/laporan/laporan_motor/kelompok/(:any)']                           = 'arisan/laporan/ControllerLaporanArisanMotor/laporan/$1';
$route['arisan/laporan/laporan_motor/lap_detail/(:any)']                         = 'arisan/laporan/ControllerLaporanArisanMotor/detail/$1';
// Laporan Pendapatan Arisan
$route['arisan/laporan/pendapatan_arisan']                                       = 'arisan/laporan/ControllerLaporanPendapatanArisan';
// Laporan Alur Kas Arisan
$route['arisan/laporan/kas_arisan']                                              = 'arisan/laporan/ControllerLaporanKasArisan';
// Menu Salery Kabag Marketing
$route['arisan/salery']                                                          = 'arisan/keloladata/ControllerDataSalery';
$route['arisan/salery/detail/(:any)']                                            = 'arisan/keloladata/ControllerDataSalery/detail/$1';


// ==============================================================//
//                                                               //
//*************************Bagian Kasir**************************//
//                                                               //
// ==============================================================//
$route['kasir']                                                        = 'kasir/ControllerBeranda';
$route['kasir/beranda']                                                = 'kasir/ControllerBeranda';
$route['kasir/beranda/koperasi/bayar_angsuran/crud']                   = 'kasir/ControllerBeranda/crud_pembayaran';
$route['kasir/beranda/verifikasi_heboh/(:any)']                        = 'kasir/ControllerBeranda/verifikasi_heboh/$1';
$route['kasir/beranda/verifikasi_motor/(:any)']                        = 'kasir/ControllerBeranda/verifikasi_motor/$1';
$route['kasir/beranda/verifikasi_angsuran/(:any)']                     = 'kasir/ControllerBeranda/verifikasi_angsuran/$1';
$route['kasir/beranda/pengajuan/crud']                                 = 'kasir/ControllerBeranda/crud_pengajuan';
$route['kasir/beranda/pembayaran/crud']                                = 'kasir/ControllerBeranda/crud_pembayaran';
// =====================================================================================================================================================================================================
// ######Buku arus kas######
// =====================================================================================================================================================================================================
// Menu Kelola Arus Kas
$route['kasir/kas']                                                    = 'kasir/ControllerArusKas';
$route['kasir/kas/crud']                                               = 'kasir/ControllerArusKas/crud';
$route['kasir/kas/tanggal']                                            = 'kasir/ControllerArusKas/tanggal';
// =====================================================================================================================================================================================================
// ######Buku anggota koperasi######
// =====================================================================================================================================================================================================
// Menu Kelola Arus Kas
$route['kasir/anggota']                                                = 'kasir/ControllerAnggota';
$route['kasir/anggota/crud']                                           = 'kasir/ControllerAnggota/crud';
$route['kasir/anggota/data']                                           = 'kasir/ControllerAnggota/dataview';
$route['kasir/identitas/anggota/(:any)']                               = 'kasir/ControllerAnggota/anggota/$1';
$route['kasir/identitas/tabungan_anggota/hapus/(:any)']                = 'kasir/ControllerAnggota/tabungan_hapus/$1';
$route['kasir/identitas']                                              = 'kasir/ControllerAnggota/profile';
$route['kasir/profile/crud']                                           = 'kasir/ControllerAnggota/crud';

// =====================================================================================================================================================================================================
// ######Kelola Bayar Arisan######
// =====================================================================================================================================================================================================
// Menu Kelola Bayar Arisan Heboh
$route['kasir/arisan/kelompok_heboh']                                  = 'kasir/arisan/ControllerArisanHeboh';
$route['kasir/arisan/kelompok_heboh/verifikasi/(:any)']                = 'kasir/arisan/ControllerArisanHeboh/verifikasi/$1';
$route['kasir/arisan/kelompok_heboh/verifikasi_tunggakan/(:any)']      = 'kasir/arisan/ControllerArisanHeboh/verifikasi_tunggakan/$1';
$route['kasir/data/cek_tagihan_arisan_heboh']                          = 'kasir/ControllerAnggota/cek_tagihan_arisan_heboh';
$route['kasir/arisan/kelompok_heboh/crud']                             = 'kasir/arisan/ControllerArisanHeboh/crud';
// Menu Kelola Bayar Arisan Motor
$route['kasir/arisan/kelompok_motor']                                  = 'kasir/arisan/ControllerArisanMotor';
$route['kasir/arisan/kelompok_motor/verifikasi/(:any)']                = 'kasir/arisan/ControllerArisanMotor/verifikasi/$1';
$route['kasir/arisan/kelompok_motor/verifikasi_tunggakan/(:any)']      = 'kasir/arisan/ControllerArisanMotor/verifikasi_tunggakan/$1';
$route['kasir/data/cek_tagihan_arisan_motor']                          = 'kasir/ControllerAnggota/cek_tagihan_arisan_motor';
$route['kasir/arisan/kelompok_motor/crud']                             = 'kasir/arisan/ControllerArisanMotor/crud';
// Semua data arisan
$route['kasir/arisan/semua_data']                                      = 'kasir/arisan/ControllerArisan';
$route['kasir/arisan/detail_motor/(:any)']                             = 'kasir/arisan/ControllerArisan/tagihan_motor/$1';
$route['kasir/arisan/iuran_motor/(:any)']                              = 'kasir/arisan/ControllerArisan/iuran_motor/$1';
$route['kasir/arisan/detail_heboh/(:any)']                             = 'kasir/arisan/ControllerArisan/tagihan_heboh/$1';
$route['kasir/arisan/iuran_heboh/(:any)']                              = 'kasir/arisan/ControllerArisan/iuran_heboh/$1';

// Menu Konfirmasi Pencairan Pinjaman
$route['kasir/koperasi/pencairan_pinjaman']                            = 'kasir/koperasi/ControllerRealisasiPinjaman';
$route['kasir/koperasi/pencairan_pinjaman/crud']                       = 'kasir/koperasi/ControllerRealisasiPinjaman/crud';
$route['kasir/koperasi/pencairan_pinjaman/cetak/(:any)']               = 'kasir/koperasi/ControllerRealisasiPinjaman/cetak/$1';
$route['kasir/data/cek_tagihan_angsuran_anggota']                      = 'kasir/ControllerAnggota/cek_tagihan_angsuran_anggota';
$route['kasir/data/cek_tagihan_lunas_angsuran_anggota']                = 'kasir/ControllerAnggota/cek_tagihan_lunas_angsuran_anggota';
// Menu Konfirmasi Pembayaran Angsuran
$route['kasir/koperasi/pembayaran_pinjaman']                           = 'kasir/koperasi/ControllerPembayaranAngsuran';
$route['kasir/invoice_kirim/anggota/(:any)']                           = 'kasir/koperasi/ControllerPembayaranAngsuran/invoice/$1';
$route['kasir/koperasi/verifikasi_bayar/(:any)']                       = 'kasir/koperasi/ControllerPembayaranAngsuran/verifikasi/$1';
$route['kasir/koperasi/bayar_angsuran/(:any)']                         = 'kasir/koperasi/ControllerPembayaranAngsuran/bayar_angsuran/$1';
$route['kasir/koperasi/lunas_angsuran/(:any)']                         = 'kasir/koperasi/ControllerPembayaranAngsuran/lunas_angsuran/$1';
// Menu Pinjaman Aktif Anggota Koperasi
$route['kasir/koperasi/daftar_pinjaman']                               = 'kasir/koperasi/ControllerPinjaman';
$route['kasir/koperasi/kontrak_pinjaman/(:any)']                       = 'kasir/koperasi/ControllerPinjaman/kontrak/$1';
$route['kasir/kegiatan/kontrak/notifikasi_lancar/(:any)']              = 'kasir/koperasi/ControllerPinjaman/notifikasi_lancar/$1';
$route['kasir/kegiatan/kontrak/notifikasi_macet/(:any)']               = 'kasir/koperasi/ControllerPinjaman/notifikasi_macet/$1';
$route['kasir/koperasi/kontrak/bayar_lancar/(:any)']                   = 'kasir/koperasi/ControllerPinjaman/bayar_lancar/$1';
$route['kasir/koperasi/kontrak/bayar_macet/(:any)']                    = 'kasir/koperasi/ControllerPinjaman/bayar_macet/$1';
$route['kasir/koperasi/kontrak/bayar_lunas/(:any)']                    = 'kasir/koperasi/ControllerPinjaman/bayar_lunas/$1';
// Menu Daftar Pengajuan dari Kasir
$route['kasir/koperasi/daftar_pengajuan']                              = 'kasir/koperasi/ControllerPengajuan';
$route['kasir/koperasi/pengajuan/crud']                                = 'kasir/koperasi/ControllerPengajuan/crud';
// =====================================================================================================================================================================================================
//                                         ###### Bagian Notifikasi ###### 
// =====================================================================================================================================================================================================
$route['notifikasi/pembayaran_minggu_satu/(:any)']                     = 'notifikasi/ControllerNotifArisan/minggu_satu/$1';


// =====================================================================================================================================================================================================
//                                         ###### Bagian Ajax ###### 
// =====================================================================================================================================================================================================
// Ajax Lokasi
// bagian Owner
$route['owner/kot_kab']                     = 'owner/ControllerAlamat/Kot_kab';
$route['owner/kecamatan']                   = 'owner/ControllerAlamat/kecamatan';
$route['owner/nm_desabaru']                 = 'owner/ControllerAlamat/nm_desabaru';
$route['owner/data/cek_anggota']            = 'owner/ControllerAnggota/data_anggota';
// Bagian Arisan
$route['arisan/kot_kab']                    = 'arisan/ControllerAlamat/Kot_kab';
$route['arisan/kecamatan']                  = 'arisan/ControllerAlamat/kecamatan';
$route['arisan/data/cek_anggota']           = 'arisan/ControllerAnggota/data_anggota';
// bagian Keuangan
$route['keuangan/kot_kab']                  = 'keuangan/ControllerAlamat/Kot_kab';
$route['keuangan/kecamatan']                = 'keuangan/ControllerAlamat/kecamatan';
$route['keuangan/data/cek_anggota']         = 'keuangan/ControllerAnggota/data_anggota';
// bagian manager
$route['manager/kot_kab']                   = 'manager/ControllerAlamat/Kot_kab';
$route['manager/kecamatan']                 = 'manager/ControllerAlamat/kecamatan';
$route['manager/data/cek_anggota']          = 'manager/sistem/ControllerAnggota/data_anggota';
// bagian marketing
$route['marketing/kot_kab']                 = 'marketing/ControllerAlamat/Kot_kab';
$route['marketing/kecamatan']               = 'marketing/ControllerAlamat/kecamatan';
$route['marketing/data/cek_anggota']        = 'marketing/ControllerAnggota/data_anggota';
// bagian kasir
$route['kasir/kot_kab']                     = 'kasir/ControllerAlamat/Kot_kab';
$route['kasir/kecamatan']                   = 'kasir/ControllerAlamat/kecamatan';
$route['kasir/data/cek_anggota']            = 'kasir/ControllerAnggota/cek_anggota';
// Bagian Kabag Marketing Pinjaman
$route['kabag_marketing/kot_kab']           = 'kabag_marketing/ControllerAlamat/Kot_kab';
$route['kabag_marketing/kecamatan']         = 'kabag_marketing/ControllerAlamat/kecamatan';
$route['kabag_marketing/data/cek_anggota']  = 'kabag_marketing/ControllerAnggota/data_anggota';


// =====================================================================================================================================================================================================
// =====================================================================================================================================================================================================
// =====================================================================================================================================================================================================
//                                         ###### Bagian Notifikasi ###### 
// =====================================================================================================================================================================================================
// Slip Gaji
// Bagian Keuangan
$route['keuangan/slip_gaji/email/(:any)']           = 'notifikasi/ControllerEmail/slip_gaji/$1';
$route['keuangan/slip_gaji/wa/(:any)']              = 'notifikasi/ControllerWA/slip_gaji/$1';
// Bagian Manager
$route['manager/slip_gaji/email/(:any)']            = 'notifikasi/ControllerEmail/slip_gaji/$1';
$route['manager/slip_gaji/wa/(:any)']               = 'notifikasi/ControllerWA/slip_gaji/$1';
// Bagian Kabag Marketing
$route['kabag_marketing/slip_gaji/email/(:any)']    = 'notifikasi/ControllerEmail/slip_gaji/$1';
$route['kabag_marketing/slip_gaji/wa/(:any)']       = 'notifikasi/ControllerWA/slip_gaji/$1';
// Bagian Marketing
$route['marketing/slip_gaji/email/(:any)']          = 'notifikasi/ControllerEmail/slip_gaji/$1';
$route['marketing/slip_gaji/wa/(:any)']             = 'notifikasi/ControllerWA/slip_gaji/$1';
// Bagian Kabah Arisan
$route['arisan/slip_gaji/email/(:any)']             = 'notifikasi/ControllerEmail/slip_gaji/$1';
$route['arisan/slip_gaji/wa/(:any)']                = 'notifikasi/ControllerWA/slip_gaji/$1';

// Review Konsumen
// Contoh Review Konsumen
// Nomor Kontrak yang di encrypt
// http://localhost/binaartha/review_konsumen/DztQNQMzVmNVNVVjAzEENwA0VjEFMFYyBGUHZ1czUmNbPw==
$route['review_konsumen/(:any)']                                                           = 'notifikasi/ControllerReviewKonsumen/konsumen_review/$1';
$route['kr/AG0AIVUgBnEEJFlnAypfc1s9BiJTIAUzUmsAPVdgBmNUdgEnUjhSMA4lBzFUOlY8']              = 'notifikasi/ControllerReviewKonsumen/crud';
// slip_gaji/AzRWMwQ3UGIIa1JnU2cHMA==   For Example : 202501524                                                 //  = 'notifikasi/ControllerViewGaji/gaji/$1$2$3';
$route['slip_gaji/(:any)']                                                                 = 'notifikasi/ControllerViewGaji/gaji/$1';
// AG0AIVUgBnEEJFlnAypfc1s9BiJTIAUzUmsAPVdgBmNUdgEnUjhSMA4lBzFUOlY8
// Cek Hari Libur
// $route['notifikasi/cek_hari_libur']           = 'notifikasi/ControllerCekHariLibur';
// =====================================================================================================================================================================================================
//                                         ###### Bagian Cron Job ###### 
// =====================================================================================================================================================================================================
// Notifikasi Harian ( Pengingat Pembayaran Angsuran )
$route['notifikasi/notif_arisan/(:any)']      = 'notifikasi/ControllerArisan/notif/$1';
$route['notifikasi/notif_koperasi/(:any)']    = 'notifikasi/ControllerKoperasi/notif/$1';
$route['notifikasi/notif_pribadi/(:any)']     = 'notifikasi/ControllerPribadi/notif/$1';
// Update KPI Harian
// notifikasi/update_kpi/AUVQawlpVztUU1MiCWcEZlo5BhFRZAFjXjhSMA==
$route['notifikasi/update_kpi/(:any)']                                                     = 'notifikasi/ControllerKPI/update_kpi/$1';
// Cek WA Eror Atau Tidak
$route['notifikasi/cek_wa']                                                                = 'notifikasi/ControllerPribadi/cek_walix';