{{ 'REPORT_PAGE.CLIENT_BUDGET_REPORTS' | translate }}

@if (clients?.length > 0) {
{{ 'REPORT_PAGE.CLIENT' | translate }}
{{ 'REPORT_PAGE.EMPLOYEES/TEAMS' | translate }}
{{ 'REPORT_PAGE.SPENT' | translate }}
{{ 'REPORT_PAGE.REMAINING' | translate }}
{{ 'REPORT_PAGE.BUDGET' | translate }}
@for (client of clients; track client) {
{{ 'REPORT_PAGE.CONTACT' | translate }}
{{ 'REPORT_PAGE.EMPLOYEES/TEAMS' | translate }}
—
{{ 'REPORT_PAGE.SPENT' | translate }}
@switch (client.budgetType) { @case (OrganizationContactBudgetTypeEnum.HOURS) { {{ client?.spent * 3600 | durationFormat }} } @case (OrganizationContactBudgetTypeEnum.COST) { {{ client?.spent | currency: organization?.currency | position: organization?.currencyPosition }} } }
{{ 'REPORT_PAGE.REMAINING' | translate }}
@switch (client.budgetType) { @case (OrganizationContactBudgetTypeEnum.HOURS) { {{ client.remainingBudget * 3600 | durationFormat }} } @case (OrganizationContactBudgetTypeEnum.COST) { {{ client.remainingBudget | currency: organization?.currency | position: organization?.currencyPosition }} } }
{{ 'REPORT_PAGE.BUDGET' | translate }}
@switch (client.budgetType) { @case (OrganizationContactBudgetTypeEnum.HOURS) { {{ client?.budget * 3600 | durationFormat }} } @case (OrganizationContactBudgetTypeEnum.COST) { {{ client.budget | currency: organization?.currency | position: organization?.currencyPosition }} } }
}
} @else { }
@if (client) { } @else { {{ 'REPORT_PAGE.NO_CLIENT' | translate }} }