mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
feat: mail receipt preview
This commit is contained in:
@@ -269,12 +269,27 @@ export interface SaleEstimateMailStateResponse {
|
||||
companyName: string;
|
||||
customerName: string;
|
||||
entries: Array<any>;
|
||||
|
||||
estimateDate: string;
|
||||
estimateDateFormatted: string;
|
||||
|
||||
expirationDate: string;
|
||||
expirationDateFormatted: string;
|
||||
|
||||
primaryColor: string;
|
||||
|
||||
total: number;
|
||||
totalFormatted: string;
|
||||
|
||||
subtotal: number;
|
||||
subtotalFormatted: string;
|
||||
|
||||
estimateNumber: string;
|
||||
|
||||
formatArgs: {
|
||||
customerName: string;
|
||||
estimateAmount: string;
|
||||
};
|
||||
formattedEstimateDate: string;
|
||||
from: Array<string>;
|
||||
fromOptions: Array<any>;
|
||||
message: string;
|
||||
|
||||
@@ -264,15 +264,29 @@ export function useSendPaymentReceiveMail(props) {
|
||||
export interface GetPaymentReceivedMailStateResponse {
|
||||
companyName: string;
|
||||
customerName: string;
|
||||
|
||||
entries: Array<{ paymentAmountFormatted: string }>;
|
||||
|
||||
from: Array<string>;
|
||||
fromOptions: Array<{ mail: string; label: string; primary: boolean }>;
|
||||
|
||||
paymentAmountFormatted: string;
|
||||
|
||||
paymentDate: string;
|
||||
paymentDateFormatted: string;
|
||||
|
||||
to: Array<string>;
|
||||
toOptions: Array<{ mail: string; label: string; primary: boolean }>;
|
||||
|
||||
total: number;
|
||||
totalFormatted: string;
|
||||
|
||||
subtotal: number;
|
||||
subtotalFormatted: string;
|
||||
|
||||
paymentNumber: string;
|
||||
companyLogoUri?: string;
|
||||
primaryColor?: string;
|
||||
}
|
||||
|
||||
export function usePaymentReceivedMailState(
|
||||
|
||||
Reference in New Issue
Block a user