@extends('layouts.app') @section('title','Orders') @section('content')
| # | @if(auth()->user()->isAdmin())Client | @endifProduct | Domain | Total | Invoice | Status | Date |
|---|---|---|---|---|---|---|---|
| {{ $o->id }} | @if(auth()->user()->isAdmin()){{ $o->user->name }} | @endif{{ $o->product->name ?? '-' }} | {{ $o->domain_name ?: '-' }} | {{ $cur }}{{ number_format($o->total) }} | @if($o->invoice_id)#{{ $o->invoice_id }}@endif |
@if(auth()->user()->isAdmin())
@else |
{{ $o->created_at->format('d M Y') }} |
| No orders yet. | |||||||