diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2024-05-21 14:54:08 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2024-05-21 14:54:08 +0700 |
| commit | 21d3c9cdc25477f5d07ff395a65f89430b7c9924 (patch) | |
| tree | 4da466e503baa4336ecad0534718847746384904 /src/lib/transaction | |
| parent | 6650a080208b09a50f286cd197c166ebdeca6d8a (diff) | |
delete discount field
Diffstat (limited to 'src/lib/transaction')
| -rw-r--r-- | src/lib/transaction/components/Transaction.jsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/transaction/components/Transaction.jsx b/src/lib/transaction/components/Transaction.jsx index 8f4b2038..9b11f5bb 100644 --- a/src/lib/transaction/components/Transaction.jsx +++ b/src/lib/transaction/components/Transaction.jsx @@ -562,7 +562,7 @@ const Transaction = ({ id }) => { <thead> <tr> <th>Nama Produk</th> - <th>Diskon</th> + {/* <th>Diskon</th> */} <th>Jumlah</th> <th>Harga</th> <th>Subtotal</th> @@ -605,18 +605,18 @@ const Transaction = ({ id }) => { </div> </div> </td> - <td> + {/* <td> {product.price.discountPercentage > 0 ? `${product.price.discountPercentage}%` : ''} - </td> + </td> */} <td>{product.quantity}</td> <td> - {product.price.discountPercentage > 0 && ( + {/* {product.price.discountPercentage > 0 && ( <div className='line-through mb-1 text-caption-1 text-gray_r-12/70'> {currencyFormat(product.price.price)} </div> - )} + )} */} <div>{currencyFormat(product.price.priceDiscount)}</div> </td> <td>{currencyFormat(product.price.subtotal)}</td> |
