@if (text !== '/') {
} @if (percents && text !== '/') { @if (type === 'days') { @if (daysExpired) { in {{ text }} days } @else {
{{ text }} {{ daysPluralization }} left {{ daysToPay }} days
} } @switch (type) { @case ('miles') { {{ +text | thousandToShortFormatPipe }} mi to go } @case ('credit') { {{ text }} } @default { {{ text }} } }
} @if (percents === 0 && percents !== null && text !== '/') { @if (type === 'days') { @if (daysExpired) { {{ text }} days ago } @else {
{{ text }} {{ daysPluralization }} over {{ daysToPay }} days
} } @switch (type) { @case ('miles') { {{ +text | thousandToShortFormatPipe }} mi over } @case ('credit') { {{ text }} } }
} @if (text === '/') { / }
@if (progressDropdownData.column.expirationMilesText) { {{ progressDropdownData.column.expirationMilesText ?? 0 }} @if (percents && percents <= 100) { mi to go } @else { mi over } } @if (progressDropdownData.column.expirationDaysText) { {{ progressDropdownData.column?.expirationDaysText ?? 0 }} @if (percents && percents < 100) { days left } @else { days ago } } @if (progressDropdownData.column.expirationCreditText) { {{ progressDropdownData.column?.expirationCreditText ?? 0 }} }
{{ progressDropdownData.column.totalValueText }}
@if (type === 'days' || type === 'miles') {
Last Serviced
{{ progressDropdownData.row.lastService ?? '/' }}
Odometer
{{ progressDropdownData.row.textOdometer ?? '/' }}
Repair Shop
{{ progressDropdownData.row.textRepairShop ?? '/' }}
Invoice
{{ progressDropdownData.row.textInv ?? '/' }}
Cost
{{ progressDropdownData.row?.cost ?? '/' }}
} @if (type === 'credit') {
Total Credit
{{ progressDropdownData.row.creditLimit ? (progressDropdownData.row.creditLimit | formatCurrency) : '/' }}
Pay Term
{{ progressDropdownData.row.broker!.payTerm ?.name ?? '/' }}
}