import{ci as t,aA as o,j as u,k as a,aG as c,h as r}from"./bundle.CHKSNOJF.js";import{u as d,a as p}from"./hooks-ByoYNoVR.js";function m(){const{id:e}=t(),s=o(),i=d(),n=p();return u.jsx(a,{resource:"recurring_expense",endpoint:r("/api/v1/recurring_expenses?include=client,vendor&vendor_id=:id&sort=id|desc",{id:e}),columns:i,customActions:n,withResourcefulActions:!0,bulkRoute:"/api/v1/recurring_expenses/bulk",linkToCreate:r("/recurring_expenses/create?vendor=:id",{id:e}),linkToEdit:"/recurring_expenses/:id/edit",excludeColumns:["vendor_id"],linkToCreateGuards:[c("create_recurring_expense")],hideEditableOptions:!s("edit_recurring_expense"),withoutPageAsPreference:!0,withoutStoringSearchFilter:!0})}export{m as default};
