@extends('layouts.template.main') @section('content')
Danh sách bảng lương
@if (session('success'))
{{ session('success') }}
@endif
@if (auth()->user()->hasRole('admin') || auth()->user()->hasRole('hr')) Quy trình tính lương @endif
@if (auth()->user()->hasRole('admin') || auth()->user()->hasRole('hr'))
@endif
Xóa
@forelse ($payrolls as $payroll) @empty @endforelse
Nhân viên Lương cơ bản Phụ cấp Thu nhập khác Tiền OT Tiền phạt Các khoản khấu trừ Ngày thực tập Ngày thử việc Ngày đi làm Ngày nghỉ Nghỉ có phép (Được lương) Lương thực tập Lương thử việc Lương chính thức Lương nhận được Thao tác
{{ $payroll->employee->name }} {{ number_format($payroll->basic_salary, 0) }} {{ number_format($payroll->allowances, 0) }} {{ number_format($payroll->other_income, 0) }} {{ number_format($payroll->ot_amount, 0) }} {{ number_format($payroll->penalty_amount, 0) }} {{ number_format($payroll->deductions, 0) }} {{ (float)$payroll->present_days }} {{ (float)$payroll->absent_days }} {{ (float)($payroll->approved_leave_days ?? 0) }} {{ number_format($payroll->net_salary, 0) }}

Không có dữ liệu bảng lương

Hiển thị {{ $payrolls->firstItem() ?? 0 }} đến {{ $payrolls->lastItem() ?? 0 }} trong tổng số {{ $payrolls->total() }} bản ghi
{{ $payrolls->links() }}
@endsection @push('styles') @endpush @push('scripts') @endpush