@extends('layouts.admin') @section('title', $landedCostPool->name) @section('content') Back
Status
{{ $landedCostPool->status }}
Pool total
AUD {{ number_format($landedCostPool->total_cents / 100, 2) }}
Allocations
{{ $landedCostPool->allocations->count() }}
@csrf
Item 1
@if(session('allocationPreview'))
Preview result
@foreach(session('allocationPreview') as $row)
Variant #{{ $row['variant_id'] ?? $row['variantId'] ?? '—' }} AUD {{ number_format(($row['amount_cents'] ?? 0) / 100, 2) }}
@endforeach
@endif
@forelse($landedCostPool->allocations as $allocation) @empty @endforelse
VariantBasisAmount
#{{ $allocation->variant_id }} {{ $allocation->basis }} {{ number_format($allocation->amount_cents / 100, 2) }}
No allocations yet.
@endsection