@php
$i = $data->currentPage() * $data->perPage();
$j = $i - 19;
@endphp
@foreach ($data as $franData)
{{ $j }} |
{{ $franData->franchisor_id }} |
{{ isset($franData->franchisor) ? $franData->franchisor->company_name : '' }}
|
{{ $franData->executive_name }} |
{{ isset($franData->executiveName) ? $franData->executiveName->emp_name : '' }}
|
{{ $franData->amount }} |
{{ $franData->amount == 0 ? 'FIBL' : 'FIHL' }} |
{{ $franData->start_date }} |
{{ $franData->end_date }} |
|
@php
$j = ++$j;
@endphp
@endforeach