mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Fix action
This commit is contained in:
@@ -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()]);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user