<?php $__env->startSection('title', 'الخدمات'); ?>
<?php if (isset($component)) { $__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e = $component; } ?>
<?php $component = App\View\Components\Dashboard\Css::resolve(['links' => [
    [
        'link' => 'services/services.css',
    ],
]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.css'); ?>
<?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\Dashboard\Css::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($__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e)): ?>
<?php $component = $__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e; ?>
<?php unset($__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e); ?>
<?php endif; ?>
<?php $__env->startSection('content'); ?>

    <?php if (isset($component)) { $__componentOriginal342b33bfa6f7d125441314a0164864e25786c1fa = $component; } ?>
<?php $component = App\View\Components\Dashboard\LinksBar::resolve(['links' => [
        [
            'name' => 'الخدمات',
            'link' => adminUrl('services'),
        ],
        [
            'name' => 'تعديل خدمة',
        ],
    ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.links-bar'); ?>
<?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\Dashboard\LinksBar::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($__componentOriginal342b33bfa6f7d125441314a0164864e25786c1fa)): ?>
<?php $component = $__componentOriginal342b33bfa6f7d125441314a0164864e25786c1fa; ?>
<?php unset($__componentOriginal342b33bfa6f7d125441314a0164864e25786c1fa); ?>
<?php endif; ?>

    <section class="mb-5">

        <div class="row">

            <div class="col-md-3">
                <div class="box">
                    <?php $__currentLoopData = $tabs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tabKey => $tabVal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <a href="?section=<?php echo e($tabKey); ?>"
                            class="btn btn-block <?php if($tabKey == request('section')): ?> <?php echo e('btn-main'); ?><?php else: ?><?php echo e('btn-soft-main'); ?> <?php endif; ?> "><?php echo e($tabVal['name']); ?></a>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>

                <?php if (isset($component)) { $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09 = $component; } ?>
<?php $component = App\View\Components\PanelWithHeading::resolve(['title' => 'الصورة'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('panel-with-heading'); ?>
<?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\PanelWithHeading::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
                    <div class=" text-center">
                        <?php
                            if ($section != 'sub-services') {
                                $imgPerviewSrc = largeAsset('services/' . $row->image);
                            } elseif ($section == 'sub-services' && request('sub-id') != null) {
                                $imgPerviewSrc = largeAsset('services/details/' . $sub_service_row->icon_image);
                            } else {
                                $imgPerviewSrc = null;
                            }
                        ?>
                        <img class="img img-fluid radius" src="<?php echo e($imgPerviewSrc); ?>" alt="">
                    </div>


                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09)): ?>
<?php $component = $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09; ?>
<?php unset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09); ?>
<?php endif; ?>

                <h6>مواقع مقترحة للصور</h6>
                <ul style="list-style-position: inside">
                    <li><a href="https://www.flaticon.com/" target="_blank">Flaticon</a></li>
                    <li><a href="https://icons8.com/" target="_blank">Icons8</a></li>
                    <li><a href="https://www.iconfinder.com/" target="_blank">Iconfinder</a></li>
                    <li><a href="https://material.io/resources/icons/" target="_blank">Material Icons</a></li>
                </ul>

            </div><!-- tabs -->


            <div class="col-md-9">
                <?php switch($section):
                    case ('sub-services'): ?>
                        <form class="form validate" action="<?php echo e($sub_services_form['action']); ?>" method="POST"
                            enctype="multipart/form-data" autocomplete="on">

                            <?php if (isset($component)) { $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09 = $component; } ?>
<?php $component = App\View\Components\PanelWithHeading::resolve(['title' => ''.e($sub_services_form['panel_title']).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('panel-with-heading'); ?>
<?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\PanelWithHeading::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
                                <?php echo csrf_field(); ?>

                                <input type="hidden" name="service_id" value="<?php echo e($row->id); ?>">

                                <input type="hidden" name="id"
                                    value="<?php echo e($sub_service_row == null ? '' : $sub_service_row->id); ?>">
                                <div class="row">

                                    <div class="col-md-8">
                                        <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                            'input' => [
                                                'name' => 'title',
                                                'type' => 'text',
                                                'value' => $sub_service_row == null ? '' : $sub_service_row->title,
                                                'options' => ['required'],
                                            ],
                                            'label' => [
                                                'text' => 'اسم الخدمة',
                                                'options' => [
                                                    'class' => 'required',
                                                ],
                                            ],
                                        ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?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\FormGroup::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($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?>
                                    </div><!-- title -->

                                    <?php if($sub_services_form['status'] == 'update'): ?>
                                        <div class="col-md-4">
                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                'input' => [
                                                    'name' => 'icon_image',
                                                    'type' => 'file',
                                                    'options' => [
                                                        'class' => 'input-img',
                                                        'accept' => 'image/*',
                                                    ],
                                                ],
                                                'label' => [
                                                    'text' => 'أيقونة الخدمة',
                                                ],
                                            ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?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\FormGroup::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($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?>
                                        </div><!-- icon_image -->
                                    <?php else: ?>
                                        <div class="col-md-4">
                                            <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                                'input' => [
                                                    'name' => 'icon_image',
                                                    'type' => 'file',
                                                    'options' => [
                                                        'class' => 'input-img',
                                                        'accept' => 'image/*',
                                                        'required',
                                                    ],
                                                ],
                                                'label' => [
                                                    'text' => 'أيقونة الخدمة',
                                                    'options' => [
                                                        'class' => 'required',
                                                    ],
                                                ],
                                            ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?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\FormGroup::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($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?>
                                        </div><!-- icon_image -->
                                    <?php endif; ?>


                                    <div class="col-md-12">
                                        <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                            'textarea' => [
                                                'name' => 'desc',
                                                'value' => $sub_service_row == null ? '' : $sub_service_row->desc,
                                                'options' => [
                                                    'rows' => '5',
                                                    'required',
                                                ],
                                            ],
                                            'label' => [
                                                'text' => 'وصف الخدمة',
                                                'options' => [
                                                    'class' => 'required',
                                                ],
                                            ],
                                        ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?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\FormGroup::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($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?><!-- content -->
                                    </div><!-- desc -->

                                </div>
                             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09)): ?>
<?php $component = $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09; ?>
<?php unset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09); ?>
<?php endif; ?><!--  end page info -->

                            <button type="submit" class="btn btn-main px-4"><?php echo e($sub_services_form['button']); ?></button>

                            <?php if($sub_services_form['status'] == 'update'): ?>
                                <a href="<?php echo e(adminUrl('services/edit/' . $row->id . '?section=' . $section)); ?>"
                                    class="btn btn-soft-danger">الغاء التعديل</a>
                            <?php endif; ?>
                        </form><!-- End Form -->

                        <section id="show-sub-services" class="mt-4">

                            <div class="box table-responsive p-4">
                                <table style="vertical-align: middle" width="100%" id="myTable"
                                    class="table table-inverse mb-0 border-0">
                                    <thead class="thead-inverse">
                                        <tr>
                                            <th>التحكم</th>
                                            <th class=" text-center">الصورة</th>
                                            <th>اسم الخدمة </th>
                                            <th>اخر تحديث</th>
                                            <th>اضيف بواسطة</th>
                                        </tr>
                                    </thead>
                                    <tbody>

                                        <?php $__currentLoopData = $sub_services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sub): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr class="parents">

                                                <td style="width: 50px">


                                                    <a href="<?php echo e(adminUrl('services/edit/' . $row->id . '?section=' . $section . '&sub-id=' . $sub->id)); ?>"
                                                        class=" btn btn-sm btn-soft-primary">
                                                        <i class="fa fa-edit"></i>
                                                    </a>

                                                    <span class=" text-muted mx-1">-</span>

                                                    <a href="<?php echo e(adminUrl('services/details/create?ref=' . $sub->id)); ?>"
                                                        class=" btn btn-sm btn-soft-success">
                                                        <i class="fa fa-plus"></i>
                                                    </a>

                                                    <span class=" text-muted mx-1">-</span>


                                                    <form class="ajax-delete d-inline-block"
                                                        action="<?php echo e(route('services-destroy')); ?>?sub=true" method="POST">
                                                        <?php echo method_field('DELETE'); ?>
                                                        <?php echo csrf_field(); ?>
                                                        <input type="hidden" class="id" name="id"
                                                            value="<?php echo e($sub->id); ?>">
                                                        <button type="submit"
                                                            data-delete="<?php echo e('هل انت متأكد من حذف ' . $sub->title); ?>"
                                                            class="btn btn-sm btn-soft-danger"><i
                                                                class="fa-solid fa-trash"></i></button>
                                                    </form>

                                                </td><!-- actions -->

                                                <td class=" text-center">
                                                    <img width="100px" height="50px" class=" radius object-content"
                                                        src="<?php echo e(largeAsset('services/details/' . $sub->icon_image)); ?>"
                                                        alt="">
                                                </td>


                                                <td><?php echo e(Str::limit($sub->title, 75, '...')); ?></td>

                                                <td><?php echo e(parseTime($sub->updated_at)); ?></td>

                                                <td>
                                                    <?php if($sub->creator != null): ?>
                                                        <?php echo e($sub->creator->full_name); ?>

                                                    <?php else: ?>
                                                        <small>لا يوجد</small>
                                                    <?php endif; ?>
                                                </td>


                                            </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                    </tbody>
                                </table>
                            </div><!-- box --><!-- col Table Data -->

                        </section>
                    <?php break; ?>

                    <?php default: ?>
                        <form class="form validate" action="<?php echo e(route('service-update')); ?>" method="POST"
                            enctype="multipart/form-data" autocomplete="on">

                            <?php echo csrf_field(); ?>
                            <?php echo method_field('PATCH'); ?>
                            <input type="hidden" value="<?php echo e($row->id); ?>" name="id">


                            <?php if (isset($component)) { $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09 = $component; } ?>
<?php $component = App\View\Components\PanelWithHeading::resolve(['title' => 'التفاصيل'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('panel-with-heading'); ?>
<?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\PanelWithHeading::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>

                                <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                    'input' => [
                                        'name' => 'image',
                                        'type' => 'file',
                                        'options' => ['class' => 'input-img', 'accept' => 'image/*'],
                                    ],
                                    'label' => [
                                        'text' => 'صورة الخدمة',
                                    ],
                                ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?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\FormGroup::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($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?><!-- image -->

                                <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                    'input' => [
                                        'name' => 'title',
                                        'type' => 'text',
                                        'value' => $row->title,
                                        'options' => ['required'],
                                    ],
                                    'label' => [
                                        'text' => 'اسم الخدمة',
                                        'options' => [
                                            'class' => 'required',
                                        ],
                                    ],
                                ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?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\FormGroup::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($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?><!-- title -->

                                <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                    'select' => [
                                        'name' => 'type',
                                        'list' => ['service', 'why-choose-us'],
                                        'selected' => $row->type,
                                        'options' => ['required', 'class' => 'font-18', 'placeholder' => ''],
                                    ],
                                    'label' => [
                                        'text' => 'في أي قسم تريد أن توضع هذه الخدمة؟',
                                        'options' => [
                                            'class' => 'required',
                                        ],
                                    ],
                                ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?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\FormGroup::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($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?><!-- type -->

                                <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['class' => 'mb-1','properties' => [
                                    'textarea' => [
                                        'name' => 'desc',
                                        'value' => $row->desc,
                                        'options' => [
                                            'rows' => '5',
                                            'placeholder' => 'وصف عن الخدمه باللغة ',
                                        ],
                                    ],
                                    'label' => [
                                        'text' => 'وصف الخدمة',
                                    ],
                                ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?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\FormGroup::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($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?><!-- content -->


                             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09)): ?>
<?php $component = $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09; ?>
<?php unset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09); ?>
<?php endif; ?>
                            <button type="submit" class="btn btn-main px-4">تحديث البيانات</button>

                        </form><!-- End Form -->
                <?php endswitch; ?>

            </div>

        </div><!-- row -->
    </section><!-- Section -->


    <input type="hidden" form="update-form" value="<?php echo e($row->id); ?>" name="id">
    <input type="hidden" form="update-form" value="<?php echo e($section); ?>" name="section">



<?php $__env->stopSection(); ?>
<?php if (isset($component)) { $__componentOriginal4a1e9f4471bc858522cc3c6bd393eb0685be0fb1 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Js::resolve(['links' => [
    [
        'link' => 'image-preview',
        'from' => 'components',
    ],
]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.js'); ?>
<?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\Dashboard\Js::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($__componentOriginal4a1e9f4471bc858522cc3c6bd393eb0685be0fb1)): ?>
<?php $component = $__componentOriginal4a1e9f4471bc858522cc3c6bd393eb0685be0fb1; ?>
<?php unset($__componentOriginal4a1e9f4471bc858522cc3c6bd393eb0685be0fb1); ?>
<?php endif; ?>

<?php echo $__env->make('dashboard.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\wjhatna\resources\views/dashboard/services/edit.blade.php ENDPATH**/ ?>