<?php
defined('BASEPATH') or exit('No direct script access allowed');
// ==============================================================//
//                                                               //
//*************************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 Ajax ###### 
// =====================================================================================================================================================================================================
// 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';
