@extends('admin.layouts.master') @section('title', 'Restore Logs') @section('content')
Restore Logs
@include('admin.includes.msg')
@if(!empty($order) && $order->count()>0) @foreach($order as $key=>$val) @endforeach @endif
Sl.No Order Id Price Customer Order Status Add to stock Date Action
{{ $order->firstItem() + $key }} {{ $val->orderId}}
@php echo date('h:i A, d M y', strtotime($val->created_at)) @endphp
Rs {{ $val->totalPrice}} @if($val->commission>0)
Paid Amount : {{$val->totalPrice-$val->commission}} @endif
{{ $val->firstName }}
{{ $val->mobile }}
@if($val->orderStatus == 'Deleted') Cancelled @elseif($val->is_return == 0) Delivered
Partially Returned @endif
@php echo date('d M y,h:i A', strtotime($val->updated_at)) @endphp
Showing {{ $order->firstItem() }} to {{ $order->lastItem() }} of {{ $order->total() }} entries
{{ $order->appends(Request::except('page'))->links('pagination::bootstrap-4') }}
@endsection