@extends('layouts/pos_layout') @section('title', '| Incentive Configuration Details') @section('content')
Incentive Configuration Details
{!! Form::label('Type', 'Type:', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('type', $incentiveConfig->type, ['class' => 'form-control', 'id' => 'type', 'type' => 'text', 'readonly' => true]) !!}


{!! Form::label('Effect Date', 'Effect Date:', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('valid_from', date('d-m-Y', strtotime($incentiveConfig->valid_from)), ['class' => 'form-control', 'id' => 'valid_from', 'type' => 'text', 'readonly' => true]) !!}


@if($incentiveConfig) @foreach($incentiveConfig->incentiveConfigDetail as $record) @endforeach @endif
Incentive Step Employee Incentive (Percentage)
{{ $record->incentiveStep->name }} {{ ($record->employee_id == 0) ? 'All' : (($record->employee) ? $record->employee->emp_id.' - '.$record->employee->name : 'N/A') }} {{ $record->incentive }}
@endsection