| {{ $employee->name }} |
@foreach ($months as $keyMonth=>$month)
{{ __('targets.months_short.'.$month) }} - {{ $year }} |
Product |
Contribution |
@endforeach
@foreach ($products as $keyProduct=>$product)
@foreach ($months as $month)
| {{ $product->title }} |
{{ number_format($product->percentAcheived($year,$month,$employee->id),2) }}% |
@endforeach
@endforeach
| Product |
AB FY {{ $year }} |
@foreach ($months as $month)
AB (AED) |
REA (AED) |
Achieved % |
@endforeach
@foreach ($products as $product)
| {{ $product->title }} |
{{ number_format ($product->targetYear($year,$employee->id) , 2) }} |
@foreach ($months as $month)
@php
$target = $product->targetEmp($year,$month ,$employee->id);
$sales = $product->salesEmp($year,$month,$employee->id);
@endphp
{{ number_format($target,2) }} |
{{ number_format($sales,2) }} |
{{ number_format($target == 0 & $sales == 0 ? 0 : ($sales != 0 && $target == 0 ? 100 : ($sales / $target) * 100) , 2) }}% |
@endforeach
@endforeach
| Total Sales |
{{ number_format($employee->totalSales($year),2) }} |
@foreach ($months as $month)
@php
$target = $employee->targetEmp($year,$month);
$sales = $employee->salesEmp($year,$month);
@endphp
{{ number_format($target,2) }} |
{{ number_format($sales,2) }} |
{{ number_format($target == 0 & $sales == 0 ? 0 : ($sales != 0 && $target == 0 ? 100 : ($sales / $target) * 100) , 2) }}% |
@endforeach