| Job # | Homeowner | Phase 1 Completed | Phase 2 Completed | # Days | Salesperson/Supervisor |
|---|---|---|---|---|---|
| {{$res->id}} | {{$res->FirstName}} {{$res->LastName}} | {{$res->StartPhaseDate}} | {{$res->EndPhaseDate}} | @php $dateDiff = (strtotime($res->EndPhaseDate) - strtotime($res->StartPhaseDate))/3600/24; echo $dateDiff; @endphp | {{$res->SalesSuperName}} |
| TOTAL 42 days or less: | {{$const['S']}} | {{$const['S']/($const['S'] + $const['M'] + $const['L'] + $const['XL']) * 100}}% |
|---|---|---|
| TOTAL 43 - 49 days: | {{$const['M']}} | {{$const['M']/($const['S'] + $const['M'] + $const['L'] + $const['XL']) * 100}}% |
| TOTAL 50 - 56 days: | {{$const['L']}} | {{$const['L']/($const['S'] + $const['M'] + $const['L'] + $const['XL']) * 100}}% |
| TOTAL over 56 days: | {{$const['XL']}} | {{$const['XL']/($const['S'] + $const['M'] + $const['L'] + $const['XL']) * 100}}% |