2021-08-10 13:22:33 +01:00
|
|
|
import { Component, OnInit } from '@angular/core';
|
2021-10-08 19:29:21 +01:00
|
|
|
import {PopoverController } from '@ionic/angular';
|
2022-03-28 15:46:07 +01:00
|
|
|
import { PermissionService } from 'src/app/services/permission.service';
|
2021-08-10 13:22:33 +01:00
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'app-searched-document-options',
|
|
|
|
|
templateUrl: './searched-document-options.page.html',
|
|
|
|
|
styleUrls: ['./searched-document-options.page.scss'],
|
|
|
|
|
})
|
|
|
|
|
export class SearchedDocumentOptionsPage implements OnInit {
|
|
|
|
|
|
|
|
|
|
task: any
|
|
|
|
|
LoadedDocument: any
|
|
|
|
|
|
|
|
|
|
constructor(
|
|
|
|
|
private popoverController: PopoverController,
|
|
|
|
|
public p: PermissionService
|
2021-10-08 19:29:21 +01:00
|
|
|
) {}
|
2021-08-10 13:22:33 +01:00
|
|
|
|
2021-10-08 19:29:21 +01:00
|
|
|
ngOnInit() {}
|
2021-08-10 13:22:33 +01:00
|
|
|
|
|
|
|
|
close() {
|
2021-08-13 09:45:44 +01:00
|
|
|
this.popoverController.dismiss();
|
2021-08-10 13:22:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
goBack() {
|
2021-08-13 09:45:44 +01:00
|
|
|
this.popoverController.dismiss();
|
2021-08-10 13:22:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
async openBookMeetingModal() {
|
2021-08-13 09:45:44 +01:00
|
|
|
this.popoverController.dismiss({component:'openBookMeetingModal', taskAction: ''});
|
2021-08-10 13:22:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
async openExpedientActionsModal( taskAction: any) {
|
2021-08-13 09:45:44 +01:00
|
|
|
this.popoverController.dismiss({component:'openExpedientActionsModal', taskAction});
|
2021-08-10 13:22:33 +01:00
|
|
|
}
|
|
|
|
|
|
2021-08-10 14:27:12 +01:00
|
|
|
async distartExpedientModal(body:any) {}
|
2021-08-10 13:22:33 +01:00
|
|
|
|
|
|
|
|
}
|