<?php if(isset($agency)): ?>
    <?php echo method_field('PUT'); ?>
    <input type="hidden" value="<?php echo e($agency->id); ?>" name="id">
<?php endif; ?>
<?php echo csrf_field(); ?>

<div class="card-body border-top p-9">
    <!--begin::Input group-->
    <div class="row mb-3">
        <!--begin::Label-->
        <label class="col-lg-4 col-form-label required fw-semibold fs-6"><?php echo e(__('lang.name')); ?></label>
        <!--end::Label-->

        <!--begin::Col-->
        <div class="col-lg-8">
            <!--begin::Row-->
            <div class="row">
                <!--begin::Col-->
                <div class="col-lg-12 fv-row fv-plugins-icon-container">
                    <input type='text' name="name"
                        class="form-control form-control-lg form-control-solid mb-3 mb-lg-0"
                        placeholder="<?php echo e(__('lang.name')); ?>"
                        value="<?php echo e(old('name', isset($agency) ? $agency->name : '')); ?>">
                </div>
                <!--end::Col-->
            </div>
            <!--end::Row-->
        </div>
        <!--end::Col-->
    </div>
    <!--end::Input group-->


    <!--begin::Input group-->
    <div class="row mb-3">
        <!--begin::Label-->
        <label class="col-lg-4 col-form-label required fw-semibold fs-6"><?php echo e(__('lang.short_description')); ?></label>
        <!--end::Label-->

        <!--begin::Col-->
        <div class="col-lg-8">
            <!--begin::Row-->
            <div class="row">
                <!--begin::Col-->
                <div class="col-lg-12 fv-row fv-plugins-icon-container">
                    <textarea name="short_description" class="mb-3 mb-lg-0" rows="3" cols="75"
                        placeholder="<?php echo e(__('lang.short_description')); ?>"><?php echo e(old('short_description', isset($agency) ? $agency->short_description : '')); ?></textarea>

                </div>
                <!--end::Col-->
            </div>
            <!--end::Row-->
        </div>
        <!--end::Col-->
    </div>
    <!--end::Input group-->

    <!--begin::Input group-->
    <div class="row mb-3">
        <!--begin::Label-->
        <label class="col-lg-4 col-form-label required fw-semibold fs-6"><?php echo e(__('lang.phone')); ?></label>
        <!--end::Label-->

        <!--begin::Col-->
        <div class="col-lg-8">
            <!--begin::Row-->
            <div class="row">
                <!--begin::Col-->
                <div class="col-lg-8 fv-row fv-plugins-icon-container">
                    <input type='text' name="phone"
                        class="form-control form-control-lg form-control-solid mb-3 mb-lg-0"
                        placeholder="<?php echo e(__('lang.phone')); ?>"
                        value="<?php echo e(old('phone', isset($agency) ? $agency->phone : '')); ?>">
                </div>
                <!--end::Col-->
                <div class="col-lg-4 fv-row fv-plugins-icon-container">
                    <label class="col-form-label  fw-semibold fs-6"><?php echo e(__('lang.show')); ?></label>

                    <input type="checkbox" name="show_phone"
                        <?php echo e(old('show_phone', isset($agency) ? $agency->show_phone : 0) ? 'checked' : ''); ?>>
                </div>
            </div>
        </div>
    </div>

    <!--end::Input group-->


    <!--begin::Input group-->
    <div class="row mb-3">
        <!--begin::Label-->
        <label class="col-lg-4 col-form-label required fw-semibold fs-6"><?php echo e(__('lang.whatsapp')); ?></label>
        <!--end::Label-->

        <!--begin::Col-->
        <div class="col-lg-8">
            <!--begin::Row-->
            <div class="row">
                <!--begin::Col-->
                <div class="col-lg-8 fv-row fv-plugins-icon-container">
                    <input type='text' name="whatsapp"
                        class="form-control form-control-lg form-control-solid mb-3 mb-lg-0"
                        placeholder="<?php echo e(__('lang.whatsapp')); ?>"
                        value="<?php echo e(old('whatsapp', isset($agency) ? $agency->whatsapp : '')); ?>">
                </div>
                <!--end::Col-->
                <div class="col-lg-4 fv-row fv-plugins-icon-container">
                    <label class="col-form-label  fw-semibold fs-6"><?php echo e(__('lang.show')); ?></label>

                    <input type="checkbox" name="show_whatsapp"
                        <?php echo e(old('show_whatsapp', isset($agency) ? $agency->show_whatsapp : 0) ? 'checked' : ''); ?>>
                </div>
            </div>
        </div>
    </div>

    <!--end::Input group-->

    <?php
        if (isset($agency)) {
            $model = $agency;
        } else {
            $model = new \App\Models\Agency();
        }
    ?>
    <?php if (isset($component)) { $__componentOriginaleebd0438791cc0f780c9af7786d8bac8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginaleebd0438791cc0f780c9af7786d8bac8 = $attributes; } ?>
<?php $component = App\View\Components\Image::resolve(['model' => $model,'label' => 'logo'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('image'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\Image::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginaleebd0438791cc0f780c9af7786d8bac8)): ?>
<?php $attributes = $__attributesOriginaleebd0438791cc0f780c9af7786d8bac8; ?>
<?php unset($__attributesOriginaleebd0438791cc0f780c9af7786d8bac8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginaleebd0438791cc0f780c9af7786d8bac8)): ?>
<?php $component = $__componentOriginaleebd0438791cc0f780c9af7786d8bac8; ?>
<?php unset($__componentOriginaleebd0438791cc0f780c9af7786d8bac8); ?>
<?php endif; ?>
</div>
<?php /**PATH /home/oday/public_html/mazdashboard.alialzahabia.com/resources/views/AdminPanel/agencies/fields.blade.php ENDPATH**/ ?>