Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
style: Add new invoice state styles
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosPavajeau committed Apr 4, 2021
1 parent e55668a commit 7abca04
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ <h1>Facturas de servicio</h1>
<ng-container matColumnDef="state">
<th mat-header-cell *matHeaderCellDef>Estado</th>
<td mat-cell *matCellDef="let serviceInvoice">
{{ serviceInvoice.state | invoiceState }}
<mat-chip-list>
<mat-chip [class]="'invoice-state-' + serviceInvoice?.state">
{{ serviceInvoice.state | invoiceState }}
</mat-chip>
</mat-chip-list>
</td>
</ng-container>
<ng-container matColumnDef="iva">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.invoice-state-2 {
color: white;
background: var(--forest-green-web);
}

.invoice-state-3 {
color: white;
background: var(--vivid_red);
}

0 comments on commit 7abca04

Please sign in to comment.