add: inquiry tracking code
This commit is contained in:
@@ -3,6 +3,7 @@ import { Grid } from "../../components/Grid/Grid";
|
||||
import Table from "../../components/Table/Table";
|
||||
import { useApiRequest } from "../../utils/useApiRequest";
|
||||
import { formatJustDate } from "../../utils/formatTime";
|
||||
import CheckTrackingCode from "../../components/CheckTrackingCode/CheckTrackingCode";
|
||||
|
||||
type UnitsInventoryResponse = {
|
||||
results?: any[];
|
||||
@@ -26,7 +27,7 @@ export default function UnitsInventory() {
|
||||
params.page === 1
|
||||
? i + 1
|
||||
: i + params.page_size * (params.page - 1) + 1,
|
||||
item?.tracking || "-",
|
||||
<CheckTrackingCode key={`${item?.id}-tracking`} tracking={item?.tracking} />,
|
||||
item?.record_id || "-",
|
||||
formatJustDate(item?.data) || "-",
|
||||
item?.product || "-",
|
||||
|
||||
Reference in New Issue
Block a user