Merge branch 'develop' into big-105-convert-invoice-status-after-sending-mail-notification

This commit is contained in:
Ahmed Bouhuolia
2024-02-21 20:20:36 +02:00
committed by GitHub
368 changed files with 6512 additions and 2339 deletions

View File

@@ -8,7 +8,16 @@ export class ItemEntryTransformer extends Transformer {
* @returns {Array}
*/
public includeAttributes = (): string[] => {
return ['rateFormatted', 'totalFormatted'];
return ['quantityFormatted', 'rateFormatted', 'totalFormatted'];
};
/**
* Retrieves the formatted quantitty of item entry.
* @param {IItemEntry} entry
* @returns {string}
*/
protected quantityFormatted = (entry: IItemEntry): string => {
return formatNumber(entry.quantity, { money: false });
};
/**