@extends('layouts.master') @section('content')
{{ $title }}
Edit an earning linked to a payroll.
@if(isset($error) || session('error'))
{{ $error ?? session('error') }}
@endif
@canany('Manage payroll earning definitions') @endcanany
{{ strtoupper($pamPayEarnDef->short_description)}} EARNING DEFINITION FOR {{$pamPayEarnDef->pamPayroll->short_description}}
@csrf @method('PUT')
@error('earn_def_id')
{{ $message }}
@enderror
@if($pamPayEarnDef->pamEarnDef->pamEarnType->code !='OVERTIME' && $pamPayEarnDef->pamEarnDef->pamEarnType->code !='BASIC')
@if($pamPayEarnDef->mode_of_calculation === 'percentage') @else @endif @error('figure_input')
{{ $message }}
@enderror
@else @endif
@if(isset($error) || session('error'))
{{ $error ?? session('error') }}
@endif

Instructions

  • Use this form to edit {{$pamPayEarnDef->short_description}} earning.
  • Fields marked with * are required.
  • Click the Save button to add the record.
  • Click the Cancel button to return to the Payroll list.
@endsection @section('scripts') @endsection