From 869f6680da99a0f7b5f8162c8bfe1e42639e122f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josep=20Llu=C3=ADs?= Date: Wed, 13 Mar 2019 15:43:34 +0100 Subject: [PATCH] FIX: free product description not printed The description of a free product/service is not printed on receipt. --- htdocs/takepos/receipt.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/takepos/receipt.php b/htdocs/takepos/receipt.php index d43c3195b92..ec1474828b9 100644 --- a/htdocs/takepos/receipt.php +++ b/htdocs/takepos/receipt.php @@ -3,6 +3,7 @@ * Copyright (C) 2011 Laurent Destailleur * Copyright (C) 2012 Marcos García * Copyright (C) 2018 Andreu Bisquerra + * Copyright (C) 2019 Josep Lluís Amador * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -84,7 +85,9 @@ print $object->ref; { ?> - product_label;?> + product_label)) echo $line->product_label; + else echo $line->description;?> + qty;?> total_ttc/$line->qty;?> total_ttc);?>