PageSourceSearch

https://www.digitoll.bg/assets/index-DxEZh5Wx.js

js digitoll.bg collected 2026-10-07 03:40:52 UTC 3,900 bytes, 1 lines download raw bytes

1import{r as c,j as a}from"./index-Cea7wZYT.js";import{u as l,aT as M,e5 as N}from"./index-BvmV_CWa.js";import{a as n,b as p}from"./date-CeQWrP0U.js";import{g as P,d as T,A as C}from"./index-BcbhxHXo.js";import{R as d}from"./index-U-5wCzfa.js";import{S as m}from"./index-BbzmW7vg.js";import{F as u,G as A,H as E}from"./bankService-Dsd71iOR.js";import{T as R}from"./index-BVlSACDf.js";import"./index-CovVeC7a.js";import"./clsx-B-dksMZM.js";import"./isWithinInterval-CNVtrDhZ.js";import"./floating-ui.dom-BcfMuYWL.js";import"./lodash-DVuuiRNh.js";import"./assertThisInitialized-B9jnkVVz.js";import"./emotion-react.browser.esm-DOjA5J1o.js";import"./emotion-element-f0de968e.browser.esm-DVBg2OEz.js";function g({transactionId:e}){const{gettext:t}=l(),s=c.useRef(),o=()=>s.current.refresh();c.useEffect(()=>{o()},[e]);const i=[{Header:()=>t("APP.COMMON.COMMON.CREATION_DATE"),accessor:"createdOn",type:"dateRange",Cell:({value:r})=>n(r)},{Header:()=>t("APP.COMMON.COMMON.ACCOUNTING_DATE"),accessor:"kapschProperties.purchase.purchaseDateTimeUTC",type:"dateRange",Cell:({value:r})=>n(r)},{Header:()=>t("APP.COMMON.COMMON.DUE_DATE"),accessor:"duePaymentDate",type:"dateRange",Cell:({value:r})=>n(r)},{Header:()=>t("APP.ERP.PARTNER.START_OBLIGATION_PERIOD"),accessor:"obligationPeriodStartDate",type:"dateRange",Cell:({value:r})=>n(r)},{Header:()=>t("APP.ERP.PARTNER.END_OBLIGATION_PERIOD"),accessor:"obligationPeriodEndDate",type:"dateRange",Cell:({value:r})=>n(r)},{Header:()=>t("APP.COMMON.COMMON.CURRENCY"),accessor:"kapschProperties.price.currency",Filter:P(M)},{Header:()=>t("APP.ERP.CONTRACT.SETTLED_OBLIGATIONS_AMOUNT"),accessor:"amountPaid",type:"amount",Filter:()=>null},{Header:()=>t("APP.COMMON.COMMON.ТOTAL_AMOUNT"),accessor:"kapschProperties.price.amount",type:"amount",Filter:()=>null}];return a.jsx(d,{ref:s,defaultPageSize:10,defaultSorted:[{id:"createdOn",desc:!0}],data:!e&&[],noDataText:t("APP.COMMON.COMMON.NO_SETTLED_OBLIGATIONS"),columns:i,api:u,apiParam:e})}function f({initialValues:e}){const{gettext:t}=l(),s=e&&e.id,o=[{header:t("APP.ERP.CONTRACT.SETTLED_OBLIGATIONS"),content:a.jsx(g,{transactionId:s})}];return a.jsx("div",{className:"toggle-tabs toggle-tabs-clean",children:a.jsx(R,{tabs:o,defaultTab:0,autoSwitchToFirstTab:!0})})}function G(){const{gettext:e}=l(),[t,s]=c.useState({}),o=c.useRef(),i=[{Header:()=>e("APP.ERP.COMMON.PARTNER"),accessor:"partner.name"},{Header:()=>e("APP.COMMON.COMMON.PAYMENT_DATE"),accessor:"createdOn",type:"dateRange",Cell:({value:O})=>p(O)},{Header:()=>e("APP.COMMON.COMMON.PAYMENT_TYPE"),accessor:"payment.bankOriginType",Filter:P(N),Cell:({value:O})=>e(T(O))},{Header:()=>e("APP.COMMON.COMMON.DESCRIPTION"),accessor:"payment.bankTransaction.description1"},{Header:()=>e("APP.COMMON.COMMON.BANK_REFERENCE"),accessor:"payment.bankTransaction.reference"},{Header:()=>e("APP.COMMON.COMMON.CURRENCY"),accessor:"kapschProperties.price.currency",Filter:P(M),width:100},{Header:()=>e("APP.COMMON.COMMON.PAYMENT_AMOUNT"),accessor:"amountPaid",type:"amount"},{Header:()=>e("APP.COMMON.COMMON.BANK_ACCOUNT_TO_WITCH_PAYMENT"),accessor:"payment.bankTransaction.recipientIBAN"}],r=a.jsx("div",{className:"site-content nosplit",children:a.jsx(d,{ref:o,defaultPageSize:25,title:e("APP.ERP.COMMON.ONGOING_PAYMENTS"),columns:i,customButtons:a.jsx("div",{className:"custom-button-style",children:a.jsx(C,{action:{onClick:()=>E(o.current.getSearchParams()),title:e("APP.COMMON.COMMON.CSV_FORMAT"),iconcls:"icon-cloud-download"}})}),onRowClick:s,handleSelectedRow:s,showContextMenu:!0,noDataText:e("APP.COMMON.COMMON.NO_PAYMENTS"),defaultSorted:[{id:"kapschProperties.purchase.purchaseDateTimeUTC",desc:!0}],api:A,forceColumnRefresh:!0,rowHighlight:!0})});return a.jsx("div",{className:"site-content vehicles-grid",children:a.jsxs(m,{children:[r,a.jsx("div",{className:"panel-edit edit-partners",children:a.jsx(f,{initialValues:t})})]})})}export{G as default};

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.