Edit Cost Control Information Cost Control
@csrf @method('put') @php $previousKraId = []; $previousKpiId = []; @endphp @foreach ($cost_control as $cost_control) @if (!in_array($cost_control->kra_id, $previousKraId)) @php array_push($previousKraId, $cost_control->kra_id); @endphp @else @endif @if (!in_array($cost_control->kpi_id, $previousKpiId)) @php array_push($previousKpiId, $cost_control->kpi_id); @endphp @else @endif @endforeach
Cost Control Monthly Data Edit
Department KRA KPI Buyers Amount / Values %
{{ $cost_control->department->name }} {{ $cost_control->kra->name }} {{ $cost_control->kpi->name }} {{ $cost_control->buyer->name }}
Save