[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 9a3381e9d6de55778ef318de554bc95e.php
<ul class="navigation navigation-main" id="main-menu-navigation" data-menu="menu-navigation"> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Dashboard','route' => ''.e(route('dashboard')).'','activeUrl' => 'dashboard','icon' => 'fa fa-tachometer']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Dashboard','route' => ''.e(route('dashboard')).'','activeUrl' => 'dashboard','icon' => 'fa fa-tachometer']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if(hasPermission(['user.index', 'role.index'])): ?> <li class=" nav-item <?php echo e(active_if_match('admin/admin')); ?> || <?php echo e(active_if_match('admin/role')); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fas fa-user-gear"></i> <span class="menu-title text-truncate" data-i18n="Invoice"> <?php echo e(translate('menu.User & Role')); ?> </span> </a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Users','route' => ''.e(route('user.index')).'','activeUrl' => 'user/index']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Users','route' => ''.e(route('user.index')).'','activeUrl' => 'user/index']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Roles & Permissions','route' => ''.e(route('role.index')).'','activeUrl' => 'admin/role']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Roles & Permissions','route' => ''.e(route('role.index')).'','activeUrl' => 'admin/role']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <?php endif; ?> <?php if(hasPermission(['setting.generalSetting', 'language.index','email.update'])): ?> <li class=" nav-item <?php echo e(active_if_match('admin/admin')); ?> || <?php echo e(active_if_match('admin/role')); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fas fa-gear"></i> <span class="menu-title text-truncate" data-i18n="Invoice"> <?php echo e(translate('menu.Settings')); ?> </span> </a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting.generalSetting')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'General Setting','route' => ''.e(route('setting.generalSetting')).'','activeUrl' => 'settings']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'General Setting','route' => ''.e(route('setting.generalSetting')).'','activeUrl' => 'settings']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('email.update')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Email Setting','route' => ''.e(route('setting.emailSetting')).'','activeUrl' => 'admin/config/mail-sms']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Email Setting','route' => ''.e(route('setting.emailSetting')).'','activeUrl' => 'admin/config/mail-sms']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('language.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Language Setting','route' => ''.e(route('language.index')).'','activeUrl' => 'language']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Language Setting','route' => ''.e(route('language.index')).'','activeUrl' => 'language']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <?php endif; ?> <?php if(hasPermission(['customer.index', 'customer.create'])): ?> <li class=" nav-item <?php echo e(active_if_match('customer/add')); ?> || <?php echo e(active_if_match('customer/list')); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fas fa-users"></i> <span class="menu-title text-truncate" data-i18n="Invoice"> <?php echo e(translate('menu.Customers')); ?> </span> </a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('customer.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Customer add','route' => ''.e(route('customer.create')).'','activeUrl' => 'customer/create']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Customer add','route' => ''.e(route('customer.create')).'','activeUrl' => 'customer/create']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('customer.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Customer list','route' => ''.e(route('customer.index')).'','activeUrl' => 'customer/index']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Customer list','route' => ''.e(route('customer.index')).'','activeUrl' => 'customer/index']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <?php endif; ?> <?php if(hasPermission(['expenses.create', 'expenses.index','expense-categories.create','expense-categories.index'])): ?> <li class=" nav-item <?php echo e(active_if_match(['expense/index','expense-categories/index'])); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fas fa-gear"></i> <span class="menu-title text-truncate" data-i18n="Invoice"> <?php echo e(translate('menu.Expense')); ?> </span> </a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expenses.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'New Expense','route' => ''.e(route('expenses.create')).'','activeUrl' => 'expenses/create']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'New Expense','route' => ''.e(route('expenses.create')).'','activeUrl' => 'expenses/create']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expenses.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Expense List','route' => ''.e(route('expenses.index')).'','activeUrl' => 'expenses/index']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Expense List','route' => ''.e(route('expenses.index')).'','activeUrl' => 'expenses/index']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expense-categories.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'New Category','route' => ''.e(route('expense-categories.create')).'','activeUrl' => 'expense-categories/create']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'New Category','route' => ''.e(route('expense-categories.create')).'','activeUrl' => 'expense-categories/create']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expense-categories.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Category List','route' => ''.e(route('expense-categories.index')).'','activeUrl' => 'expense-categories/index']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Category List','route' => ''.e(route('expense-categories.index')).'','activeUrl' => 'expense-categories/index']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <?php endif; ?> <?php if(hasPermission(['report.instock','report.low_stock','report.stockout','report.upcoming_expire','report.already_expire'])): ?> <li class="nav-item <?php echo e(active_if_match(['report.instock','report.low_stock','report.stockout','report.upcoming_expire','report.already_expire'])); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fas fa-pills"></i> <span class="menu-title text-truncate" data-i18n="Invoice"> <?php echo e(translate('menu.Medicine Stock')); ?> </span> </a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report.instock')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'In Stock','route' => ''.e(route('report.instock')).'','activeUrl' => 'report/instock-medicine']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'In Stock','route' => ''.e(route('report.instock')).'','activeUrl' => 'report/instock-medicine']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report.low_stock')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Low Stock','route' => ''.e(route('report.low_stock')).'','activeUrl' => 'report/lowstock-medicine']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Low Stock','route' => ''.e(route('report.low_stock')).'','activeUrl' => 'report/lowstock-medicine']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report.stockout')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Stockout','route' => ''.e(route('report.stockout')).'','activeUrl' => 'report/stockout-medicine']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Stockout','route' => ''.e(route('report.stockout')).'','activeUrl' => 'report/stockout-medicine']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report.upcoming_expire')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Upcoming Expired','route' => ''.e(route('report.upcoming_expire')).'','activeUrl' => 'report/upcoming-expire-medicine']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Upcoming Expired','route' => ''.e(route('report.upcoming_expire')).'','activeUrl' => 'report/upcoming-expire-medicine']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report.already_expire')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Already Expired','route' => ''.e(route('report.already_expire')).'','activeUrl' => 'report/already-expire-medicine']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Already Expired','route' => ''.e(route('report.already_expire')).'','activeUrl' => 'report/already-expire-medicine']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <?php endif; ?> <?php use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\File; ?> <!-- Ecommerce Setup --> <?php if(existsDirectory(resource_path('views/ecommerce')) && existsDirectory(resource_path('views/frontend'))): ?> <li class=" nav-item <?php echo e(active_if_match('ecommerce/*')); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fas fa-shopping-bag"></i> <span class="menu-title text-truncate" data-i18n="Invoice"> <?php echo e(translate('common.Ecommerce Management')); ?> </span> <span class="badge bg-danger">Addon</span> </a> <ul class="menu-content"> <li class="<?php echo e(active_if_full_match('ecommerce/setting')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('ecommerce.setting.show')); ?>"> <i class="fas fa-cogs"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Settings')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('ecommerce/pages')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('ecommerce.setting.pages')); ?>"> <i class="fas fa-cogs"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Pages')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('ecommerce/slider')); ?> || <?php echo e(active_if_full_match('ecommerce/slider/*')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('ecommerce.slider.index')); ?>"> <i class="fas fa-images"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Slider')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('ecommerce/product/instock')); ?> || <?php echo e(active_if_full_match('ecommerce/customer/*')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('ecommerce.product.instock')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Instock Product')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('ecommerce/order')); ?> || <?php echo e(active_if_full_match('ecommerce/order/*')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('ecommerce.order.index')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Orders')); ?> </span> </a> </li> <li class="<?php echo e(active_if_match('ecommerce/report/*')); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fas fa-list"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Reports')); ?> </span> </a> <ul class="menu-content"> <li class="<?php echo e(active_if_full_match('ecommerce/report/top-sale-product')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('ecommerce.report.top_sale')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Top Sale Product')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('ecommerce/report/sale')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('ecommerce.report.sale')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate"> <?php echo e(translate('common.Sales Report')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('ecommerce/report/profit-loss')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('ecommerce.report.profit_loss')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate"> <?php echo e(translate('common.Profit & Loss')); ?> </span> </a> </li> </ul> </li> <li class="<?php echo e(active_if_full_match('ecommerce/customer')); ?> || <?php echo e(active_if_full_match('ecommerce/customer/*')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('ecommerce.customer.index')); ?>"> <i class="fas fa-users"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Customers')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('csv/export-import')); ?> || <?php echo e(active_if_full_match('csv/export-import/*')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('ecommerce.csv.export_import')); ?>"> <i class="fas fa-cloud-upload"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Export & Import')); ?> </span> </a> </li> </ul> </li> <?php endif; ?> <!-- HRM --> <?php if(Schema::hasTable('attendances') && Schema::hasTable('departments')): ?> <li class="nav-item <?php echo e(active_if_match('hrm/*')); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fas fa-address-book"></i> <span class="menu-title text-truncate" data-i18n="Invoice"> <?php echo e(translate('common.HR Management')); ?> </span> <span class="badge bg-danger">Addon</span> </a> <ul class="menu-content"> <li class="<?php echo e(active_if_full_match('hrm/employee/designation')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('hrm.department.index')); ?>"> <i class="fas fa-user-graduate"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Departments')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('hrm/employee/designation')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('hrm.designation.index')); ?>"> <i class="fas fa-user-cog"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Designations')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('hrm/employee')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('hrm.employee.index')); ?>"> <i class="fas fa-user-friends"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Employees')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('hrm/attendance')); ?> || <?php echo e(active_if_full_match('hrm/attendance/*')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('hrm.attendance.index')); ?>"> <i class="fas fa-user-check"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Attendance')); ?> </span> </a> </li> <li class="<?php echo e(active_if_match('hrm/payroll/*')); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fas fa-pager"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Payroll')); ?> </span> </a> <ul class="menu-content"> <li class="<?php echo e(active_if_full_match('hrm/payroll/benefit')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('hrm.benefit.index')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Benefits')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('hrm/payroll/salary-setup')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('hrm.salarysetup.index')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate"> <?php echo e(translate('common.Salary Setup')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('hrm/payroll/salary-sheet/generate')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('hrm.salarysheet.generate')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate"> <?php echo e(translate('common.Salary Generate')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('hrm/payroll/salary-sheet')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('hrm.salarysheet.index')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate"> <?php echo e(translate('common.Salary Sheet')); ?> </span> </a> </li> </ul> </li> <li class="<?php echo e(active_if_full_match('hrm/expense')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('hrm.expense.index')); ?>"> <i class="fas fa-wallet"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Expense')); ?> </span> </a> </li> </ul> </li> <?php endif; ?> <?php if(Schema::hasTable('accounts') && Schema::hasTable('transactions')): ?> <li class=" nav-item <?php echo e(active_if_match(['account-types','accounts','transactions','reports/trail-balance','reports/balance-sheet','reports/income-statement'])); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fas fa-bank"></i> <span class="menu-title text-truncate" data-i18n="Invoice"> <?php echo e(translate('common.Accounts')); ?> </span> <span class="badge bg-danger">New</span> </a> <ul class="menu-content"> <li class="<?php echo e(active_if_full_match('account-types')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('account-types.index')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Account Type')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('accounts')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('accounts.index')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Account')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('transactions')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('transactions.index')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Transaction')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('reports/trail-balance')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('report.TrailBalance')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Trail Balance')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('reports/balance-sheet')); ?> || <?php echo e(active_if_full_match('ecommerce/customer/*')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('report.BalanceSheet')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Balance Sheet')); ?> </span> </a> </li> <li class="<?php echo e(active_if_full_match('reports/income-statement')); ?> || <?php echo e(active_if_full_match('ecommerce/product-type/*')); ?>"> <a class="d-flex align-items-center" href="<?php echo e(route('report.IncomeStatement')); ?>"> <i class="fas fa-circle"></i> <span class="menu-item text-truncate" data-i18n="List"> <?php echo e(translate('common.Income Statement')); ?> </span> </a> </li> </ul> </li> <?php endif; ?> <li class=" nav-item <?php echo e(active_if_match('supplier/*')); ?>"><a class="d-flex align-items-center" href="#"><i class="fa-solid fa-people-carry-box"></i><span class="menu-title text-truncate" data-i18n="Invoice"><?php echo e(translate('common.supplier')); ?></span></a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('vendor.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Supplier add','route' => ''.e(route('supplier.create')).'','activeUrl' => 'supplier/create']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Supplier add','route' => ''.e(route('supplier.create')).'','activeUrl' => 'supplier/create']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('vendor.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Supplier list','route' => ''.e(route('supplier.index')).'','activeUrl' => 'supplier/index']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Supplier list','route' => ''.e(route('supplier.index')).'','activeUrl' => 'supplier/index']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <!-- Vendors Routes --> <?php if(hasPermission(['vendor.index','vendor.create'])): ?> <li class=" nav-item <?php echo e(active_if_match('vendor/*')); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fa-solid fa-store"></i> <span class="menu-title text-truncate" data-i18n="Invoice"><?php echo e(translate('menu.vendors')); ?></span> </a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('vendor.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Vendor add','route' => ''.e(route('vendor.create')).'','activeUrl' => 'vendor/create']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Vendor add','route' => ''.e(route('vendor.create')).'','activeUrl' => 'vendor/create']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('medicine.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Vendor list','route' => ''.e(route('vendor.index')).'','activeUrl' => 'vendor/list']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Vendor list','route' => ''.e(route('vendor.index')).'','activeUrl' => 'vendor/list']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <?php endif; ?> <?php if(hasPermission(['medicines.list','medicines.create','category.index','medicine.import'])): ?> <li class=" nav-item <?php echo e(active_if_match('medicines/add')); ?> || <?php echo e(active_if_match('medicines/list')); ?> || <?php echo e(active_if_match('medicines/import')); ?> || <?php echo e(active_if_match('medicines/categories')); ?> || <?php echo e(active_if_match('medicines/unit')); ?> || <?php echo e(active_if_match('medicines/leaf')); ?> || <?php echo e(active_if_match('medicines/types')); ?>"> <a class="d-flex align-items-center" href="#"><i class="fas fa-pills"></i><span class="menu-title text-truncate" data-i18n="Invoice"><?php echo e(translate('common.medicine')); ?></span></a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('medicine.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Medicine add','route' => ''.e(route('medicines.create')).'','activeUrl' => 'medicines/create']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Medicine add','route' => ''.e(route('medicines.create')).'','activeUrl' => 'medicines/create']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('medicine.list')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Mdicine list','route' => ''.e(route('medicines.index')).'','activeUrl' => 'medicines']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Mdicine list','route' => ''.e(route('medicines.index')).'','activeUrl' => 'medicines']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('category.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'categories','route' => ''.e(route('categories.index')).'','activeUrl' => 'medicines/categories']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'categories','route' => ''.e(route('categories.index')).'','activeUrl' => 'medicines/categories']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Units','route' => ''.e(route('unit.index')).'','activeUrl' => 'medicines/unit']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Units','route' => ''.e(route('unit.index')).'','activeUrl' => 'medicines/unit']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Leaf','route' => ''.e(route('leaf.index')).'','activeUrl' => 'medicines/leaf']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Leaf','route' => ''.e(route('leaf.index')).'','activeUrl' => 'medicines/leaf']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('purchase.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Types','route' => ''.e(route('type.index')).'','activeUrl' => 'medicines/type/index']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Types','route' => ''.e(route('type.index')).'','activeUrl' => 'medicines/type/index']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('purchase.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Medicine Import','route' => ''.e(route('medicines.import')).'','activeUrl' => 'medicines/import']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Medicine Import','route' => ''.e(route('medicines.import')).'','activeUrl' => 'medicines/import']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <?php endif; ?> <?php if(hasPermission(['purchase.index','purchase.create'])): ?> <li class=" nav-item <?php echo e(active_if_match('purchase/*')); ?> "> <a class="d-flex align-items-center" href="#"><i class="fas fa-cart-shopping"></i><span class="menu-title text-truncate" data-i18n="Invoice"><?php echo e(translate('menu.purchase')); ?></span> </a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('purchase.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Add purchase','route' => ''.e(route('purchase.create')).'','activeUrl' => 'purchase/create']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Add purchase','route' => ''.e(route('purchase.create')).'','activeUrl' => 'purchase/create']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('purchase.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Purchase history','route' => ''.e(route('purchase.index')).'','activeUrl' => 'purchase/index']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Purchase history','route' => ''.e(route('purchase.index')).'','activeUrl' => 'purchase/index']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('purchase.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Return History','route' => ''.e(route('purchase.return')).'','activeUrl' => 'purchase/return-history']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Return History','route' => ''.e(route('purchase.return')).'','activeUrl' => 'purchase/return-history']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <?php endif; ?> <?php if(hasPermission(['sale.index','sale.create'])): ?> <li class="nav-item <?php echo e(active_if_match('invoice*')); ?> || <?php echo e(active_if_match('returned_history')); ?>"><a class="d-flex align-items-center" href="#"><i class="fa-solid fa-file-invoice"></i><span class="menu-title text-truncate" data-i18n="Invoice"><?php echo e(translate('Sales')); ?></span></a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('sale.create')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'New Invoice','route' => ''.e(route('pos.index')).'','activeUrl' => 'invoice/new*']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'New Invoice','route' => ''.e(route('pos.index')).'','activeUrl' => 'invoice/new*']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('sale.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Invoice History','route' => ''.e(route('invoice.reports')).'','activeUrl' => 'invoice/reports']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Invoice History','route' => ''.e(route('invoice.reports')).'','activeUrl' => 'invoice/reports']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('sale.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Return History','route' => ''.e(route('return.history')).'','activeUrl' => 'returned_history']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Return History','route' => ''.e(route('return.history')).'','activeUrl' => 'returned_history']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <?php endif; ?> <?php if(hasPermission(['report.due_customer','report.payable_manufacturer','report.sale_purchase','report.profit_loss'])): ?> <li class=" nav-item <?php echo e(active_if_match('report/medicine/topsell')); ?> || <?php echo e(active_if_match('report/customer-due')); ?> || <?php echo e(active_if_match('report/supplier/due')); ?> || <?php echo e(active_if_match('reports')); ?> || <?php echo e(active_if_match('profit')); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fa-solid fa-chart-line"></i> <span class="menu-title text-truncate" data-i18n="Invoice"> <?php echo e(translate('Reports')); ?> </span> </a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report.due_customer')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Customer due','route' => ''.e(route('report.customer_due')).'','activeUrl' => 'report/customer/due']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Customer due','route' => ''.e(route('report.customer_due')).'','activeUrl' => 'report/customer/due']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report.payable_manufacturer')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Payable Manufacturer','route' => ''.e(route('report.supplier_due')).'','activeUrl' => 'report/supplier/due']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Payable Manufacturer','route' => ''.e(route('report.supplier_due')).'','activeUrl' => 'report/supplier/due']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report.sale_purchase')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Sells & Purchase Reports','route' => ''.e(route('reports')).'','activeUrl' => 'reports']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Sells & Purchase Reports','route' => ''.e(route('reports')).'','activeUrl' => 'reports']); ?> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Top Sell Medicine','route' => ''.e(route('report.topsell_medicine')).'','activeUrl' => 'report/medicine/topsell']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Top Sell Medicine','route' => ''.e(route('report.topsell_medicine')).'','activeUrl' => 'report/medicine/topsell']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report.profit_loss')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Medicine Profit & Loss','route' => ''.e(route('profit')).'','activeUrl' => 'profit']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Medicine Profit & Loss','route' => ''.e(route('profit')).'','activeUrl' => 'profit']); ?> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if(Schema::hasTable('expenses')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Business Profit & Loss','route' => ''.e(route('report.businessprofitloss')).'','activeUrl' => 'report/business/profit-loss']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Business Profit & Loss','route' => ''.e(route('report.businessprofitloss')).'','activeUrl' => 'report/business/profit-loss']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <?php endif; ?> <?php if(hasPermission(['doctor.index','patient.index','test.index','prescription.index'])): ?> <li class=" nav-item <?php echo e(active_if_match('doctor')); ?> || <?php echo e(active_if_match('patient')); ?> || <?php echo e(active_if_match('test')); ?> || <?php echo e(active_if_match('prescription')); ?>"> <a class="d-flex align-items-center" href="#"> <i class="fas fa-prescription"></i> <span class="menu-title text-truncate" data-i18n="Invoice"> <?php echo e(translate('menu.Prescription')); ?> </span> </a> <ul class="menu-content"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('doctor.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Doctors','route' => ''.e(route('doctor.index')).'','activeUrl' => 'doctor/index']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Doctors','route' => ''.e(route('doctor.index')).'','activeUrl' => 'doctor/index']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('patient.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Patients','route' => ''.e(route('patient.index')).'','activeUrl' => 'patient/*']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Patients','route' => ''.e(route('patient.index')).'','activeUrl' => 'patient/*']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('test.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Diagnosis & Tests','route' => ''.e(route('test.index')).'','activeUrl' => 'test/*']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Diagnosis & Tests','route' => ''.e(route('test.index')).'','activeUrl' => 'test/*']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('test.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Prescriptions','route' => ''.e(route('prescription.index')).'','activeUrl' => 'prescription/*']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Prescriptions','route' => ''.e(route('prescription.index')).'','activeUrl' => 'prescription/*']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> </ul> </li> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('paymentmethod.index')): ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Cach Register','route' => ''.e(route('payment_method.index')).'','activeUrl' => 'payment_methdod','icon' => 'fa fa-money-bill']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Cach Register','route' => ''.e(route('payment_method.index')).'','activeUrl' => 'payment_methdod','icon' => 'fa fa-money-bill']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal7e0186e860361050546cc182608bf7dc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7e0186e860361050546cc182608bf7dc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.menu.link','data' => ['title' => 'Notification','route' => ''.e(route('notification.index')).'','activeUrl' => 'notifications/*','icon' => 'fa fa-bell']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('menu.link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Notification','route' => ''.e(route('notification.index')).'','activeUrl' => 'notifications/*','icon' => 'fa fa-bell']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $attributes = $__attributesOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__attributesOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7e0186e860361050546cc182608bf7dc)): ?> <?php $component = $__componentOriginal7e0186e860361050546cc182608bf7dc; ?> <?php unset($__componentOriginal7e0186e860361050546cc182608bf7dc); ?> <?php endif; ?> </ul> <?php /**PATH /home/eliosofonline/pham.eliosof.com/resources/views/layouts/partials/sidebar.blade.php ENDPATH**/ ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.7 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002