File: /www/wwwroot/erp.nhatnamsst.com/storage/framework/views/b7dc0de9699d560d4e2c0b24f7753952.php
<?php $__env->startSection('title', $pageTitle ?? __('Sửa YÊU CẦU BÁO GIÁ_SALE')); ?>
<?php $__env->startSection('content'); ?>
<div class="page-body">
<div class="container-xl">
<?php if (isset($component)) { $__componentOriginal4b3b1a2d8f6e25b6366e4e4bbf4f911b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal4b3b1a2d8f6e25b6366e4e4bbf4f911b = $attributes; } ?>
<?php $component = Domains\Core\View\Components\Form::resolve(['action' => route('cms.quote_request.update'),'type' => 'put','validate' => true] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('core-form'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Domains\Core\View\Components\Form::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'block-double-click']); ?>
<?php if (isset($component)) { $__componentOriginalf721e5e43a4885e8df1ae9a2bb0503fc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf721e5e43a4885e8df1ae9a2bb0503fc = $attributes; } ?>
<?php $component = Domains\Core\View\Components\Input\Input::resolve(['type' => 'hidden'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('core-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Domains\Core\View\Components\Input\Input::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'id','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($quoteRequest->id)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf721e5e43a4885e8df1ae9a2bb0503fc)): ?>
<?php $attributes = $__attributesOriginalf721e5e43a4885e8df1ae9a2bb0503fc; ?>
<?php unset($__attributesOriginalf721e5e43a4885e8df1ae9a2bb0503fc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf721e5e43a4885e8df1ae9a2bb0503fc)): ?>
<?php $component = $__componentOriginalf721e5e43a4885e8df1ae9a2bb0503fc; ?>
<?php unset($__componentOriginalf721e5e43a4885e8df1ae9a2bb0503fc); ?>
<?php endif; ?>
<div class="row justify-content-center">
<?php echo $__env->make('cms.quote_requests.forms.edit-left', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
</div>
<!-- Action buttons at bottom -->
<div class="mt-4 d-flex justify-content-between btn-action-footer">
<div>
<button type="button" class="btn btn-secondary" onclick="history.back()">
<?php echo app('translator')->get('Đóng'); ?> (ESC)
</button>
</div>
<div class="d-flex gap-2">
<button type="submit" class="btn btn-primary" title="<?php echo app('translator')->get('Lưu'); ?>" name="submitter" value="save"><?php echo app('translator')->get('Lưu'); ?> (Ctrl+S)</button>
<button type="submit" class="btn" name="submitter" value="saveAndExit">
<?php echo app('translator')->get('Lưu & thoát'); ?>
</button>
</div>
</div>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal4b3b1a2d8f6e25b6366e4e4bbf4f911b)): ?>
<?php $attributes = $__attributesOriginal4b3b1a2d8f6e25b6366e4e4bbf4f911b; ?>
<?php unset($__attributesOriginal4b3b1a2d8f6e25b6366e4e4bbf4f911b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal4b3b1a2d8f6e25b6366e4e4bbf4f911b)): ?>
<?php $component = $__componentOriginal4b3b1a2d8f6e25b6366e4e4bbf4f911b; ?>
<?php unset($__componentOriginal4b3b1a2d8f6e25b6366e4e4bbf4f911b); ?>
<?php endif; ?>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('js'); ?>
<script>
$(document).ready(function() {
$(document).on('keydown', function(e) {
if ((e.ctrlKey || e.metaKey) && e.key === 's') {
e.preventDefault();
var $form = $('form.block-double-click');
if ($form.length > 0) {
$form.find('button[name="submitter"][value="save"]').click();
}
}
if (e.key === 'Escape') {
window.location.href = '<?php echo e(route('cms.quote_request.index')); ?>';
}
});
});
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('cms.layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /www/wwwroot/erp.nhatnamsst.com/resources/views/cms/quote_requests/edit.blade.php ENDPATH**/ ?>