@extends('backend.partials.master') @section('title') {{ ___('menus.payslips') }} @endsection @section('maincontent') @foreach($payslips as $p) @php $c = $p->status === 'Paid' ? 'success' : 'warning'; @endphp {{ \Illuminate\Support\Carbon::createFromFormat('Y-m', $p->month)->format('M Y') }} {{ currency_symbol() }}{{ number_format($p->basic) }} {{ currency_symbol() }}{{ number_format($p->allowances) }} {{ currency_symbol() }}{{ number_format($p->deductions) }} {{ currency_symbol() }}{{ number_format($p->net_pay) }} {{ admin_label($p->status) }} @endforeach @endsection