%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/www/admin1/resources/views/dashboard/employee/widgets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/www/admin1/resources/views/dashboard/employee/widgets/leave.blade.php
@if (in_array('leave', $activeWidgets) && $sidebarUserPermissions['view_leave'] != 5 && $sidebarUserPermissions['view_leave'] != 'none' && in_array('employees', user_modules()))
    <!-- EMP DASHBOARD BIRTHDAY START -->
    <div class="col-sm-12">
        <x-cards.data class="e-d-info mb-3" :title="__('modules.dashboard.leave')" padding="false" otherClasses="h-200">
            <x-table>
                @forelse ($leave as $totalLeave)
                    <tr>
                        <td class="pl-20">
                            <x-employee :user="$totalLeave->user"/>
                        </td>
                        <td class="pr-20">
                            @if ($totalLeave->duration == 'single' || $totalLeave->duration == 'multiple')
                                <span class="badge badge-secondary p-2">@lang('modules.dashboard.fullDay')</span>
                            @elseif ($totalLeave->duration == 'half day' && $totalLeave->half_day_type == 'first_half')
                                <span class="badge badge-secondary p-2">@lang('modules.leaves.firstHalf')</span>
                            @else
                                <span class="badge badge-secondary p-2">@lang('modules.leaves.secondHalf')</span>
                            @endif
                        </td>
                        <td class="pr-20" align="right">
                            <span class="badge badge-success p-2"
                                  style="background-color:{{$totalLeave->type->color}}">{{$totalLeave->type->type_name}}</span>
                        </td>
                    </tr>
                @empty
                    <tr>
                        <td colspan="3" class="shadow-none">
                            <x-cards.no-record icon="plane-departure" :message="__('messages.noRecordFound')"/>
                        </td>
                    </tr>
                @endforelse
            </x-table>
        </x-cards.data>
    </div>
    <!-- EMP DASHBOARD BIRTHDAY END -->
@endif

VaKeR 2022