@extends('employer.layouts.app') @section('content') {{-- @component('employer.layouts.partials.breadcrumbs', ['breadcrumbs' => $breadcrumbs]) @endcomponent --}}
Plan | Range | Date | Active Employees | Rate Per Employee | Rate Per Month | Total Amount | Status | Invoice | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$plan->plan->plan}} | {{$plan->plan->range_from}} to {{$plan->plan->range_to}} people | @if(!is_null($plan->date)) {{\Carbon\Carbon::parse($plan->date)->format('d-m-Y') }} @else No data @endif | {{$plan->active_employees}} | ${{$plan->plan->rate_per_employee}} | ${{$plan->plan->rate_per_month}} | ${{$plan->amount}} | {{--{{ optional($plan)->status == '0' ? 'Pending' : 'Paid' }} | --}}{{ optional($plan)->status == '0' ? 'Pending' : (optional($plan)->status == '1' ? 'Paid' : 'Overdue') }} | {{--@if($plan->status == 0 || $plan->status==2) @endif | --}}@if($plan->status == 0 || $plan->status==2) Pay Now @endif | View |