<?php $__env->startSection('title'); ?>
    <title><?php echo e(__('Payment History')); ?></title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin-content'); ?>
    <div class="main-content">
        <section class="section">
            
            <?php if (isset($component)) { $__componentOriginaldbbc880c47f621cda59b70d6eb356b2f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.breadcrumb','data' => ['title' => ''.e(__('Payment History')).'','list' => [
                __('Dashboard') => route('doctor.dashboard'),
                __('Payment History') => '#',
            ]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.breadcrumb'); ?>
<?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' => ''.e(__('Payment History')).'','list' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([
                __('Dashboard') => route('doctor.dashboard'),
                __('Payment History') => '#',
            ])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f)): ?>
<?php $attributes = $__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f; ?>
<?php unset($__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginaldbbc880c47f621cda59b70d6eb356b2f)): ?>
<?php $component = $__componentOriginaldbbc880c47f621cda59b70d6eb356b2f; ?>
<?php unset($__componentOriginaldbbc880c47f621cda59b70d6eb356b2f); ?>
<?php endif; ?>
            <div class="section-body">
                <div class="row">
                    <!-- Today Appointment -->
                    <div class="col-lg-3 col-md-6 col-sm-6 col-12">
                        <div class="card card-statistic-1">
                            <div class="card-icon bg-info">
                                <i class="fas fa-dollar-sign"></i>
                            </div>
                            <div class="card-wrap">
                                <div class="card-header">
                                    <h4><?php echo e(__('Earnings (Last 30Days)')); ?></h4>
                                </div>
                                <div class="card-body">
                                    <?php echo e(currency($payment ?? 0)); ?>

                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- New Appointment -->
                    <div class="col-lg-3 col-md-6 col-sm-6 col-12">
                        <div class="card card-statistic-1">
                            <div class="card-icon bg-primary">
                                <i class="fas fa-calendar"></i>
                            </div>
                            <div class="card-wrap">
                                <div class="card-header">
                                    <h4><?php echo e(__('Total Patient (last 30Days)')); ?></h4>
                                </div>
                                <div class="card-body">
                                    <?php echo e($total_appointment ?? 0); ?>

                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="mt-4 row">
                    
                    <div class="col-12">
                        <div class="card">
                            <div class="card-body p-0">
                                <form action="<?php echo e(route('doctor.payment.history')); ?>" method="GET" class="card-body"
                                    id="search_filter_form">
                                    <div class="row">
                                        <div class="col-md-6 form-group mb-3 mb-md-0">
                                            <div class="input-group">
                                                <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['class' => 'datepicker-two','name' => 'from_date','placeholder' => ''.e(__('From Date')).'','value' => ''.e(request('from_date')).'','autocomplete' => 'off']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.form-input'); ?>
