PageSourceSearch

https://adnavem.com/chunk-35WVKNHM.js

js adnavem.com collected 2026-10-02 19:51:18 UTC 12,463 bytes, 1 lines download raw bytes

1import{a as oe,b as ae}from"./chunk-TW5ANFAD.js";import{a as te}from"./chunk-MAUWBJZS.js";import{a as ne}from"./chunk-VKLKMV4K.js";import{a as ie}from"./chunk-35QDLGYT.js";import{b as ee}from"./chunk-L4LMAGEJ.js";import{L as q,O as J,Tc as Z,jd as $,la as Q}from"./chunk-VS3TSIZI.js";import{Kb as G,Qb as X,dc as Y,f as L,g as j,h as N,j as R,k as U,u as D}from"./chunk-3VRW5VNG.js";import{d as O,e as z}from"./chunk-PNLMOTJC.js";import{$a as b,Bb as F,Cb as r,Ec as k,Fb as d,G as A,Pb as T,Qa as c,Sc as M,Va as h,Xb as s,Yb as m,Zb as u,_a as P,ad as E,ba as W,ca as C,ea as v,eb as I,hc as g,ic as _,id as H,jb as f,kd as K,ma as l,na as p,nd as V,p as S,r as w,tb as o,ub as a,zb as B}from"./chunk-DPQN2WG2.js";import"./chunk-WWX6BADO.js";var x=(()=>{class y{handleError(i){return S(i)}constructor(i){this.http=i}get(i){return this.http.get(`api/v1/finance/parties/${i}/accountingSetup`).pipe(w(t=>t),A(this.handleError))}put(i,t){return this.http.put(`api/v1/finance/parties/${i}/accountingSetup`,t).pipe(w(e=>e),A(this.handleError))}static{this.\u0275fac=function(t){return new(t||y)(v(E))}}static{this.\u0275prov=W({token:y,factory:y.\u0275fac})}}return y})(),le=(()=>{class y{static{this.\u0275fac=function(t){return new(t||y)}}static{this.\u0275mod=b({type:y})}static{this.\u0275inj=C({providers:[x],imports:[M]})}}return y})();function se(y,ue){if(y&1){let i=B();o(0,"form",null,0)(2,"div",3)(3,"div",4)(4,"app-text-input",5),g(5,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.commissionFeeAccount,e)||(n.model.commissionFeeAccount=e),p(e)}),a()(),o(6,"div",4)(7,"app-text-input",6),g(8,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.commissionFeeVatAccount,e)||(n.model.commissionFeeVatAccount=e),p(e)}),a()(),o(9,"div",4)(10,"app-percentage-input",7),g(11,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.commissionFeeVatFactor,e)||(n.model.commissionFeeVatFactor=e),p(e)}),a()()(),o(12,"div",3)(13,"div",4)(14,"app-text-input",8),g(15,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.shipmentChargeAccount,e)||(n.model.shipmentChargeAccount=e),p(e)}),a()(),o(16,"div",4)(17,"app-text-input",9),g(18,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.shipmentChargeVatAccount,e)||(n.model.shipmentChargeVatAccount=e),p(e)}),a()(),o(19,"div",4)(20,"app-percentage-input",10),g(21,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.shipmentChargeVatFactor,e)||(n.model.shipmentChargeVatFactor=e),p(e)}),a()()(),o(22,"div",3)(23,"div",4)(24,"app-text-input",11),g(25,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.bankingFeeAccount,e)||(n.model.bankingFeeAccount=e),p(e)}),a()(),o(26,"div",4)(27,"app-text-input",12),g(28,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.bankingFeeVatAccount,e)||(n.model.bankingFeeVatAccount=e),p(e)}),a()(),o(29,"div",4)(30,"app-percentage-input",13),g(31,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.bankingFeeVatFactor,e)||(n.model.bankingFeeVatFactor=e),p(e)}),a()()(),o(32,"div",3)(33,"div",4)(34,"app-text-input",14),g(35,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.consolidatedInvoiceFeeAccount,e)||(n.model.consolidatedInvoiceFeeAccount=e),p(e)}),a()(),o(36,"div",4)(37,"app-text-input",15),g(38,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.consolidatedInvoiceFeeVatAccount,e)||(n.model.consolidatedInvoiceFeeVatAccount=e),p(e)}),a()(),o(39,"div",4)(40,"app-percentage-input",16),g(41,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.consolidatedInvoiceFeeVatFactor,e)||(n.model.consolidatedInvoiceFeeVatFactor=e),p(e)}),a()()(),o(42,"div",3)(43,"div",4)(44,"app-text-input",17),g(45,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.subscriptionFeeAccount,e)||(n.model.subscriptionFeeAccount=e),p(e)}),a()(),o(46,"div",4)(47,"app-text-input",18),g(48,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.subscriptionFeeVatAccount,e)||(n.model.subscriptionFeeVatAccount=e),p(e)}),a()(),o(49,"div",4)(50,"app-percentage-input",19),g(51,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.subscriptionFeeVatFactor,e)||(n.model.subscriptionFeeVatFactor=e),p(e)}),a()()(),o(52,"div",3)(53,"div",4)(54,"app-text-input",20),g(55,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.bookingFeeAccount,e)||(n.model.bookingFeeAccount=e),p(e)}),a()(),o(56,"div",4)(57,"app-text-input",21),g(58,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.bookingFeeVatAccount,e)||(n.model.bookingFeeVatAccount=e),p(e)}),a()(),o(59,"div",4)(60,"app-percentage-input",22),g(61,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.bookingFeeVatFactor,e)||(n.model.bookingFeeVatFactor=e),p(e)}),a()()(),o(62,"div",3)(63,"app-text-input",23),g(64,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.payableAccount,e)||(n.model.payableAccount=e),p(e)}),a(),o(65,"app-text-input",24),g(66,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.payableVatAccount,e)||(n.model.payableVatAccount=e),p(e)}),a(),o(67,"app-text-input",25),g(68,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.payableRoundAccount,e)||(n.model.payableRoundAccount=e),p(e)}),a()(),o(69,"div",3)(70,"app-text-input",26),g(71,"translate"),u("ngModelChange",function(e){l(i);let n=r();
1return m(n.model.swedishCurrencyAccount,e)||(n.model.swedishCurrencyAccount=e),p(e)}),a(),o(72,"app-text-input",27),g(73,"translate"),u("ngModelChange",function(e){l(i);let n=r();return m(n.model.nonSwedishCurrencyAccount,e)||(n.model.nonSwedishCurrencyAccount=e),p(e)}),a()(),o(74,"div",3)(75,"div",28)(76,"app-button-revert",29),F("action",function(){l(i);let e=r();return p(e.onCancel())}),a(),o(77,"app-button-save",30),F("action",function(){l(i);let e=r();return p(e.onSave())}),a()()()()}if(y&2){let i=T(1),t=r();c(4),d("label",_(5,47,"field.commissionFeeAccount.label")),s("ngModel",t.model.commissionFeeAccount),c(3),d("label",_(8,49,"field.commissionFeeVatAccount.label")),s("ngModel",t.model.commissionFeeVatAccount),c(3),d("label",_(11,51,"field.commissionFeeVatFactor.label")),s("ngModel",t.model.commissionFeeVatFactor),c(4),d("label",_(15,53,"field.shipmentChargeAccount.label")),s("ngModel",t.model.shipmentChargeAccount),c(3),d("label",_(18,55,"field.shipmentChargeVatAccount.label")),s("ngModel",t.model.shipmentChargeVatAccount),c(3),d("label",_(21,57,"field.shipmentChargeVatFactor.label")),s("ngModel",t.model.shipmentChargeVatFactor),c(4),d("label",_(25,59,"field.bankingFeeAccount.label")),s("ngModel",t.model.bankingFeeAccount),c(3),d("label",_(28,61,"field.bankingFeeVatAccount.label")),s("ngModel",t.model.bankingFeeVatAccount),c(3),d("label",_(31,63,"field.bankingFeeVatFactor.label")),s("ngModel",t.model.bankingFeeVatFactor),c(4),d("label",_(35,65,"field.consolidatedInvoiceFeeAccount.label")),s("ngModel",t.model.consolidatedInvoiceFeeAccount),c(3),d("label",_(38,67,"field.consolidatedInvoiceFeeVatAccount.label")),s("ngModel",t.model.consolidatedInvoiceFeeVatAccount),c(3),d("label",_(41,69,"field.consolidatedInvoiceFeeVatFactor.label")),s("ngModel",t.model.consolidatedInvoiceFeeVatFactor),c(4),d("label",_(45,71,"field.subscriptionFeeAccount.label")),s("ngModel",t.model.subscriptionFeeAccount),c(3),d("label",_(48,73,"field.subscriptionFeeVatAccount.label")),s("ngModel",t.model.subscriptionFeeVatAccount),c(3),d("label",_(51,75,"field.subscriptionFeeVatFactor.label")),s("ngModel",t.model.subscriptionFeeVatFactor),c(4),d("label",_(55,77,"field.bookingFeeAccount.label")),s("ngModel",t.model.bookingFeeAccount),c(3),d("label",_(58,79,"field.bookingFeeVatAccount.label")),s("ngModel",t.model.bookingFeeVatAccount),c(3),d("label",_(61,81,"field.bookingFeeVatFactor.label")),s("ngModel",t.model.bookingFeeVatFactor),c(3),d("label",_(64,83,"field.payableAccount.label")),s("ngModel",t.model.payableAccount),c(2),d("label",_(66,85,"field.payableVatAccount.label")),s("ngModel",t.model.payableVatAccount),c(2),d("label",_(68,87,"field.payableRoundAccount.label")),s("ngModel",t.model.payableRoundAccount),c(3),d("label",_(71,89,"field.swedishCurrencyAccount.label")),s("ngModel",t.model.swedishCurrencyAccount),c(2),d("label",_(73,91,"field.nonSwedishCurrencyAccount.label")),s("ngModel",t.model.nonSwedishCurrencyAccount),c(5),f("disabled",!i.valid)}}var pe=(()=>{class y{constructor(i,t,e,n,ce){this.route=i,this.router=t,this.authenticationService=e,this.service=n,this.alertService=ce,this.subscriptions=new Array}onCancel(){this.loadData()}onSave(){this.loading=this.alertService.start();let i=this.authenticationService.getAuthentication().party.id;this.subscriptions.push(this.service.put(i,this.model).subscribe(t=>{this.model=t.data,this.loading=this.alertService.success(),this.router.navigate(["/party/dashboard"])},t=>{this.loading=this.alertService.error(t)}))}loadData(){this.loading=this.alertService.start();let i=this.authenticationService.getAuthentication().party.id;this.subscriptions.push(this.service.get(i).subscribe(t=>{this.model=t.data,this.loading=this.alertService.success()},t=>{this.loading=this.alertService.error(t)}))}ngOnInit(){this.loadData()}ngOnDestroy(){this.subscriptions.forEach(i=>{i.unsubscribe()})}static{this.\u0275fac=function(t){return new(t||y)(h(H),h(K),h(Y),h(x),h(X))}}static{this.\u0275cmp=P({type:y,selectors:[["ng-component"]],standalone:!1,decls:2,vars:2,consts:[["form","ngForm"],["parentTitleTranslateKey","nav.setup","titleTranslateKey","nav.accountingSetup","helpUri","help/party/setup/accounting",3,"loading"],[4,"ngIf"],[1,"form-group","row"],[1,"col-sm-4"],["name","commissionFeeAccount",3,"ngModelChange","ngModel","label"],["name","commissionFeeVatAccount",3,"ngModelChange","ngModel","label"],["name","commissionFeeVatFactor","helpUri","help/field/party/setup/commissionFeeVatFactor",3,"ngModelChange","label","ngModel"],["name","shipmentChargeAccount",3,"ngModelChange","ngModel","label"],["name","shipmentChargeVatAccount",3,"ngModelChange","ngModel","label"],["name","shipmentChargeVatFactor","helpUri","help/field/party/setup/shipmentChargeVatFactor",3,"ngModelChange","label","ngModel"],["name","bankingFeeAccount",3,"ngModelChange","ngModel","label"],["name","bankingFeeVatAccount",3,"ngModelChange","ngModel","label"],["name","bankingFeeVatFactor","helpUri","help/field/party/setup/bankingFeeVatFactor",3,"ngModelChange","label","ngModel"],["name","consolidatedInvoiceFeeAccount",3,"ngModelChange","ngModel","label"],["name","consolidatedInvoiceFeeVatAccount",3,"ngModelChange","ngModel","label"],["name","consolidatedInvoiceFeeVatFactor","helpUri","help/field/party/setup/consolidatedInvoiceFeeVatFactor",3,"ngModelChange","label","ngModel"],["name","subscriptionFeeAccount",3,"ngModelChange","ngModel","label"],["name","subscriptionFeeVatAccount",3,"ngModelChange","ngModel","label"],["name","subscriptionFeeVatFactor","helpUri","help/field/party/setup/subscriptionFeeVatFactor",3,"ngModelChange","label","ngModel"],["name","bookingFeeAccount",3,"ngModelChange","ngModel","label"],["name","bookingFeeVatAccount",3,"ngModelChange","ngModel","label"],["name","bookingFeeVatFactor","helpUri","help/field/party/setup/subscriptionFeeVatFactor",3,"ngModelChange","label","ngModel"],["name","payableAccount",1,"col-sm-4",3,"ngModelChange","ngModel","label"],["name","payableVatAccount",1,"col-sm-4",3,"ngModelChange","ngModel","label"],["name","payableRoundAccount",1,"col-sm-4",3,"ngModelChange","ngModel","label"],["name","swedis
1hCurrencyAccount",1,"col-sm-4",3,"ngModelChange","ngModel","label"],["name","nonSwedishCurrencyAccount",1,"col-sm-4",3,"ngModelChange","ngModel","label"],[1,"col-sm-12","adn-buttons-horizontal","text-right"],[3,"action"],[3,"action","disabled"]],template:function(t,e){t&1&&(o(0,"app-panel",1),I(1,se,78,93,"form",2),a()),t&2&&(f("loading",e.loading),c(),f("ngIf",e.model))},dependencies:[k,U,L,j,R,N,Z,oe,$,q,J,O],encapsulation:2})}}return y})();var me=[{path:"",component:pe}],Ke=(()=>{class y{static{this.\u0275fac=function(t){return new(t||y)}}static{this.\u0275mod=b({type:y})}static{this.\u0275inj=C({imports:[M,G,D,V,le,ie,z,ae,ne,Q,ee,te,V.forChild(me)]})}}return y})();export{Ke as PartySetupAccountingModule};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.