@extends('layouts.template.main') @section('content') Danh sách bảng lương 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 Tính lương toàn bộ @endif Ẩn/Hiện cột Phụ cấp Thu nhập khác Tiền OT Tiền phạt Khấu trừ Ngày thực tập Ngày thử việc Ngày chính thứ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 Tháng @if (auth()->user()->hasRole('admin') || auth()->user()->hasRole('hr')) Nhân viên -- Tất cả nhân viên -- @foreach($employees as $emp) id ? 'selected' : '' }}> {{ $emp->name }} @endforeach @endif Lọc Xóa 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 chính thứ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 @forelse ($payrolls as $payroll) {{ $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) }} {{ $payroll->intern_days }} {{ $payroll->probation_days }} {{ (float)$payroll->official_days }} {{ (float)$payroll->present_days }} {{ (float)$payroll->absent_days }} {{ (float)($payroll->approved_leave_days ?? 0) }} {{ number_format($payroll->intern_salary, 0) }} {{ number_format($payroll->probation_salary, 0) }} {{ number_format($payroll->official_salary, 0) }} {{ number_format($payroll->net_salary, 0) }} @empty Không có dữ liệu bảng lương @endforelse Hiển thị {{ $payrolls->firstItem() ?? 0 }} đến {{ $payrolls->lastItem() ?? 0 }} trong tổng số {{ $payrolls->total() }} bản ghi {{ $payrolls->links() }}
Không có dữ liệu bảng lương
Đang tải dữ liệu...