@extends('layouts.user.dashb4') @section('content')

Invoice Details

Id: {!! $invoice->invoice_id !!}

Amount: {!! number_format($totalPrice, 2, ".", ",") !!} ISK

Invoice Date: {!! $invoice->date_issued !!}

Invoice Due Date: {!! $invoice->date_due !!}

@foreach($ores as $name => $quantity) @endforeach
Ore Name Quantity
{{ $name }} {{ $quantity }}

Ledger Details

@foreach($moons as $moon) @endforeach
Character Name Observer Name Ore Name Quantity Price Tax Amount
{{ $moon['character_name'] }} {{ $moon['observer_name'] }} {{ $moon['ore_name'] }} {{ $moon['quantity'] }} {{ number_format($moon['amount'], 2, ".", ",") }} ISK {{ number_format($moon['tax_amount'], 2, ".", ",") }} ISK
@endsection