@extends('layouts.app', ['title' => 'Billing']) @section('content')

Billing history

@foreach ($orders as $order)@endforeach
OrderProductAmountStatus
{{ $order->order_number }}{{ $order->product?->name }}{{ $order->currency }} {{ number_format($order->amount, 2) }}{{ $order->payment_status }}
{{ $orders->links() }}

Invoices

@foreach ($invoices as $invoice)
{{ $invoice->invoice_number }}
{{ $invoice->status }} • {{ $invoice->currency }} {{ number_format($invoice->amount, 2) }}
@endforeach
{{ $invoices->links() }}
@endsection