Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/storage/framework/views/ff0768f4378d9d945637a4b8815dcaff.php
Назад
<div class="modal-header"> <h5 class="modal-title" id="modelHeading"><?php echo app('translator')->get('app.note'); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> </div> <div class="modal-body"> <?php if (isset($component)) { $__componentOriginal18ad2e0d264f9740dc73fff715357c28 = $component; } ?> <?php $component = App\View\Components\Form::resolve(['method' => 'PUT'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('form'); ?> <?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\Form::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'edit-note-data-form']); ?> <div class="row"> <div class="col-md-12 p-20 "> <div class="media"> <img src="<?php echo e($note->user->image_url); ?>" class="align-self-start mr-3 taskEmployeeImg rounded" alt="<?php echo e(mb_ucwords($note->user->name)); ?>"> <div class="media-body bg-white"> <div class="form-group"> <div id="task-edit-note"><?php echo $note->note; ?></div> <textarea name="note" class="form-control invisible d-none" id="task-edit-note-text"><?php echo $note->note; ?></textarea> </div> </div> </div> </div> </div> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginal18ad2e0d264f9740dc73fff715357c28)): ?> <?php $component = $__componentOriginal18ad2e0d264f9740dc73fff715357c28; ?> <?php unset($__componentOriginal18ad2e0d264f9740dc73fff715357c28); ?> <?php endif; ?> </div> <div class="modal-footer"> <?php if (isset($component)) { $__componentOriginalc35c79ed7e812580313ad04118477974 = $component; } ?> <?php $component = App\View\Components\Forms\ButtonCancel::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.button-cancel'); ?> <?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\Forms\ButtonCancel::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['data-dismiss' => 'modal','class' => 'border-0 mr-3']); ?><?php echo app('translator')->get('app.cancel'); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc35c79ed7e812580313ad04118477974)): ?> <?php $component = $__componentOriginalc35c79ed7e812580313ad04118477974; ?> <?php unset($__componentOriginalc35c79ed7e812580313ad04118477974); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalcf8d12533ff890e0d6573daf32b7618d = $component; } ?> <?php $component = App\View\Components\Forms\ButtonPrimary::resolve(['icon' => 'check'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.button-primary'); ?> <?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\Forms\ButtonPrimary::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'save-edit-note']); ?><?php echo app('translator')->get('app.save'); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalcf8d12533ff890e0d6573daf32b7618d)): ?> <?php $component = $__componentOriginalcf8d12533ff890e0d6573daf32b7618d; ?> <?php unset($__componentOriginalcf8d12533ff890e0d6573daf32b7618d); ?> <?php endif; ?> </div> <script> var edit_task_notes = "<?php echo e(user()->permission('edit_task_notes')); ?>"; $(document).ready(function() { const atValues = <?php echo json_encode($taskuserData, 15, 512) ?>; if (edit_task_notes == "all" || edit_task_notes == "added") { quillMention(atValues, '#task-edit-note'); } $('#save-edit-note').click(function() { var note = document.getElementById('task-edit-note').children[0].innerHTML; document.getElementById('task-edit-note-text').value = note; var mention_user_id = $('#task-edit-note span[data-id]').map(function(){ return $(this).attr('data-id') }).get(); var token = '<?php echo e(csrf_token()); ?>'; const url = "<?php echo e(route('task-note.update', $note->id)); ?>"; $.easyAjax({ url: url, container: '#edit-note-data-form', type: "POST", disableButton: true, blockUI: true, buttonSelector: "#save-edit-note", data: { '_token': token, note: note, mention_user_id : mention_user_id, '_method': 'PUT', taskId: '<?php echo e($note->task->id); ?>' }, success: function(response) { if (response.status == "success") { document.getElementById('note-list').innerHTML = response.view; $(MODAL_LG).modal('hide'); } } }); }); }); </script> <?php /**PATH /home/kckglobal/public_html/portal/resources/views/tasks/notes/edit.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка