@@ -69,7 +69,7 @@ const RequestList: FC = () => {
|
||||
const line = item.items[0]
|
||||
return (
|
||||
<div>
|
||||
{line.product?.title ?? '—'} ({line.quantity.toLocaleString('fa-IR')})
|
||||
{line.product?.title ?? '—'}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -77,7 +77,7 @@ const RequestList: FC = () => {
|
||||
<div className='flex flex-col gap-0.5'>
|
||||
{item.items.map((line) => (
|
||||
<span key={line.id}>
|
||||
{line.product?.title ?? '—'} ({line.quantity.toLocaleString('fa-IR')})
|
||||
{line.product?.title ?? '—'}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
|
||||
@@ -61,10 +61,6 @@ const RequestItem: FC<Props> = ({ item }) => {
|
||||
<div className="text-xs text-desc">عنوان:</div>
|
||||
<div className="text-sm font-medium text-black">{item.product?.title}</div>
|
||||
</div>
|
||||
<div className='flex items-center gap-2'>
|
||||
<div className="text-xs text-desc">تعداد:</div>
|
||||
<div className="text-sm font-medium text-black">{item.quantity}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ export type RequestItemType = {
|
||||
product: ProductType;
|
||||
attributes: RequestItemAttributeType[];
|
||||
request: string;
|
||||
quantity: number;
|
||||
description: string;
|
||||
attachments: string[];
|
||||
};
|
||||
@@ -72,7 +71,6 @@ export type RequestDetailItemType = {
|
||||
product: RequestDetailProductType;
|
||||
attributes: RequestItemAttributeType[];
|
||||
request: string;
|
||||
quantity: number;
|
||||
description: string;
|
||||
attachments: string[] | unknown[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user