@extends('template.layouts.template-base') @section('title') Edit Paysheet | {{ config('setting.website_name') ?: config('app.name') }} @endsection @section('content') @php $companyName = $paysheet->client_type === 'Project' ? $paysheet->project?->project_name : $paysheet->client?->company_name; $lastMonth = $paysheet->month ?: optional($paysheet->paysheetDetails->first())->month; @endphp