@extends('layouts.app') @section('content')

Payslip Settings

{{ $company->name }} - Configure payslip layout, content, and distribution settings

Back to Settings
@if(session('success')) @endif
@csrf @method('PUT')
Header & Company Information
@error('payslip_title')
{{ $message }}
@enderror
@error('payslip_template')
{{ $message }}
@enderror
@error('company_address')
{{ $message }}
@enderror
@error('company_phone')
{{ $message }}
@enderror
@error('company_email')
{{ $message }}
@enderror
show_company_logo ? 'checked' : '' }}>
Display company logo in payslip header
show_employee_photo ? 'checked' : '' }}>
Display employee photo if available
Payslip Content Sections
show_bank_details ? 'checked' : '' }}>
show_attendance_summary ? 'checked' : '' }}>
show_leave_balance ? 'checked' : '' }}>
show_overtime_details ? 'checked' : '' }}>
show_statutory_contributions ? 'checked' : '' }}>
show_tax_details ? 'checked' : '' }}>
show_ytd_summary ? 'checked' : '' }}>
Malaysian Statutory Information
show_epf_number ? 'checked' : '' }}>
show_socso_number ? 'checked' : '' }}>
show_income_tax_number ? 'checked' : '' }}>
show_statutory_rates ? 'checked' : '' }}>
Footer & Signatures
@error('payslip_footer_text')
{{ $message }}
@enderror
show_company_seal ? 'checked' : '' }}>
show_hr_signature ? 'checked' : '' }}>
@error('hr_signature_name')
{{ $message }}
@enderror
@error('hr_signature_title')
{{ $message }}
@enderror
Security & Email Distribution
payslip_password_protected ? 'checked' : '' }}>
@error('payslip_password_type')
{{ $message }}
@enderror
auto_email_payslips ? 'checked' : '' }}>
Automatically email payslips to employees
@error('payslip_email_subject')
{{ $message }}
@enderror Use [MONTH] and [YEAR] placeholders
@error('payslip_email_body')
{{ $message }}
@enderror Available placeholders: [EMPLOYEE_NAME], [MONTH], [YEAR], [COMPANY_NAME]
Cancel
Template Preview
PAYSLIP
{{ $company->name }}

Employee: John Doe
Period: Dec 2023
Employee ID: EMP001
Basic: RM3,000.00

Net Pay: RM2,856.00
Template Options
Malaysian Payslip Standards
Required Information:
  • Employee details and employment period
  • Basic salary and allowances breakdown
  • EPF, SOCSO, EIS contributions
  • Income tax deductions if applicable
Best Practices:
  • Clear and professional layout
  • Year-to-date accumulation
  • Statutory contribution numbers
  • Secure PDF protection
Security:
  • Password protect sensitive payslips
  • Controlled email distribution
  • Audit trail for access
@push('scripts') @endpush @endsection