@extends('layouts.app') @section('title','Orders') @section('content')

Orders

@if(auth()->user()->isAdmin())@endif @forelse($orders as $o) @if(auth()->user()->isAdmin())@endif @empty @endforelse
#ClientProductDomainTotalInvoiceStatusDate
{{ $o->id }}{{ $o->user->name }}{{ $o->product->name ?? '-' }}{{ $o->domain_name ?: '-' }} {{ $cur }}{{ number_format($o->total) }} @if($o->invoice_id)#{{ $o->invoice_id }}@endif @if(auth()->user()->isAdmin())
@csrf @method('PATCH')
@else @endif
{{ $o->created_at->format('d M Y') }}
No orders yet.
{{ $orders->links() }}
@endsection