HOME


Mini Shell 1.0
DIR: /home/cardxfeb/www/resources/views/vendor/livewire-tables/includes/columns/
Upload File :
Current File : //home/cardxfeb/www/resources/views/vendor/livewire-tables/includes/columns/boolean.blade.php
@if ($component->isTailwind())
    @if ($status)
        @if ($type === 'icons')
            @if ($successValue === true)
                <x-heroicon-o-check-circle class="inline-block h-5 w-5 text-green-500" />
            @else
                <x-heroicon-o-check-circle class="inline-block h-5 w-5 text-red-500" />
            @endif
        @elseif ($type === 'yes-no')
            @if ($successValue === true)
                <span>Yes</span>
            @else
                <span>No</span>
            @endif
        @endif
    @else
        @if ($type === 'icons')
            @if ($successValue === false)
                <x-heroicon-o-x-circle class="inline-block h-5 w-5 text-green-500" />
            @else
                <x-heroicon-o-x-circle class="inline-block h-5 w-5 text-red-500" />
            @endif
        @elseif ($type === 'yes-no')
            @if ($successValue === false)
                <span>Yes</span>
            @else
                <span>No</span>
            @endif
        @endif
    @endif
@elseif ($component->isBootstrap())
    @if ($status)
        @if ($type === 'icons')
            @if ($successValue === true)
                <x-heroicon-o-check-circle style="width:1.2em;height:1.2em;" class="d-inline-block text-success" />
            @else
                <x-heroicon-o-check-circle style="width:1.2em;height:1.2em;" class="d-inline-block text-danger" />
            @endif
        @elseif ($type === 'yes-no')
            @if ($successValue === true)
                <span>Yes</span>
            @else
                <span>No</span>
            @endif
        @endif
    @else
        @if ($type === 'icons')
            @if ($successValue === false)
                <x-heroicon-o-x-circle style="width:1.2em;height:1.2em;" class="d-inline-block text-success" />
            @else
                <x-heroicon-o-x-circle style="width:1.2em;height:1.2em;" class="d-inline-block text-danger" />
            @endif
        @elseif ($type === 'yes-no')
            @if ($successValue === false)
                <span>Yes</span>
            @else
                <span>No</span>
            @endif
        @endif
    @endif
@endif