File: /www/wwwroot/erp.nhatnamsst.com/storage/framework/views/e01b44cb66c04aa0a9738ebc3bc5ca9a.php
<div class="col-12 col-md-9">
<div class="card">
<div class="row card-body">
<div class="col-12">
<div class="mb-3">
<label class="form-label required"><?php echo app('translator')->get('Tên hãng'); ?></label>
<?php if (isset($component)) { $__componentOriginalf721e5e43a4885e8df1ae9a2bb0503fc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf721e5e43a4885e8df1ae9a2bb0503fc = $attributes; } ?>
<?php $component = Domains\Core\View\Components\Input\Input::resolve(['required' => true] + (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' => 'brand[name]','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(old('brand.name')),'placeholder' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Nhập tên hãng'))]); ?>
<?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>
</div>
<?php
$currentAdmin = get_auth_admin();
$canAssignInter = $currentAdmin && (
$currentAdmin->checkIsSuperAdmin() ||
$currentAdmin->isAdmin()
);
?>
<?php if($canAssignInter): ?>
<div class="col-12">
<div class="mb-3">
<label class="form-label"><?php echo app('translator')->get('Phân hãng cho Inter'); ?></label>
<div class="form-selectgroup form-selectgroup-boxes d-flex flex-column">
<?php $__currentLoopData = $interAdmins; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $admin): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<label class="form-selectgroup-item flex-fill">
<input type="checkbox" name="admin_ids[]" value="<?php echo e($admin->id); ?>"
class="form-selectgroup-input"
<?php echo e(in_array($admin->id, old('admin_ids', [])) ? 'checked' : ''); ?>>
<div class="form-selectgroup-label d-flex align-items-center p-3">
<div class="me-3">
<span class="form-selectgroup-check"></span>
</div>
<div class="flex-fill">
<div class="d-flex align-items-center gap-2 mb-1">
<strong><?php echo e($admin->fullname); ?></strong>
<?php if($admin->role): ?>
<span class="badge <?php echo e($admin->role->badge()); ?>"><?php echo e($admin->role->description()); ?></span>
<?php endif; ?>
</div>
<div class="text-muted small"><?php echo e($admin->email); ?></div>
</div>
</div>
</label>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php /**PATH /www/wwwroot/erp.nhatnamsst.com/resources/views/cms/brands/forms/create-left.blade.php ENDPATH**/ ?>