@foreach ($groupedProjects as $key => $item)
{{-- rounded-4 --}}
{{-- p-4 --}}
{{ $item->type_name }}

{{ $item->current_month_records }} / {{ $item->total_records }}

@php $difference = $item->current_month_records - $item->previous_month_records; @endphp @if ($difference >= 0) {{ trans('file_template.last_month') }} +{{ abs($difference) }} @else {{ trans('file_template.last_month') }} -{{ abs($difference) }} @endif {{-- Increased last month --}}
@endforeach