From 7fe5389adf0cc7bc867bed80a58cd30c73582146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= Date: Wed, 7 May 2014 10:41:43 +0200 Subject: [PATCH 1/3] Updated changelog --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 07cd416c214..469dbcb82f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,7 +14,7 @@ Fix: Pb of records not correctly cleaned when module marge is Fix: [ bug #1341 ] Lastname not added by file or direct input in mass e-mailing. Fix: [ bug #1357 ] Invoice creator state not printed in generated invoice documents. Fix: Suppliers invoice mask fails using {tttt} in numbering. -Fix: pdf template name for typhon was not correctly et when enabling module. +Fix: [ bug #1350 ] pdf template name for typhon was not correctly et when enabling module. Fix: Navigation on notes for shipments was not working. Fix: [ bug #1353 ] Email notifications, wrong URL. Fix: [ bug #1362 ] Note is not saved. From 8681079fa7760b89fba083197355eedccae4c1f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= Date: Wed, 7 May 2014 10:42:13 +0200 Subject: [PATCH 2/3] Fixed CR --- htdocs/core/modules/modExpedition.class.php | 2 +- htdocs/livraison/fiche.php | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/htdocs/core/modules/modExpedition.class.php b/htdocs/core/modules/modExpedition.class.php index f21b2d82ec8..bdc74a66cf3 100644 --- a/htdocs/core/modules/modExpedition.class.php +++ b/htdocs/core/modules/modExpedition.class.php @@ -102,7 +102,7 @@ class modExpedition extends DolibarrModules $this->const[$r][2] = "DOL_DATA_ROOT/doctemplates/shipment"; $this->const[$r][3] = ""; $this->const[$r][4] = 0; - $r++; + $r++; $this->const[$r][0] = "LIVRAISON_ADDON_PDF"; $this->const[$r][1] = "chaine"; diff --git a/htdocs/livraison/fiche.php b/htdocs/livraison/fiche.php index 32c5c474ba1..49049a20783 100644 --- a/htdocs/livraison/fiche.php +++ b/htdocs/livraison/fiche.php @@ -514,16 +514,16 @@ else // Shipment if (($delivery->origin == 'shipment' || $delivery->origin == 'expedition') && $delivery->origin_id > 0) { - $linkback = ''.$langs->trans("BackToList").''; - - // Ref - print ''.$langs->trans("RefSending").''; - print ''; + $linkback = ''.$langs->trans("BackToList").''; + + // Ref + print ''.$langs->trans("RefSending").''; + print ''; // Nav is hidden because on a delivery receipt of a shipment, if we go on next shipment, we may find no tab (a shipment may not have delivery receipt yet) - //print $form->showrefnav($expedition, 'refshipment', $linkback, 1, 'ref', 'ref'); + //print $form->showrefnav($expedition, 'refshipment', $linkback, 1, 'ref', 'ref'); print $form->showrefnav($expedition, 'refshipment', $linkback, 0, 'ref', 'ref'); - print ''; - } + print ''; + } // Ref print ''.$langs->trans("Ref").''; From fb7f08b33ab48e448063c39c4d66ad78c59d61af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= Date: Wed, 7 May 2014 10:42:58 +0200 Subject: [PATCH 3/3] Corrected changelog message --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 469dbcb82f6..189dd345490 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,7 +14,7 @@ Fix: Pb of records not correctly cleaned when module marge is Fix: [ bug #1341 ] Lastname not added by file or direct input in mass e-mailing. Fix: [ bug #1357 ] Invoice creator state not printed in generated invoice documents. Fix: Suppliers invoice mask fails using {tttt} in numbering. -Fix: [ bug #1350 ] pdf template name for typhon was not correctly et when enabling module. +Fix: [ bug #1350 ] pdf template name for typhon was not correctly set when enabling module. Fix: Navigation on notes for shipments was not working. Fix: [ bug #1353 ] Email notifications, wrong URL. Fix: [ bug #1362 ] Note is not saved.