Fix action

This commit is contained in:
Peter Maquiran
2021-08-09 13:56:17 +01:00
parent 08c5a959d5
commit 8da233c1bc
14 changed files with 58 additions and 60 deletions
@@ -24,16 +24,17 @@
</div>
<div class="line"></div>
<div class="middle-content">
<h5>Intervenientes</h5>
<h5 >Intervenientes</h5>
<ion-item class="ion-no-margin ion-no-padding">
<ion-label>
<div>
<p>{{LoadedDocument.Interveners}}</p>
<p>{{LoadedDocument.Interveners || LoadedDocument.Sender}}</p>
</div>
</ion-label>
</ion-item>
<h5>Status</h5>
<ion-item class="ion-no-margin ion-no-padding">
<h5 *ngIf="LoadedDocument.ApplicationId == 361 || LoadedDocument.ApplicationID == 361">Status</h5>
<ion-item *ngIf="LoadedDocument.ApplicationId == 361 || LoadedDocument.ApplicationID == 361" class="ion-no-margin ion-no-padding">
<p >{{LoadedDocument.Status}}</p>
</ion-item>
</div>
@@ -52,7 +52,9 @@ export class DocumentDetailPage implements OnInit {
this.LoadedDocument.Subject = this.LoadedDocument.Assunto
let thedate = new Date(this.LoadedDocument.DateDispatch);
let thedate = new Date(this.LoadedDocument.DateDispatch || this.LoadedDocument.DocDate);
console.log(res)
this.customDate = this.days[thedate.getDay()]+ ", " + thedate.getDate() +" de " + ( this.months[thedate.getMonth()]);
});
}