@extends('layout.app') @section('title') Payroll Structure @endsection @section('pagetitle') Payroll Structure @endsection @section('content')
@include('includes.errors') @include('includes.success')

@csrf {{--
--}}
@foreach ($paddit as $item) @endforeach @foreach ($pdeduc as $item) @endforeach
Name{{$item->name}}Gross Pay{{$item->name}}Total Deduction Net Pay


Payment Structure Records: {{count($pstrus)}}
@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)}} Edit
@endsection @section('scripts') @endsection