import{b as e}from"./app-DTeOhhdM.js";import{a as i}from"./AuthenticatedLayout-DNj-hWy1.js";function c({field:s,warehouses:r,filterBy:t="name",name:o="Warehouse/Shop",...l}){const n=a=>e.jsxs("div",{className:"flex align-items-center",children:[e.jsx("div",{children:a.name}),"  ",e.jsxs("span",{children:[" (",a.status,")"]})]});return e.jsxs("span",{className:"p-float-label",children:[e.jsx(i,{id:s.name,...s,options:r,optionLabel:"name",optionValue:"id",placeholder:"Select warehouse/shop",className:"w-full md:w-14rem",showClear:!0,filter:!0,itemTemplate:n,filterBy:t,...l}),e.jsx("label",{htmlFor:"remark",children:o})]})}export{c as L};
