@extends('layouts.admin') @section('header-content') @endsection @section('content')
Filter @if( Auth::user()->can('modify_targets')) @endif
Sales & Recovery Target
@if(!empty($targets[0]))
@if( Auth::user()->can('modify_targets')) @endif @foreach($targets as $key=>$target) @if( Auth::user()->can('modify_targets')) @endif @endforeach
# Regional Sales Manager Start Date (Year-month) End Date (Year-month) Sales Target Recovery TargetAction
{{$key+1}} @if(isset($target->rsm->firstname)) {{$target->rsm->firstname.' '.$target->rsm->lastname}} @endif {{$target->date_start}} {{$target->date_end}} {{$target->sales_target}} {{$target->recovery_target}}
{!! method_field('DELETE') !!} {!! csrf_field() !!}

{{ $targets->links() }}
@else

No Records Found

@endif
@endsection @section('footer-content') @endsection