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