mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
31 lines
757 B
TypeScript
31 lines
757 B
TypeScript
import { Injectable } from '@angular/core';
|
|
import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
|
|
import { ProcessesService } from '../services/processes.service';
|
|
import { ProcessDocumentService } from './process-document.service';
|
|
|
|
@Injectable({
|
|
providedIn: 'root'
|
|
})
|
|
export class ExpedientesService {
|
|
|
|
constructor(
|
|
private iab: InAppBrowser,
|
|
private processDocumentService: ProcessDocumentService,
|
|
private processes: ProcessesService,
|
|
) { }
|
|
|
|
viewDocument({DocId, ApplicationId}) {
|
|
this.processDocumentService.viewDocument({DocId, ApplicationId})
|
|
}
|
|
|
|
CompleteTask({body}) {
|
|
return this.processes.CompleteTask(body)
|
|
}
|
|
|
|
|
|
UpdateTaskStatus({FolderId}){
|
|
return this.processes.UpdateTaskStatus(FolderId)
|
|
}
|
|
|
|
}
|