@extends('admin.layout.master') @section('content')
@if(Session::has('success'))

{{ Session::get('success') }}

@endif @if(Session::has('errors'))

{{ Session::get('errors') }}

@endif

Circle Management List

@foreach($circle as $key=>$val) @endforeach
# Circle
Code
Target
Achive
Round
Set
Periodecaly
Of Round
Engaged
Users
No Of
Round
Current
Round
Start
Date
Status
{{$key+1}} {{$val->circle_code}} {{$val->target_achive}} {{$val->round_set}} {{$val->p_round}} @foreach($val->getUsers as $key=>$value) {{ucfirst($value->username)}}
@endforeach
{{$val->estimate_round}} @if($val->completed_round == $val->estimate_round){{$val->estimate_round}} @else{{($val->completed_round + 1)}}@endif {{$val->start_date}} @if($val->status == 0)

Waiting

@elseif($val->status == 1)

On-Going

@elseif($val->status == 2)

Block

@elseif($val->status == 3)

Suspend

@elseif($val->status == 4)

Rejected

@elseif($val->status == 6)

Settled

@else

Completed

@endif
@if($val->usercount == 0) @if($val->status==0 || $val->status==1 && $val->estimate_round!=$val->completed_round) @endif @if($val->estimate_round!=$val->completed_round && $val->status != 3) @endif @else @endif
@endsection @section('scripts') @endsection