|
@@ -10,6 +10,7 @@ import { EditNote } from "@mui/icons-material"; |
|
|
import { Button, Grid, Tab, Tabs, TabsProps, Typography } from "@mui/material"; |
|
|
import { Button, Grid, Tab, Tabs, TabsProps, Typography } from "@mui/material"; |
|
|
import QrModal from "../PoDetail/QrModal"; |
|
|
import QrModal from "../PoDetail/QrModal"; |
|
|
import { WarehouseResult } from "@/app/api/warehouse"; |
|
|
import { WarehouseResult } from "@/app/api/warehouse"; |
|
|
|
|
|
import NotificationIcon from '@mui/icons-material/NotificationImportant'; |
|
|
|
|
|
|
|
|
type Props = { |
|
|
type Props = { |
|
|
po: PoResult[]; |
|
|
po: PoResult[]; |
|
@@ -64,6 +65,13 @@ const PoSearch: React.FC<Props> = ({ po, warehouse }) => { |
|
|
name: "status", |
|
|
name: "status", |
|
|
label: t("Status"), |
|
|
label: t("Status"), |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
name: "escalated", |
|
|
|
|
|
label: t("Escalated"), |
|
|
|
|
|
renderCell: (params) => { |
|
|
|
|
|
return params.escalated ? <NotificationIcon color="warning"/> : undefined |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
// { |
|
|
// { |
|
|
// name: "name", |
|
|
// name: "name", |
|
|
// label: t("Name"), |
|
|
// label: t("Name"), |
|
|