@extends('layouts.app') @section('title', 'Generate Payroll') @section('content')
Generate Payroll
@csrf
{{-- Period Selection --}}
Payroll Period
@error('period_year')
{{ $message }}
@enderror
@error('period_month')
{{ $message }}
@enderror
{{-- Employee Selection --}}
Select Employees
Information
About Payroll Generation

This process will automatically calculate payroll for the selected employees based on:

  • Basic salary from employee contract
  • Allowances/benefits
  • Overtime pay (if any)
  • Attendance deductions (late & absent)
  • Leave deductions
  • BPJS contributions
  • PPh21 tax calculation
Important:
  • Payroll will be created in Draft status
  • Review and approve before marking as paid
  • Cannot generate duplicate payroll for same period
Tip: Ensure all attendance records, leave requests, and overtime are properly recorded before generating payroll.
@push('scripts') @endpush @endsection