@extends('layouts.master') @section('content')
{{ $title }}
@if(isset($error) || session('error'))
{{ $error ?? session('error') }}
@endif
{{ strtoupper($pamEarnDef->short_description)}} EARNING DEFINITION
@csrf @method('PUT')
@error('earn_type_id')
{{ $message }}
@enderror
@error('earn_group_id')
{{ $message }}
@enderror
@error('code')
{{ $message }}
@enderror
@error('general_ledger_code')
{{ $message }}
@enderror
@error('short_description')
{{ $message }}
@enderror
@error('long_description')
{{ $message }}
@enderror
@if($pamEarnDef->pamEarnType->code == 'OVERTIME')
@error('rate_figure_input')
{{ $message }}
@enderror
@else
@if($pamEarnDef->pamEarnType->code != 'BASIC')
@if($pamEarnDef->mode_of_calculation === 'percentage') @else @endif @error('figure_input')
{{ $message }}
@enderror
can_prorata == 1 ? 'checked' : '' }}> @error('can_prorata')
{{ $message }}
@enderror
@endif
@endif
INSTRUCTIONS
  • Fields marked with * are required.
  • Change the Group of the Earning. Grouping earnings helps organize them for easier management and reporting. Examples of groups include "Taxable", Non Taxable, etc.
  • Change the General Ledger Code of the Earning. This code corresponds to the general ledger account associated with the earning for accounting purposes.
  • Change the Name of the Earning. Provide a descriptive name for the earning.
  • Change the Description of the Earning. Optionally, provide additional details or information about the earning.
  • Choose the Method of Calculation of the Earning. Specify how the earning amount is calculated, such as fixed amount or percentage of basic pay.
  • Change the Value of the Earning. Input the actual amount or rate of the earning.
  • Choose the Status of the Earning. Indicate whether the earning is active or inactive.
  • Tick the Prorate box if the earning should be prorated based on worked days.
  • Click the Submit button to add the Earning.
  • Click the Close button to remove all data and return to the previous screen.
@endsection @section('scripts') @endsection