HEX
Server: nginx/1.24.0
System: Linux localhost 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.27
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
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**/ ?>