<?php

namespace App\Helper;

use HF;
use EF;


class HrHelper 

{

   /**

     * Get the registered name of the component.

     *

     * @return string

     */

    public function getFacadeAccessor()
    {

        return 'hr';

    }

  public function getHrAccountList()
  {
      return [

            'LR'        =>    '5',    // LR      => LOAN RECEIVABLE
            'IFL'       =>    '4',    // IFL     => INCOME FROM LOAN
            'ES'        =>    '3',    // ES      => EMPLOYEE SALARY
            'CIH'       =>    '1',    // CIH     => CASH IN HAND 
            'LRA'       =>    '6',    // LRA     => LOAN RETURN ACCOUNT
            // 'LTLFE'     =>    '10',   // LTLFE   => LIABILITY FROM EXPENSE (LONG TERM)
            // 'STLFE'     =>    '11',   // STLFE   => LIABILITY FROM EXPENSE (SHOT TERM)
      ];

  }

  public function getHrHeadList()
  {
      return [

              'IP'        =>    '8',     //IP      => INVENTORY PURCHASES'
              'IE'        =>    '11',    //IP      => INVENTORY EXPENSE'

             
        ];
  }


   public function getHrSalaryConfiguration()
   {


        return  [

                'Salary Debit Head'                  =>  '6',
                'Salary Debit SubHead'               =>  '5',
                'Cash Salary Credit Head'            =>  '4',
                'Cash Salary Credit SubHead'         =>  '3',
                'Loan Installment Credit Head'       =>  '5',
                'Loan Installment Credit SubHead'    =>  '7',
                'Loan Installment Debit Head'        =>  '5',
                'Loan Installment Debit SubHead'     =>  '8',

                      
        ];


   }

   public function getLoanApproveConfiguration()
   {

      return 
      [
            'Cash Loan Credit Head'        =>   '4',
            'Cash Loan Credit SubHead'     =>   '3',
            'Loan Debit Head'              =>   '5',
            'Loan Debit SubHead'           =>   '7',
            'Interest Debit Head'          =>   '5',
            'Interest Debit SubHead'       =>   '7',
            'Interest Credit Head'         =>   '7',
            'Interest Credit SubHead'      =>   '6',



      ];
   }
   
}
