<?php

$config = array(
    'mcb_menu'  =>  array(
        'dashboard' =>  array(
            'title' =>  'dashboard',
            'href'  =>  'dashboard'
        ),
        'clients'   =>  array(
            'title'     =>  'clients',
            'href'      =>  'clients/index',
            'submenu'   =>  array(
                'clients'  =>  array(
                    'title' =>  'view_clients',
                    'href'  =>  'clients/index'
                ),
                'clients/form'   =>  array(
                    'title' =>  'add_client',
                    'href'  =>  'clients/form'
                ),
                'clients/reports/client_list'   =>  array(
                    'title' =>  'client_detail_report',
                    'href'  =>  'clients/reports/client_list'
                )
            )
        ),
        'invoices'  =>  array(
            'title'     =>  'invoices',
            'href'      =>  'invoices/index',
            'submenu'   =>  array(
                'invoices/index'    =>  array(
                    'title' =>  'view_invoices',
                    'href'  =>  'invoices/index'
                ),
                'invoices/create'   =>  array(
                    'title' =>  'create_invoice',
                    'href'  =>  'invoices/create'
                ),
                'invoices/index/is_quote/1' =>  array(
                    'title' =>  'view_quotes',
                    'href'  =>  'invoices/index/is_quote/1'
                ),
                'invoice_search'    =>  array(
                    'title' =>  'invoice_search',
                    'href'  =>  'invoice_search'
                ),
                'invoice_items' =>  array(
                    'title' =>  'invoice_items',
                    'href'  =>  'invoice_items'
                ),
                'templates/index/type/invoices' =>  array(
                    'title'         =>  'invoice_templates',
                    'href'          =>  'templates/index/type/invoices',
                    'global_admin'  =>  TRUE
                )
            )
        ),
        'payments'  =>  array(
            'title'     =>  'payments',
            'href'      =>  'payments/index',
            'submenu'   =>  array(
                'payments/index'    =>  array(
                    'title' =>  'view_payments',
                    'href'  =>  'payments/index'
                ),
                'payments/form' =>  array(
                    'title' =>  'enter_payment',
                    'href'  =>  'payments/form'
                ),
                'payments/payment_methods'  =>  array(
                    'title'         =>  'payment_methods',
                    'href'          =>  'payments/payment_methods',
                    'global_admin'  =>  TRUE
                ),
                'templates/index/type/payment_receipts' =>  array(
                    'title'         =>  'receipt_templates',
                    'href'          =>  'templates/index/type/payment_receipts',
                    'global_admin'  =>  TRUE
                )
            )
        ),
        'system'    =>  array(
            'title'         =>  'system',
            'href'          =>  'settings',
            'global_admin'  =>  TRUE,
            'submenu'       =>  array(
                'settings'  =>  array(
                    'title'         =>  'system_settings',
                    'href'          =>  'settings/index',
                    'global_admin'  =>  TRUE,
                ),
                'users' =>  array(
                    'title'         =>  'user_accounts',
                    'href'          =>  'users/index',
                    'global_admin'  =>  TRUE,
                ),
                'tax_rates' =>  array(
                    'title'         =>  'tax_rates',
                    'href'          =>  'tax_rates/index'
                ),
                'invoice_statuses'  =>  array(
                    'title'         =>  'invoice_statuses',
                    'href'          =>  'invoice_statuses/index',
                    'global_admin'  =>  TRUE,
                ),
                'invoices/invoice_groups'   =>  array(
                    'title'         =>  'invoice_groups',
                    'href'          =>  'invoices/invoice_groups'
                ),
                'fields'    =>  array(
                    'title'         =>  'custom_fields',
                    'href'          =>  'fields/index',
                    'global_admin'  =>  TRUE,
                ),
                'mcb_modules'   =>  array(
                    'title'         =>  'modules',
                    'href'          =>  'mcb_modules/index',
                    'global_admin'  =>  TRUE,
                )
            )
        ),
        array(
            'title' =>  'log_out',
            'href'  =>  'sessions/logout'
        )
    )
);

?>
