mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
36 lines
1.3 KiB
TypeScript
36 lines
1.3 KiB
TypeScript
|
|
import { Injectable } from '@angular/core';
|
||
|
|
import { DespachoStore } from 'src/app/store/despacho-store.service';
|
||
|
|
import { EventoAprovacaoStore } from 'src/app/store/eventoaprovacao-store.service';
|
||
|
|
import { ExpedienteGdStore } from 'src/app/store/expedientegd-store.service';
|
||
|
|
import { PendentesStore } from 'src/app/store/pendestes-store.service';
|
||
|
|
import { PedidosStore } from 'src/app/store/pedidos-store.service';
|
||
|
|
import { ExpedienteprStore } from 'src/app/store/expedientepr-store.service';
|
||
|
|
import { DespachosprStore } from 'src/app/store/despachospr-store.service';
|
||
|
|
|
||
|
|
|
||
|
|
@Injectable({
|
||
|
|
providedIn: 'root'
|
||
|
|
})
|
||
|
|
export class DocumentCounterService {
|
||
|
|
|
||
|
|
expedientegbstore = ExpedienteGdStore;
|
||
|
|
pendentesstore = PendentesStore;
|
||
|
|
despachoStore = DespachoStore;
|
||
|
|
eventoaprovacaostore = EventoAprovacaoStore;
|
||
|
|
pedidosstore = PedidosStore;
|
||
|
|
expedienteprstore = ExpedienteprStore;
|
||
|
|
despachoprstore = DespachosprStore;
|
||
|
|
|
||
|
|
constructor() { }
|
||
|
|
|
||
|
|
get mdTotalDocument() {
|
||
|
|
return this.despachoStore.count + this.expedientegbstore.count + this.pedidosstore.countdeferimento
|
||
|
|
+ this.pedidosstore.countparecer + this.expedienteprstore.count + this.despachoprstore.count + this.pendentesstore.count
|
||
|
|
+ this.eventoaprovacaostore.count
|
||
|
|
}
|
||
|
|
|
||
|
|
get prTotalDocument() {
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
}
|