import{j as e}from"./login-aN2dRsX6.js";import{D as r}from"./DataTable-D2rA17vR.js";import{P as p}from"./page_header-wdV8ucix.js";import{f as c}from"./index-26bvdVY4.js";import{m as o}from"./query-c3dDncii.js";/* empty css               */import{L as t}from"./app-gmlkJjeD.js";import{C as d}from"./circle-plus-D9wc3WnO.js";import{E as i}from"./eye-By1xm0Dd.js";import"./search-4uBqei5W.js";import"./createLucideIcon-C44k9nIN.js";import"./delete-PVCdpT-9.js";function D(){const l=o(),s=[{label:e.jsx("center",{children:"ID"}),width:100,align:"center",value:a=>a.id},{label:e.jsx("center",{children:"Rekening"}),width:120,align:"center",value:a=>a.rekening},{label:e.jsx("center",{children:"Nama Rekening"}),value:a=>a.nama},{label:"Bank",value:a=>{var n;return(n=a.bank)==null?void 0:n.nama}},{label:"Tanggal Buka",width:150,align:"center",value:a=>c(a.tgl_penempatan)},{label:e.jsx("center",{}),width:80,align:"center",value:a=>e.jsx(t,{to:`/app/master/penempatan/${a.id}`,children:e.jsx(i,{size:18})})}],m=[{label:e.jsx("center",{children:"ID"}),width:100,align:"center",value:a=>a.id},{label:e.jsx("center",{children:"Rekening"}),width:120,align:"center",value:a=>a.rekening},{label:e.jsx("center",{children:"Nama Rekening"}),align:"center",width:200,value:a=>a.nama},{label:"Bank",value:a=>{var n;return(n=a.bank)==null?void 0:n.nama}},{label:e.jsx("center",{}),width:80,align:"center",value:a=>e.jsx(t,{to:`/app/master/penempatan/${a.id}`,children:e.jsx(i,{size:18})})}];return e.jsxs("div",{className:"container",children:[e.jsx(p,{title:"Data Penempatan Bank",breadcrumb:[{title:"Master",path:"/app/master"},{title:"Penempatan Bank",path:"/app/master/penempatan"}]}),e.jsx(r,{data:l.data??[],column:s,search:!0,pagination:!1,buttons:e.jsxs(t,{to:"/app/master/penempatan/add",className:"btn btn-primary d-flex gap-2 align-items-center",children:[e.jsx(d,{size:18}),"Tambah Penempatan Bank"]})}),e.jsx("h4",{className:"mt-3",children:"Kas Tunai"}),e.jsx(r,{data:l.data??[],column:m,pagination:!1})]})}export{D as default};
