@foreach ($list as $li) @if($li->rate_type == 'fixed') @else @endif @endforeach
Consultant Vendor Company Vendor Payrate - Reg Vendor Payrate - OT Payrate Type From Hours To Hours From Date To Date Consultant Payrate - Reg Consultant Payrate - OT Employer Payrate - Reg Employer Payrate - OT
{{ $li->consultant?->name }} {{ $li->vendor?->name }} {{ $li->vendor_payrate_reg }} {{ $li->vendor_payrate_ot }} {{ $li->rate_type }} {{ $li->from }} {{ $li->to }} {{ Carbon\Carbon::parse($li->from_date)->format($date_format) }} {{ Carbon\Carbon::parse($li->to_date)->format($date_format) }}{{ $li->reg_rate }} {{ $li->ot_rate }} {{ $li->percent_reg }} {{ ($li->consultant_percentage_reg != '')?'('.$li->consultant_percentage_reg.'%)':'' }} {{ $li->percent_ot }} {{ ($li->consultant_percentage_ot != '')?'('.$li->consultant_percentage_ot.'%)':'' }} {{ $li->company_payrate_reg }} {{ ($li->company_payrate_reg != '')?'('.$li->company_percentage_reg.'%)':'' }} {{ $li->company_payrate_ot }} {{ ($li->company_payrate_reg != '')?'('.$li->company_percentage_ot.'%)':'' }}