src/app/views/registration/instrument-book-entries/instrument-book-entry-list.component.html
<div class="tab-container mat-elevation-z1">
<table mat-table [dataSource]="dataSource">
<ng-container matColumnDef="stampMedia">
<th mat-header-cell *matHeaderCellDef></th>
<td mat-cell *matCellDef="let row" class="column-action">
<button mat-icon-button
*ngIf="row.stampMedia.url"
title="Sello partida"
(click)="printBookEntryStampMedia(row)">
<mat-icon>
approval
</mat-icon>
</button>
</td>
</ng-container>
<ng-container matColumnDef="recordingTime">
<th mat-header-cell *matHeaderCellDef> Fecha </th>
<td mat-cell *matCellDef="let row"> {{ row.recordingTime | dateTimeFormat: 'DMY HH:mm' }} </td>
</ng-container>
<ng-container matColumnDef="recorderOfficeName">
<th mat-header-cell *matHeaderCellDef> Oficialía </th>
<td mat-cell *matCellDef="let row"> {{ row.recorderOfficeName }} </td>
</ng-container>
<ng-container matColumnDef="recordingSectionName">
<th mat-header-cell *matHeaderCellDef> Sección </th>
<td mat-cell *matCellDef="let row"> {{ row.recordingSectionName }} </td>
</ng-container>
<ng-container matColumnDef="volumeNo">
<th mat-header-cell *matHeaderCellDef> Volumen </th>
<td mat-cell *matCellDef="let row"> {{ row.volumeNo }} </td>
</ng-container>
<ng-container matColumnDef="recordingNo">
<th mat-header-cell *matHeaderCellDef> Inscripción </th>
<td mat-cell *matCellDef="let row"> {{ row.recordingNo }} </td>
</ng-container>
<ng-container matColumnDef="recordedBy">
<th mat-header-cell *matHeaderCellDef> Registró </th>
<td mat-cell *matCellDef="let row"> {{ row.recordedBy }} </td>
</ng-container>
<ng-container matColumnDef="action">
<th mat-header-cell *matHeaderCellDef> </th>
<td mat-cell *matCellDef="let row" class="column-action">
<button mat-icon-button
title="Eliminar registro"
(click)="removeBookEntry(row)">
<mat-icon>
delete
</mat-icon>
</button>
</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
</table>
<div *ngIf="dataSource?.data.length === 0" class="text-not-found" [style.paddingTop.rem]="0.5">
<p>No se encontraron registros.</p>
</div>
</div>
<emp-ng-file-print-preview #filePrintPreview
title="Impresión de sello partida">
</emp-ng-file-print-preview>