>From 9d0e0029ecbf63af67e6bc08b1e18efddaa46715 Mon Sep 17 00:00:00 2001 From: Eric Seigne Date: Mon, 7 Jan 2019 15:41:10 +0100 Subject: [PATCH] scories about customers in a suppliers part --- htdocs/accountancy/journal/purchasesjournal.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/accountancy/journal/purchasesjournal.php b/htdocs/accountancy/journal/purchasesjournal.php index bec5ce6760..c67b773036 100644 --- a/htdocs/accountancy/journal/purchasesjournal.php +++ b/htdocs/accountancy/journal/purchasesjournal.php @@ -7,6 +7,7 @@ * Copyright (C) 2013-2016 Olivier Geffroy * Copyright (C) 2013-2016 Florian Henry * Copyright (C) 2018 Frédéric France + * Copyright (C) 2018 Eric Seigne * * 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 @@ -747,7 +748,7 @@ if (empty($action) || $action == 'view') { } print '
'; if (! empty($conf->global->ACCOUNTING_ENABLE_EXPORT_DRAFT_JOURNAL)) print ''; - if (empty($conf->global->ACCOUNTING_ACCOUNT_CUSTOMER) || $conf->global->ACCOUNTING_ACCOUNT_CUSTOMER == '-1') { + if (empty($conf->global->ACCOUNTING_ACCOUNT_SUPPLIER) || $conf->global->ACCOUNTING_ACCOUNT_SUPPLIER == '-1') { print ''; } else { @@ -878,7 +879,7 @@ if (empty($action) || $action == 'view') { $accountoshow = length_accounta($conf->global->ACCOUNTING_ACCOUNT_SUPPLIER); if (empty($accountoshow) || $accountoshow == 'NotDefined') { - print ''.$langs->trans("MainAccountForCustomersNotDefined").''; + print ''.$langs->trans("MainAccountForSupplierssNotDefined").''; } else print $accountoshow; print ''; -- 2.11.0