{"version":3,"sources":["webpack:///./src/app/cashflow/_router.ts","webpack:///./src/app/cashflow/_router.html","webpack:///./src/app/cashflow/cashflow/_router.ts","webpack:///./src/app/cashflow/cashflow/_router.html","webpack:///./src/app/cashflow/cashflow/cashflow.ts","webpack:///./src/app/cashflow/cashflow/cashflow.html","webpack:///./src/app/cashflow/fiscal-inflows/_router.ts","webpack:///./src/app/cashflow/fiscal-inflows/_router.html","webpack:///./src/app/cashflow/fiscal-inflows/fiscal-inflows.ts","webpack:///./src/app/cashflow/fiscal-inflows/fiscal-inflows.html","webpack:///./src/app/cashflow/inflows/_router.ts","webpack:///./src/app/cashflow/inflows/_router.html","webpack:///./src/app/cashflow/inflows/inflows.ts","webpack:///./src/app/cashflow/inflows/inflows.html"],"names":["routerUtils","this","i18n","configureRouter","config","router","mapRoutes","route","redirect","name","moduleId","title","nav","CashflowRouter","module","exports","client","api","dialogService","i18nService","utils","items","subagencyOptions","invoiceTypes","statusValues","filter","isProcessing","isFileGenerating","language","getCultureName","webApiUrl","get","id","General","Proinvoice","AgencyInvoice","invoiceType","BookingCart","NotPaid","Paid","Cancelled","PartiallyPaid","currencyFormatter","activate","params","loadAccommodationOptions","loadCompanies","page","hasOwnProperty","pageSize","dateFrom","fromISO","toJSDate","dateTo","accommodationId","parseInt","subagencyId","status","setFilters","loadAccommodationStatistics","mainTraveler","response","totalPrice","totalPaid","totalDebt","totalPayoutAmount","totalPaidPayOuts","totalUnpaidPayOuts","totalPriceLC","totalPaidLC","totalDebtLC","totalPayoutAmountLC","totalPaidPayOutsLC","totalUnpaidPayOutsLC","accomodationOptions","filters","accommodations","agencies","handleApiErrors","onSearch","navigateToRoute","currentInstruction","replace","fromJSDate","toISODate","downloadFile","docType","startDate","endDate","isShared","type","getBlob","blobUrl","URL","createObjectURL","blob","anchor","document","createElement","download","href","click","length","formatStatus","toLowerCase","toLocaleLowerCase","getBackgroundColor","lowerStatus","onPageChange","event","IncludeAccommodationCreatedFromFreesale","map","item","x","agencyName","changeInvoiceType","detail","value","calculatePayouts","paid","total","naiveRound","calculateBalance","currency","currencyShort","toView","formatAmout","amout","num","decimalPlaces","p","Math","pow","round","setIncomingInvoiceStatusBackground","isOwner","CashflowDetails","FiscalInflowsRouter","Date","reservationStatus","reservationStatusOptions","totalPayedByCard","totalPayedInCash","totalSum","totalCountIssuedFiscal","All","loadFiscalInflows","paginationParams","allParams","reservationstatus","toISOString","travelAgreement","toString","fullName","totalSumPayedByCard","totalSumPayedInCash","pagination","pageCount","totalPages","totalCount","hasPermission","permission","processType","translatePaymentType","paymentType","FiscalInflows","InflowsRouter","isLoading","loadInflows","data","totalDirectInflow","totalInflow","totalInflowByBankTransfer","totalInflowByCard","totalInflowByCheck","totalInflowByOther","totalInflowFromInvoices","totalInflowFromProformaInvoices","totalInflowInCash","totalInvoiceInflow","Inflows"],"mappings":"wpBAOA,aAKE,WAAoBA,GAAA,KAAAA,cAClBC,KAAKC,KAAO,IAchB,OAXS,YAAAC,gBAAP,SAAuBC,EAA6BC,GAQlDJ,KAAKD,YAAYM,UAAUF,EAPd,CACX,CAAEG,MAAO,GAAIC,SAAU,YACvB,CAAED,MAAO,WAAYE,KAAM,WAAYC,SAAU,qBAA2CC,MAAO,iBAAkBC,KAAK,GAC1H,CAAEL,MAAO,UAAWE,KAAM,UAAWC,SAAU,oBAA0CC,MAAO,iBAAkBC,KAAK,GACvH,CAAEL,MAAO,iBAAkBE,KAAM,iBAAkBC,SAAU,2BAAiDC,MAAO,0BAA2BC,KAAK,KAIvJX,KAAKI,OAASA,GAlBLQ,EAAc,GAD1B,I,uBAMkC,OALtBA,GAAb,I,0CCPAC,EAAOC,QAAU,qF,2lBCOjB,aACE,WAAoBf,GAAA,KAAAA,cAUtB,OAPS,YAAAG,gBAAP,SAAuBC,EAA6BC,GAKlDJ,KAAKD,YAAYM,UAAUF,EAJd,CACX,CAAEG,MAAO,GAAIE,KAAM,WAAYC,SAAU,aAAmCC,MAAO,eAN5EE,EAAc,GAD1B,I,uBAEkC,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