@extends('layouts.master') @section('content')
{{ $title }}
@if(isset($error) || session('error'))
{{ $error ?? session('error') }}
@endif
{{ strtoupper($pamEarnDef->short_description)}} EARNING DEFINITION
@csrf
@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 === 'fixed') @elseif($pamEarnDef->mode_of_calculation === 'percentage') @elseif($pamEarnDef->mode_of_calculation === 'formular') @endif @error('figure_input')
{{ $message }}
@enderror
@endif
@endif
can_prorata == 1 ? 'checked' : '' }} />
INSTRUCTIONS
  • Type of the Earning. This refers to the category or type of the earning, such as "Overtime Pay", "Leave Commutation", etc.
  • Group of the Earning. Grouping earnings helps organize them for easier management and reporting. Examples of groups include "Taxable", Non Taxable, etc.
  • Code of the Earning. This is a unique identifier for the earning, often used for internal tracking and referencing.
  • General Ledger Code of the Earning. This code corresponds to the general ledger account associated with the earning for accounting purposes.
  • Name of the Earning. Provide a descriptive name for the earning.
  • Description of the Earning. Optionally, provide additional details or information about the earning.
  • Method of Calculation of the Earning. Specify how the earning amount is calculated, such as fixed amount or percentage of basic or gross pay.
  • Value of the Earning. Input the actual amount or rate of the earning.
  • Status of the Earning. Indicate whether the earning is active or inactive.
  • Prorate box if the earning should be prorated based worked days.
  • Close button to remove all data and return to the previous screen.
@endsection