@extends('backEnd.layouts.master') @section('title', 'Order Reports') @push('styles') @include('backEnd.reports.partials.report-styles') @endpush @section('content')

Order Reports

@php $todayStr = now()->format('Y-m-d'); $yesterdayStr = now()->subDay()->format('Y-m-d'); $last7From = now()->subDays(6)->format('Y-m-d'); $thisMonthFrom = now()->startOfMonth()->format('Y-m-d'); $lastMonthFrom = now()->subMonth()->startOfMonth()->format('Y-m-d'); $lastMonthTo = now()->subMonth()->endOfMonth()->format('Y-m-d'); $last90From = now()->subDays(89)->format('Y-m-d'); $activePreset = ''; if ($from === $to && $from === $todayStr) { $activePreset = 'today'; } elseif ($from === $to && $from === $yesterdayStr) { $activePreset = 'yesterday'; } elseif ($from === $last7From && $to === $todayStr) { $activePreset = 'last7'; } elseif ($from === $thisMonthFrom && $to === $todayStr) { $activePreset = 'this_month'; } elseif ($from === $lastMonthFrom && $to === $lastMonthTo) { $activePreset = 'last_month'; } elseif ($from === $last90From && $to === $todayStr) { $activePreset = 'last90'; } @endphp
Quick Date:
to
Reset
Dropdown দিয়ে filter করুন (auto apply) — Approved By, Payment, Courier, District, Fulfillment | Text search: Search বাটন চাপুন
@include('backEnd.reports.partials.order-report-results')
@endsection @push('scripts') @endpush