@extends('layouts.master') @section('title',__('index.time_leave_request')) @section('action',__('index.create')) @section('main-content') @include('admin.section.flash_message') @include('admin.leaveRequest.common.breadcrumb') {{-- --}} {{-- @include('admin.leaveRequest.common.leave_menu')--}} {{-- --}} {{-- --}} @csrf @if(!isset(auth()->user()->branch_id)) {{ __('index.branch') }} * {{ __('index.select_branch') }} @if(isset($companyDetail)) @foreach($companyDetail->branches()->get() as $key => $branch) branch_id ) == $branch->id) || (isset(auth()->user()->branch_id) && auth()->user()->branch_id == $branch->id)) ? 'selected': '' }}> {{ucfirst($branch->name)}} @endforeach @endif @endif {{ __('index.department') }} * {{ __('index.select_department') }} {{__('index.requested_for')}}* {{__('index.select_employee')}} @if(\App\Helpers\AppHelper::ifDateInBsEnabled()) {{__('index.leave_date')}} * @else {{__('index.leave_date')}}* @endif {{__('index.from')}} * {{__('index.to')}} {{__('index.reason')}}* {{ old('reasons') }} {{__('index.submit')}} {{-- --}} @endsection @section('scripts') @endsection