BOD-9 Added print format to parts order.

This commit is contained in:
Patrick Fic
2020-05-12 10:47:22 -07:00
parent 6fd485c2fe
commit cf8e0a918c
4 changed files with 25 additions and 11 deletions

View File

@@ -1,8 +1,9 @@
import gql from "graphql-tag";
import { QUERY_TEMPLATES_BY_NAME } from "../graphql/templates.queries";
import axios from "axios";
import { client } from "../App/App.container";
export default async function RenderTemplate(templateObject, client, bodyshop) {
export default async function RenderTemplate(templateObject, bodyshop) {
const { data: templateRecords } = await client.query({
query: QUERY_TEMPLATES_BY_NAME,
variables: { name: templateObject.name },