@extends('layouts.app') @section('content') @if (session('message'))
{{ session('message') }}
@endif @if (session('success'))
{{ session('success') }}
@endif
{!! csrf_field() !!}
@if ($errors->has('location')) {{ $errors->first('location') }} @endif
@if ($errors->has('insurer')) {{ $errors->first('insurer') }} @endif
@if ($errors->has('policy-from')) {{ $errors->first('policy-from') }} @endif
@if ($errors->has('policy-to')) {{ $errors->first('policy-to') }} @endif
DataTables Example
@foreach($series as $ser) @endforeach
Location Insurer Policy From Policy To Total No. of Policies Used Available Action
{{ $ser->location_name }} {{ $ser->insurer }} {{ $ser->policy_from }} {{ $ser->policy_to }} {{ $ser->total }} {{ $ser->used }} {{ $ser->available }} @if($ser->status!='') {{ $ser->status }} @else Tag as Current @endif
@endsection