@extends('layouts.app') @section('content')
{{__('admin.admin-dashboard')}}
للتجارة الإلكترونية
--}}{{__('admin.purchased-products')}}
{{__('admin.profits')}}
{{__('admin.this-month')}}
{{$monthlyPreviousProfitsPercentage}}% {{__('admin.previous-month')}}
{{--{{__('admin.view-more')}}
{{__('admin.finished-orders')}}
{{__('admin.purchased-products')}}
{{__('admin.refunded-orders')}}
{{$cities[0]->name}}
|
{{$city->name}} |
{{$city->orders_count}} |
|
| {{__('admin.id')}} | {{__('admin.orders_num')}} | {{__('admin.total')}} | {{__('admin.status')}} | {{__('admin.shipping')}} | {{__('admin.payment_method')}} | {{__('admin.created_at')}} | {{__('admin.more')}} |
|---|---|---|---|---|---|---|---|
| {{$order->id}} | {{$order->orders_num}} | {{$order->total}} {{$currency->value}} | @if($order->order_status==0) {{__('admin.pending')}} @elseif($order->order_status==1) {{__('admin.processing')}} @elseif($order->order_status==2) {{__('admin.on-the-way')}} @elseif($order->order_status==3) {{__('admin.delivered')}} @elseif($order->order_status==-1) {{__('admin.cancelled')}} @elseif($order->order_status==4) {{__('admin.refunded')}} @else {{__('admin.refunded-admin')}} @endif | {{$order->shipping}} {{$currency->value}} | @if($order->payment_method==0) {{__('admin.cash')}} @else {{__('admin.online')}} @endif | {{Carbon\Carbon::parse($order->created_at)->locale(app()->getLocale())->translatedFormat('l dS F G:i - Y')}} |