@extends('layouts.app') @section('header-title', __('Orders')) @section('content')
{{ __('Orders') }}
@hasPermission('admin.orders.export')
@csrf
@endhasPermission
@if ($businessModel == 'multi') @endif @foreach ($orders as $order) @if ($businessModel == 'multi') @endif @endforeach
{{ __('Order ID') }} {{ __('Order Date') }} {{ __('Customer') }}{{__('Shop') }}{{__('Total Amount') }} Consegna {{__('Action') }}
{{ $order->prefix . $order->order_code }} {{ $order->created_at->format('d M Y, h:i A') }} {{ $order->customer?->user?->name }} {{ $order->shop?->name }} {{ showCurrency($order->payable_amount) }}
@if($order->payment_status->value == 'Pending') {{ __('Ordine rifiutato') }} @elseif($order->payment_status->value == 'Paid') {{ __('Pagato') }} @else {{ $order->payment_status->value }} @endif
{{ $order->instruction }} @hasPermission('admin.order.show') icon @endhasPermission icon
{{ $orders->links() }}
@endsection