add: tag dist time
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
|||||||
} from "@heroicons/react/24/outline";
|
} from "@heroicons/react/24/outline";
|
||||||
import { useModalStore } from "../../context/zustand-store/appStore";
|
import { useModalStore } from "../../context/zustand-store/appStore";
|
||||||
import { useApiRequest } from "../../utils/useApiRequest";
|
import { useApiRequest } from "../../utils/useApiRequest";
|
||||||
import { formatJustDate } from "../../utils/formatTime";
|
import { formatJustDate, formatJustTime } from "../../utils/formatTime";
|
||||||
import ShowMoreInfo from "../../components/ShowMoreInfo/ShowMoreInfo";
|
import ShowMoreInfo from "../../components/ShowMoreInfo/ShowMoreInfo";
|
||||||
import { Grid } from "../../components/Grid/Grid";
|
import { Grid } from "../../components/Grid/Grid";
|
||||||
import Typography from "../../components/Typography/Typography";
|
import Typography from "../../components/Typography/Typography";
|
||||||
@@ -61,7 +61,9 @@ export default function TagActiveDistributions() {
|
|||||||
? index + 1
|
? index + 1
|
||||||
: index + tableInfo.page_size * (tableInfo.page - 1) + 1,
|
: index + tableInfo.page_size * (tableInfo.page - 1) + 1,
|
||||||
item?.dist_batch_identity,
|
item?.dist_batch_identity,
|
||||||
formatJustDate(item?.create_date),
|
`${formatJustDate(item?.create_date)} (${formatJustTime(
|
||||||
|
item?.create_date
|
||||||
|
)})`,
|
||||||
item?.assigner_org?.name,
|
item?.assigner_org?.name,
|
||||||
item?.assigned_org?.name,
|
item?.assigned_org?.name,
|
||||||
item?.total_tag_count,
|
item?.total_tag_count,
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
} from "@heroicons/react/24/outline";
|
} from "@heroicons/react/24/outline";
|
||||||
import { useModalStore } from "../../context/zustand-store/appStore";
|
import { useModalStore } from "../../context/zustand-store/appStore";
|
||||||
import { useApiRequest } from "../../utils/useApiRequest";
|
import { useApiRequest } from "../../utils/useApiRequest";
|
||||||
import { formatJustDate } from "../../utils/formatTime";
|
import { formatJustDate, formatJustTime } from "../../utils/formatTime";
|
||||||
import ShowMoreInfo from "../../components/ShowMoreInfo/ShowMoreInfo";
|
import ShowMoreInfo from "../../components/ShowMoreInfo/ShowMoreInfo";
|
||||||
import { Grid } from "../../components/Grid/Grid";
|
import { Grid } from "../../components/Grid/Grid";
|
||||||
import Typography from "../../components/Typography/Typography";
|
import Typography from "../../components/Typography/Typography";
|
||||||
@@ -61,7 +61,9 @@ export default function TagCanceledDistributions() {
|
|||||||
? index + 1
|
? index + 1
|
||||||
: index + tableInfo.page_size * (tableInfo.page - 1) + 1,
|
: index + tableInfo.page_size * (tableInfo.page - 1) + 1,
|
||||||
item?.dist_batch_identity,
|
item?.dist_batch_identity,
|
||||||
formatJustDate(item?.create_date),
|
`${formatJustDate(item?.create_date)} (${formatJustTime(
|
||||||
|
item?.create_date
|
||||||
|
)})`,
|
||||||
item?.assigner_org?.name,
|
item?.assigner_org?.name,
|
||||||
item?.assigned_org?.name,
|
item?.assigned_org?.name,
|
||||||
item?.total_tag_count,
|
item?.total_tag_count,
|
||||||
|
|||||||
Reference in New Issue
Block a user