IO-767 Resolve document mapping on parts return
This commit is contained in:
@@ -164,13 +164,13 @@ export function PartsOrderListTableComponent({
|
|||||||
</Button>
|
</Button>
|
||||||
<PrintWrapper
|
<PrintWrapper
|
||||||
templateObject={{
|
templateObject={{
|
||||||
name: record.isReturn
|
name: record.return
|
||||||
? Templates.parts_return_slip.key
|
? Templates.parts_return_slip.key
|
||||||
: Templates.parts_order.key,
|
: Templates.parts_order.key,
|
||||||
variables: { id: record.id },
|
variables: { id: record.id },
|
||||||
}}
|
}}
|
||||||
messageObject={{
|
messageObject={{
|
||||||
subject: record.isReturn
|
subject: record.return
|
||||||
? Templates.parts_return_slip.subject
|
? Templates.parts_return_slip.subject
|
||||||
: Templates.parts_order.subject,
|
: Templates.parts_order.subject,
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user