@extends('layouts.app') @section('title', 'Takeaway Report - Tiqkets') @section('page-title', 'Takeaway Report') @section('header-action') @endsection @section('content')
{{--
--}}
{{--
--}}
@if ($paginatedData->count() > 0)
{{-- --}} {{-- --}} @foreach ($paginatedData as $row) @endforeach
Date Branch Code Branch Name Total Orders Delivered
{{ $row['date'] }} {{ $row['branch_id'] }} {{ $row['branch_name'] }} {{ $row['total_orders'] }} {{ $row['delivered_orders'] }}
{{-- ✅ SHOWING ENTRIES (ALWAYS VISIBLE) --}}
Showing {{ $paginatedData->firstItem() ?? 1 }} to {{ $paginatedData->lastItem() ?? $paginatedData->count() }} of {{ $paginatedData->total() }} entries
{{-- ✅ PAGINATION ONLY WHEN LIMIT REACHED --}} @if ($paginatedData->hasPages()) @endif {{-- ✅ PER PAGE DROPDOWN (ALWAYS VISIBLE) --}}
@else
No Data Found

No takeaway data available for the selected filters.

@endif
@endsection @push('styles') @endpush @push('scripts') @endpush