From b85e9938e883b596ce6cb020043e460352988a2d Mon Sep 17 00:00:00 2001 From: aspangaro Date: Tue, 30 Aug 2016 05:17:27 +0200 Subject: [PATCH 1/5] Fix: VATArea - Problem of presentation --- htdocs/compta/tva/index.php | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/htdocs/compta/tva/index.php b/htdocs/compta/tva/index.php index f6308a3790d..30d9655acc8 100644 --- a/htdocs/compta/tva/index.php +++ b/htdocs/compta/tva/index.php @@ -123,17 +123,9 @@ print $langs->trans("VATReportBuildWithOptionDefinedInModule").'
'; print '('.$langs->trans("TaxModuleSetupToModifyRules",DOL_URL_ROOT.'/admin/taxes.php').')
'; print '
'; -print ''; -print ''; +print '
'; -print '
'; -print '
'; -print load_fiche_titre($langs->trans("VATSummary"), '', ''); -// The report mode is the one defined by defaut in tax module setup -//print $modetax; -//print '('.$langs->trans("SeeVATReportInInputOutputMode",'','').')'; -print ''; -print load_fiche_titre($langs->trans("VATPaid"), '', ''); -print '
'; +print load_fiche_titre($langs->trans("VATSummary"), '', ''); print ''; print ''; @@ -223,18 +215,12 @@ print '\n"; print ''; -/*} - else - { - print ''; - print ''; - }*/ - print '
'.$langs->trans("To print " 
'.$langs->trans("FeatureNotYetAvailable").'
'.$langs->trans("FeatureIsSupportedInInOutModeOnly").'
'; -print '
'; +print '
'; + +print load_fiche_titre($langs->trans("VATPaid"), '', ''); /* * Payed @@ -250,10 +236,7 @@ $sql.= " GROUP BY dm ORDER BY dm ASC"; pt($db, $sql,$langs->trans("Year")." $y"); -print "
"; - -print ''; -print ''; +print ''; llxFooter(); $db->close(); From 9e6429320a56408a506385b42bbe4e54b91df967 Mon Sep 17 00:00:00 2001 From: Juanjo Menent Date: Wed, 31 Aug 2016 02:47:42 +0200 Subject: [PATCH 2/5] Fix #5641 Dolibarr 4.0 RC2 bug when create new contract --- htdocs/contrat/class/contrat.class.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/contrat/class/contrat.class.php b/htdocs/contrat/class/contrat.class.php index 69e969c56d9..f88afb0eb07 100644 --- a/htdocs/contrat/class/contrat.class.php +++ b/htdocs/contrat/class/contrat.class.php @@ -4,7 +4,7 @@ * Copyright (C) 2005-2014 Regis Houssin * Copyright (C) 2006 Andre Cianfarani * Copyright (C) 2008 Raphael Bertrand - * Copyright (C) 2010-2015 Juanjo Menent + * Copyright (C) 2010-2016 Juanjo Menent * Copyright (C) 2013 Christophe Battarel * Copyright (C) 2013 Florian Henry * Copyright (C) 2014-2015 Marcos GarcĂ­a @@ -2407,7 +2407,6 @@ class ContratLigne extends CommonObjectLine */ function fetch($id, $ref='') { - global $langs,$user; // Check parameters if (empty($id) && empty($ref)) return -1; @@ -2423,7 +2422,7 @@ class ContratLigne extends CommonObjectLine $sql.= " p.ref as product_ref,"; $sql.= " p.label as product_label,"; $sql.= " p.description as product_desc,"; - $sql.= " p.type as product_type,"; + $sql.= " p.fk_product_type as product_type,"; $sql.= " t.description,"; $sql.= " t.date_commande,"; $sql.= " t.date_ouverture_prevue as date_ouverture_prevue,"; From 8cfac3b5c3875fc9fa7e54a3062711e1fa1cfa7c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 31 Aug 2016 12:38:54 +0200 Subject: [PATCH 3/5] FIX Several problems when using smartphone --- htdocs/cashdesk/tpl/menu.tpl.php | 4 +-- htdocs/comm/index.php | 2 +- htdocs/compta/facture/info.php | 1 + htdocs/compta/index.php | 2 +- htdocs/core/menus/standard/auguria_menu.php | 6 ++++- htdocs/core/menus/standard/eldy_menu.php | 6 ++++- htdocs/don/index.php | 2 +- htdocs/hrm/hrm.php | 2 +- htdocs/langs/en_US/cashdesk.lang | 2 +- htdocs/langs/en_US/companies.lang | 4 +-- htdocs/product/index.php | 2 +- htdocs/projet/activity/index.php | 2 +- htdocs/projet/index.php | 2 +- htdocs/societe/index.php | 2 +- htdocs/societe/notify/card.php | 8 +++--- htdocs/societe/project.php | 1 + htdocs/theme/eldy/style.css.php | 27 ++++++++++++++++++--- 17 files changed, 53 insertions(+), 22 deletions(-) diff --git a/htdocs/cashdesk/tpl/menu.tpl.php b/htdocs/cashdesk/tpl/menu.tpl.php index 745ea723b49..75347427bda 100644 --- a/htdocs/cashdesk/tpl/menu.tpl.php +++ b/htdocs/cashdesk/tpl/menu.tpl.php @@ -62,9 +62,9 @@ $langs->load("main"); print '