<?php if (isset($component)) { $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb = $attributes; } ?>
<?php $component = Modules\LMS\View\Components\Dashboard\Layout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Modules\LMS\View\Components\Dashboard\Layout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('title', null, []); ?> 
        <?php if(isset($notification)): ?>
            <?php echo e(translate('Edit Notification')); ?>

        <?php else: ?>
            <?php echo e(translate('Create Notification')); ?>

        <?php endif; ?>
     <?php $__env->endSlot(); ?>
    <!-- BREADCRUMB -->
    <?php if (isset($component)) { $__componentOriginalcf27f2c2c873893339708d5fdeeb6984 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.breadcrumb','data' => ['title' => ''.e(isset($notification) ? 'Edit' : 'Create').'','backUrl' => ''.e(route('notification.index')).'','pageTo' => 'Notification']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.breadcrumb'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => ''.e(isset($notification) ? 'Edit' : 'Create').'','back-url' => ''.e(route('notification.index')).'','page-to' => 'Notification']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984)): ?>
<?php $attributes = $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984; ?>
<?php unset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984)): ?>
<?php $component = $__componentOriginalcf27f2c2c873893339708d5fdeeb6984; ?>
<?php unset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984); ?>
<?php endif; ?>
    <form
        action="<?php echo e(isset($notification) ? route('notification.update', $notification->id) : route('notification.store')); ?>"
        method="POST" class="form" enctype="multipart/form-data">
        <?php if(isset($notification)): ?>
            <?php echo method_field('put'); ?>
        <?php endif; ?>
        <?php echo csrf_field(); ?>
        <div class="card">
            <div class="grid grid-cols-2 gap-x-4 gap-y-6">
                <div class="col-span-full xl:col-auto leading-none">
                    <label class="text-gray-500 dark:text-dark-text font-medium pb-2.5 inline-block">
                        <?php echo e(translate('Title')); ?>

                    </label>
                    <input type="text" name="title" placeholder="<?php echo e(translate('Enter Title')); ?>" class="form-input"
                        value="<?php echo e($notification->title ?? ''); ?>">
                    <span class="text-danger error-text title_err"></span>
                </div>
                <div class="col-span-full xl:col-auto leading-none">
                    <label for="notification" class="text-gray-500 dark:text-dark-text font-medium pb-2.5 inline-block">
                        <?php echo e(translate('Template Name')); ?>

                    </label>
                    <input type="text" name="template_name" id="notification"
                        placeholder="<?php echo e(translate('Template Name')); ?>" class="form-input"
                        value="<?php echo e($notification->template_name ?? ''); ?>">
                    <span class="text-danger error-text template_name_err"></span>
                </div>
                <div class="col-span-full leading-none">
                    <label for="description" class="text-gray-500 dark:text-dark-text font-medium pb-2.5 inline-block">
                        <?php echo e(translate('Content')); ?>

                    </label>
                    <textarea name="description" class="summernote"><?php echo clean($notification->description ?? ''); ?></textarea>
                    <span class="text-danger error-text description_err"></span>
                    <p class="mt-4 card-description">
                        <?php echo e(translate('You can use the following dynamic values')); ?>:
                        <span class="font-bold"> [discount_amount], [discount_code], [user_name], [time_date],
                            [user_role], [course_title], [organization_name], [user.name], [course_status], and [status]
                        </span>.
                    </p>
                </div>
            </div>
        </div>
        <div class="card flex justify-end">
            <button type="submit" class="next-form-btn btn b-solid btn-primary-solid dk-theme-card-square">
                <?php echo e(isset($notification) ? translate('Update') : translate('Submit')); ?>

            </button>
        </div>
    </form>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?>
<?php $attributes = $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb; ?>
<?php unset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?>
<?php $component = $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb; ?>
<?php unset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb); ?>
<?php endif; ?>
<?php /**PATH D:\www\edulab\Modules\LMS\resources\views\portals\admin\notification\create.blade.php ENDPATH**/ ?>