@extends('layouts.admin') @section('title', 'Landed costs') @section('content') @php $openCents = $landedCostPools->where('status', 'open')->sum('total_cents'); @endphp
Pools
{{ $landedCostPools->total() }}
Open (page)
{{ $landedCostPools->where('status','open')->count() }}
Open value
AUD {{ number_format($openCents / 100, 2) }}
Name Status Allocations Total @forelse($landedCostPools as $pool) {{ $pool->name }} {{ $pool->status }} {{ $pool->allocations_count }} AUD {{ number_format($pool->total_cents / 100, 2) }} Open @empty No landed cost pools. @endforelse {{ $landedCostPools->links() }}
@endsection