mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Add setup meetting from document modal
This commit is contained in:
@@ -21,7 +21,7 @@ export class DespachoMdService {
|
||||
) { }
|
||||
|
||||
arquivar(note:string, documents:any, serialnumber) {
|
||||
|
||||
|
||||
let body = {
|
||||
"serialNumber": serialnumber,
|
||||
"action": "Arquivo",
|
||||
@@ -64,7 +64,7 @@ export class DespachoMdService {
|
||||
|
||||
return this.processes.CompleteTask(body)
|
||||
}
|
||||
|
||||
|
||||
sendExpedienteToPending(serialnumber) {
|
||||
|
||||
return this.processes.SetTaskToPending(serialnumber)
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DocumentService } from './document.service';
|
||||
|
||||
describe('DocumentService', () => {
|
||||
let service: DocumentService;
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({});
|
||||
service = TestBed.inject(DocumentService);
|
||||
});
|
||||
|
||||
it('should be created', () => {
|
||||
expect(service).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,19 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DocumentSetUpMeeting } from '../models/CallMeeting';
|
||||
import { ProcessesService } from '../services/processes.service';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class DocumentService {
|
||||
|
||||
constructor(
|
||||
private processes: ProcessesService
|
||||
) { }
|
||||
|
||||
setUpMeeting(data: DocumentSetUpMeeting) {
|
||||
|
||||
this.processes.documentSetUpMeeting(data)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user