diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-27 15:17:59 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-27 15:17:59 +0700 |
| commit | 7ed2913450713655d2e962846d795dc6b4091de4 (patch) | |
| tree | f3f38ecde8dfc3514d6edc66a6f41f13868918bc /src/lib/transaction/components/Transaction.jsx | |
| parent | 949a03f9a12b17fad85ecc58baad6352ba98d04d (diff) | |
cart
Diffstat (limited to 'src/lib/transaction/components/Transaction.jsx')
| -rw-r--r-- | src/lib/transaction/components/Transaction.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/transaction/components/Transaction.jsx b/src/lib/transaction/components/Transaction.jsx index 104a7f2d..b921eb0d 100644 --- a/src/lib/transaction/components/Transaction.jsx +++ b/src/lib/transaction/components/Transaction.jsx @@ -260,7 +260,7 @@ const Transaction = ({ id }) => { <button className='btn-light w-full mt-4' disabled={transaction.data?.status != 'draft'} - onClick={downloadQuotation} + onClick={() => downloadQuotation(transaction.data)} > Download Quotation </button> @@ -292,7 +292,7 @@ const Transaction = ({ id }) => { type='button' className='btn-solid-red px-3 py-2' disabled={transaction.data?.status != 'draft'} - onClick={downloadQuotation} + onClick={() => downloadQuotation(transaction.data)} > Download </button> @@ -547,7 +547,7 @@ const SectionContent = ({ address }) => { const DescriptionRow = ({ children, label }) => ( <div className='grid grid-cols-2'> <span className='text-gray_r-11'>{label}</span> - <span className='text-right'>{children}</span> + <span className='text-right break-all leading-6'>{children}</span> </div> ) |
