Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
AbleKSaju committed Aug 12, 2024
1 parent 3fa552a commit add19ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/printTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export async function getPrintTemplatePropValues(
...accountingValues,
};
const discountSchema = ['Invoice', 'Quote'];
if (discountSchema.some(value => doc.schemaName?.endsWith(value))) {
if (discountSchema.some((value) => doc.schemaName?.endsWith(value))) {
(values.doc as PrintTemplateData).totalDiscount =
formattedTotalDiscount(doc);
(values.doc as PrintTemplateData).showHSN = showHSN(doc);
Expand Down

0 comments on commit add19ef

Please sign in to comment.