@extends('admin.layouts.app') @section('styles') @include('admin.leagues.partials._team_detail_figma_styles') @endsection @section('content') @include('admin.layouts.alert')
@if (!empty($loadError))

{{ $loadError }}

Back to auction results
@else
Total Spend
{{ $team['totalSpend'] }}
@if ($team['spendPercent'] !== null)
{{ $team['spendPercent'] }}% of league spend
@endif
{{ $team['totalSpend'] }} / {{ $team['budgetTotal'] }}
Total Players
{{ $team['playerCount'] }} / {{ $team['squadLimit'] }}
Average Bid
{{ $team['averageBid'] }}
per player
Rem. Budget
{{ $team['budgetRemaining'] }}
Available

Squad List

@forelse ($squad as $player)
{{ $player['name'] }}
{{ $player['role'] }}
{{ $player['categoryLabel'] }}
{{ $player['soldPrice'] }}
@if ($player['status'] === 'sold') @else @endif
@empty

No players in this squad yet.

@endforelse
@endif
@endsection @section('scripts') @endsection