@extends('layouts/marketing_layout') @section('title', '| Add KPI') @section('content')
View Key Performance Indicator (KPI)

{!! Form::label('designation', 'KPI For Designation:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('designation',$marketingKpi['designation']['name'], ['class' => 'form-control', 'id' => 'effectiveDate','readonly' => 'readonly']) !!}
{!! Form::label('effectiveDate', 'Effective Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('effectiveDate',$marketingKpi->effectiveDate, ['class' => 'form-control', 'id' => 'effectiveDate','readonly' => 'readonly']) !!}





KPI :


{!! Form::label('totalPoints', 'Total Points:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('totalPoints', $value = 100, ['class' => 'form-control', 'id' => 'totalPoints', 'type' => 'text', 'readonly' ]) !!}




@php $criteriaNameDecode = json_decode($marketingKpi->criteriaName); $points = json_decode($marketingKpi->points); $measurementUnit = json_decode($marketingKpi->measurementUnit); @endphp @foreach($criteriaNameDecode as $key => $criteriaName) @endforeach
SL# Criteria Name Points Measurement Unit
{{ ++$no }} {{$criteriaName}} {{$points[$key]}} {{$measurementUnit[$key]}}

@endsection