Manage Company
{!! session()->get('success') !!}
{!! session()->get('error') !!}
Manage Company
| Sr No. | Company Name | Company Phone | Project Count | Admin Count | Member Count | Status | Action |
|---|---|---|---|---|---|---|---|
| {{$i}} | {{ $user->company_name }} | {{ $user->company_phone }} | {{ $user->projects->where('is_deleted', 0)->count() }} | {{ $user->admin->count()}} | {{ $user->member->count()}} | @if(date('Y-m-d',strtotime($user->subsEnd)) >= date('Y-m-d')) Active @else Expired @endif |
Edit
Active
@if(date('Y-m-d',strtotime($user->trialEnd)) >= date('Y-m-d'))
Trial
@endif
Merge
Pay
@if(date('Y-m-d',strtotime($user->subsEnd)) < date('Y-m-d'))
{!! Form::open(['method' => 'DELETE','route' => ['users.destroy', $user->id],'style'=>'display:inline']) !!}
{!! Form::button('Delete', ['class' => 'btn btn-xs btn-danger','data-toggle'=>'confirmation','data-placement'=>'left']) !!}
{!! Form::close() !!}
@endif
|
{{$users->appends(request()->input())->links() }}