@extends('layout.app') @section('title') Manage Payroll @endsection @section('pagetitle') Manage Payroll @endsection @section('content')
@include('includes.errors') @include('includes.success')
@foreach ($payrolls as $item) @endforeach
Employee Name Email Designation Payment Method Bank Net Pay
{{ucwords($item->employee_name)}} {{$item->email}} {{ucwords($item->designation)}} {{ucwords($item->payment_method)}} {{ucwords($item->bank_name)}} @foreach ($item->payment_structures as $netpy) {{number_format($netpy->net_pay,2)}} @endforeach
@endsection @section('scripts') @endsection