@extends('apex-layouts.main') @section('title','Orders') @section('header-right') Total:  {{ $orders->total() }} @if(\Illuminate\Support\Facades\Auth::user()->alphaRole == \App\managers\UserManager::AlphaRoleSuper) Details Invoices @endif {{-- --}} {!! \App\helpers\ViewCommonHelper::headerExportButton() !!} @endsection @section('content')
@foreach($report as $index =>$value)

{!! number_format($value) !!}

{!! $index !!}
@endforeach
@foreach($orders as $order) @endforeach
Id Member Source/Type Amount Addrees Pickup Time Action
id)}}" data-modal-id="orderDetail-{{$order->id}}"> {!! $order->id !!} {{$order->memberName ?? ''}}

{{$order->memberPhone ?? ''}}

{{$order->source}} @if(!empty($order->objectId ))

{!! $order->objectId !!}

@endif

{{$order->type}}

Rs: {{$order->totalAmount}} @if($order->discountAmount)

Discount: {!! $order->discountAmount !!}

@endif
@if($order->comment)

Comment: {{$order->comment}}

@endif

{{$order->address}}

@if($order->pickup_time)

{{ \App\helpers\ViewCommonHelper::getDateFormat($order->pickup_time,1)}}

@endif
id)}}" data-modal-id="add-status-change-modal-{{$order->id}}">

{{\App\helpers\ViewCommonHelper::getDateFormat($order->created_at,1)}}

{{\App\helpers\ViewCommonHelper::getDateFormat($order->updated_at,1)}}

@if($orders->total() > $orders->perPage()) @endif
@endsection @section('scripts') @stop @section('styles') @stop