@use('App\Services\Date') @extends('companyuser::layouts.master') @section('title', __('hr::payroll.show_payroll')) @section('extra-styles') @endsection @section('breadcrumb') @endsection @section('content')
@can('hr.payroll.view') @can('hr.payroll.export') @endcan @if(LaravelLocalization::getCurrentLocale() === 'en') @else @endif @endcan
@include('companyuser::errors.lists') @include('companyuser::errors.all')
{{__('hr::payroll.Date')}}
{{ Date::format($payrollEntry->date)}}
{{__('hr::payroll.targeted month')}}
{{$payrollEntry->month . "-" . $payrollEntry->year}}
{{__('sales::invoices.Payment Account')}}
{{$payrollEntry->paymentAccount->name ?? ''}}
{{--
--}}
@foreach($payrollEntryDetails as $record) @endforeach
@lang('hr::payroll.employee name') @lang('hr::payroll.description') @lang('hr::payroll.salary')
{{ $record->employee->name }} {{ $record->description }} {{ number_format($record->salary_amount,2,".",",") }}
@lang('sales::invoices.total_amount') {{ number_format($payrollEntryDetails->sum('salary_amount'),2,".",",") }} {!! __('settings::currencies.SAR') !!}
@endsection @section('extra_scripts') @endsection