@if (Session::has('success'))
@endif
@if ($errors->any())
@endif
@if (Session::has('existingVchNoVouchers'))
@php
$existingVchNoVouchers = Session::get('existingVchNoVouchers');
@endphp
@endif
get('from_date')) value="{{ app('request')->input('from_date') }}"
@else
@php
$startOfMonth = now()->startOfMonth();
$endOfMonth = now()->endOfMonth();
$from_date = $startOfMonth->toDateString();
$to_date = $endOfMonth->toDateString();
$fy_from = Auth::user()->company_profile->fy_from;
$fy_to = Auth::user()->company_profile->fy_to;
@endphp
@if ($reportSettings == 1) value="{{ date('Y-m-d') }}" @elseif($reportSettings == 2) value="{{ $from_date }}"@elseif($reportSettings == 2) value="{{ $fy_from }}" @endif
@endif>
get('to_date')) value="{{ app('request')->input('to_date') }}" @else @if ($reportSettings == 1) value="{{ date('Y-m-d') }}" @elseif($reportSettings == 2) value="{{ $to_date }}"@elseif($reportSettings == 2) value="{{ $fy_to }}" @endif
@endif>