@extends('backend.adminlayouts.master') @section('body')

{{ __('admin.sidebar.orders.orders') }}

@forelse ($orders as $order) @if($order->payment_method === 'card-payment') @endif @if($order->payment_method === 'cash-on-delivery') @endif @if($order->is_paid == '1') @else @endif @empty
{{ __('admin.orders.order_number') }} {{ __('admin.orders.client') }} {{ __('admin.orders.payment_method') }} {{ __('admin.orders.amount') }} {{ __('admin.orders.status') }} {{ __('admin.orders.order_date') }}
{{ $order->billing_name }}
{{ $order->email }}

{{ __('admin.orders.card_payment') }}

{{ __('admin.orders.cash_on_delivery') }}

{{ priceView($order->grand_total)}}

{{ __('admin.orders.payment_received') }}

{{ __('admin.orders.not_paid') }}

Nici o comanda efectuata

@endforelse
{{ $orders->links('vendor.pagination.tailwind') }}
@endsection