how to order notifications order by date blade laravel not working code example
Example 1: $tmpmembershipfee = MembershipFee::orderBy('created_at','DESC') ->first();
$tmpmembershipfee = MembershipFee::orderBy('created_at','DESC')->first();
Example 2: $tmpmembershipfee = MembershipFee::orderBy('created_at','DESC') ->first();
data:{'User':{'id':id}}