whoami7 - Manager
:
/
home
/
qbizpnmr
/
arif.umairtax.com
/
public
/
Upload File:
files >> /home/qbizpnmr/arif.umairtax.com/public/Activities-02eZOrQ9.js
import{u as d,a as m,bS as u,bv as x,f as p,b as h,j as e,C as f,b2 as y,S as v,bD as j,l as b,H as C,r as N,e as $}from"./bundle.OlIVtvc7.js";import{u as g}from"./InvoiceSlider-C-0dW-62.js";import"./Actions-qiDN9dzt.js";import"./invoice-status-We6cAxTk.js";import"./PaymentStatus-z209A_tu.js";import"./payment-status-DaLbqgbM.js";import"./InvoiceStatus-BkeECTVy.js";import"./EmailRecord-DsIG6Q4V.js";import"./CloudPlay-C_FtsbNl.js";import"./History-C-yFGmPI.js";const w=C.div` background-color: ${a=>a.theme.backgroundColor}; &:hover { background-color: ${a=>a.theme.hoverBackgroundColor}; } `;function D(){const[a]=d(),s=m(),{id:o}=u(),l=g(),{timeFormat:i}=x(),{dateFormat:n}=p(),{data:t,isLoading:c}=h({queryKey:["/api/v1/activities/entity",o],queryFn:()=>N("POST",$("/api/v1/activities/entity"),{entity:"invoice",entity_id:o}).then(r=>r.data.data),enabled:!!o,staleTime:1/0});return e.jsx(f,{title:a("activity"),className:"shadow-sm",style:{borderColor:s.$24},headerStyle:{borderColor:s.$20},withoutBodyPadding:!0,children:e.jsxs("div",{className:y("w-full px-2 pt-2",{"pb-10":t&&t.length,"pb-6":!t||!t.length}),children:[c&&e.jsx("div",{className:"flex justify-center",children:e.jsx(v,{})}),t&&!t.length&&e.jsx("div",{className:"px-3 pt-3 text-sm",children:a("api_404")}),e.jsx("div",{className:"flex flex-col w-full",children:t==null?void 0:t.map(r=>e.jsxs(w,{className:"flex space-x-3 p-4 rounded-md flex-1 min-w-0 w-full",theme:{backgroundColor:s.$1,hoverBackgroundColor:s.$25},children:[e.jsx("div",{className:"flex items-center justify-center",children:e.jsx("div",{className:"p-2 rounded-full",style:{backgroundColor:s.$20},children:e.jsx(j,{size:"1.3rem",color:s.$16,filledColor:s.$16})})}),e.jsxs("div",{className:"flex flex-col space-y-0.5 flex-1 min-w-0",children:[e.jsx("div",{className:"text-sm",style:{color:s.$3},children:l(r)}),e.jsxs("div",{className:"flex w-full items-center space-x-1 text-xs truncate",style:{color:s.$17},children:[e.jsx("span",{className:"whitespace-nowrap",children:b(r.created_at,`${n} ${i}`)}),e.jsx("span",{children:"-"}),e.jsx("span",{children:r.ip})]})]})]},r.id))})]})})}export{D as default};
Copyright ©2021 || Defacer Indonesia