1"use strict";(self.webpackChunktektime=self.webpackChunktektime||[]).push([[1152],{27417:(e,a,t)=>{t.d(a,{A:()=>m});var s=t(89379),c=t(80045),l=t(98139),n=t.n(l),d=t(65043),i=t(67852),r=t(70579);const o=["bsPrefix","variant","animation","size","as","className"],h=d.forwardRef((e,a)=>{let{bsPrefix:t,variant:l,animation:d="border",size:h,as:m="div",className:v}=e,x=(0,c.A)(e,o);t=(0,i.oU)(t,"spinner");const b="".concat(t,"-").concat(d);return(0,r.jsx)(m,(0,s.A)((0,s.A)({ref:a},x),{},{className:n()(v,b,h&&"".concat(b,"-").concat(h),l&&"text-".concat(l))}))});h.displayName="Spinner";const m=h},59411:(e,a,t)=>{t.d(a,{A:()=>c});t(65043);var s=t(70579);const c=e=>{let{title:a}=e;return(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"custom-container",children:(0,s.jsxs)("h5",{className:"custom-heading",children:["No ",a," Available"]})})})}},61152:(e,a,t)=>{t.r(a),t.d(a,{default:()=>b});var s=t(9906),c=t(65043),l=t(73216),n=t(90221),d=t(14524),i=t(56403),r=t(27417),o=t(64196),h=t(28402),m=t(59411),v=t(74117),x=t(70579);const b=function(){var e,a;const[t]=(0,v.Bd)("global"),{title:b,pushHeaderTitle:j,popHeaderTitle:N,resetHeaderTitle:u}=(0,h.p)(),{id:p}=(0,l.g)(),f=(0,l.zy)();let{setActiveTab:g}=f.state||{};const[y,A]=(0,c.useState)([]),[T,k]=(0,c.useState)(!1),w=(0,l.Zp)();return(0,c.useEffect)(()=>{(async()=>{const e=s.A.get("token");try{const a=await i.A.get("".concat(d.JR,"/contracts/").concat(p),{headers:{Authorization:"Bearer ".concat(e)}});a.status&&(k(!0),A(a.data.data))}catch(a){}})()},[]),(0,x.jsx)("div",{className:"scheduled",children:(0,x.jsx)("div",{className:"container-fluid px-3",children:(0,x.jsxs)("div",{className:"row justify-content-center mt-5",children:[(0,x.jsx)("div",{className:"col-md-12 py-3",children:T?(null===y||void 0===y||null===(e=y.enterprises)||void 0===e?void 0:e.length)>0?null===y||void 0===y||null===(a=y.enterprises)||void 0===a?void 0:a.map(e=>{var a,t;return(0,x.jsx)("div",{className:"card mb-4",children:(0,x.jsx)("div",{className:"card-body",children:(0,x.jsx)("div",{className:"card mb-4",children:(0,x.jsx)("div",{className:"card-body",children:(0,x.jsx)("div",{className:"cardbody",children:(0,x.jsxs)(o.A,{responsive:!0,children:[(0,x.jsx)("thead",{children:(0,x.jsxs)("tr",{children:[(0,x.jsx)("th",{className:"table-head",children:"Logo"}),(0,x.jsx)("th",{className:"table-head",children:"Nom"}),(0,x.jsx)("th",{className:"table-head",children:"Cr\xe9ateur"}),(0,x.jsx)("th",{className:"table-head",children:"Abonnement"}),(0,x.jsx)("th",{className:"table-head",children:"Nombre de licences"}),(0,x.jsx)("th",{className:"table-head",children:"Secteur D\u2019activite"}),(0,x.jsx)("th",{className:"table-head",children:"Nombre de renouvellement"}),(0,x.jsx)("th",{className:"table-head",children:"Date de la cr\xe9ation"}),(0,x.jsx)("th",{className:"table-head",children:"Date de d\xe9but"}),(0,x.jsx)("th",{className:"table-head",children:"Date de fin"}),(0,x.jsx)("th",{className:"table-head",children:"Action"})]})}),(0,x.jsx)("tbody",{style:{padding:"10px 10px"},children:(0,x.jsx)(x.Fragment,{children:(0,x.jsxs)("tr",{children:[(0,x.jsx)("td",{className:"table-data",children:(0,x.jsx)("img",{className:"logo",width:50,height:50,src:null!==(a=e.logo)&&void 0!==a&&a.startsWith("http")?e.logo:"".concat(d.SD,"/").concat(e.logo),alt:"logo"})}),(0,x.jsx)("td",{className:"table-data",children:e.name}),(0,x.jsx)("td",{className:"table-data",children:null===e||void 0===e||null===(t=e.created_by)||void 0===t?void 0:t.name}),(0,x.jsx)("td",{className:"table-data",children:null===y||void 0===y?void 0:y.name}),(0,x.jsx)("td",{className:"table-data",children:null===y||void 0===y?void 0:y.no_of_licenses}),(0,x.jsx)("td",{className:"table-data",children:e.activity_area}),(0,x.jsx)("td",{className:"table-data",children:"0"}),(0,x.jsx)("td",{className:"table-data",children:(null===e||void 0===e?void 0:e.created_at).substring(0,10)}),(0,x.jsx)("td",{className:"table-data",children:null===y||void 0===y?void 0:y.start_date}),(0,x.jsx)("td",{className:"table-data",children:null===y||void 0===y?void 0:y.end_date}),(0,x.jsx)("td",{className:"table-data d-flex align-items-center",children:(0,x.jsx)(n.whC,{size:"22px",style:{cursor:"pointer"},onClick:()=>{j({titleText:null===e||void 0===e?void 0:e.name,link:"/ContractToTeam/".concat(null===e||void 0===e?void 0:e.id)}),(e=>{w("/ContractToTeam/".concat(e))})(null===e||void 0===e?void 0:e.id)}})})]})})})]})})})})})})}):(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(m.A,{title:"Enterprise of ".concat(null===y||void 0===y?void 0:y.name)})}):(0,x.jsx)("div",{className:"d-flex justify-content-center align-items-center",children:(0,x.jsx)(r.A,{animation:"border",role:"status",className:"spinner"})})}),(0,x.jsx)("div",{className:"d-flex justify-content-center my-3",children:(0,x.jsx)("button",{className:"btn btn-primary",onClick:()=>{N(),w("/contract",{state:{activeTab:"Abonnements cl\xf4tur\xe9s"}})},children:"Revenir \xe0 la page pr\xe9c\xe9dente"})})]})})})}},64196:(e,a,t)=>{t.d(a,{A:()=>m});
1var s=t(89379),c=t(80045),l=t(98139),n=t.n(l),d=t(65043),i=t(67852),r=t(70579);const o=["bsPrefix","className","striped","bordered","borderless","hover","size","variant","responsive"],h=d.forwardRef((e,a)=>{let{bsPrefix:t,className:l,striped:d,bordered:h,borderless:m,hover:v,size:x,variant:b,responsive:j}=e,N=(0,c.A)(e,o);const u=(0,i.oU)(t,"table"),p=n()(l,u,b&&"".concat(u,"-").concat(b),x&&"".concat(u,"-").concat(x),d&&"".concat(u,"-").concat("string"===typeof d?"striped-".concat(d):"striped"),h&&"".concat(u,"-bordered"),m&&"".concat(u,"-borderless"),v&&"".concat(u,"-hover")),f=(0,r.jsx)("table",(0,s.A)((0,s.A)({},N),{},{className:p,ref:a}));if(j){let e="".concat(u,"-responsive");return"string"===typeof j&&(e="".concat(e,"-").concat(j)),(0,r.jsx)("div",{className:e,children:f})}return f});h.displayName="Table";const m=h}}]); 2//# sourceMappingURL=1152.199f944a.chunk.js.map
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.