mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
fix: company logo does not show up in mail receipt preview
This commit is contained in:
@@ -93,6 +93,7 @@ export function InvoiceMailReceipt({
|
||||
h="90px"
|
||||
w="90px"
|
||||
mx="auto"
|
||||
borderRadius="3px"
|
||||
backgroundRepeat="no-repeat"
|
||||
backgroundPosition="center center"
|
||||
backgroundSize="contain"
|
||||
|
||||
@@ -25,7 +25,7 @@ export function InvoiceMailReceiptPreviewConneceted() {
|
||||
<Box px={4} pt={8} pb={16}>
|
||||
<InvoiceMailReceiptPreview
|
||||
companyName={invoiceMailState?.companyName}
|
||||
// companyLogoUri={invoiceMailState?.companyLogoUri}
|
||||
companyLogoUri={invoiceMailState?.companyLogoUri}
|
||||
|
||||
primaryColor={invoiceMailState?.primaryColor}
|
||||
total={invoiceMailState?.totalFormatted}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// @ts-nocheck
|
||||
import React, { createContext, useContext } from 'react';
|
||||
import { Spinner } from '@blueprintjs/core';
|
||||
import {
|
||||
|
||||
@@ -372,6 +372,7 @@ export function useSendSaleInvoiceMail(
|
||||
// --------------------------------------
|
||||
export interface GetSaleInvoiceDefaultOptionsResponse {
|
||||
companyName: string;
|
||||
companyLogoUri: string;
|
||||
|
||||
dueDate: string;
|
||||
dueDateFormatted: string;
|
||||
|
||||
Reference in New Issue
Block a user