@extends('layouts.admin') @section('header-content') @endsection @section('content')
Filter @if( Auth::user()->can('modify_targets')) @endif
Sale officers Targets
@if(!empty($so_targets[0]))
@if( Auth::user()->can('modify_targets')) @endif @foreach($so_targets as $key=>$so_target) @if( Auth::user()->can('modify_targets')) @endif @endforeach
# Sale Officer Date Target TypeAction
{{$key+1}} @if(isset($so_target->user->firstname)) {{$so_target->user->firstname.' '.$so_target->user->lastname}} @endif {{$so_target->date}} @if($so_target->productwise) Productwise, @endif @if($so_target->customer_add) Customer Add, @endif @if($so_target->customer_visit) Customer Visit, @endif
{!! method_field('DELETE') !!} {!! csrf_field() !!}

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

No Records Found

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