mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 23:30:32 +00:00
Merge pull request #720 from bigcapitalhq/add-estimate-customer-note
fix Customer note does not appear in pdf document
This commit is contained in:
@@ -231,12 +231,12 @@ block content
|
|||||||
div(class=`${prefix}-totals__item-amount`) #{total}
|
div(class=`${prefix}-totals__item-amount`) #{total}
|
||||||
|
|
||||||
//- Statements section
|
//- Statements section
|
||||||
if showCustomerNote && customerNote
|
|
||||||
div(class=`${prefix}-statement`)
|
|
||||||
div(class=`${prefix}-statement__label`) #{customerNoteLabel}
|
|
||||||
div(class=`${prefix}-statement__value`) #{customerNote}
|
|
||||||
|
|
||||||
if showTermsConditions && termsConditions
|
if showTermsConditions && termsConditions
|
||||||
div(class=`${prefix}-statement`)
|
div(class=`${prefix}-statement`)
|
||||||
div(class=`${prefix}-statement__label`) #{termsConditionsLabel}
|
div(class=`${prefix}-statement__label`) #{termsConditionsLabel}
|
||||||
div(class=`${prefix}-statement__value`) #{termsConditions}
|
div(class=`${prefix}-statement__value`) #{termsConditions}
|
||||||
|
|
||||||
|
if showCustomerNote && customerNote
|
||||||
|
div(class=`${prefix}-statement`)
|
||||||
|
div(class=`${prefix}-statement__label`) #{customerNoteLabel}
|
||||||
|
div(class=`${prefix}-statement__value`) #{customerNote}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ export const transformEstimateToPdfTemplate = (
|
|||||||
})),
|
})),
|
||||||
total: estimate.formattedSubtotal,
|
total: estimate.formattedSubtotal,
|
||||||
subtotal: estimate.formattedSubtotal,
|
subtotal: estimate.formattedSubtotal,
|
||||||
customerNote: estimate.customerNote,
|
customerNote: estimate.note,
|
||||||
termsConditions: estimate.termsConditions,
|
termsConditions: estimate.termsConditions,
|
||||||
customerAddress: contactAddressTextFormat(estimate.customer),
|
customerAddress: contactAddressTextFormat(estimate.customer),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user