1
|
<div id="content">
|
2
|
<div class="p-grid" id="tableContainer">
|
3
|
<div class="p-col-12">
|
4
|
<p-table [lazy]="true"
|
5
|
[value]="documents"
|
6
|
styleClass="p-datatable-gridlines"
|
7
|
[rowHover]="true"
|
8
|
[autoLayout]="true">
|
9
|
<ng-template pTemplate="header">
|
10
|
<tr>
|
11
|
<th>Received Date</th>
|
12
|
<th>Doc Name</th>
|
13
|
<th>Doc Type</th>
|
14
|
<th>Doc Code</th>
|
15
|
<th>iPower Client Code</th>
|
16
|
<th class="one-button">Preview Document</th>
|
17
|
</tr>
|
18
|
</ng-template>
|
19
|
<ng-template let-document pTemplate="body">
|
20
|
<tr>
|
21
|
<td>{{document?.rtaReceivedDate|date: "dd/MM/yyyy HH:mm"}}</td>
|
22
|
<td>{{document?.dmsFileName}}</td>
|
23
|
<td>{{document?.dmsFileType}}</td>
|
24
|
<td>{{document?.dmsDocumentNumber}}</td>
|
25
|
<td>{{document?.dmsClientCode}}</td>
|
26
|
<td>
|
27
|
<p-button (onClick)="showOrDownloadFile(document)"
|
28
|
icon="pi pi-file-o"
|
29
|
styleClass="p-button-secondary p-button-rounded p-button-outlined"
|
30
|
pTooltip="{{'PREVIEW-DOCUMENT' | translate}}">
|
31
|
</p-button>
|
32
|
</td>
|
33
|
</tr>
|
34
|
</ng-template>
|
35
|
</p-table>
|
36
|
</div>
|
37
|
</div>
|
38
|
<div class="p-grid p-justify-center">
|
39
|
<div class="p-m-4"
|
40
|
id="title">
|
41
|
Are you sure you want to flag the above document as ignored?
|
42
|
</div>
|
43
|
<div class="p-col-12"
|
44
|
style="text-align: center;">
|
45
|
<button class="p-button-warning"
|
46
|
label="Cancel"
|
47
|
id="cancelBtn"
|
48
|
pButton
|
49
|
type="button"
|
50
|
(click)="closeDialog()">
|
51
|
</button>
|
52
|
<button class="p-button-primary"
|
53
|
label="Ignore"
|
54
|
pButton
|
55
|
type="button"
|
56
|
(click)="onIgnoreFile()">
|
57
|
</button>
|
58
|
</div>
|
59
|
</div>
|
60
|
</div>
|