@extends('layouts.app') @section('style') @endsection @section('content')
| No. | Client | WD Rate | WD | Gross Pay | Deductions | Net Pay |
|---|---|---|---|---|---|---|
| {{ $loop->index + 1}} | {{ $payment['company_name'] }} | {{ number_format($payment['rate_wd'], 2) }} | {{ $payment['wd'] }} | {{ number_format($payment['wd_amount'], 2) }} | {{ number_format($payment['deduction'], 2) }} | {{ number_format($payment['net_pay'], 2) }} |
| TOTAL | {{ $payments->sum(['wd']) }} | {{ number_format($payments->sum(['wd_amount']), 2) }} | {{ number_format($payments->sum(['deduction'], 2)) }} | {{ number_format($payments->sum(['net_pay']), 2) }} |
| No. | Client | WD Rate | WD | Gross Pay | Deductions | Net Pay |
|---|---|---|---|---|---|---|
| {{ $loop->index + 1}} | {{ $payment['company_name'] }} | {{ number_format($payment['rate_wd'], 2) }} | {{ $payment['wd'] }} | {{ number_format($payment['wd_amount'], 2) }} | {{ $payment['deduction'] }} | {{ number_format($payment['net_pay'], 2) }} |
| TOTAL | {{ $payments->sum(['wd']) }} | {{ number_format($payments->sum(['wd_amount']), 2) }} | {{ $payments->sum(['deduction']) }} | {{ number_format($payments->sum(['net_pay']), 2) }} |