PageSourceSearch

https://bankrot.gov.by/assets/requirements-B-WUsNHy.js

js bankrot.gov.by collected 2026-10-02 04:01:10 UTC 8,096 bytes, 1 lines download raw bytes

1import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{r as q,u as k,L as j}from"./createLucideIcon-CiWnlb16.js";import{d as E,e as n,tj as P,tk as R,tl as B,tm as _,tn as A,to as L,l1 as S,tp as v,tq as g,tr as I,ts as $,tt as D,L as w,gM as z,aa as M}from"./loginCallback-DUlVA6A0.js";import{u as O,B as Y,T as G}from"./index-CQOuJFSK.js";/* empty css                 */import{C as W}from"./CustomToolTip-BQH2lGNu.js";import{d as Q}from"./decisionType-BgkpAIz_.js";import{N as p}from"./NumberRounding-D2cPCpEN.js";import{F as h}from"./FormatNumber-CRRkVCz6.js";import{a as o}from"./requirementGroundSection-BkwKGQgB.js";import{C as U}from"./circle-question-mark-Cjfg2OQ6.js";import{E as C}from"./Edit-8thwdvew.js";import{C as H}from"./Collapse-CjKK4Wtk.js";import"./config.release-CKeoGYk7.js";import"./Tooltip-DqudYRkP.js";import"./TransitionGroupContext-BqazGbpp.js";import"./useSlot-C7WZeYvg.js";import"./useControlled-BlpSYMej.js";import"./useId-DUHkaswp.js";import"./utils-CrHD0CeB.js";const y=4,b=15,J=s=>{switch(s){case o.FirstSection:return"Первая очередь";case o.SecondSection:return"Вторая очередь";case o.ThirdSection:return"Третья очередь";case o.FourthSection:return"Четвертая очередь (4.1)";case o.FourthSectionSecond:return"Четвертая очередь (4.2)";case o.FourthSectionThird:return"Четвертая очередь (4.3)";case o.FourthSectionFourth:return"Четвертая очередь (4.4)";default:return""}},K=s=>s.reduce((l,m)=>l+m.phases.reduce((x,a)=>{const c=(a.amount??0)+(a.amountOtherWays??0),u=a.currency?.id!==y?c*(a.foreignRateToByn??0)/(a.currency?.curScale||1):c;return x+u},0),0),V=({ground:s,isExpanded:l,onToggle:m,onNavigate:x})=>{const a=s.phases.reduce((r,i)=>r+(i.amount??0),0),c=s.currency?a*(s.currencyExchangeRate??0)/s.currency.curScale:0,u=c-K(s.groundSatisfactions),N=s.currency?.id!==y,f=n(S);return e.jsxs("div",{className:`accordion-item ${l?"active":""}`,children:[e.jsxs("div",{className:"accordion-header",onClick:()=>m(s.id),children:[e.jsxs("span",{className:"req-title",children:["Требование: ",s?.requirement?.requirementNumber,e.jsx("br",{})," Основание: ",s.id]}),!f.debtorId&&e.jsx("span",{className:"req-title",children:s?.requirement?.debtor?.value}),e.jsx("span",{className:"req-title req-title--nowrap",children:M(s?.requirement?.receiptClaimsDate)}),e.jsx("span",{className:"req-title",children:s?.requirement?.creditorName}),e.jsx("span",{className:"req-title req-title--nowrap",children:h(p(c))}),e.jsx(W,{message:s?.supportingDocuments,children:e.jsx("span",{className:"req-hint",children:e.jsx(U,{size:14,className:"help-icon"})})}),e.jsxs("div",{className:"action-buttons",children:[e.jsx(j,{to:`/hub/creditor-requirements/${s.requirement.id}`,className:"cr-icon-btn",title:"Редактировать требование",onClick:r=>r.stopPropagation(),children:e.jsx(C,{fontSize:"small"})}),e.jsx(j,{to:`/hub/creditor-requirements/${s.id}/satisfactions/create`,className:"cr-icon-btn",title:"Удовлетворить требование",onClick:r=>r.stopPropagation(),children:e.jsx("svg",{viewBox:"0 0 24 24",children:e.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})})})]})]}),e.jsx(H,{in:l,timeout:"auto",unmountOnExit:!0,children:e.jsxs("div",{className:"accordion-body",children:[e.jsx("p",{className:"section-title",children:"Информация о кредиторе:"}),e.jsxs("div",{className:"section-info",children:[e.jsxs("p",{className:"section-detail",children:["Почтовый адрес: ",e.jsx("span",{className:"section-detail-data",children:s?.requirement?.creditorAddress})]}),e.jsxs("p",{className:"section-detail",children:["Номера телефонов: ",e.jsx("span",{className:"section-detail-data",children:s?.requirement?.creditorTel})]}),e.jsxs("p",{className:"section-detail",children:["Адрес электронной почты: ",e.jsx("span",{className:"section-detail-data",children:s?.requirement?.email})]})]}),e.jsx("p",{className:"section-title",children:"Информация о требовании:"}),e.jsxs("div",{className:"section-info-ground",children:[e.jsxs("p",{className:"section-detail",children:["Решение: ",e.jsx("span",{className:"section-detail-data",children:Q(s?.decisionType)})]}),e.jsxs("p",{className:"section-detail",children:["Данные док
1ументов, подтверждающие требование кредитора: ",e.jsx("span",{className:"section-detail-data",children:s?.supportingDocuments})]}),e.jsxs("p",{className:"section-detail",children:["Сумма заявленного требования в BYN: ",e.jsx("span",{className:"section-detail-data",children:h(p(c))})]}),e.jsx("p",{}),N&&e.jsxs(e.Fragment,{children:[e.jsxs("p",{className:"section-detail",children:["Сумма заявленного требования в ",s.currency?.curAbbreviation,": ",e.jsx("span",{className:"section-detail-data",children:h(p(a))})]}),e.jsxs("p",{className:"section-detail",children:["Наличие предложения кредитора о включении требования кредитора в реестр в иностранной валюте: ",e.jsx("span",{className:"section-detail-data",children:s.includeForeign?"Да":"Нет"})]})]}),e.jsxs("p",{className:"section-detail",children:["Осталось удовлетворить в BYN: ",e.jsx("span",{className:"section-detail-data",children:h(p(u))})]})]}),e.jsxs("div",{className:"satisfaction-section",children:[e.jsxs("div",{className:"satisfaction-header",children:[e.jsx("p",{className:"section-title",children:"Удовлетворения:"}),e.jsx(j,{to:`/hub/creditor-requirements/${s.id}/satisfactions/create`,className:"button cr-button",onClick:r=>r.stopPropagation(),children:"Добавить удовлетворение"})]}),s.groundSatisfactions.length>0?s.groundSatisfactions.map(r=>e.jsxs("div",{className:"satisfaction-item",children:[e.jsx("div",{className:"satisfaction-info",children:r.phases.map((i,d)=>e.jsxs("p",{className:"basis-text",children:[J(i.phase),": ",h(p((i.amount??0)+(i.amountOtherWays??0)))," (",i.currency?.curAbbreviation,")"]},d))}),e.jsx(j,{to:`/hub/creditor-requirements/${s.id}/satisfactions/${r.id}`,className:"cr-icon-btn",title:"Редактировать удовлетворения",onClick:i=>i.stopPropagation(),children:e.jsx(C,{fontSize:"small"})})]},r.id)):e.jsx("p",{className:"no-satisfaction",children:"Удовлетворения отсутствуют."})]})]})})]})};function fe(){const[s,l]=q.useState(null),m=k(),x=O(),a=E(),c=n(P),u=n(R),N=n(B),f=n(_),r=n(A),i=n(L),d=n(S),F=t=>l(T=>T===t?null:t);return q.useEffect(()=>{x.then(t=>{a(v(1)),a(g({token:t,startFields:{filters:{...i,...d},pagination:{count:b,offset:0}}}))})},[i,d]),e.jsxs("div",{className:"cr-list cr-list--requirements",children:[e.jsxs("div",{className:"cr-card cr-toolbar",children:[e.jsx("input",{type:"text",className:"cr-search",value:i?.creditorName??"",onChange:t=>a(I(t.target.value)),placeholder:"Поиск по кредитору"}),e.jsx("input",{type:"text",className:"cr-search",value:i?.requirementNumber??"",onChange:t=>a($(t.target.value)),placeholder:"Поиск по номеру требования"}),e.jsx("input",{type:"text",className:"cr-search",onChange:t=>a(D(t.target.value)),placeholder:"Поиск по УНП"}),e.jsx(Y,{type:"button",className:"cr-button",value:"Добавить требование",onClick:t=>{t.stopPropagation(),m("/hub/creditor-requirements/create")}})]}),u?e.jsx(w,{}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"cr-list__scroll",children:e.jsx("div",{className:z("cr-list__items",!d.debtorId&&"cr-list__items--with-debtor"),children:r.map(t=>e.jsx(V,{ground:t,isExpanded:s===t.id,onToggle:F,onNavigate:m},t.id))})}),e.jsx("div",{className:"flex justify-end",children:e.jsx(G,{currentPage:f,setCurrentPage:v,offset:N,request:g,requestConfig:{filters:{...i,...d}},count:b,totalPages:Math.ceil(c/b)})})]})]})}export{fe 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.