@extends('layouts.app') @push('css') @endpush @section('content')
# | Period | Employee Count | Gross Pay | Gross Deduction | Net Pay | Status | Action |
---|---|---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $period->period_date }} | {{ $period->payslips_count }} | {{ number_format($period->gross_pay,2) }} | {{ number_format($period->gross_deduction,2) }} | {{ number_format($period->net_pay,2) }} | {!! $period->status == 1 ? label("Pending","default") : ( $period->status == 2 ? label("Approved","primary") : label("Closed","success") ) !!} |
|