@extends('dashboard.admin.layouts.master') @section('content')

Create Payroll Posting Profile

@csrf

Profile Details

@error('code')
{{ $message }}
@enderror
@error('name.ar')
{{ $message }}
@enderror
@error('name.en')
{{ $message }}
@enderror
@php $accountFields = [ 'basic_salary_account_id' => 'Basic Salary Account', 'allowance_account_id' => 'Allowance Account', 'earning_account_id' => 'Earning Account', 'deduction_account_id' => 'Deduction Account', 'payroll_payable_account_id' => 'Payroll Payable Account', 'loan_receivable_account_id' => 'Loan Receivable Account', 'eos_account_id' => 'EOS Account', 'bank_cash_account_id' => 'Bank / Cash Account', ]; @endphp @foreach($accountFields as $field => $label)
@error($field)
{{ $message }}
@enderror
@endforeach
@endsection @section('js') {!! JsValidator::formRequest('App\Http\Requests\Admin\HR\Setup\StorePayrollPostingProfileRequest', '#PayrollPostingProfileForm') !!} @endsection