<?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(['class' => 'datepicker-two','name' => 'from_date','placeholder' => ''.e(__('From Date')).'','value' => ''.e(request('from_date')).'','autocomplete' => 'off']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
                                                <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['class' => 'datepicker-two','name' => 'to_date','placeholder' => ''.e(__('To Date')).'','value' => ''.e(request('to_date')).'','autocomplete' => 'off']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.form-input'); ?>
<?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(['class' => 'datepicker-two','name' => 'to_date','placeholder' => ''.e(__('To Date')).'','value' => ''.e(request('to_date')).'','autocomplete' => 'off']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
                                                <button class="btn btn-primary" type="submit"><i
                                                        class="fas fa-search"></i></button>
                                            </div>
                                        </div>
                                        <div class="col-md-3 form-group mb-3 mb-md-0">
                                            <?php if (isset($component)) { $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-select','data' => ['onchange' => '$(\'#search_filter_form\').trigger(\'submit\');','name' => 'order_by','id' => 'order_by','class' => 'form-select']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.form-select'); ?>
<?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(['onchange' => '$(\'#search_filter_form\').trigger(\'submit\');','name' => 'order_by','id' => 'order_by','class' => 'form-select']); ?>
                                                <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['value' => '','text' => ''.e(__('Order By')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.select-option'); ?>
<?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(['value' => '','text' => ''.e(__('Order By')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
                                                <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['selected' => request('order_by') == '1','value' => '1','text' => ''.e(__('ASC')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.select-option'); ?>
<?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(['selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(request('order_by') == '1'),'value' => '1','text' => ''.e(__('ASC')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
                                                <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['selected' => request('order_by') == '0','value' => '0','text' => ''.e(__('DESC')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.select-option'); ?>
<?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(['selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(request('order_by') == '0'),'value' => '0','text' => ''.e(__('DESC')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
                                             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?>
<?php $attributes = $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca; ?>
<?php unset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?>
<?php $component = $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca; ?>
<?php unset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca); ?>
<?php endif; ?>
                                        </div>
                                        <div class="col-md-3 form-group mb-3 mb-md-0">
                                            <?php if (isset($component)) { $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-select','data' => ['onchange' => '$(\'#search_filter_form\').trigger(\'submit\');','name' => 'par-page','id' => 'par-page','class' => 'form-select']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.form-select'); ?>
<?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(['onchange' => '$(\'#search_filter_form\').trigger(\'submit\');','name' => 'par-page','id' => 'par-page','class' => 'form-select']); ?>
                                                <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['value' => '','text' => ''.e(__('Per Page')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.select-option'); ?>
<?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(['value' => '','text' => ''.e(__('Per Page')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
                                                <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['selected' => request('par-page') == '5','value' => '5','text' => ''.e(__('5')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.select-option'); ?>
<?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(['selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(request('par-page') == '5'),'value' => '5','text' => ''.e(__('5')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
                                                <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['selected' => request('par-page') == '10','value' => '10','text' => ''.e(__('10')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.select-option'); ?>
<?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(['selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(request('par-page') == '10'),'value' => '10','text' => ''.e(__('10')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
                                                <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['selected' => request('par-page') == '25','value' => '25','text' => ''.e(__('25')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.select-option'); ?>
<?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(['selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(request('par-page') == '25'),'value' => '25','text' => ''.e(__('25')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
                                                <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['selected' => request('par-page') == '50','value' => '50','text' => ''.e(__('50')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.select-option'); ?>
<?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(['selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(request('par-page') == '50'),'value' => '50','text' => ''.e(__('50')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
                                                <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['selected' => request('par-page') == '100','value' => '100','text' => ''.e(__('100')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.select-option'); ?>
<?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(['selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(request('par-page') == '100'),'value' => '100','text' => ''.e(__('100')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
                                                <?php if (isset($component)) { $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.select-option','data' => ['selected' => request('par-page') == 'all','value' => 'all','text' => ''.e(__('All')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.select-option'); ?>
<?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(['selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(request('par-page') == 'all'),'value' => 'all','text' => ''.e(__('All')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $attributes = $__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__attributesOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb)): ?>
<?php $component = $__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb; ?>
<?php unset($__componentOriginalb806ea0630d83bcbe8e487a031fcf0fb); ?>
<?php endif; ?>
                                             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?>
<?php $attributes = $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca; ?>
<?php unset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?>
<?php $component = $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca; ?>
<?php unset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca); ?>
<?php endif; ?>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>

                    <div class="col-12">
                        <div class="card">
                            <div class="card-header d-flex justify-content-between">
                                <div>
                                    <?php if (isset($component)) { $__componentOriginal17c557c70b1fe4c4647ae4b30eca9298 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal17c557c70b1fe4c4647ae4b30eca9298 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.back-button','data' => ['href' => route('doctor.dashboard')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin.back-button'); ?>
<?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(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('doctor.dashboard'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal17c557c70b1fe4c4647ae4b30eca9298)): ?>
<?php $attributes = $__attributesOriginal17c557c70b1fe4c4647ae4b30eca9298; ?>
<?php unset($__attributesOriginal17c557c70b1fe4c4647ae4b30eca9298); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal17c557c70b1fe4c4647ae4b30eca9298)): ?>
<?php $component = $__componentOriginal17c557c70b1fe4c4647ae4b30eca9298; ?>
<?php unset($__componentOriginal17c557c70b1fe4c4647ae4b30eca9298); ?>
<?php endif; ?>
                                </div>
                            </div>
                            <div class="card-body">
                                <div class="table-responsive">
                                    <table class="table table-striped">
                                        <thead>
                                            <tr>
                                                <th><?php echo e(__('SN')); ?></th>
                                                <th><?php echo e(__('Name')); ?></th>
                                                <th><?php echo e(__('Email')); ?></th>
                                                <th><?php echo e(__('Date')); ?></th>
                                                <th><?php echo e(__('Phone')); ?></th>
                                                <th><?php echo e(__('Amount')); ?></th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <?php $__empty_1 = true; $__currentLoopData = $appointments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $appointment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                                <tr>
                                                    <td><?php echo e(++$index); ?></td>
                                                    <td><?php echo e($appointment?->user?->name); ?></td>
                                                    <td><?php echo e($appointment?->user?->email); ?></td>
                                                    <td><?php echo e(formattedDate($appointment?->date)); ?></td>
                                                    <td><?php echo e($appointment?->user?->details?->phone); ?></td>
                                                    <td><?php echo e(specific_currency_with_icon($appointment?->payable_currency, $appointment?->appointment_fee)); ?>

                                                    </td>
                                                </tr>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                                <?php if (isset($component)) { $__componentOriginal875c7a0bb47165de86ff51577f723b01 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal875c7a0bb47165de86ff51577f723b01 = $attributes; } ?>
<?php $component = App\View\Components\EmptyTable::resolve(['name' => __('Today Appointment'),'route' => 'doctor.today.appointment','create' => 'no','message' => __('No data found!'),'colspan' => '7'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('empty-table'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\EmptyTable::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal875c7a0bb47165de86ff51577f723b01)): ?>
<?php $attributes = $__attributesOriginal875c7a0bb47165de86ff51577f723b01; ?>
<?php unset($__attributesOriginal875c7a0bb47165de86ff51577f723b01); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal875c7a0bb47165de86ff51577f723b01)): ?>
<?php $component = $__componentOriginal875c7a0bb47165de86ff51577f723b01; ?>
<?php unset($__componentOriginal875c7a0bb47165de86ff51577f723b01); ?>
<?php endif; ?>
                                            <?php endif; ?>
                                        </tbody>
                                    </table>
                                </div>
                                <?php if(request()->get('par-page') !== 'all'): ?>
                                    <div class="float-right">
                                        <?php echo e($appointments->onEachSide(0)->links()); ?>

                                    </div>
                                <?php endif; ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('js'); ?>
    <script>
        $(document).ready(function() {
            $(".datepicker-two").datepicker({
                format: "yyyy-mm-dd",
                startDate: "2000-01-01"
            });
        });
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('doctor.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\laragon\www\docment_latest\main_files\resources\views/doctor/payment/index.blade.php ENDPATH**/ ?>