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

// ==============================================================//
//                                                               //
//*************************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/daftar_pinjaman_macet']                         = 'kasir/koperasi/ControllerPinjaman/macet';
$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';
// Menu Logs WA
$route['kasir/wasender']                                               = 'kasir/ControllerLogsWASender';
$route['kasir/wasender/whatapps_filter']                               = 'kasir/ControllerLogsWASender/filter';
$route['kasir/wasender/whatapps_resend/(:any)']                        = 'kasir/ControllerLogsWASender/resend/$1';
// =====================================================================================================================================================================================================
//                                         ###### Bagian Ajax ###### 
// =====================================================================================================================================================================================================
// Ajax Lokasi
// 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';
