Exibe título linha-usuário nas notificações

This commit is contained in:
Eduardo Lopes 2026-01-22 17:07:11 -03:00
parent 72a79479a8
commit 5b825b6a9a
4 changed files with 16 additions and 0 deletions

View File

@ -56,8 +56,12 @@
</span>
<span class="notification-line">{{ n.linha || '-' }}</span>
</div>
<div class="notification-title">
{{ n.linha || '-' }} - {{ n.usuario || n.cliente || '-' }}
</div>
<div class="notification-info">
<div><strong>Linha:</strong> {{ n.linha || '-' }}</div>
<div><strong>Usuário:</strong> {{ n.usuario || '-' }}</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>

View File

@ -52,8 +52,13 @@
<span class="line-number">{{ n.linha || '-' }}</span>
</div>
<div class="card-title">
{{ n.linha || '-' }} - {{ n.usuario || n.cliente || '-' }}
</div>
<div class="card-info">
<div><strong>Linha:</strong> {{ n.linha || '-' }}</div>
<div><strong>Usuário:</strong> {{ n.usuario || '-' }}</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>

View File

@ -119,6 +119,12 @@
}
}
.card-title {
margin-top: 10px;
font-weight: 800;
color: rgba(17, 18, 20, 0.92);
}
.card-head {
display: flex;
align-items: center;

View File

@ -19,6 +19,7 @@ export type NotificationDto = {
vigenciaLineId?: string | null;
cliente?: string | null;
linha?: string | null;
usuario?: string | null;
};
@Injectable({ providedIn: 'root' })