@extends('layouts.app') @section('content') @section('css') @endsection

{{ isset($title)?$title:'Reports' }}

Clear

{{ isset($title)?$title:'' }}

@if(session()->has('message'))
{{ session()->get('message') }}
@endif @if(session()->has('error'))
{{ session()->get('error') }}
@endif
@if(isset($orders) && !empty($orders)) @foreach($orders as $row ) @endforeach @endif
Id Customer Date Time Type Payment Tax Discount SubTotal Total User View
{{$row->id}} {{ucwords($row->customer_name)}} {{ date("j-F-Y", strtotime($row->created_at)) }}
{{ date("h:i:s A", strtotime($row->created_at)) }}
{{ucwords($row->order_type)}} {{ucwords($row->payment_type)}}
@if($row->order_type == 'delivery') @if($row->payment_status == 1) @else @endif @endif
{{$row->tax}} {{$row->discount_value}} {{$row->subtotal}} {{$row->total}} {{ucwords($row->user)}}
@if(isset($orders) && !empty($orders)) {{$orders->appends($_GET)->links()}} @endif
@include('admin.orders.online_orders_modal') @section('js') @endsection @endsection