@extends('layouts.backend.app') @section('content') @include('layouts.backend.partials.headersection',['title'=>'My Orders']) @php $currency=\App\Options::where('key','currency_name')->select('value')->first(); @endphp
{{ __('Order ID') }} | {{ __('Amount') }} | {{ __('Status') }} | {{ __('Time') }} | {{ __('View') }} |
---|---|---|---|---|
#{{ $row->order_id }} | {{ strtoupper($currency->value) }} {{ $row->orders->total + $row->orders->shipping }} | @if($row->status == 1) {{ __('Accepted') }} @elseif($row->status == 2) {{ __('Pending') }} @elseif($row->status == 3) {{ __('Accepted') }} @elseif($row->status == 0) {{ __('Cancelled') }} @endif | {{ $row->created_at->diffforHumans() }} | |
{{ __('Order ID') }} | {{ __('Amount') }} | {{ __('Status') }} | {{ __('Time') }} | {{ __('View') }} |