@extends('layouts.master') @section('title','Tadas') @section('action','Tada Listing') @section('button') @can('create_tada') @endcan @endsection @section('main-content')
@include('admin.section.flash_message')

@include('admin.tada.common.breadcrumb')
@canany(['show_tada_detail','edit_tada','delete_tada']) @endcanany @forelse($tadaLists as $key => $value) @if($value->employeeDetail) @canany(['show_tada_detail','edit_tada','delete_tada']) @endcanany @endif @empty @endforelse
# Employee Title Expense(Rs.) Status Is Settled? Submitted DateAction
{{(($tadaLists->currentPage()- 1 ) * $tadaLists->perPage() + (++$key))}} {{($value->employeeDetail->name)}} {{ ucfirst(\Illuminate\Support\Str::limit($value->title, 30, $end='...')) }} {{number_format($value->total_expense)}} @if($value->status == 'accepted') {{ucfirst($value->status)}} @else {{ucfirst($value->status)}} @endif {{ \App\Helpers\AppHelper::formatDateForView($value->created_at)}}
    @can('edit_tada')
  • @endcan @can('show_tada_detail')
  • @endcan @can('delete_tada')
  • @endcan

No records found!

{{$tadaLists->appends($_GET)->links()}}
@include('admin.tada.update_status_form') @endsection @section('scripts') @include('admin.tada.common.scripts') @endsection