whoami7 - Manager
:
/
home
/
qbizpnmr
/
arif.umairtax.com
/
public
/
Upload File:
files >> /home/qbizpnmr/arif.umairtax.com/public/Documents-Jf-3UFZz.js
import{u as d,bS as c,a as r,Y as m,bt as u,j as s,C as p,b2 as x,cQ as y,e as b,cR as f,$ as h}from"./bundle.OlIVtvc7.js";import{b as j}from"./payments-BhlrdSKU.js";function C(){const[i]=d(),{id:a}=c(),t=r(),{data:e}=j({id:a}),n=m(),o=u(),l=()=>{h(["payments"])};return s.jsx(p,{title:i("documents"),className:"shadow-sm",style:{borderColor:t.$24},headerStyle:{borderColor:t.$20},children:s.jsxs("div",{className:x("flex w-full px-4 sm:px-6 py-2",{"flex-col items-center":a}),children:[s.jsx("div",{className:"w-full",children:s.jsx(y,{endpoint:b("/api/v1/payments/:id/upload",{id:a}),onSuccess:l,disableUpload:!n("edit_payment")&&!o(e),widgetOnly:!0})}),s.jsx("div",{className:"w-full",children:s.jsx(f,{documents:(e==null?void 0:e.documents)??[],onDocumentDelete:l,disableEditableOptions:!o(e,!0)&&!n("edit_payment")})})]})})}export{C as default};
Copyright ©2021 || Defacer Indonesia