From 8e7ad726b225e3dd819be115c58ee52684c5bb30 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 7 Apr 2020 14:06:08 +0200 Subject: [PATCH] NEW Easier way to setup the different types of tax. Better visibility. FIX edit of tax stamp regenerated the PDF. --- htdocs/admin/company.php | 96 +++++++++++++++++++++++++--------- htdocs/admin/dict.php | 2 +- htdocs/compta/facture/card.php | 39 +++++++++++--- htdocs/langs/en_US/admin.lang | 5 ++ htdocs/langs/en_US/bills.lang | 2 +- 5 files changed, 110 insertions(+), 34 deletions(-) diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index 222cc292ace..a66313e6294 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -41,7 +41,7 @@ $action = GETPOST('action', 'aZ09'); $contextpage = GETPOST('contextpage', 'aZ') ?GETPOST('contextpage', 'aZ') : 'admincompany'; // To manage different context of search // Load translation files required by the page -$langs->loadLangs(array('admin', 'companies')); +$langs->loadLangs(array('admin', 'companies', 'bills')); if (!$user->admin) accessforbidden(); @@ -689,17 +689,19 @@ print '