mirror of
https://github.com/openMF/web-app.git
synced 2026-02-06 13:36:45 +00:00
Deploying to gh-pages from @ openMF/web-app@fa5e9cf173 🚀
This commit is contained in:
parent
e87f72a463
commit
3bdece2430
@ -1,4 +1,4 @@
|
||||
import{a as D}from"./chunk-65ATMIJA.js";import{$a as Ee,$b as j,$c as Be,Aa as At,Ac as ht,Ad as ut,Ba as Mt,Bc as z,Ca as kt,Cd as U,D as H,Da as E,E as qt,Ea as t,Fa as c,Fc as Q,Fd as ft,G as V,Ga as v,Gc as _,Ha as g,Hc as W,Ia as Te,Ic as tt,J as h,Jd as Pe,Jf as Re,K as C,Ka as he,La as Ce,Lc as Ft,Lf as Le,Ma as be,Mc as ke,Mf as He,Nc as et,Nd as xt,Nf as je,Oa as w,Oc as Ct,Pa as vt,Pc as Fe,Qc as nt,Ra as o,Sa as s,Sb as N,Se as jt,Ta as Lt,Tc as it,Td as Ne,Te as $t,Ue as Ut,V as ce,Vb as Tt,Vf as $e,Wb as G,Wc as at,We as Gt,Xe as zt,Yb as pe,Yc as Oe,Z as a,Ze as Qt,_a as ye,_c as bt,_e as Wt,ab as Z,ad as F,af as Yt,ba as I,bb as P,bd as q,bf as Jt,ca as A,da as Vt,df as Kt,ed as $,ga as u,gd as rt,gf as Ot,ia as m,jb as De,kd as Y,ld as ot,ma as n,mc as Ae,md as we,me as qe,na as e,ne as Ve,oa as f,od as st,og as Ue,pa as R,pb as M,pd as J,qa as L,qd as Ht,rd as K,sa as O,sd as lt,ta as T,ua as b,ud as mt,vc as k,wd as ct,xa as Rt,xc as Me,xd as pt,yd as dt,ze as yt}from"./chunk-DPL47VYT.js";import{a as Pt,b as Nt}from"./chunk-O7S4L63H.js";var We=()=>["../","edit"],Ye=()=>["../","list-account-transactions"];function Je(i,p){i&1&&(n(0,"button",1),t(1),o(2,"translate"),e()),i&2&&(m("routerLink",w(4,Ye)),a(),v(`
|
||||
import{a as D}from"./chunk-6YMUZTLS.js";import{$a as Ee,$b as j,$c as Be,Aa as At,Ac as ht,Ad as ut,Ba as Mt,Bc as z,Ca as kt,Cd as U,D as H,Da as E,E as qt,Ea as t,Fa as c,Fc as Q,Fd as ft,G as V,Ga as v,Gc as _,Ha as g,Hc as W,Ia as Te,Ic as tt,J as h,Jd as Pe,Jf as Re,K as C,Ka as he,La as Ce,Lc as Ft,Lf as Le,Ma as be,Mc as ke,Mf as He,Nc as et,Nd as xt,Nf as je,Oa as w,Oc as Ct,Pa as vt,Pc as Fe,Qc as nt,Ra as o,Sa as s,Sb as N,Se as jt,Ta as Lt,Tc as it,Td as Ne,Te as $t,Ue as Ut,V as ce,Vb as Tt,Vf as $e,Wb as G,Wc as at,We as Gt,Xe as zt,Yb as pe,Yc as Oe,Z as a,Ze as Qt,_a as ye,_c as bt,_e as Wt,ab as Z,ad as F,af as Yt,ba as I,bb as P,bd as q,bf as Jt,ca as A,da as Vt,df as Kt,ed as $,ga as u,gd as rt,gf as Ot,ia as m,jb as De,kd as Y,ld as ot,ma as n,mc as Ae,md as we,me as qe,na as e,ne as Ve,oa as f,od as st,og as Ue,pa as R,pb as M,pd as J,qa as L,qd as Ht,rd as K,sa as O,sd as lt,ta as T,ua as b,ud as mt,vc as k,wd as ct,xa as Rt,xc as Me,xd as pt,yd as dt,ze as yt}from"./chunk-IQC626QT.js";import{a as Pt,b as Nt}from"./chunk-O7S4L63H.js";var We=()=>["../","edit"],Ye=()=>["../","list-account-transactions"];function Je(i,p){i&1&&(n(0,"button",1),t(1),o(2,"translate"),e()),i&2&&(m("routerLink",w(4,Ye)),a(),v(`
|
||||
`,s(2,2,"labels.buttons.View Transactions History"),`
|
||||
`))}function Ke(i,p){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),v(" ",s(2,1,"labels.inputs.Within Bank")," "))}function Xe(i,p){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),v(" ",s(2,1,"labels.inputs.Own Account")," "))}var Xt=(()=>{class i{constructor(r){this.route=r,this.allowclientedit=!1,this.route.data.subscribe(d=>{this.standingInstructionsData=d.standingInstructionsData,this.standingInstructionsData.fromClient.id===this.standingInstructionsData.toClient.id&&(this.allowclientedit=!1)})}static{this.\u0275fac=function(d){return new(d||i)(I(N))}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-view-standing-instructions"]],decls:215,vars:90,consts:[[1,"layout-row","align-end","gap-2px","responsive-column","container","m-b-20"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],[1,"container"],[1,"layout-row-wrap","responsive-column"],[1,"mat-h2","flex-fill"],[3,"inset"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],[4,"ngIf"]],template:function(d,l){d&1&&(n(0,"div",0),t(1,`
|
||||
`),n(2,"button",1),t(3,`
|
||||
@ -1 +1 @@
|
||||
import{Ab as N,D as f,G as l,wb as m,xb as a,xc as i,y as g}from"./chunk-DPL47VYT.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{Ab as N,D as f,G as l,wb as m,xb as a,xc as i,y as g}from"./chunk-IQC626QT.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{D as r,G as i,Qf as n}from"./chunk-DPL47VYT.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{D as r,G as i,Qf as n}from"./chunk-IQC626QT.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 +1 @@
|
||||
import{Ab as d,D as i,G as p,Of as n,j as u,xb as c}from"./chunk-DPL47VYT.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{Ab as d,D as i,G as p,Of as n,j as u,xb as c}from"./chunk-IQC626QT.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,4 +1,4 @@
|
||||
import{$b as x,Ea as t,Fa as m,Ga as u,Oa as f,Ra as o,Sa as a,Z as n,ad as E,ba as p,ca as d,ia as c,kc as v,ma as e,na as i,nc as D,oc as M,pb as g,pc as b,qc as C,vc as S}from"./chunk-DPL47VYT.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{$b as x,Ea as t,Fa as m,Ga as u,Oa as f,Ra as o,Sa as a,Z as n,ad as E,ba as p,ca as d,ia as c,kc as v,ma as e,na as i,nc as D,oc as M,pb as g,pc as b,qc as C,vc as S}from"./chunk-IQC626QT.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{D as r,G as c,Qf as a}from"./chunk-DPL47VYT.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{D as r,G as c,Qf as a}from"./chunk-IQC626QT.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{$b as L,Ab as Y,Ad as ft,Bc as tt,Cd as xt,D as E,E as y,Ea as t,Fa as c,Fc as et,Fd as ht,G as w,Ga as h,Gc as it,Ha as b,Hc as at,Ic as nt,J as Q,Jd as bt,Jf as Rt,K as z,Mf as Pt,Nc as lt,Oa as B,Qc as ot,Ra as m,Sa as p,Sb as F,Se as vt,Tc as rt,Te as gt,Ue as _t,Vb as O,Vf as Tt,Wb as V,Wc as mt,We as St,Xe as Dt,Yb as U,Z as o,Ze as It,_c as pt,_e as Mt,ad as A,af as Et,ba as f,bb as W,bd as j,bf as yt,ca as R,da as P,df as wt,ed as H,ga as d,gd as st,ia as C,kd as ct,ld as dt,ma as i,mc as Z,na as a,oa as u,og as Bt,pa as D,pb as g,pd as ut,qa as I,rd as Ct,sa as J,ta as T,ua as K,vc as N,xb as X}from"./chunk-DPL47VYT.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{$b as L,Ab as Y,Ad as ft,Bc as tt,Cd as xt,D as E,E as y,Ea as t,Fa as c,Fc as et,Fd as ht,G as w,Ga as h,Gc as it,Ha as b,Hc as at,Ic as nt,J as Q,Jd as bt,Jf as Rt,K as z,Mf as Pt,Nc as lt,Oa as B,Qc as ot,Ra as m,Sa as p,Sb as F,Se as vt,Tc as rt,Te as gt,Ue as _t,Vb as O,Vf as Tt,Wb as V,Wc as mt,We as St,Xe as Dt,Yb as U,Z as o,Ze as It,_c as pt,_e as Mt,ad as A,af as Et,ba as f,bb as W,bd as j,bf as yt,ca as R,da as P,df as wt,ed as H,ga as d,gd as st,ia as C,kd as ct,ld as dt,ma as i,mc as Z,na as a,oa as u,og as Bt,pa as D,pb as g,pd as ut,qa as I,rd as Ct,sa as J,ta as T,ua as K,vc as N,xb as X}from"./chunk-IQC626QT.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-V7G3OXV2.js";import{a as Fn,b as wn}from"./chunk-EBVLVOX2.js";import{a as mi}from"./chunk-65ATMIJA.js";import{$a as Oe,$b as B,Aa as _t,Ab as Hn,Ac as J,Ad as yt,Ba as Ct,Bc as H,Bd as It,Ca as ht,Cd as ue,D as Gt,Da as R,Df as ei,E as $e,Ea as t,Fa as u,Fc as it,Fd as st,G as Lt,Ga as f,Gc as V,Ha as S,Hc as X,I as te,Ia as se,Ib as Ee,Ic as at,Id as De,Ie as Yn,If as ni,J as P,Jb as Fe,Jd as ke,Je as Jn,Jf as fe,K as M,Kf as ii,Lb as ce,Lc as Q,Lf as ai,Mb as le,Me as Xe,Mf as oi,Nb as we,Nc as ot,Nd as Ne,Ne as Ze,Oa as k,Oc as Kt,Oe as tn,P as Le,Pa as Ge,Pc as Ln,Pe as en,Qc as rt,Qd as Ke,Qe as re,Qf as $t,Ra as r,Rd as Qe,Re as Qt,Sa as c,Sb as N,Sd as Ye,Se as wt,Ta as F,Tb as zn,Tc as pt,Td as xe,Te as Bt,Ue as Rt,V as qn,Va as et,Vb as $,Vf as ri,Wa as jn,Wb as Y,Wc as dt,We as kt,Wf as nn,Xb as $n,Xe as Nt,Xf as Ve,Yb as En,Yd as Je,Z as o,Ze as Vt,_b as Be,_c as ct,_e as qt,_f as pi,ab as vt,ad as y,af as jt,ba as _,bb as w,bd as G,bf as Ht,ca as A,cb as ye,cd as Un,da as Ue,dd as Gn,df as zt,dg as ci,ed as ut,fg as li,ga as m,gd as Dt,gf as be,ha as Ae,hd as Wn,ia as d,jb as Ie,jd as Kn,kc as ee,kd as Z,lc as Re,ld as xt,lf as Xn,ma as n,mc as Wt,mf as Zn,na as i,nc as ne,nf as ti,ng as an,oa as g,ob as me,oc as ie,od as bt,og as si,pa as v,pb as O,pc as ae,pd as tt,qa as D,qc as oe,qd as Ft,rd as lt,sa as I,sd as At,ta as b,ua as C,ud as Ot,vc as E,wd as St,xa as ft,xb as de,xd as Pt,yd as Mt,zd as We,ze as Qn}from"./chunk-DPL47VYT.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-GG4Q4FOO.js";import{a as Fn,b as wn}from"./chunk-AJX7QDUO.js";import{a as mi}from"./chunk-6YMUZTLS.js";import{$a as Oe,$b as B,Aa as _t,Ab as Hn,Ac as J,Ad as yt,Ba as Ct,Bc as H,Bd as It,Ca as ht,Cd as ue,D as Gt,Da as R,Df as ei,E as $e,Ea as t,Fa as u,Fc as it,Fd as st,G as Lt,Ga as f,Gc as V,Ha as S,Hc as X,I as te,Ia as se,Ib as Ee,Ic as at,Id as De,Ie as Yn,If as ni,J as P,Jb as Fe,Jd as ke,Je as Jn,Jf as fe,K as M,Kf as ii,Lb as ce,Lc as Q,Lf as ai,Mb as le,Me as Xe,Mf as oi,Nb as we,Nc as ot,Nd as Ne,Ne as Ze,Oa as k,Oc as Kt,Oe as tn,P as Le,Pa as Ge,Pc as Ln,Pe as en,Qc as rt,Qd as Ke,Qe as re,Qf as $t,Ra as r,Rd as Qe,Re as Qt,Sa as c,Sb as N,Sd as Ye,Se as wt,Ta as F,Tb as zn,Tc as pt,Td as xe,Te as Bt,Ue as Rt,V as qn,Va as et,Vb as $,Vf as ri,Wa as jn,Wb as Y,Wc as dt,We as kt,Wf as nn,Xb as $n,Xe as Nt,Xf as Ve,Yb as En,Yd as Je,Z as o,Ze as Vt,_b as Be,_c as ct,_e as qt,_f as pi,ab as vt,ad as y,af as jt,ba as _,bb as w,bd as G,bf as Ht,ca as A,cb as ye,cd as Un,da as Ue,dd as Gn,df as zt,dg as ci,ed as ut,fg as li,ga as m,gd as Dt,gf as be,ha as Ae,hd as Wn,ia as d,jb as Ie,jd as Kn,kc as ee,kd as Z,lc as Re,ld as xt,lf as Xn,ma as n,mc as Wt,mf as Zn,na as i,nc as ne,nf as ti,ng as an,oa as g,ob as me,oc as ie,od as bt,og as si,pa as v,pb as O,pc as ae,pd as tt,qa as D,qc as oe,qd as Ft,rd as lt,sa as I,sd as At,ta as b,ua as C,ud as Ot,vc as E,wd as St,xa as ft,xb as de,xd as Pt,yd as Mt,zd as We,ze as Qn}from"./chunk-IQC626QT.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-V7G3OXV2.js";import{a as Fn,b as wn}from"./chunk-EBV
|
||||
`,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-GLQH2GEY.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-QMX5CWBB.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-I3C56GHE.js"><link rel="modulepreload" href="chunk-3UDW2IZW.js"><link rel="modulepreload" href="chunk-DPL47VYT.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-O76ZUPQ6.js"><link rel="modulepreload" href="chunk-BLBYCFIR.js"><link rel="modulepreload" href="chunk-IQC626QT.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{$a as Ze,$b as k,$c as fi,Aa as te,Ab as ci,Ac as re,Ad as Be,Ba as ie,Bc as q,Bd as je,Ca as ne,Cd as Dt,D as Ne,Da as R,Df as wt,E as dt,Ea as e,Fa as u,Fc as oe,Fd as be,Ff as Pi,G as Oe,Ga as S,Gc as $,Ha as P,Hc as se,I as ut,Ic as W,Id as Ai,If as wi,J as y,Jd as Tt,Je as rt,Jf as st,K as I,Kc as ui,Ke as yt,Kf as mt,Lf as Ri,Me as It,Mf as Fi,Nc as Y,Nd as gi,Ne as Et,Oa as N,Oc as hi,Oe as Mt,P as ht,Pa as si,Pe as Pt,Qc as me,Qd as bi,Qe as ot,Ra as m,Rd as Di,Re as Ue,Sa as c,Sb as F,Sd as Ti,Se as De,Ta as ae,Tb as pi,Tc as ce,Td as Le,Te,Ua as mi,Ue as ye,Va as Ce,Vb as z,Vf as Bi,Wb as K,Wc as pe,We as Ie,Xb as li,Xe as Ee,Xf as ki,Yb as ni,Yd as yi,Z as a,Ze as Me,_b as St,_c as le,_e as Pe,ab as qe,ad as T,af as we,ba as x,bb as j,bd as de,bf as Re,ca as b,cd as xi,da as ft,dd as Si,df as Fe,dg as Rt,ed as ue,ga as l,gd as ge,gf as Ve,hd as vi,ia as d,jd as _i,kc as vt,kd as J,lc as _t,ld as he,lf as Ii,ma as i,mc as He,mf as Ei,mg as Ni,na as n,nc as Ct,nf as Mi,oa as f,ob as et,oc as At,od as fe,og as Oi,pa as C,pb as D,pc as gt,pd as X,qa as A,qc as bt,qd as tt,rd as xe,sa as w,sd as it,ta as g,ua as _,uc as di,ud as nt,vc as E,wd as Se,xa as H,xb as xt,xd as ve,yd as _e,zd as Ci,ze as at}from"./chunk-DPL47VYT.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{$a as Ze,$b as k,$c as fi,Aa as te,Ab as ci,Ac as re,Ad as Be,Ba as ie,Bc as q,Bd as je,Ca as ne,Cd as Dt,D as Ne,Da as R,Df as wt,E as dt,Ea as e,Fa as u,Fc as oe,Fd as be,Ff as Pi,G as Oe,Ga as S,Gc as $,Ha as P,Hc as se,I as ut,Ic as W,Id as Ai,If as wi,J as y,Jd as Tt,Je as rt,Jf as st,K as I,Kc as ui,Ke as yt,Kf as mt,Lf as Ri,Me as It,Mf as Fi,Nc as Y,Nd as gi,Ne as Et,Oa as N,Oc as hi,Oe as Mt,P as ht,Pa as si,Pe as Pt,Qc as me,Qd as bi,Qe as ot,Ra as m,Rd as Di,Re as Ue,Sa as c,Sb as F,Sd as Ti,Se as De,Ta as ae,Tb as pi,Tc as ce,Td as Le,Te,Ua as mi,Ue as ye,Va as Ce,Vb as z,Vf as Bi,Wb as K,Wc as pe,We as Ie,Xb as li,Xe as Ee,Xf as ki,Yb as ni,Yd as yi,Z as a,Ze as Me,_b as St,_c as le,_e as Pe,ab as qe,ad as T,af as we,ba as x,bb as j,bd as de,bf as Re,ca as b,cd as xi,da as ft,dd as Si,df as Fe,dg as Rt,ed as ue,ga as l,gd as ge,gf as Ve,hd as vi,ia as d,jd as _i,kc as vt,kd as J,lc as _t,ld as he,lf as Ii,ma as i,mc as He,mf as Ei,mg as Ni,na as n,nc as Ct,nf as Mi,oa as f,ob as et,oc as At,od as fe,og as Oi,pa as C,pb as D,pc as gt,pd as X,qa as A,qc as bt,qd as tt,rd as xe,sa as w,sd as it,ta as g,ua as _,uc as di,ud as nt,vc as E,wd as Se,xa as H,xb as xt,xd as ve,yd as _e,zd as Ci,ze as at}from"./chunk-IQC626QT.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