@extends('layouts.main') @section('page-title') {{ __('Manage Employee Salary') }} @endsection @section('page-breadcrumb') {{ __('Employee Salary') }} @endsection @section('page-action')
@endsection @section('content')
@if (Gate::check('setsalary edit')) @endif @foreach ($employees as $employee) @endif @endforeach
{{ __('Employee Id') }} {{ __('Name') }} {{ __('Payroll Type') }} {{ __('Salary') }} {{ __('Net Salary') }}{{ __('Action') }}
@if (Gate::check('setsalary show')) {{ Modules\Hrm\Entities\Employee::employeeIdFormat($employee->employee_id) }} @else {{ Modules\Hrm\Entities\Employee::employeeIdFormat($employee->employee_id) }} @endif {{ $employee->name }} {{ !empty($employee->salary_type()) ? ($employee->salary_type()) ?? '' : '' }} {{ currency_format($employee->salary) }} {{ !empty($employee->get_net_salary()) ? currency_format($employee->get_net_salary()) : '' }} @if (Gate::check('setsalary edit')) @can('setsalary edit') @endcan
@endsection