<?php
defined('BASEPATH') or exit('No direct script access allowed');
// ==============================================================//
//                                                               //
//*******************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';
// Menu Logs WA
$route['marketing/wasender']                                                  = 'marketing/ControllerLogsWASender';
$route['marketing/wasender/whatapps_filter']                                  = 'marketing/ControllerLogsWASender/filter';
$route['marketing/wasender/whatapps_resend/(:any)']                           = 'marketing/ControllerLogsWASender/resend/$1';
// =====================================================================================================================================================================================================
//                                         ###### Bagian Ajax ###### 
// =====================================================================================================================================================================================================
// Ajax Lokasi
// 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';