From 14c2ac8f1a11dd71099163377d388e6fef47e21b Mon Sep 17 00:00:00 2001 From: Hotlander Date: Thu, 24 Oct 2019 23:16:15 +0200 Subject: [PATCH] - Changed column source on invoice and creditmemo items product sku and name --- .../InvoiceBundle/Resources/config/oro/datagrids.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Marello/Bundle/InvoiceBundle/Resources/config/oro/datagrids.yml b/src/Marello/Bundle/InvoiceBundle/Resources/config/oro/datagrids.yml index a7c43f37e..3480cb4a3 100644 --- a/src/Marello/Bundle/InvoiceBundle/Resources/config/oro/datagrids.yml +++ b/src/Marello/Bundle/InvoiceBundle/Resources/config/oro/datagrids.yml @@ -135,8 +135,6 @@ datagrids: select: - i - inv.currency as currency - - product.sku as productSku - - product.name as productName from: - { table: MarelloInvoiceBundle:InvoiceItem, alias: i} join: @@ -194,8 +192,6 @@ datagrids: select: - i - inv.currency as currency - - product.sku as productSku - - product.name as productName from: - { table: MarelloInvoiceBundle:CreditmemoItem, alias: i} join: @@ -210,8 +206,10 @@ datagrids: columns: productSku: label: marello.product.sku.label - frontend_type: string data_name: productSku + type: twig + frontend_type: html + template: MarelloProductBundle:Product/Datagrid:productSku.html.twig productName: label: marello.product.name.label frontend_type: string