@if($checkCNRDetails<=0)
@php $year=date('Y'); @endphp
@else
Record already inserted
@endif