From 5b106478ab4069184a292e93573ea5c691a3eb9c Mon Sep 17 00:00:00 2001 From: Praveen Raju <80779423+praju-aot@users.noreply.github.com> Date: Thu, 13 Jun 2024 15:39:28 -0400 Subject: [PATCH] Fix permit fee in permit documentation (#1434) --- vehicles/src/common/helper/format-template-data.helper.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vehicles/src/common/helper/format-template-data.helper.ts b/vehicles/src/common/helper/format-template-data.helper.ts index a9dec21c7..a82101252 100644 --- a/vehicles/src/common/helper/format-template-data.helper.ts +++ b/vehicles/src/common/helper/format-template-data.helper.ts @@ -87,8 +87,9 @@ export const formatTemplateData = ( template.companyAlternateName = companyInfo.alternateName; // Format Fee Summary - template.permitData.feeSummary = - template.permitData.permitDuration.toString(); // TODO: get from frontend + template.permitData.feeSummary = permit.permitTransactions + ?.at(0) + ?.transactionAmount.toString(); revisionHistory?.forEach((revision) => { if (