From 3159c3f8d1afb88bfa0cbd4c82b5c2c86c9492f9 Mon Sep 17 00:00:00 2001 From: madx666 Date: Thu, 13 Dec 2018 11:28:49 +0100 Subject: [PATCH] Change type_mouvement on movement_list --- htdocs/product/stock/movement_list.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/htdocs/product/stock/movement_list.php b/htdocs/product/stock/movement_list.php index bd5ac4a4345..f6a694c57fa 100644 --- a/htdocs/product/stock/movement_list.php +++ b/htdocs/product/stock/movement_list.php @@ -1048,7 +1048,20 @@ if ($resql) if (! empty($arrayfields['m.type_mouvement']['checked'])) { // Type of movement - print ''.$objp->type_mouvement.''; + switch($objp->type_mouvement){ + case "0": + print ''.$langs->trans('StockIncreaseAfterCorrectTransfer').''; + break; + case "1": + print ''.$langs->trans('StockDecreaseAfterCorrectTransfer').''; + break; + case "2": + print ''.$langs->trans('StockDecrease').''; + break; + case "3": + print ''.$langs->trans('StockIncrease').''; + break; + } } if (! empty($arrayfields['origin']['checked'])) {