ok

Mini Shell

Direktori : /home2/selectio/www/fms-worksuite/resources/views/components/
Upload File :
Current File : //home2/selectio/www/fms-worksuite/resources/views/components/user-option.blade.php

@php
$content = "<div class='d-flex align-items-center text-left'>
    <div class='taskEmployeeImg border-0 d-inline-block mr-1'>
        <img class='rounded-circle' src='".$user->image_url."'>
    </div>
    <div>". htmlentities($user->userBadge());

        if (isset($additionalText) && !is_null($additionalText)) {
        $content .= "<div class='f-10 font-weight-light my-1'>".$additionalText."</div>";
        }

        $content.="</div>";

    if($agent){
    $content .= ' ['.$user->email.'] ';
    }

    if($pill){
    $content = "<span class='badge badge-pill badge-light border'>".$content."</span>";
    }

    @endphp

    <option {{ !$selected ?: 'selected' }} data-content="{!! $content !!}" value="{{ $userID ?? $user->id }}">
        {{ mb_ucfirst($user->name) }}
    </option>

Zerion Mini Shell 1.0