Included subject on document generation
This commit is contained in:
@@ -36,7 +36,7 @@ export function PaymentsListPaginated({
|
||||
sortedInfo: {},
|
||||
filteredInfo: { text: "" },
|
||||
});
|
||||
|
||||
const Templates = TemplateList("payment");
|
||||
const { t } = useTranslation();
|
||||
const columns = [
|
||||
{
|
||||
@@ -156,9 +156,10 @@ export function PaymentsListPaginated({
|
||||
</Button>
|
||||
<PrintWrapperComponent
|
||||
templateObject={{
|
||||
name: TemplateList("payment").payment_receipt.key,
|
||||
name: Templates.payment_receipt.key,
|
||||
variables: { id: record.id },
|
||||
}}
|
||||
messageObject={{ subject: Templates.payment_receipt.subject }}
|
||||
/>
|
||||
</Space>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user