Anons79 Mini Shell

Directory : /home/aplikasiposinfo/public_html/talent.gosepakat.id/public/build/assets/
Upload File :
Current File : /home/aplikasiposinfo/public_html/talent.gosepakat.id/public/build/assets/DataTable-DuBncMP-.js

import{X as t,j as e}from"./app-Dya7xgxE.js";import{T as x,a as j,b as i,c as l,d as u,e as r}from"./table-B4f8TwNU.js";import{u as b,T as f,a as T,b as g,c as N}from"./useSorting-Bs8uiXgU.js";import{B as v}from"./button-acCq_yhQ.js";import{B}from"./badge-Jb25M1ns.js";import{P as S}from"./printer-C6MDk2T1.js";import"./utils-CytzSlOG.js";import"./createLucideIcon-D9qyNW4s.js";import"./chevron-left-ChPWVyci.js";import"./chevron-right-C3ZACqca.js";import"./input-DloR4oJF.js";import"./select-BqSVnOee.js";import"./Combination-CIxOTAwt.js";import"./index-DyzdQ7UL.js";import"./index-GwShY9ah.js";import"./index-BMNE8zxA.js";import"./index-B2O9QpgJ.js";function J(){t().props.auth.user;const{filters:o}=t().props,h=t().props.datatable,{data:n,links:p}=t().props.datatable,{params:s,setParams:c,setTimeDebounce:d}=b(route(`${route().current()}`),o),{sort:m}=g(o,c);return e.jsxs("div",{className:"space-y-4",children:[e.jsx(f,{placeholder:"Cari sertifikat",search:s.search,params:s,setParams:c,setTimeDebounce:d}),e.jsx("div",{className:"",children:e.jsxs(x,{children:[e.jsx(j,{children:e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(T,{className:"",title:"Pelatihan",onClick:()=>{d(50),m("pelatihan.title")},sort:s.col==="pelatihan.title"?s.sort:null})}),e.jsx(l,{children:"Sertifikat"}),e.jsx(l,{children:"Action"})]})}),e.jsx(u,{children:n.length>0?n.map(a=>e.jsxs(i,{className:"bg-white",children:[e.jsx(r,{children:a.pelatihan.title}),e.jsx(r,{children:"Certificate of completion"}),e.jsxs(r,{children:[a.status=="finish"&&e.jsx("div",{className:"flex items-center gap-2",children:e.jsx("a",{href:route("sertifikat.print",{id:a.id}),children:e.jsx(v,{variant:"outline",children:e.jsx(S,{className:"w-4 h-4 text-blue-500"})})})}),a.status!=="finish"&&e.jsx(B,{variant:"secondary",className:"bg-orange-400 hover:bg-orange-400 text-white text-center",children:"Belum Selesai"})]})]},a.id)):e.jsx(i,{children:e.jsx(r,{colSpan:6,className:"h-24 text-center bg-white",children:"No results found."})})})]})}),e.jsx(N,{links:p,meta:h})]})}export{J as default};

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]