diff --git a/src/components/Invoice.tsx b/src/components/Invoice.tsx index f974593..2f259b4 100644 --- a/src/components/Invoice.tsx +++ b/src/components/Invoice.tsx @@ -209,11 +209,11 @@ const Invoice = () => { ردیف شناسه کالا یا خدمت شرح کالا یا خدمت - فروشنده تعداد مبلغ واحد (ریال) مبلغ کل (ریال) - تخفیف (درصد) + تخفیف (درصد) + جریمه دیرکرد مبلغ کل پس از تخفیف (ریال) جمع مالیات و عوارض ارزش افزوده (ریال) جمع کل پس از تخفیف و مالیات و عوارض (ریال) @@ -225,11 +225,11 @@ const Invoice = () => { {index + 1} 2720000114542 {item.name} - داناک {item.count} {NumberFormat(Number(item.unitPrice) * 10)} {NumberFormat(Number(item.unitPrice) * Number(item.count) * 10)} {NumberFormat(Number(item.discount))} + {NumberFormat(Number(invoice?.lateFee) * 10)} {NumberFormat(Number(item.totalPrice) * 10)} {NumberFormat(Number(item.totalPrice) * 0.1 * 10)} {NumberFormat(Number(item.totalPrice) * 0.1 * 10 + Number(item.totalPrice) * 10)}