@extends('layouts.app') @section('style') @endsection @section('content')
@if ($errors->has('mode_of_payment'))
{{ $errors->first('mode_of_payment') }}
@endif
@if ($errors->has('location'))
{{ $errors->first('location') }}
@endif
@if(count($loans) > 0)

Loans

@foreach ($loans as $loan) @endforeach
Action Name Amount
{{ $loan->type }} {{ $loan->deduction_rate }}
@endif

Deductions

@foreach ($deductions as $deduction) @if($deduction->type != 0) @endif @endforeach
Action Name Amount
{{ $deduction->name }} {{ $deduction->deduction_rate }}

Adjustments

@foreach ($adjustments as $adjustment) @endforeach
Action Name Amount
{{ $adjustment->label }} {{ $adjustment->amount }}

Contracts

@if ($errors->has('differential'))
{{ $errors->first('differential') }}
@endif
@if ($errors->has('incentive'))
{{ $errors->first('incentive') }}
@endif
@if ($errors->has('uniform'))
{{ $errors->first('uniform') }}
@endif
@if ($errors->has('overtime'))
{{ $errors->first('overtime') }}
@endif
@if ($errors->has('sss_contribution'))
{{ $errors->first('sss_contribution') }}
@endif
@if ($errors->has('philhealth_contribution'))
{{ $errors->first('philhealth_contribution') }}
@endif
@if ($errors->has('pag_ibig_contribution'))
{{ $errors->first('pag_ibig_contribution') }}
@endif
@if ($errors->has('retirement_benefit'))
{{ $errors->first('retirement_benefit') }}
@endif
@if ($errors->has('thirteenth_month'))
{{ $errors->first('thirteenth_month') }}
@endif
@section('script') @endsection @endsection