mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Merge branch 'developer' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
-9
@@ -104,12 +104,9 @@ export class ExpedientTaskModalPage implements OnInit {
|
|||||||
|
|
||||||
this.loggeduser = userAuth.ValidatedUser;
|
this.loggeduser = userAuth.ValidatedUser;
|
||||||
this.task = this.navParams.get('task');
|
this.task = this.navParams.get('task');
|
||||||
|
|
||||||
console.log('task', this.task)
|
|
||||||
|
|
||||||
this.taskType = this.navParams.get('taskAction');
|
this.taskType = this.navParams.get('taskAction');
|
||||||
|
|
||||||
//Initialize SubjectTypes Array with the value "Indefinido"
|
|
||||||
this.selectedTypes = ['99999850'];
|
this.selectedTypes = ['99999850'];
|
||||||
|
|
||||||
this.postData = new Despacho();
|
this.postData = new Despacho();
|
||||||
@@ -222,8 +219,6 @@ export class ExpedientTaskModalPage implements OnInit {
|
|||||||
if(this.Form.invalid) return false
|
if(this.Form.invalid) return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(this.postData.Priority=='99999861') {
|
if(this.postData.Priority=='99999861') {
|
||||||
this.dispatchFolder.DeadlineType = 'Normal';
|
this.dispatchFolder.DeadlineType = 'Normal';
|
||||||
}
|
}
|
||||||
@@ -258,10 +253,6 @@ export class ExpedientTaskModalPage implements OnInit {
|
|||||||
});
|
});
|
||||||
docs.Attachments = DocumentToSave;
|
docs.Attachments = DocumentToSave;
|
||||||
|
|
||||||
if (window.innerWidth >= 800) {
|
|
||||||
this.selectedTypes = this.toppingsValues
|
|
||||||
}
|
|
||||||
|
|
||||||
let loader = this.toastService.loading()
|
let loader = this.toastService.loading()
|
||||||
|
|
||||||
this.dispatchFolder.SubjectTypes = this.selectedTypes;
|
this.dispatchFolder.SubjectTypes = this.selectedTypes;
|
||||||
|
|||||||
Reference in New Issue
Block a user