@if (loading()) {
Loading inventory...
} @else if (error()) { } @else {
{{ healthLabel() }}
{{ totalCount() }} Total Spools
@if (activeCount() < totalCount()) { {{ activeCount() }} active }
{{ lowStockCount() }} Low Stock
@if (hasCritical()) { {{ criticalCount() }} critical }
{{ formatCurrency(totalValue()) }} Est. Value
@if (avgCostPerGram() !== null) {
${{ avgCostPerGram()!.toFixed(2) }}/g Avg Cost/g
}
{{ formatWeight(totalGramsUsed()) }} Total Used
@if (estimatedUsedValue() !== null) {
{{ formatCurrency(estimatedUsedValue()!) }} Used Value
}
{{ overallRemainingPercent() }}% Remaining
}