This commit is contained in:
2026-05-24 13:04:14 +03:30
parent 7fa30e6e81
commit 75fa1a2fcf
@@ -80,6 +80,7 @@ const DetailPerfomaInvoice: FC = () => {
<th className="pb-3 font-normal">مبلغ واحد</th>
<th className="pb-3 font-normal">تخفیف</th>
<th className="pb-3 font-normal">مبلغ کل</th>
<th className="pb-3 font-normal">عملیات</th>
</tr>
</thead>
<tbody>
@@ -103,6 +104,20 @@ const DetailPerfomaInvoice: FC = () => {
: '-'}
</td>
<td className="py-3">{formatAmount(lineTotal)}</td>
<td className="py-3">
{item.id && (
<Link
to={Paths.convertToOrder + '?invoiceItemId=' + item.id}
>
<button
type="button"
className="h-10 flex-shrink-0 rounded-xl border border-primary px-4 text-sm text-primary transition-colors hover:bg-primary/5"
>
تبدیل به سفارش
</button>
</Link>
)}
</td>
</tr>
);
})}