@extends('layouts/contentLayoutMaster')
@section('title', ' Pending Targets List')
@section('vendor-style')
{{-- vendor css files --}}
@endsection
@section('content')
Targets
{{ $WorkFlowApproval->status == 1 ? 'Approved' : ($WorkFlowApproval->status == 3 ? 'Rejected' : ($WorkFlowApproval->status == 4 ? 'Reverted' : 'Pending')) }}
Type : {!! $badgeHtml !!}
From : {{$target->from ? $target->from : ''}}
To : {{ $target->to ? $target->to : '' }}
{{--
Created By : {{$target->createdBy ? $target->createdBy->name : ''}}
--}}
@foreach ($targetDetails as $tar)
Plant
AO
CP
Source Type
Employee
Target (Vol)
Target (Price)
Actual (Vol)
Actual (Price)
@endforeach
{{ $tar->plantText ?? '' }}
{{ $tar->area_office_text ?? '' }}
{{ $tar->collection_point_text ?? '' }}
{{ $tar->source_type_text ?? '' }}
{{ $tar->employee_text ?? '' }}
{{ $tar->volume ?? '' }}
{{ $tar->rate ?? '' }}
{{ $tar->total_ts_volume ?? '' }}
{{ $tar->final_rate ?? '' }}
@endif
{{ $target->type ? $target->type : '' }}
@foreach ($groupedData as $key => $tar)
Type
Target (Vol)
Target (Price)
Actual (Vol)
Actual (Price)
@endforeach
{{ $tar['source_type_text'] ? $tar['source_type_text'] : '' }}
{{ $tar['tar_total_ts_volume'] ? $tar['tar_total_ts_volume'] : '' }}
{{ $tar['tar_final_rate'] ? $tar['tar_final_rate'] : '' }}
{{ $tar['ach_total_ts_volume'] ? $tar['ach_total_ts_volume'] : '' }}
{{ $tar['ach_final_rate'] ? $tar['ach_final_rate'] : '' }}
@if ($target->type == 'mcc_source_type' || $target->type == 'source_type')
@else
Total
@endif
{{ $target->type ? $target->type : '' }}
@foreach ($finalObj as $key => $tar)
Target (Vol)
Target (Price)
Actual (Vol)
Actual (Price)
@endforeach
{{ $tar['temp_total_ts_volume'] ? $tar['temp_total_ts_volume'] : '' }}
{{ $tar['temp_final_rate'] ? $tar['temp_final_rate'] : '' }}
{{ $tar['grand_total_ts_volume'] ? $tar['grand_total_ts_volume'] : '' }}
{{ $tar['grand_final_rate'] ? $tar['grand_final_rate'] : '' }}