mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
feat: rendering pdf templates on the server-side
This commit is contained in:
12
packages/server/src/services/Sales/PaymentReceived/utils.ts
Normal file
12
packages/server/src/services/Sales/PaymentReceived/utils.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import {
|
||||
IPaymentReceived,
|
||||
PaymentReceivedPdfTemplateAttributes,
|
||||
} from '@/interfaces';
|
||||
|
||||
export const transformPaymentReceivedToPdfTemplate = (
|
||||
payment: IPaymentReceived
|
||||
): Partial<PaymentReceivedPdfTemplateAttributes> => {
|
||||
return {
|
||||
// ...payment
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user