@extends('layouts.master') @section('content')

Plantation list Welcome to TOF

Plantation List

@if ($message = Session::get('success'))

{{ $message }}

@endif @if ($message = Session::get('failed'))

{{ $message }}

@endif
@if(!empty($plantationList) && $plantationList->count()) @foreach($plantationList as $key => $plantation) @endforeach @else @endif @if(!empty($coList) && $coList->count()) @foreach($coList as $key => $co) @endforeach @endif @if(!empty($piece_passing_list) && $piece_passing_list->count()) @foreach($piece_passing_list as $key => $co) @endforeach @endif
Arn No Name Plantation Type Mobile Created Date Assigned To Action
{{ $plantation->arn_no }} {{ $plantation->name_of_pattadar }} {{ $plantation->plantationType->description }} {{ $plantation->mobile_no }} {{ $plantation->created_at->format('d-m-Y') }} {{ $plantation->adminPlantationMap ? $plantation->adminPlantationMap->user->name : "Not Assigned" }} @if(!$plantation->adminPlantationMap) Assign To @endif
No Plantation found!
{{ $co->arnco_no }} {{ $co->name_of_pattadar }} {{ $co->plantationType->plantation_initial_range }} to {{ $plantation->plantationType->plantation_final_range }} KM {{ $co->mobile_no }} {{ $co->created_at->format('d-m-Y') }} {{ $co->adminPlantationMap ? $plantation->adminPlantationMap->user->name : "Not Assigned" }} @if(!$co->adminPlantationMap) Assign To @endif
{{ $co->certificateoforigin->arnco_no }} {{ $co->certificateoforigin->name_of_pattadar }} {{ $co->plantationType->plantation_initial_range }} to {{ $co->plantationType->plantation_final_range }} KM {{ $co->certificateoforigin->mobile_no }} {{ $co->created_at->format('d-m-Y') }} {{ $co->adminPlantationMap ? $plantation->adminPlantationMap->user->name : "Not Assigned" }} @if(!$co->adminPlantationMap) Assign To @endif
{!! $plantationList->links() !!}
@include('layouts.footer')
@endsection