summaryrefslogtreecommitdiff
path: root/src/lib/transaction
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/transaction')
-rw-r--r--src/lib/transaction/components/Transaction.jsx6
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>
)