add: otp status
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import { useEffect, useState } from "react";
|
||||
import {
|
||||
Bars3Icon,
|
||||
CheckBadgeIcon,
|
||||
CubeIcon,
|
||||
SparklesIcon,
|
||||
StopCircleIcon,
|
||||
XCircleIcon,
|
||||
} from "@heroicons/react/24/outline";
|
||||
import { useModalStore } from "../../context/zustand-store/appStore";
|
||||
import { useApiRequest } from "../../utils/useApiRequest";
|
||||
@@ -221,6 +223,17 @@ export default function TagActiveDistributions() {
|
||||
تایید سند خروج
|
||||
</Button>
|
||||
),
|
||||
item?.otp_status ? (
|
||||
<span className="flex items-center gap-1 text-green-600 dark:text-green-400">
|
||||
احراز شده
|
||||
<CheckBadgeIcon className="w-5 h-5" />
|
||||
</span>
|
||||
) : (
|
||||
<span className="flex items-center gap-1 text-red-500 dark:text-red-400">
|
||||
احراز نشده
|
||||
<XCircleIcon className="w-5 h-5" />
|
||||
</span>
|
||||
),
|
||||
<Popover key={index}>
|
||||
<Tooltip title="جزئیات توزیع" position="right">
|
||||
<Button
|
||||
@@ -390,6 +403,7 @@ export default function TagActiveDistributions() {
|
||||
...(showAssignDocColumn ? ["امضا سند خروج از انبار"] : []),
|
||||
"سند خروج از انبار",
|
||||
"تایید سند خروج",
|
||||
"وضعیت احراز پیامکی",
|
||||
"عملیات",
|
||||
]}
|
||||
rows={tagsTableData}
|
||||
|
||||
Reference in New Issue
Block a user