Skip to content

Commit 0e0f34f

Browse files
committed
fix(dss-872)
1 parent f750c34 commit 0e0f34f

File tree

4 files changed

+231
-95
lines changed

4 files changed

+231
-95
lines changed

frontend/src/app/common/listing-upload-history-table/listing-upload-history-table.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h2>Platform Upload History</h2>
114114
<i class="pi pi-download" *ngIf="row.errors>0"></i></button>
115115
<ng-template #zero>{{0}}</ng-template>
116116
</td>
117-
<td>{{ row.updDtm |date:'YYYY-MM-dd' }}</td>
117+
<td>{{ row.updDtm |date:'yyyy-MM-dd' }}</td>
118118
<td>{{ row.uploadedBy }}</td>
119119
</tr>
120120
</ng-template>
@@ -142,4 +142,4 @@ <h2>Platform Upload History</h2>
142142
[currentPageReportTemplate]="'Rows per page: 10 &nbsp; {first}-{last} of {totalRecords}'"></p-paginator>
143143
</ng-template>
144144

145-
</p-card>
145+
</p-card>

frontend/src/app/features/components/export-listings/export-listings.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="message info">
55
<i class="pi pi-info-circle"></i>
66
<strong class="message-text">Data last updated on {{dateLastUpdated
7-
| date: 'YYYY-MM-dd'}}</strong>
7+
| date: 'yyyy-MM-dd'}}</strong>
88
</div>
99
</ng-template>
1010
<ng-template #warn>
@@ -34,4 +34,4 @@ <h4>Download listings as .CSV file</h4>
3434

3535
<div class="actions">
3636
<button pButton [disabled]="!selectedJurisdiction" (click)="onDownload()">Download</button>
37-
</div>
37+
</div>

frontend/src/app/features/components/listings-table/listing-details/listing-details.component.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ <h2>Detailed Listing Information for</h2>
213213
<td>{{ addressChange.type }}</td>
214214
<td>{{ addressChange.platformAddress }}</td>
215215
<td>{{ addressChange.bestMatchAddress }}</td>
216-
<td>{{ addressChange.date |date:'YYYY-MM-dd' }}</td>
216+
<td>{{ addressChange.date |date:'yyyy-MM-dd' }}</td>
217217
<td>{{ addressChange.user }}</td>
218218
</tr>
219219
</ng-template>
@@ -261,7 +261,7 @@ <h2>Detailed Listing Information for</h2>
261261
<div class="property-info-container">
262262
<strong class="panel-header-text">Business Licence Information</strong>
263263
<p-tag class="last-bl-update-date" *ngIf="blInfo?.updDtm">
264-
<strong class="tag-text">BL Records Last Uploaded:</strong>{{blInfo.updDtm |date:'YYYY-MM-dd' }}
264+
<strong class="tag-text">BL Records Last Uploaded:</strong>{{blInfo.updDtm |date:'yyyy-MM-dd' }}
265265
</p-tag>
266266
</div>
267267
</ng-template>
@@ -303,9 +303,9 @@ <h2>Detailed Listing Information for</h2>
303303
</div>
304304

305305
<div *ngIf="blInfo?.businessLicenceNo ||
306-
blInfo?.licenceTypeTxt ||
307-
blInfo?.expiryDt ||
308-
blInfo?.licenceStatusType ||
306+
blInfo?.licenceTypeTxt ||
307+
blInfo?.expiryDt ||
308+
blInfo?.licenceStatusType ||
309309
blInfo?.restrictionTxt
310310
" class="spacer-hr"></div>
311311

@@ -317,7 +317,7 @@ <h2>Detailed Listing Information for</h2>
317317
<strong>Licence Type:</strong> <span class="value">{{blInfo.licenceTypeTxt ||'-'}}</span>
318318
</div>
319319
<div *ngIf="blInfo?.expiryDt" class="row">
320-
<strong>Expiry Date: </strong> <span class="value">{{blInfo.expiryDt |date:'YYYY-MM-dd'}}</span>
320+
<strong>Expiry Date: </strong> <span class="value">{{blInfo.expiryDt |date:'yyyy-MM-dd'}}</span>
321321
</div>
322322
<div *ngIf="blInfo?.licenceStatusType" class="row">
323323
<strong>Status:</strong> <span class="status-name value"
@@ -348,8 +348,8 @@ <h2>Detailed Listing Information for</h2>
348348
<strong>Phone: </strong> <span class="value">{{blInfo.businessOwnerPhoneNo ||'-'}}</span>
349349
</div>
350350

351-
<div *ngIf="blInfo?.businessOperatorNm ||
352-
blInfo?.businessOperatorEmailAddressDsc ||
351+
<div *ngIf="blInfo?.businessOperatorNm ||
352+
blInfo?.businessOperatorEmailAddressDsc ||
353353
blInfo?.businessOperatorPhoneNo" class="spacer-hr"></div>
354354

355355
<div *ngIf="blInfo?.businessOperatorNm" class="row">
@@ -362,11 +362,11 @@ <h2>Detailed Listing Information for</h2>
362362
<strong>Phone: </strong> <span class="value">{{blInfo.businessOperatorPhoneNo ||'-'}}</span>
363363
</div>
364364

365-
<div *ngIf="blInfo?.propertyZoneTxt ||
366-
blInfo?.availableBedroomsQty ||
367-
blInfo?.maxGuestsAllowedQty ||
368-
isBoolDefined(blInfo?.isPrincipalResidence) ||
369-
isBoolDefined(blInfo?.isOwnerLivingOnsite) ||
365+
<div *ngIf="blInfo?.propertyZoneTxt ||
366+
blInfo?.availableBedroomsQty ||
367+
blInfo?.maxGuestsAllowedQty ||
368+
isBoolDefined(blInfo?.isPrincipalResidence) ||
369+
isBoolDefined(blInfo?.isOwnerLivingOnsite) ||
370370
isBoolDefined(blInfo?.isOwnerPropertyTenant) ||
371371
blInfo?.infractionTxt ||
372372
blInfo?.infractionDt " class="spacer-hr"></div>
@@ -399,11 +399,11 @@ <h2>Detailed Listing Information for</h2>
399399
</div>
400400
<div *ngIf="blInfo?.infractionDt" class="row">
401401
<strong>Infraction Date: </strong> <span
402-
class="value">{{blInfo.infractionDt|date:'YYYY-MM-dd'}}</span>
402+
class="value">{{blInfo.infractionDt|date:'yyyy-MM-dd'}}</span>
403403
</div>
404404

405-
<div *ngIf="blInfo?.propertyFolioNo ||
406-
blInfo?.propertyParcelIdentifierNo ||
405+
<div *ngIf="blInfo?.propertyFolioNo ||
406+
blInfo?.propertyParcelIdentifierNo ||
407407
blInfo?.propertyLegalDescriptionTxt" class="spacer-hr"></div>
408408

409409
<div *ngIf="blInfo?.propertyFolioNo" class="row">

0 commit comments

Comments
 (0)