
<?php $__env->startSection('main'); ?>
    <?php Fun::lang();

    $br = myBranch();
    $menu = [
        'dashboard' => [
            'icon' => 'dashboard',
            'route' => '#',
            'text' => __('administrator.dashboard'),
            'gate' => '',
            'wos' => array(
                'route' => route('app_dashboard'),
                'text' => __('administrator.app'),
                'gate' => 'Warehouse System',
            ),
            'hr' => array(
                'route' => route('hr-dashboard.index'),
                'text' => __('administrator.hr'),
                'gate' => 'HRM System',
            ),
            'accounting' => array(
                'route' => route('accounting-dashboard.index'),
                'text' => __('administrator.accounting'),
                'gate' => 'Accounting System',
            ),
        ],
        'accounting' => [
            'icon' => 'buysellads',
            'route' => '#',
            'text' => __('administrator.accounting'),
            'gate' => '',
            'add_journal' => array(
                'route' => route('journal.create'),
                'text' => __('administrator.add_journal'),
                'gate' => '',
            ),
            'journal_list' => array(
                'route' => route('journal.index'),
                'text' => __('administrator.journal_list'),
                'gate' => '',
            ),
        ],
        'accounting_report' => [
            'route' => '#',
            'text' => __('administrator.accounting_report'),
            'gate' => '',
            'ledger' => array(
                'route' => route('accounting-report.ledger'),
                'text' => __('administrator.ledger'),
                'gate' => '',
            ),
            'trial_balance' => array(
                'route' => route('accounting-report.trail-balance'),
                'text' => __('administrator.trial_balance'),
                'gate' => '',
            ),
            'balance_sheet' => array(
                'route' => route('accounting-report.balance-sheet'),
                'text' => __('administrator.balance_sheet'),
                'gate' => '',
            ),
            'income_statement' => array(
                'route' => route('accounting-report.income-statement'),
                'text' => __('administrator.income_statement'),
                'gate' => '',
            ),
        ],
        'accounting_setup' => [
            'route' => '#',
            'text' => __('administrator.accounting_setup'),
            'gate' => '',
            'account_type' => array(
                'route' => route('account.type'),
                'text' => __('administrator.account_type'),
                'gate' => '',
            ),
            'account_chart' => array(
                'route' => route('account-chart.index'),
                'text' => __('administrator.account_chart'),
                'gate' => '',
            ),
        ],
    ];

    ?>
    <?php $__env->startComponent('layouts.menu', ['menu' => $menu,'br'=>$br]); ?><?php echo $__env->renderComponent(); ?>
    <nav class="navbar default display-none">
        <div class="container-fluid">
            <div class="navbar-header">
                <div class="w-80">
                <a class="navbar-brand" href="<?php echo e(asset('/')); ?>">
                    <?php if($br->logo): ?>
                        <img src="<?php echo e(asset($br->logo)); ?> " style="width: 60px;width: 60px">
                    <?php else: ?>
                        <h4><?php echo e($br->name); ?></h4>
                    <?php endif; ?>
                </a>
                </div>
            </div>
            <ul class="nav navbar-nav menu">
                <li class="dropdown tag-menu">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <span class="header-menu"><i class="fa fa-chevron-circle-down"></i></span>
                        <?php echo e(__('administrator.dashboard')); ?>

                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="<?php echo e(route('app_dashboard')); ?>">
                                <?php echo e(__('administrator.app')); ?>

                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('hr-dashboard.index')); ?>">
                                <?php echo e(__('administrator.hr')); ?>

                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('accounting-dashboard.index')); ?>">
                                <?php echo e(__('administrator.accounting')); ?>

                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown tag-menu">

                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <span class="header-menu">
                            <i class="fa fa-users"></i>
                        </span>
                        <?php echo e(__('administrator.accounting')); ?>


                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="<?php echo e(route('journal.create')); ?>">
                                <span><?php echo e(__('administrator.add_journal')); ?></span>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('journal.index')); ?>">
                                <span><?php echo e(__('administrator.journal_list')); ?></span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown tag-menu">

                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <span class="header-menu">
                            <i class="fa fa-users"></i>
                        </span>
                        <?php echo e(__('administrator.accounting_report')); ?>


                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="<?php echo e(route('accounting-report.ledger')); ?>">
                                <span><?php echo e(__('administrator.ledger')); ?></span>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('accounting-report.trail-balance')); ?>">
                                <span><?php echo e(__('administrator.trial_balance')); ?></span>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('accounting-report.balance-sheet')); ?>">
                                <span><?php echo e(__('administrator.balance_sheet')); ?></span>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('accounting-report.income-statement')); ?>">
                                <span><?php echo e(__('administrator.income_statement')); ?></span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown tag-menu">

                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <span class="header-menu">
                            <i class="fa fa-users"></i>
                        </span>
                        <?php echo e(__('administrator.accounting_setup')); ?>


                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="<?php echo e(route('account.type')); ?>">
                                <span><?php echo e(__('administrator.account_type')); ?></span>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('account-chart.index')); ?>">
                                <span><?php echo e(__('administrator.account_chart')); ?></span>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>

        </div>
    </nav>
    <div class="main-content">
        <?php echo $__env->yieldContent('content'); ?>
    </div>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('script'); ?>
    <?php echo $__env->yieldContent('js'); ?>
    <?php echo $__env->yieldPushContent('script'); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nsowos/public_html/shr-brand/resources/views/layouts/app-accounting.blade.php ENDPATH**/ ?>