@extends('master.authMaster') @section('content') @php use Carbon\Carbon; $financialYear = \App\Models\AccountingYear::current(); $currentOrg = \App\Models\Organisation::current(); $orgId = $currentOrg ? $currentOrg->organisation_id : null; if ($financialYear) { [$fyStart, $fyEnd] = array_map('trim', explode(' to ', $financialYear->accounting_year_financial)); $minDate = Carbon::createFromFormat('d-m-Y', $fyStart)->toDateString(); $maxDateCandidate = Carbon::createFromFormat('d-m-Y', $fyEnd); $today = Carbon::today(); $maxDate = $today->greaterThan($maxDateCandidate) ? $maxDateCandidate->toDateString() : $today->toDateString(); } else { $minDate = now()->subYear()->toDateString(); $maxDate = now()->toDateString(); } @endphp

Transaction Entry

@csrf
You can upload multiple images or PDFs
@include('utils.alert') @endsection