@extends('panel.layout.app') @section('title', __('My Orders')) @section('content')
@foreach($list as $entry) @endforeach
{{__('Order Id')}} {{__('Status')}} {{__('Plan Name')}} {{__('Words')}} {{__('Images')}} {{__('Price')}} {{__('Tax')}} {{__('Type')}} {{__('Date')}} {{__('Actions')}}
{{$entry->order_id}} @switch($entry->status) @case("Waiting") {{__($entry->status)}} @break @case("Approved") {{__($entry->status)}} @break @case("Rejected") {{__($entry->status)}} @break @default {{__($entry->status)}} @endswitch {{__(@$entry->plan->name ?? 'Archived')}} {{@$entry->plan->total_words ?? '-'}} {{@$entry->plan->total_images ?? '-'}} @if(currencyShouldDisplayOnRight(currency()->symbol)) {{$entry->price}}{{currency()->symbol}} @else {{currency()->symbol}}{{$entry->price}} @endif @if(currencyShouldDisplayOnRight(currency()->symbol)) {{$entry->tax_value ?? 0}}{{currency()->symbol}} @else {{currency()->symbol}}{{$entry->tax_value ?? 0}} @endif {{__($entry->type)}}

{{date("j.n.Y", strtotime($entry->created_at))}}

{{date("H:i:s", strtotime($entry->created_at))}}

@endsection