<div class="modal-header">
    <h4 class="modal-title" id="ceratModal">تعديل </h4>
    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="X"></button>
</div>
<div class="modal-body">
    <form class="orderEditForm" data-id="<?php echo e($order->id); ?>" enctype="multipart/form-data">
        <?php echo csrf_field(); ?>
        <div class="row">
            <?php if (isset($component)) { $__componentOriginald6f594a9b5edb891e4d76b5c13a95b5d = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald6f594a9b5edb891e4d76b5c13a95b5d = $attributes; } ?>
<?php $component = App\View\Components\TextareaField::resolve(['label' => ''.e(__('ملاحظة')).'','name' => 'notes','value' => ''.e(old('notes',$order->notes)).'','maxLength' => '10000'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('textarea-field'); ?>
<?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\TextareaField::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald6f594a9b5edb891e4d76b5c13a95b5d)): ?>
<?php $attributes = $__attributesOriginald6f594a9b5edb891e4d76b5c13a95b5d; ?>
<?php unset($__attributesOriginald6f594a9b5edb891e4d76b5c13a95b5d); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald6f594a9b5edb891e4d76b5c13a95b5d)): ?>
<?php $component = $__componentOriginald6f594a9b5edb891e4d76b5c13a95b5d; ?>
<?php unset($__componentOriginald6f594a9b5edb891e4d76b5c13a95b5d); ?>
<?php endif; ?>
            <?php if (isset($component)) { $__componentOriginal1756e8456e85cbbb0f86dfa3aa019f6b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1756e8456e85cbbb0f86dfa3aa019f6b = $attributes; } ?>
<?php $component = App\View\Components\SelectField::resolve(['label' => ''.e(__('الحالة')).'','name' => 'status','value' => ''.e(old('status',$order->status)).'','options' => ['new' => 'طلب جديد','urgent' => 'مستعجل','Completed' => 'مكتمل',
                            'Cancelled' => 'ملغي','under_review' => 'تحت المراجعة' ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('select-field'); ?>
<?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\SelectField::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['id' => 'status']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1756e8456e85cbbb0f86dfa3aa019f6b)): ?>
<?php $attributes = $__attributesOriginal1756e8456e85cbbb0f86dfa3aa019f6b; ?>
<?php unset($__attributesOriginal1756e8456e85cbbb0f86dfa3aa019f6b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1756e8456e85cbbb0f86dfa3aa019f6b)): ?>
<?php $component = $__componentOriginal1756e8456e85cbbb0f86dfa3aa019f6b; ?>
<?php unset($__componentOriginal1756e8456e85cbbb0f86dfa3aa019f6b); ?>
<?php endif; ?>
            <div class="col-12 mt-2">
                <label class="form-label pb-1">هل مميز:</label>
                <?php if($order->is_featured == 1): ?>
                    <input type="checkbox" class="form-check-input" checked name="is_featured" value="1"
                        id="colorCheck4">
                <?php else: ?>
                    <input type="checkbox" class="form-check-input" name="is_featured" value="1" id="colorCheck4">
                <?php endif; ?>
                <label class="form-label ">مميز </label>
            </div>
        </div>

        <div class="row">
            <div class="col-12">
                <button class="btn btn-primary"><?php echo e(__('حفظ')); ?></button>
            </div>
        </div>
    </form>
</div>
<?php /**PATH C:\xampp\htdocs\tabadul_Irada\resources\views/admin/order/edit.blade.php ENDPATH**/ ?>