@extends('layout.app') @section('title') Generate Payslip @endsection @section('pagetitle') Generate Payslip @endsection @section('content')
@include('includes.errors') @include('includes.success')
Payment Period
Payments
@if (!empty($_GET['filter']) && $_GET['filter'] == true)
@csrf
@foreach ($pstrus as $item) @endforeach
Sn Name Basic Gross Pay Total Deduction Net Pay
{{$i+1}} {{!empty($item->payroll) ? $item->payroll->employee_name : "N/A"}} {{number_format($item->basic,2)}} {{number_format($item->gross_pay,2)}} {{number_format($item->deduction,2)}} {{number_format($item->net_pay,2)}}
@else
Please select parameters and click the show record button
@endif
@endsection @section('scripts') @endsection