mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
fix: update financial forms to use new formatted amount utilities and add adjustment fields
This commit is contained in:
@@ -21,6 +21,7 @@ export default function CreditNoteDetailTableFooter() {
|
||||
<TotalLine
|
||||
title={<T id={'credit_note.drawer.label_subtotal'} />}
|
||||
value={creditNote.formatted_subtotal}
|
||||
borderStyle={TotalLineBorderStyle.SingleDark}
|
||||
/>
|
||||
{creditNote.discount_amount > 0 && (
|
||||
<TotalLine
|
||||
@@ -30,7 +31,12 @@ export default function CreditNoteDetailTableFooter() {
|
||||
: 'Discount'
|
||||
}
|
||||
value={creditNote.discount_amount_formatted}
|
||||
borderStyle={TotalLineBorderStyle.Dark}
|
||||
/>
|
||||
)}
|
||||
{creditNote.adjustment > 0 && (
|
||||
<TotalLine
|
||||
title={'Adjustment'}
|
||||
value={creditNote.adjustment_formatted}
|
||||
/>
|
||||
)}
|
||||
<TotalLine
|
||||
|
||||
Reference in New Issue
Block a user