<?php
defined('BASEPATH') or exit('No direct script access allowed');
// ==============================================================//
//                                                               //
//************************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';
$route['owner/laporan_arisan/kelompok_motor/crud_detail_laporan']           = 'owner/laporan/arisan/ControllerLaporanMotor/crud_detail_laporan';
// Laporan Marketing Update KPI
$route['owner/upkpi']                                                       = 'owner/laporan/kpi/ControllerKelolaKPI';
// =====================================================================================================================================================================================================
// ######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';
// Export Data
$route['owner/database/sistem/export_data']                         = 'owner/database/sistem/ControllerExportData';
$route['owner/database/sistem/export_data/crud']                    = 'owner/database/sistem/ControllerExportData/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';
// Database KPI
// Komponen Marketing KPI
// $route['owner/database/kpi/komponen']                               = 'owner/database/kpi/ControllerKelolaKPI/komponen';
// $route['owner/database/kpi/komponen/crud']                          = 'owner/database/kpi/ControllerKelolaKPI/komponen/crud';
$route['owner/database/kpi/komponen']                               = 'owner/database/kpi/ControllerKelolaKomponen/';
$route['owner/database/kpi/komponen/crud']                          = 'owner/database/kpi/ControllerKelolaKomponen/crud';
// Detail KPI Marketing
$route['owner/database/kpi/update_kpi/(:any)']                      = 'owner/database/kpi/ControllerKelolaKPI/update_kpi/$1';
$route['owner/database/kpi/kpi_update/(:any)']                      = 'owner/database/kpi/ControllerKelolaKPI/kpi_update/$1';
$route['owner/database/kpi/kpi_detail/(:any)']                      = 'owner/database/kpi/ControllerKelolaKPI/kpi_detail/$1';
// Dokumentasi SIAP
// Memberikan solusi dalam berbagai hal
$route['owner/dokumentasi']                                         = 'owner/dokumentasi/ControllerDocumentasi';
$route['owner/dokumentasi/add']                                     = 'owner/dokumentasi/ControllerDocumentasi/add';
$route['owner/dokumentasi/update/(:any)']                           = 'owner/dokumentasi/ControllerDocumentasi/update/$1';
$route['owner/dokumentasi/lihat/(:any)']                            = 'owner/dokumentasi/ControllerDocumentasi/lihat/$1';
$route['owner/dokumentasi/crud']                                    = 'owner/dokumentasi/ControllerDocumentasi/crud';
// Bagian Notif Logs
$route['owner/history_logs_activity/whatapps_notif']                = 'owner/logsnotif/ControllerLogsWhatApps';
$route['owner/history_logs_activity/whatapps_filter']               = 'owner/logsnotif/ControllerLogsWhatApps/filter';
$route['owner/history_logs_activity/whatapps_resend/(:any)']        = 'owner/logsnotif/ControllerLogsWhatApps/resned/$1';
// Bagian Pinjaman karyawan
$route['owner/pinjaman_karyawan/pp']                                = 'owner/koperasi/ControllerPinjamanKaryawan/pengajuan_pinjaman';
// =====================================================================================================================================================================================================
//                                         ###### 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';