@extends('backEnd.admin.layouts.master') @section('title') Courier Problem Orders @endsection @section('css') @endsection @php $orders = $data['orders'] ?? []; $total_courier_issue_order = $data['total_courier_issue_order'] ?? 0; $total_courier_in_review_order = $data['total_courier_in_review_order'] ?? 0; $total_courier_solved_order = $data['total_courier_solved_order'] ?? 0; $total_cancellation_request_order = $data['total_cancellation_request_order'] ?? 0; $total_emergency_order = $data['total_emergency_order'] ?? 0; $couriers = \Illuminate\Support\Facades\DB::table('couriers')->where('status', 1)->pluck('courier_name', 'id'); $query = request()->query('query') ?? null; $courier_id = $courier_id ?? null; $status = $sts ?? null; @endphp @section('body')
@if (Auth::guard('admin')->check())
Reset
@endif @if (Auth::guard('manager')->check())
@endif @if (Auth::guard('employee')->check())
@endif
@if (Auth::guard('admin')->check())
@csrf
@csrf
@csrf
@endif @if (Auth::guard('manager')->check())
@csrf
@csrf
@endif @if (Auth::guard('employee')->check())
@csrf
@csrf
@endif
@php $duplicate = DB::table('orders') ->select('customer_phone') ->groupBy('customer_phone') ->havingRaw('COUNT(customer_phone) > 1') ->get(); @endphp @php($i = 1) @if (Auth::guard('admin')->check() || Auth::guard('manager')->check()) @if ($orders->count() > 0) @foreach ($orders as $item)
SL. Invoice ID Customer Info Products Total Courier Date Status Note Assigned Actions