mirror of
https://github.com/openMF/web-app.git
synced 2026-02-06 15:26:56 +00:00
Deploying to gh-pages from @ openMF/web-app@57f6defc4e 🚀
This commit is contained in:
parent
b58dc4a127
commit
eb35dc1fd2
File diff suppressed because one or more lines are too long
1095
browser/account-transfers.module-E5VN2UGY.js
Normal file
1095
browser/account-transfers.module-E5VN2UGY.js
Normal file
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{F as r,I as c,Uf as a}from"./chunk-JFTPDLDM.js";var f=(()=>{class t{constructor(i){this.savingsService=i}resolve(i){let e=i.paramMap.get("savingAccountId");return this.savingsService.getSavingsAccountData(e)}static{this.\u0275fac=function(e){return new(e||t)(c(a))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{f as a};
|
||||
import{F as r,I as c,Uf as a}from"./chunk-AT6AWJ4Q.js";var f=(()=>{class t{constructor(i){this.savingsService=i}resolve(i){let e=i.paramMap.get("savingAccountId");return this.savingsService.getSavingsAccountData(e)}static{this.\u0275fac=function(e){return new(e||t)(c(a))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{f as a};
|
||||
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
import{$ as n,Ga as t,Ha as m,Ia as u,Qa as f,Ta as o,Ua as a,bc as x,da as p,ea as d,ed as E,ka as c,mc as v,oa as e,pa as i,pc as D,qc as M,rb as g,rc as b,sc as C,xc as S}from"./chunk-JFTPDLDM.js";var T=()=>({confirm:!0}),O=(()=>{class l{constructor(s){this.dialogRef=s}static{this.\u0275fac=function(r){return new(r||l)(p(v))}}static{this.\u0275cmp=d({type:l,selectors:[["mifosx-undo-transaction-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(r,h){r&1&&(e(0,"h1",0),t(1),o(2,"translate"),i(),t(3,`
|
||||
import{$ as n,Ga as t,Ha as m,Ia as u,Qa as f,Ta as o,Ua as a,bc as x,da as p,ea as d,ed as E,ka as c,mc as v,oa as e,pa as i,pc as D,qc as M,rb as g,rc as b,sc as C,xc as S}from"./chunk-AT6AWJ4Q.js";var T=()=>({confirm:!0}),O=(()=>{class l{constructor(s){this.dialogRef=s}static{this.\u0275fac=function(r){return new(r||l)(p(v))}}static{this.\u0275cmp=d({type:l,selectors:[["mifosx-undo-transaction-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(r,h){r&1&&(e(0,"h1",0),t(1),o(2,"translate"),i(),t(3,`
|
||||
`),e(4,"div",1),t(5,`
|
||||
`),e(6,"p"),t(7),o(8,"translate"),i(),t(9,`
|
||||
`),i(),t(10,`
|
||||
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{Cb as d,F as i,I as p,Sf as n,k as u,zb as c}from"./chunk-JFTPDLDM.js";var h=class{constructor(a){this.selectOptions=[],this.childParameters=[],this.name=a[0],this.variable=a[1],this.label=a[2],this.displayType=a[3],this.formatType=a[4],this.defaultVal=a[5],this.selectOne=a[6],this.selectAll=a[7],this.parentParameterName=a[8],this.inputName=`R_${a[1]}`}};var l=class{constructor(a){this.id=a[0],this.name=a[1]}};var f=class{constructor(a){this.keysLabel=a.columnHeaders[0].columnName,this.valuesLabel=a.columnHeaders[1].columnName,this.keys=a.data.map(t=>t.row[0]),this.values=a.data.map(t=>t.row[1])}};var F=(()=>{class e{constructor(t){this.http=t}getReports(){return this.http.get("/reports")}getReportParams(t){let r=new c().set("R_reportListing",`'${t}'`).set("parameterType","true");return this.http.get("/runreports/FullParameterList",{params:r}).pipe(u(s=>s.data.map(o=>new h(o.row))))}getSelectOptions(t){let r=new c().set("parameterType","true");return this.http.get(`/runreports/${t}`,{params:r}).pipe(u(s=>s.data.map(o=>new l(o.row))))}getPentahoParams(t){let r=new c().set("fields","reportParameters");return this.http.get(`/reports/${t}`,{params:r}).pipe(u(s=>s.reportParameters))}getRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s})}getChartRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s}).pipe(u(o=>new f(o)))}getPentahoRunReportData(t,r,s,o,m){let g=new c().set("tenantIdentifier",s).set("locale",o).set("dateFormat",m);for(let[b,w]of Object.entries(r))g=g.set(b,w);return this.http.get(`/runreports/${t}`,{responseType:"arraybuffer",observe:"response",params:g})}static{this.\u0275fac=function(r){return new(r||e)(p(d))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGroupAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var C=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGSIMAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var B=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.paramMap.get("groupId");return this.groupsService.getGroupData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();export{F as a,L as b,C as c,B as d};
|
||||
import{Cb as d,F as i,I as p,Sf as n,k as u,zb as c}from"./chunk-AT6AWJ4Q.js";var h=class{constructor(a){this.selectOptions=[],this.childParameters=[],this.name=a[0],this.variable=a[1],this.label=a[2],this.displayType=a[3],this.formatType=a[4],this.defaultVal=a[5],this.selectOne=a[6],this.selectAll=a[7],this.parentParameterName=a[8],this.inputName=`R_${a[1]}`}};var l=class{constructor(a){this.id=a[0],this.name=a[1]}};var f=class{constructor(a){this.keysLabel=a.columnHeaders[0].columnName,this.valuesLabel=a.columnHeaders[1].columnName,this.keys=a.data.map(t=>t.row[0]),this.values=a.data.map(t=>t.row[1])}};var F=(()=>{class e{constructor(t){this.http=t}getReports(){return this.http.get("/reports")}getReportParams(t){let r=new c().set("R_reportListing",`'${t}'`).set("parameterType","true");return this.http.get("/runreports/FullParameterList",{params:r}).pipe(u(s=>s.data.map(o=>new h(o.row))))}getSelectOptions(t){let r=new c().set("parameterType","true");return this.http.get(`/runreports/${t}`,{params:r}).pipe(u(s=>s.data.map(o=>new l(o.row))))}getPentahoParams(t){let r=new c().set("fields","reportParameters");return this.http.get(`/reports/${t}`,{params:r}).pipe(u(s=>s.reportParameters))}getRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s})}getChartRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s}).pipe(u(o=>new f(o)))}getPentahoRunReportData(t,r,s,o,m){let g=new c().set("tenantIdentifier",s).set("locale",o).set("dateFormat",m);for(let[b,w]of Object.entries(r))g=g.set(b,w);return this.http.get(`/runreports/${t}`,{responseType:"arraybuffer",observe:"response",params:g})}static{this.\u0275fac=function(r){return new(r||e)(p(d))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGroupAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var C=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGSIMAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var B=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.paramMap.get("groupId");return this.groupsService.getGroupData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();export{F as a,L as b,C as c,B as d};
|
||||
@ -1 +1 @@
|
||||
import{A as g,Cb as N,F as f,I as l,yb as m,zb as a,zc as i}from"./chunk-JFTPDLDM.js";import{a as d,b as h}from"./chunk-O7S4L63H.js";var P=(()=>{class c{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){let n=new a().set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){let s=new a().set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=new a().set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){let o=Object.getOwnPropertyNames(e);for(let p=0;p<o.length;p++){let u=o[p];r=r.set(u,e[u])}}return this.http.get("/standinginstructions/template",{params:r})}createStandingInstructions(t){return this.http.post("/standinginstructions",t)}newAccountTranferResource(t,n,s){let e=new a().set("fromAccountId",t).set("fromAccountType",n);if(s){let r=Object.getOwnPropertyNames(s);for(let o=0;o<r.length;o++){let p=r[o];e=e.set(p,s[p])}}return this.http.get("/accounttransfers/template",{params:e})}createAccountTransfer(t){return this.http.post("/accounttransfers",t)}getStandingInstructions(t){let n=new a,s=Object.getOwnPropertyNames(t);for(let e=0;e<s.length;e++){let r=s[e];t[r]===""||t[r]===void 0||t[r]===null||(n=n.set(r,t[r]))}return this.http.get("/standinginstructions",{params:n})}deleteStandingInstrucions(t){let n=new a().set("command","delete");return this.http.delete(`/standinginstructions/${t}`,{params:n})}getStandingInstructionsTransactions(t,n,s){let e=new a().set("associations","transactions").set("dateFormat",n).set("limit","14").set("locale",s).set("offset","0");return this.http.get(`/standinginstructions/${t}`,{params:e})}getViewAccountTransferDetails(t){return this.http.get(`/accounttransfers/${t}`)}getAccountByNumber(t,n){let s={partyId:t,partyIdType:"MSISDN",currencyCode:n},e=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/participant`,JSON.stringify(s),{headers:e}).pipe(g(r=>{let o=JSON.stringify(h(d({},s),{ownerFspId:r.fspId}));return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){let n=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||c)(l(N))}}static{this.\u0275prov=f({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();export{P as a};
|
||||
import{A as g,Cb as N,F as f,I as l,yb as m,zb as a,zc as i}from"./chunk-AT6AWJ4Q.js";import{a as d,b as h}from"./chunk-O7S4L63H.js";var P=(()=>{class c{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){let n=new a().set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){let s=new a().set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=new a().set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){let o=Object.getOwnPropertyNames(e);for(let p=0;p<o.length;p++){let u=o[p];r=r.set(u,e[u])}}return this.http.get("/standinginstructions/template",{params:r})}createStandingInstructions(t){return this.http.post("/standinginstructions",t)}newAccountTranferResource(t,n,s){let e=new a().set("fromAccountId",t).set("fromAccountType",n);if(s){let r=Object.getOwnPropertyNames(s);for(let o=0;o<r.length;o++){let p=r[o];e=e.set(p,s[p])}}return this.http.get("/accounttransfers/template",{params:e})}createAccountTransfer(t){return this.http.post("/accounttransfers",t)}getStandingInstructions(t){let n=new a,s=Object.getOwnPropertyNames(t);for(let e=0;e<s.length;e++){let r=s[e];t[r]===""||t[r]===void 0||t[r]===null||(n=n.set(r,t[r]))}return this.http.get("/standinginstructions",{params:n})}deleteStandingInstrucions(t){let n=new a().set("command","delete");return this.http.delete(`/standinginstructions/${t}`,{params:n})}getStandingInstructionsTransactions(t,n,s){let e=new a().set("associations","transactions").set("dateFormat",n).set("limit","14").set("locale",s).set("offset","0");return this.http.get(`/standinginstructions/${t}`,{params:e})}getViewAccountTransferDetails(t){return this.http.get(`/accounttransfers/${t}`)}getAccountByNumber(t,n){let s={partyId:t,partyIdType:"MSISDN",currencyCode:n},e=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/participant`,JSON.stringify(s),{headers:e}).pipe(g(r=>{let o=JSON.stringify(h(d({},s),{ownerFspId:r.fspId}));return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){let n=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||c)(l(N))}}static{this.\u0275prov=f({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();export{P as a};
|
||||
@ -1 +1 @@
|
||||
import{F as r,I as i,Uf as n}from"./chunk-JFTPDLDM.js";var m=(()=>{class t{constructor(e){this.savingsService=e}resolve(e){let a=e.parent.parent.paramMap.get("savingAccountId")||e.parent.parent.paramMap.get("fixedDepositAccountId")||e.parent.parent.paramMap.get("recurringDepositAccountId"),c=e.paramMap.get("datatableName");return this.savingsService.getSavingsDatatable(a,c)}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();var S=(()=>{class t{constructor(e){this.savingsService=e}resolve(){return this.savingsService.getSavingsDatatables()}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{m as a,S as b};
|
||||
import{F as r,I as i,Uf as n}from"./chunk-AT6AWJ4Q.js";var m=(()=>{class t{constructor(e){this.savingsService=e}resolve(e){let a=e.parent.parent.paramMap.get("savingAccountId")||e.parent.parent.paramMap.get("fixedDepositAccountId")||e.parent.parent.paramMap.get("recurringDepositAccountId"),c=e.paramMap.get("datatableName");return this.savingsService.getSavingsDatatable(a,c)}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();var S=(()=>{class t{constructor(e){this.savingsService=e}resolve(){return this.savingsService.getSavingsDatatables()}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{m as a,S as b};
|
||||
@ -1,4 +1,4 @@
|
||||
import{$ as o,$e as Dt,Cb as Y,Ed as ft,F as E,Fc as tt,G as y,Ga as t,Gd as xt,Ha as c,I as w,Ia as h,Ja as b,Jc as et,Jd as ht,Kc as it,L as Q,Lc as at,M as z,Mc as nt,Nd as bt,Nf as Rt,Qa as B,Qf as Pt,Rc as lt,Ta as m,Ua as p,Ub as F,Uc as ot,We as vt,Xb as O,Xc as rt,Xe as gt,Yb as V,Ye as _t,Zf as Tt,_b as U,_c as mt,_e as St,bc as L,bf as It,cd as pt,cf as Mt,da as f,db as W,ea as R,ed as A,ef as Et,fa as P,fd as j,ff as yt,hf as wt,ia as d,id as H,ka as C,kd as st,oa as i,oc as Z,od as ct,pa as a,pd as dt,qa as u,ra as D,rb as g,sa as I,sg as Bt,td as ut,ua as J,va as T,vd as Ct,wa as K,xc as N,zb as X}from"./chunk-JFTPDLDM.js";import"./chunk-O7S4L63H.js";var _=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let S=new X().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(S=S.set("officeId",v)),this.http.get("/clients",{params:S})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(w(Y))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ht=()=>["edit"];function qt(e,s){e&1&&(i(0,"button",16),t(1,`
|
||||
import{$ as o,$e as Dt,Cb as Y,Ed as ft,F as E,Fc as tt,G as y,Ga as t,Gd as xt,Ha as c,I as w,Ia as h,Ja as b,Jc as et,Jd as ht,Kc as it,L as Q,Lc as at,M as z,Mc as nt,Nd as bt,Nf as Rt,Qa as B,Qf as Pt,Rc as lt,Ta as m,Ua as p,Ub as F,Uc as ot,We as vt,Xb as O,Xc as rt,Xe as gt,Yb as V,Ye as _t,Zf as Tt,_b as U,_c as mt,_e as St,bc as L,bf as It,cd as pt,cf as Mt,da as f,db as W,ea as R,ed as A,ef as Et,fa as P,fd as j,ff as yt,hf as wt,ia as d,id as H,ka as C,kd as st,oa as i,oc as Z,od as ct,pa as a,pd as dt,qa as u,ra as D,rb as g,sa as I,sg as Bt,td as ut,ua as J,va as T,vd as Ct,wa as K,xc as N,zb as X}from"./chunk-AT6AWJ4Q.js";import"./chunk-O7S4L63H.js";var _=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let S=new X().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(S=S.set("officeId",v)),this.http.get("/clients",{params:S})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(w(Y))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ht=()=>["edit"];function qt(e,s){e&1&&(i(0,"button",16),t(1,`
|
||||
`),u(2,"fa-icon",17),t(3),m(4,"translate"),a()),e&2&&(C("routerLink",B(4,Ht)),o(3),h(`
|
||||
`,p(4,2,"labels.buttons.Edit"),`
|
||||
`))}function kt(e,s){if(e&1){let n=J();i(0,"button",18),T("click",function(){Q(n);let r=K();return z(r.deleteCollateral())}),t(1,`
|
||||
@ -1,4 +1,4 @@
|
||||
import{a as di}from"./chunk-LNIBDYCO.js";import{a as Fn,b as wn}from"./chunk-KREIMA5H.js";import{a as mi}from"./chunk-ZZUSF5VQ.js";import{$ as o,$e as Nt,$f as Ve,Ad as St,Bd as Pt,Ca as _t,Cb as Hn,Cd as Mt,Da as Ct,Dd as We,De as Qn,Ea as ht,Ec as J,Ed as yt,F as Gt,Fa as R,Fc as H,Fd as It,G as $e,Ga as t,Gd as ue,Ha as u,Hf as ei,I as Lt,Ia as f,Ja as S,Jc as it,Jd as st,K as te,Ka as se,Kb as Ee,Kc as V,L as P,Lb as Fe,Lc as X,M,Mc as at,Md as De,Me as Yn,Mf as ni,Nb as ce,Nd as ke,Ne as Jn,Nf as fe,Ob as le,Of as ii,Pb as we,Pc as Q,Pf as ai,Qa as k,Qe as Xe,Qf as oi,R as Le,Ra as Ge,Rc as ot,Rd as Ne,Re as Ze,Sc as Kt,Se as tn,Ta as r,Tc as Ln,Te as en,Ua as c,Ub as N,Uc as rt,Ud as Ke,Ue as re,Uf as $t,Va as F,Vb as zn,Vd as Qe,Ve as Qt,Wd as Ye,We as wt,X as qn,Xa as et,Xb as $,Xc as pt,Xd as xe,Xe as Bt,Ya as jn,Yb as Y,Ye as Rt,Zb as $n,Zf as ri,_b as En,_c as dt,_e as kt,_f as nn,ac as Be,ae as Je,bb as Oe,bc as B,bf as Vt,cb as vt,cd as ct,cf as qt,cg as pi,da as _,db as w,ea as A,eb as ye,ed as y,ef as jt,fa as Ue,fd as G,ff as Ht,gd as Un,hd as Gn,hf as zt,hg as ci,ia as m,id as ut,ja as Ae,jg as li,ka as d,kd as Dt,kf as be,lb as Ie,ld as Wn,mc as ee,nc as Re,nd as Kn,oa as n,oc as Wt,od as Z,pa as i,pc as ne,pd as xt,pf as Xn,qa as g,qb as me,qc as ie,qf as Zn,ra as v,rb as O,rc as ae,rf as ti,rg as an,sa as D,sc as oe,sd as bt,sg as si,td as tt,ua as I,ud as Ft,va as b,vd as lt,wa as C,wd as At,xc as E,yd as Ot,za as ft,zb as de}from"./chunk-JFTPDLDM.js";import{a as j,b as K}from"./chunk-O7S4L63H.js";var xi=()=>({confirm:!0}),on=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(ee))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,`
|
||||
import{a as di}from"./chunk-CC2XCZAE.js";import{a as Fn,b as wn}from"./chunk-VT4YNKXF.js";import{a as mi}from"./chunk-VJDIUSML.js";import{$ as o,$e as Nt,$f as Ve,Ad as St,Bd as Pt,Ca as _t,Cb as Hn,Cd as Mt,Da as Ct,Dd as We,De as Qn,Ea as ht,Ec as J,Ed as yt,F as Gt,Fa as R,Fc as H,Fd as It,G as $e,Ga as t,Gd as ue,Ha as u,Hf as ei,I as Lt,Ia as f,Ja as S,Jc as it,Jd as st,K as te,Ka as se,Kb as Ee,Kc as V,L as P,Lb as Fe,Lc as X,M,Mc as at,Md as De,Me as Yn,Mf as ni,Nb as ce,Nd as ke,Ne as Jn,Nf as fe,Ob as le,Of as ii,Pb as we,Pc as Q,Pf as ai,Qa as k,Qe as Xe,Qf as oi,R as Le,Ra as Ge,Rc as ot,Rd as Ne,Re as Ze,Sc as Kt,Se as tn,Ta as r,Tc as Ln,Te as en,Ua as c,Ub as N,Uc as rt,Ud as Ke,Ue as re,Uf as $t,Va as F,Vb as zn,Vd as Qe,Ve as Qt,Wd as Ye,We as wt,X as qn,Xa as et,Xb as $,Xc as pt,Xd as xe,Xe as Bt,Ya as jn,Yb as Y,Ye as Rt,Zb as $n,Zf as ri,_b as En,_c as dt,_e as kt,_f as nn,ac as Be,ae as Je,bb as Oe,bc as B,bf as Vt,cb as vt,cd as ct,cf as qt,cg as pi,da as _,db as w,ea as A,eb as ye,ed as y,ef as jt,fa as Ue,fd as G,ff as Ht,gd as Un,hd as Gn,hf as zt,hg as ci,ia as m,id as ut,ja as Ae,jg as li,ka as d,kd as Dt,kf as be,lb as Ie,ld as Wn,mc as ee,nc as Re,nd as Kn,oa as n,oc as Wt,od as Z,pa as i,pc as ne,pd as xt,pf as Xn,qa as g,qb as me,qc as ie,qf as Zn,ra as v,rb as O,rc as ae,rf as ti,rg as an,sa as D,sc as oe,sd as bt,sg as si,td as tt,ua as I,ud as Ft,va as b,vd as lt,wa as C,wd as At,xc as E,yd as Ot,za as ft,zb as de}from"./chunk-AT6AWJ4Q.js";import{a as j,b as K}from"./chunk-O7S4L63H.js";var xi=()=>({confirm:!0}),on=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(ee))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,`
|
||||
`),n(4,"div",1),t(5,`
|
||||
`),n(6,"p"),t(7),r(8,"translate"),i(),t(9,`
|
||||
`),i(),t(10,`
|
||||
@ -2267,4 +2267,4 @@ import{a as di}from"./chunk-LNIBDYCO.js";import{a as Fn,b as wn}from"./chunk-KRE
|
||||
`,p.fixedDepositsAccountData.maturityDate?c(61,47,p.fixedDepositsAccountData.maturityDate):"N/A",`
|
||||
`),o(7),u(c(68,49,"labels.inputs.Deposit Period")),o(4),S(`
|
||||
`,p.fixedDepositsAccountData.depositPeriod,"\xA0",F(72,51,p.fixedDepositsAccountData.depositPeriodFrequency.value,"catalogs"),`
|
||||
`),o(4),d("ngIf",p.fixedDepositsAccountData.withHoldTax),o(2),d("ngIf",p.fixedDepositsAccountData.onAccountClosure),o(8),u(c(86,54,"labels.heading.Interest Details")),o(10),u(c(96,56,"labels.inputs.Interest Rate")),o(4),f("",p.fixedDepositsAccountData.nominalAnnualInterestRate," %"),o(6),u(c(106,58,"labels.inputs.Interest Compounding Period")),o(4),u(F(110,60,p.fixedDepositsAccountData.interestCompoundingPeriodType.value,"catalogs")),o(7),u(c(117,63,"labels.inputs.Interest Posting Period")),o(4),u(F(121,65,p.fixedDepositsAccountData.interestPostingPeriodType.value,"catalogs")),o(7),u(c(128,68,"labels.inputs.Interest Calculated Using")),o(4),u(F(132,70,p.fixedDepositsAccountData.interestCalculationType.value,"catalogs")),o(7),u(c(139,73,"labels.inputs.No. of Days in Year")),o(4),u(F(143,75,p.fixedDepositsAccountData.interestCalculationDaysInYearType.value,"catalogs")),o(4),d("ngIf",p.fixedDepositsAccountData.preClosurePenalApplicable),o(8),d("ngIf",!p.fixedDepositsAccountData.status.rejected&&!p.fixedDepositsAccountData.status.submittedAndPendingApproval)("ngIfElse",x)}},dependencies:[O,w,me,y,yt,E,It,ei],styles:[".fixed-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var ll=[{path:"",data:{title:"All Fixed Deposits",breadcrumb:"Fixed Deposits",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Fixed Deposit Account",breadcrumb:"Create Fixed Deposit Account"},component:An,resolve:{fixedDepositsAccountTemplate:Nn}},{path:":fixedDepositAccountId",data:{title:"Fixed Deposit Account View",routeParamBreadcrumb:"fixedDepositAccountId"},resolve:{fixedDepositsAccountData:yn},children:[{path:"",component:cn,resolve:{fixedDepositsAccountData:yn,savingsDatatables:wn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:In,data:{title:"Fixed Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:ln,data:{title:"Fixed Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:sn,data:{title:"Fixed Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:un,data:{title:"Fixed Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:xn,data:{title:"Fixed Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:fn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:Fn}}]}]},{path:"edit",data:{title:"Edit Fixed Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:On,resolve:{fixedDepositsAccountAndTemplate:Vn}},{path:"transactions",data:{title:"Fixed Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:"account-transfers",loadChildren:()=>import("./account-transfers.module-BXOTWU6G.js").then(e=>e.AccountTransfersModule)},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Tn,resolve:{fixedDepositsAccountTransaction:Rn}}]}]},{path:"actions/:name",data:{title:"Fixed Deposits Account Actions",routeParamBreadcrumb:"name"},component:Mn,resolve:{fixedDepositsAccountActionData:kn}}]}]}],ui=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({providers:[yn,Fn,wn,Rn,kn,Nn,Vn],imports:[En.forChild(ll),En]})}}return e})();var Mg=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({imports:[si,oi,ri,ui,cn,sn,un,xn,ln,fn,Mn,gn,_n,rn,on,ze,Cn,hn,vn,Tn,mn,dn,Dn,bn,Sn,An,_e,Ce,ve,he,je,He,On,In,Pn]})}}return e})();export{Mg as FixedDepositsModule};
|
||||
`),o(4),d("ngIf",p.fixedDepositsAccountData.withHoldTax),o(2),d("ngIf",p.fixedDepositsAccountData.onAccountClosure),o(8),u(c(86,54,"labels.heading.Interest Details")),o(10),u(c(96,56,"labels.inputs.Interest Rate")),o(4),f("",p.fixedDepositsAccountData.nominalAnnualInterestRate," %"),o(6),u(c(106,58,"labels.inputs.Interest Compounding Period")),o(4),u(F(110,60,p.fixedDepositsAccountData.interestCompoundingPeriodType.value,"catalogs")),o(7),u(c(117,63,"labels.inputs.Interest Posting Period")),o(4),u(F(121,65,p.fixedDepositsAccountData.interestPostingPeriodType.value,"catalogs")),o(7),u(c(128,68,"labels.inputs.Interest Calculated Using")),o(4),u(F(132,70,p.fixedDepositsAccountData.interestCalculationType.value,"catalogs")),o(7),u(c(139,73,"labels.inputs.No. of Days in Year")),o(4),u(F(143,75,p.fixedDepositsAccountData.interestCalculationDaysInYearType.value,"catalogs")),o(4),d("ngIf",p.fixedDepositsAccountData.preClosurePenalApplicable),o(8),d("ngIf",!p.fixedDepositsAccountData.status.rejected&&!p.fixedDepositsAccountData.status.submittedAndPendingApproval)("ngIfElse",x)}},dependencies:[O,w,me,y,yt,E,It,ei],styles:[".fixed-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var ll=[{path:"",data:{title:"All Fixed Deposits",breadcrumb:"Fixed Deposits",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Fixed Deposit Account",breadcrumb:"Create Fixed Deposit Account"},component:An,resolve:{fixedDepositsAccountTemplate:Nn}},{path:":fixedDepositAccountId",data:{title:"Fixed Deposit Account View",routeParamBreadcrumb:"fixedDepositAccountId"},resolve:{fixedDepositsAccountData:yn},children:[{path:"",component:cn,resolve:{fixedDepositsAccountData:yn,savingsDatatables:wn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:In,data:{title:"Fixed Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:ln,data:{title:"Fixed Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:sn,data:{title:"Fixed Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:un,data:{title:"Fixed Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:xn,data:{title:"Fixed Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:fn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:Fn}}]}]},{path:"edit",data:{title:"Edit Fixed Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:On,resolve:{fixedDepositsAccountAndTemplate:Vn}},{path:"transactions",data:{title:"Fixed Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:"account-transfers",loadChildren:()=>import("./account-transfers.module-E5VN2UGY.js").then(e=>e.AccountTransfersModule)},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Tn,resolve:{fixedDepositsAccountTransaction:Rn}}]}]},{path:"actions/:name",data:{title:"Fixed Deposits Account Actions",routeParamBreadcrumb:"name"},component:Mn,resolve:{fixedDepositsAccountActionData:kn}}]}]}],ui=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({providers:[yn,Fn,wn,Rn,kn,Nn,Vn],imports:[En.forChild(ll),En]})}}return e})();var Mg=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({imports:[si,oi,ri,ui,cn,sn,un,xn,ln,fn,Mn,gn,_n,rn,on,ze,Cn,hn,vn,Tn,mn,dn,Dn,bn,Sn,An,_e,Ce,ve,he,je,He,On,In,Pn]})}}return e})();export{Mg as FixedDepositsModule};
|
||||
@ -57,5 +57,5 @@
|
||||
<div class="right triangle"></div>
|
||||
</div>
|
||||
</mifosx-web-app>
|
||||
<link rel="modulepreload" href="chunk-JMMR5IIN.js"><link rel="modulepreload" href="chunk-UP2J3HSS.js"><link rel="modulepreload" href="chunk-JFTPDLDM.js"><link rel="modulepreload" href="chunk-O7S4L63H.js"><script src="polyfills.js" type="module"></script><script src="main.js" type="module"></script></body>
|
||||
<link rel="modulepreload" href="chunk-EIZXC7NZ.js"><link rel="modulepreload" href="chunk-PT3CQIGN.js"><link rel="modulepreload" href="chunk-AT6AWJ4Q.js"><link rel="modulepreload" href="chunk-O7S4L63H.js"><script src="polyfills.js" type="module"></script><script src="main.js" type="module"></script></body>
|
||||
</html>
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
import{$ as a,$e as Ee,$f as ki,Ad as Se,Bd as ve,Ca as te,Cb as ci,Cd as _e,Da as ie,Dd as Ci,De as at,Ea as ne,Ec as re,Ed as Be,F as Ne,Fa as R,Fc as q,Fd as je,G as dt,Ga as e,Gd as Dt,Ha as u,Hf as wt,I as Oe,Ia as S,Ja as P,Jc as oe,Jd as be,Jf as Pi,K as ut,Kc as $,L as y,Lc as se,M as I,Mc as W,Md as Ai,Mf as wi,Nd as Tt,Ne as rt,Nf as st,Oc as ui,Oe as yt,Of as mt,Pf as Ri,Qa as N,Qe as It,Qf as Fi,R as ht,Ra as si,Rc as Y,Rd as gi,Re as Et,Sc as hi,Se as Mt,Ta as m,Te as Pt,Ua as c,Ub as F,Uc as me,Ud as bi,Ue as ot,Va as ae,Vb as pi,Vd as Di,Ve as Ue,Wa as mi,Wd as Ti,We as De,Xa as Ce,Xb as z,Xc as ce,Xd as Le,Xe as Te,Yb as K,Ye as ye,Zb as li,Zf as Bi,_b as ni,_c as pe,_e as Ie,ac as St,ae as yi,bb as Ze,bc as k,bf as Me,cb as qe,cd as le,cf as Pe,da as x,db as j,dd as fi,ea as b,ed as T,ef as we,fa as ft,fd as de,ff as Re,gd as xi,hd as Si,hf as Fe,hg as Rt,ia as l,id as ue,ka as d,kd as ge,kf as Ve,ld as vi,mc as vt,nc as _t,nd as _i,oa as i,oc as He,od as J,pa as n,pc as Ct,pd as he,pf as Ii,qa as f,qb as et,qc as At,qf as Ei,qg as Ni,ra as C,rb as D,rc as gt,rf as Mi,sa as A,sc as bt,sd as fe,sg as Oi,td as X,ua as w,ud as tt,va as g,vd as xe,wa as _,wc as di,wd as it,xc as E,yd as nt,za as H,zb as xt}from"./chunk-JFTPDLDM.js";import{a as V,b as Q}from"./chunk-O7S4L63H.js";var B=(()=>{class t{constructor(r){this.http=r}getSharesAccountData(r,s){let o=new xt().set("template",s.toString());return this.http.get(`/accounts/share/${r}`,{params:o})}getSharesAccountTemplate(r,s){let o=new xt().set("clientId",r);return o=s?o.set("productId",s):o,this.http.get("/accounts/share/template",{params:o})}createSharesAccount(r){return this.http.post("/accounts/share",r)}updateSharesAccount(r,s){return this.http.put(`/accounts/share/${r}`,s)}deleteSharesAccount(r){return this.http.delete(`/accounts/share/${r}`)}executeSharesAccountCommand(r,s,o){let h=new xt().set("command",s);return this.http.post(`/accounts/share/${r}`,o,{params:h})}static{this.\u0275fac=function(s){return new(s||t)(Oe(ci))}}static{this.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ft=class{constructor(p){this.setOptions(p),this.setButtons(p)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(p){switch(p){case"Active":this.buttonsArray=[{name:"Apply Additional Shares",icon:"arrow-right",taskPermissionName:"APPLYADDITIONAL_SHAREACCOUNT"},{name:"Approve Additional Shares",icon:"arrow-right",taskPermissionName:"APPROVEADDITIONAL_SHAREACCOUNT"},{name:"Reject Additional Shares",icon:"arrow-left",taskPermissionName:"REJECTADDITIONAL_SHAREACCOUNT"},{name:"Redeem Shares",icon:"arrow-left",taskPermissionName:"WITHDRAW_SAVINGSACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"pencil",taskPermissionName:"UPDATE_SHAREACCOUNT"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_SHAREACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_SHAREACCOUNT"},{name:"Activate",icon:"check",taskPermissionName:"ACTIVATE_SHAREACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(p){switch(p){case"Active":this.optionArray=[{name:"Close",taskPermissionName:"CLOSE_SHAREACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",taskPermissionName:"REJECT_SHAREACCOUNT"},{name:"Delete",taskPermissionName:"DELETE_SHAREACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(p){this.optionArray.push(p)}removeButton(p){let s=this.buttonsArray.map(o=>o.name).indexOf(p);this.buttonsArray.splice(s,1)}};var Li=()=>["./general"],Ui=()=>["./transactions"],$i=()=>["./charges"],Gi=()=>["./dividends"];function zi(t,p){if(t&1&&(i(0,"span",31),e(1,`
|
||||
import{$ as a,$e as Ee,$f as ki,Ad as Se,Bd as ve,Ca as te,Cb as ci,Cd as _e,Da as ie,Dd as Ci,De as at,Ea as ne,Ec as re,Ed as Be,F as Ne,Fa as R,Fc as q,Fd as je,G as dt,Ga as e,Gd as Dt,Ha as u,Hf as wt,I as Oe,Ia as S,Ja as P,Jc as oe,Jd as be,Jf as Pi,K as ut,Kc as $,L as y,Lc as se,M as I,Mc as W,Md as Ai,Mf as wi,Nd as Tt,Ne as rt,Nf as st,Oc as ui,Oe as yt,Of as mt,Pf as Ri,Qa as N,Qe as It,Qf as Fi,R as ht,Ra as si,Rc as Y,Rd as gi,Re as Et,Sc as hi,Se as Mt,Ta as m,Te as Pt,Ua as c,Ub as F,Uc as me,Ud as bi,Ue as ot,Va as ae,Vb as pi,Vd as Di,Ve as Ue,Wa as mi,Wd as Ti,We as De,Xa as Ce,Xb as z,Xc as ce,Xd as Le,Xe as Te,Yb as K,Ye as ye,Zb as li,Zf as Bi,_b as ni,_c as pe,_e as Ie,ac as St,ae as yi,bb as Ze,bc as k,bf as Me,cb as qe,cd as le,cf as Pe,da as x,db as j,dd as fi,ea as b,ed as T,ef as we,fa as ft,fd as de,ff as Re,gd as xi,hd as Si,hf as Fe,hg as Rt,ia as l,id as ue,ka as d,kd as ge,kf as Ve,ld as vi,mc as vt,nc as _t,nd as _i,oa as i,oc as He,od as J,pa as n,pc as Ct,pd as he,pf as Ii,qa as f,qb as et,qc as At,qf as Ei,qg as Ni,ra as C,rb as D,rc as gt,rf as Mi,sa as A,sc as bt,sd as fe,sg as Oi,td as X,ua as w,ud as tt,va as g,vd as xe,wa as _,wc as di,wd as it,xc as E,yd as nt,za as H,zb as xt}from"./chunk-AT6AWJ4Q.js";import{a as V,b as Q}from"./chunk-O7S4L63H.js";var B=(()=>{class t{constructor(r){this.http=r}getSharesAccountData(r,s){let o=new xt().set("template",s.toString());return this.http.get(`/accounts/share/${r}`,{params:o})}getSharesAccountTemplate(r,s){let o=new xt().set("clientId",r);return o=s?o.set("productId",s):o,this.http.get("/accounts/share/template",{params:o})}createSharesAccount(r){return this.http.post("/accounts/share",r)}updateSharesAccount(r,s){return this.http.put(`/accounts/share/${r}`,s)}deleteSharesAccount(r){return this.http.delete(`/accounts/share/${r}`)}executeSharesAccountCommand(r,s,o){let h=new xt().set("command",s);return this.http.post(`/accounts/share/${r}`,o,{params:h})}static{this.\u0275fac=function(s){return new(s||t)(Oe(ci))}}static{this.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ft=class{constructor(p){this.setOptions(p),this.setButtons(p)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(p){switch(p){case"Active":this.buttonsArray=[{name:"Apply Additional Shares",icon:"arrow-right",taskPermissionName:"APPLYADDITIONAL_SHAREACCOUNT"},{name:"Approve Additional Shares",icon:"arrow-right",taskPermissionName:"APPROVEADDITIONAL_SHAREACCOUNT"},{name:"Reject Additional Shares",icon:"arrow-left",taskPermissionName:"REJECTADDITIONAL_SHAREACCOUNT"},{name:"Redeem Shares",icon:"arrow-left",taskPermissionName:"WITHDRAW_SAVINGSACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"pencil",taskPermissionName:"UPDATE_SHAREACCOUNT"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_SHAREACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_SHAREACCOUNT"},{name:"Activate",icon:"check",taskPermissionName:"ACTIVATE_SHAREACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(p){switch(p){case"Active":this.optionArray=[{name:"Close",taskPermissionName:"CLOSE_SHAREACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",taskPermissionName:"REJECT_SHAREACCOUNT"},{name:"Delete",taskPermissionName:"DELETE_SHAREACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(p){this.optionArray.push(p)}removeButton(p){let s=this.buttonsArray.map(o=>o.name).indexOf(p);this.buttonsArray.splice(s,1)}};var Li=()=>["./general"],Ui=()=>["./transactions"],$i=()=>["./charges"],Gi=()=>["./dividends"];function zi(t,p){if(t&1&&(i(0,"span",31),e(1,`
|
||||
`),f(2,"mifosx-account-number",32),e(3,`
|
||||
`),n()),t&2){let r=_();a(2),H("accountNo",r.sharesAccountData.clientAccountNo)}}function Qi(t,p){if(t&1&&(i(0,"tr"),e(1,`
|
||||
`),i(2,"td"),e(3),m(4,"translate"),n(),e(5,`
|
||||
Loading…
Reference in New Issue
Block a user