<?php
	$config['menu'] = array(         
        array(
            "name" => 'dashboard',
            'title' => azlang('Dashboard'),
            'icon' => 'dashboard',
            'url' => 'home',
            'role' => array(),
            'submenu' => array(),
        ),
        array(
            "name" => "master",
            "title" => azlang("Master"),
            "icon" => "archive",
            "url" => "",
            "submenu" => array(
                array(
                    "name" => "outlet",
                    "title" => azlang("Outlet"),
                    "url" => "outlet",
                    "submenu" => array()
                ),
                array(
                    "name" => "colour",
                    "title" => "Warna",
                    "url" => "colour",
                    "submenu" => array()
                ),
                array(
                    "name" => "hue",
                    "title" => "Corak",
                    "url" => "hue",
                    "submenu" => array()
                ),
                array(
                    "name" => "spot",
                    "title" => "Noda",
                    "url" => "spot",
                    "submenu" => array()
                ),
                array(
                    "name" => "additional_cost",
                    "title" => "Biaya Tambahan",
                    "url" => "additional_cost",
                    "submenu" => array()
                ),
                array(
                    "name" => "payment_type",
                    "title" => "Jenis Pembayaran",
                    "url" => "payment_type",
                    "submenu" => array()
                ),
            )
        ),
        array(
            "name" => 'customers',
            'title' => 'Pelanggan',
            'icon' => 'users',
            'url' => '',
            'submenu' => array(
                array(
                    "name" => "customer_category",
                    "title" => "Kategori Pelanggan",
                    "url" => "customer_category",
                    "submenu" => array()
                ),
                array(
                    "name" => "customer",
                    "title" => 'Data Pelanggan',
                    "url" => "customer",
                    "submenu" => array()
                ),
            )
        ),
        array(
            "name" => 'items',
            'title' => 'Barang',
            'icon' => 'tags',
            'url' => '',
            'submenu' => array(
                array(
                    "name" => "product",
                    "title" => "Jenis Barang",
                    "url" => "product",
                    "submenu" => array()
                ),
                array(
                    "name" => "item",
                    "title" => "Data Barang",
                    "url" => "item",
                    "submenu" => array()
                ),
            ),
        ),
        array(
            "name" => "transaction",
            "title" => 'Transaksi',
            "icon" => "dollar",
            "url" => "sales_transaction/add",
            "submenu" => array()
        ),
        array(
            "name" => "pick_up",
            "title" => 'Pick Up',
            "icon" => "shopping-bag",
            "url" => "pick_up",
            "submenu" => array()
        ),
        array(
            "name" => "entry_photo",
            "title" => 'Entry Foto',
            "icon" => "image",
            "url" => "entry_photo",
            "submenu" => array()
        ),
        array(
            "name" => "st_process",
            "title" => 'ST Proses',
            "icon" => "refresh",
            "url" => "st_process",
            "submenu" => array()
        ),
        array(
            "name" => "st_clean",
            "title" => 'ST Bersih',
            "icon" => "check-square-o",
            "url" => "st_clean",
            "submenu" => array()
        ),
        array(
            "name" => "transactions",
            "title" => 'History',
            "icon" => "history",
            "url" => "sales_transaction",
            "submenu" => array(),
            "role" => array(
                array(
                    'role_name' => 'role_delete_transaction',
                    'role_title' => 'Hapus Transaksi'
                ),
                array(
                    'role_name' => 'role_export_transaction',
                    'role_title' => 'Export Transaksi'
                ),
            )
        ),
        array(
            "name" => "history_bill_production",
            "title" => 'History Bill Produksi',
            "icon" => "history",
            "url" => "history_bill_production",
            "submenu" => array()
        ),
        array(
            "name" => "dstb_process",
            "title" => 'DSTB Proses',
            "icon" => "list",
            "url" => "dstb_process",
            "submenu" => array(),
            "role" => array(
                array(
                    'role_name' => 'role_delete_dstb_process',
                    'role_title' => 'Hapus Data'
                )
            )
        ),
        array(
            "name" => "dstb_clean",
            "title" => 'DSTB Bersih',
            "icon" => "list",
            "url" => "dstb_clean",
            "submenu" => array(),
            "role" => array(
                array(
                    'role_name' => 'role_delete_dstb_clean',
                    'role_title' => 'Hapus Data'
                )
            )
        ),
        array(
            "name" => "outlays",
            "title" => azlang("Outlay"),
            "icon" => "external-link",
            "url" => "",
            "submenu" => array(
                array(
                    "name" => "outlay_type",
                    "title" => azlang("Outlay Type"),
                    "url" => "outlay_type",
                    "submenu" => array()
                ),
                array(
                    "name" => "outlay",
                    "title" => 'Data Pengeluaruan',
                    "url" => "outlay",
                    "role" => array(
                        array(
                            'role_name' => 'role_delete_outlay',
                            'role_title' => 'Hapus Data'
                        )
                    )
                ),

            )
        ),
        array(
            "name" => "report",
            "title" => azlang("Report"),
            "icon" => "file-o",
            "url" => "",
            "submenu" => array(
                array(
                    "name" => "dpt_report",
                    "title" => "Laporan DPT",
                    "url" => "dpt_report",
                    "submenu" => array(),
                ),
                array(
                    "name" => "cash_report",
                    "title" => "Laporan Kas",
                    "url" => "cash_report",
                    "submenu" => array(),
                ),
            )
        ),
        array(
            "name" => "user",
            "title" => azlang("User"),
            "icon" => "user",
            "url" => "",
            "submenu" => array(
                array(
                    "name" => "user_user",
                    "title" => azlang("User"),
                    "url" => "user",
                    "submenu" => array()
                ),
                array(
                    "name" => "user_user_role",
                    "title" => azlang("User Role"),
                    "url" => "user_role",
                    "submenu" => array()
                ),
            )
        ),
        array(
            "name" => 'setting',
            'title' => azlang('Setting'),
            'icon' => 'gear',
            'url' => 'setting',
            'submenu' => array(),
        ),
    );

