<?php

/*
    **Developed By Bdtask Ltd. (--Blockchain Team--)**

    1) Status 0 = single menu, 1= parent menue with sub menu
    2) Segment and segemnt text use for active menu when click this menu ex:- if(segment==segment_text)?'active':null;
    3) Menu without sub menu ex:-

        i) Do not change :- 'status' => 0

        $ADMINMENU['auth'] = array(
            'order'         => 1,
            'parent'        => 'Dashboard',
            'status'        => 0,
            'link'          => 'home',
            'icon'          => '<i class="typcn typcn-home-outline"></i>',
            'segment'       => 2,
            'segment_text'  => 'home'
        );

    4) Menu with sub menu ex:-

        i) Do not change :- 'status' => 1

        $ADMINMENU['auth'] = array(
            'order'                 => 1,
            'parent'                => 'Finance',
            'icon'                  => '<i class="fa fa-credit-card"></i>',
            'submenu'               => array(
                '0' => array(
                    'name'          => 'Deposit',
                    'icon'          => null,
                    'link'          => 'deposit',
                    'segment'       => 2,
                    'segment_text'  => 'deposit',
                ),
                '1' => array(
                    'name'          => 'Withdraw',
                    'icon'          => null,
                    'link'          => 'withdraw',
                    'segment'       => 2,
                    'segment_text'  => 'withdraw',
                )
            ),
            'segment'               => 2,
            'segment_text'          => 'finance',
            'status'                => 1
        );
    5) Previous menu with new submenu push ex:-
        $arraydata = array(
            '0' => array(
                'name'          => 'Pending Deposti',
                'icon'          => null,
                'link'          => 'deposit/pending_deposit',
                'segment'       => 3,
                'segment_text'  => 'pending_deposit',
            )
        );
        array_push($ADMINMENU['auth']['submenu'], $arraydata);
    6) Order => x use for shorting menu
*/

$CUSTOMERMENU['notification'] = array(
            'order'         => 7,
            'parent'        => display('notification'),
            'status'        => 0,
            'link'          => 'notifications/notification-list',
            'icon'          => '<i class="hvr-buzz-out fab fa-rocketchat"></i>',
            'segment'       => 2,
            'segment_text'  => 'notification-list'
        );
$CUSTOMERMENU['sms'] = array(
            'order'         => 8,
            'parent'        => display('sms'),
            'status'        => 0,
            'link'          => 'message/message-list',
            'icon'          => '<i class="ti-email"></i>',
            'segment'       => 2,
            'segment_text'  => 'message-list'
        );
$CUSTOMERMENU['Help_line'] = array(
            'order'         => 9,
            'parent'        => display('help_line'),
            'status'        => 0,
            'link'          => 'help-line/helpline',
            'icon'          => '<i class="hvr-buzz-out fab fa-rocketchat"></i>',
            'segment'       => 2,
            'segment_text'  => 'helpline'
        );