@if (stageRows.length) {
{{ 'PIPELINES_PAGE.STAGE' | translate }}
{{ 'PIPELINES_PAGE.DEALS' | translate }}
@for (stage of stageRows; track stage.id) {
-
{{ stage.position }}
{{ stage.name }}
@if (stage.description) {
{{ stage.description }}
}
@if (stage.count !== null) {
}
{{ stage.count ?? '—' }}
}
} @else {
{{ 'PIPELINES_PAGE.NO_STAGES' | translate }}
}
@if (deals) {
@if (recentDeals.length) {
{{ 'SM_TABLE.TITLE' | translate }}
{{ 'PIPELINES_PAGE.STAGE' | translate }}
{{
'PIPELINE_DEAL_CREATE_PAGE.PROBABILITY' | translate
}}
{{
'SM_TABLE.CREATED' | translate
}}
@for (deal of recentDeals; track deal.id) {
-
@if (canEditDeals) {
{{ deal.title }}
} @else {
{{ deal.title }}
}
@if (deal.client) {
{{ deal.client }}
}
{{ deal.stage ?? '—' }}
{{ deal.levelKey | translate }}
@if (deal.createdAt) {
{{ deal.createdAt | dateFormat }}
} @else {
—
}
}
} @else {
{{ 'PIPELINES_PAGE.NO_DEALS' | translate }}
}
}