summaryrefslogtreecommitdiff
path: root/src/lib/transaction
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-03-28 09:22:13 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-03-28 09:22:13 +0700
commit8ca9069251873e87338f1c7f581b418bebb11e9a (patch)
tree12e651361cb667c768961932a99d0a253ffee4e7 /src/lib/transaction
parentfd2a6bcf2f17a6dbcbfb3ca04ebf2c4d66d43437 (diff)
parenta040418bdddd5fcaf8a8d67e0a66ea92fd16ee24 (diff)
Merge branch 'master' of https://bitbucket.org/altafixco/next-indoteknik
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>
)