diff --git a/packages/server/resources/views/modules/estimate-regular.pug b/packages/server/resources/views/modules/estimate-regular.pug index b2f9364ef..975436d0f 100644 --- a/packages/server/resources/views/modules/estimate-regular.pug +++ b/packages/server/resources/views/modules/estimate-regular.pug @@ -231,12 +231,12 @@ block content div(class=`${prefix}-totals__item-amount`) #{total} //- Statements section + if showTermsConditions && termsConditions + div(class=`${prefix}-statement`) + div(class=`${prefix}-statement__label`) #{termsConditionsLabel} + 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} - - if showTermsConditions && termsConditions - div(class=`${prefix}-statement`) - div(class=`${prefix}-statement__label`) #{termsConditionsLabel} - div(class=`${prefix}-statement__value`) #{termsConditions} \ No newline at end of file diff --git a/packages/server/src/services/Sales/Estimates/utils.ts b/packages/server/src/services/Sales/Estimates/utils.ts index f15a25546..9c7d92de5 100644 --- a/packages/server/src/services/Sales/Estimates/utils.ts +++ b/packages/server/src/services/Sales/Estimates/utils.ts @@ -17,7 +17,7 @@ export const transformEstimateToPdfTemplate = ( })), total: estimate.formattedSubtotal, subtotal: estimate.formattedSubtotal, - customerNote: estimate.customerNote, + customerNote: estimate.note, termsConditions: estimate.termsConditions, customerAddress: contactAddressTextFormat(estimate.customer), };