Exibe título linha-usuário nas notificações
This commit is contained in:
parent
72a79479a8
commit
5b825b6a9a
|
|
@ -56,8 +56,12 @@
|
||||||
</span>
|
</span>
|
||||||
<span class="notification-line">{{ n.linha || '-' }}</span>
|
<span class="notification-line">{{ n.linha || '-' }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="notification-title">
|
||||||
|
{{ n.linha || '-' }} - {{ n.usuario || n.cliente || '-' }}
|
||||||
|
</div>
|
||||||
<div class="notification-info">
|
<div class="notification-info">
|
||||||
<div><strong>Linha:</strong> {{ n.linha || '-' }}</div>
|
<div><strong>Linha:</strong> {{ n.linha || '-' }}</div>
|
||||||
|
<div><strong>Usuário:</strong> {{ n.usuario || '-' }}</div>
|
||||||
<div><strong>Cliente:</strong> {{ n.cliente || '-' }}</div>
|
<div><strong>Cliente:</strong> {{ n.cliente || '-' }}</div>
|
||||||
<div><strong>{{ n.tipo === 'Vencido' ? 'Venceu em' : 'Vence em' }}:</strong> {{ n.referenciaData ? (n.referenciaData | date:'dd/MM/yyyy') : '-' }}</div>
|
<div><strong>{{ n.tipo === 'Vencido' ? 'Venceu em' : 'Vence em' }}:</strong> {{ n.referenciaData ? (n.referenciaData | date:'dd/MM/yyyy') : '-' }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -52,8 +52,13 @@
|
||||||
<span class="line-number">{{ n.linha || '-' }}</span>
|
<span class="line-number">{{ n.linha || '-' }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="card-title">
|
||||||
|
{{ n.linha || '-' }} - {{ n.usuario || n.cliente || '-' }}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="card-info">
|
<div class="card-info">
|
||||||
<div><strong>Linha:</strong> {{ n.linha || '-' }}</div>
|
<div><strong>Linha:</strong> {{ n.linha || '-' }}</div>
|
||||||
|
<div><strong>Usuário:</strong> {{ n.usuario || '-' }}</div>
|
||||||
<div><strong>Cliente:</strong> {{ n.cliente || '-' }}</div>
|
<div><strong>Cliente:</strong> {{ n.cliente || '-' }}</div>
|
||||||
<div><strong>{{ n.tipo === 'Vencido' ? 'Venceu em' : 'Vence em' }}:</strong> {{ n.referenciaData ? (n.referenciaData | date:'dd/MM/yyyy') : '-' }}</div>
|
<div><strong>{{ n.tipo === 'Vencido' ? 'Venceu em' : 'Vence em' }}:</strong> {{ n.referenciaData ? (n.referenciaData | date:'dd/MM/yyyy') : '-' }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -119,6 +119,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card-title {
|
||||||
|
margin-top: 10px;
|
||||||
|
font-weight: 800;
|
||||||
|
color: rgba(17, 18, 20, 0.92);
|
||||||
|
}
|
||||||
|
|
||||||
.card-head {
|
.card-head {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ export type NotificationDto = {
|
||||||
vigenciaLineId?: string | null;
|
vigenciaLineId?: string | null;
|
||||||
cliente?: string | null;
|
cliente?: string | null;
|
||||||
linha?: string | null;
|
linha?: string | null;
|
||||||
|
usuario?: string | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
@Injectable({ providedIn: 'root' })
|
@Injectable({ providedIn: 'root' })
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue