@extends('admin.layouts.master') @section('content')
All Contractor List
@if(session('success'))
{{session('success')}}
@elseif(session('warning'))
{{session('warning')}}
@elseif(session('danger'))
{{session('danger')}}
@endif @if($errors->any()) {!! implode('', $errors->all("
:message
")) !!} @endif
All Contractors
{{-- --}}
{{-- --}} @can('create',"App\Models\Users\Contractor") Add New @endcan @can('import',"App\Models\Users\Contractor")
@csrf
@endcan
@can('export',"App\Models\Users\Contractor") Sample Sheet Update Sample Sheet @endcan {{-- Tools --}} {{-- --}}
{{-- --}} @php $setting=App\Models\Setting::first(); //dd($setting) @endphp @foreach ($contractor as $contractors) {{-- --}} {{-- --}} {{-- --}} @endforeach
ID Name Public Holiday Pay Sat Pay Sun Pay Action
{{$contractors->id}} {{$contractors->name}}{{$contractors->public_holiday_pay}} {{$contractors->sat_pay}} {{$contractors->sun_pay}}{{$contractors->pay}} {{$contractors->pay_type}} @can('update',"App\Models\Users\Contractor") @endcan @can('delete',"App\Models\Users\Contractor") @endcan
@endsection @section('script') @endsection