diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 8f61cd9e7a3..dd9dc9d3aab 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -629,6 +629,8 @@ if ($_GET['action'] == 'create') print '' ."\n"; print ''; + + // Reference print ''; print ''; @@ -1144,6 +1146,9 @@ else */ print '
'.$langs->trans('Ref').''.$langs->trans('Draft').'
'; + // Reference + print ''; + // Société print ''; print '
'.$langs->trans('Ref').''.$fac->ref.'
'.$langs->trans('Company').''; diff --git a/htdocs/compta/facture/contact.php b/htdocs/compta/facture/contact.php index 7721d1d3f9f..0ce9f742fc0 100644 --- a/htdocs/compta/facture/contact.php +++ b/htdocs/compta/facture/contact.php @@ -93,7 +93,7 @@ function select_societes_for_newconcat($facture, $selected = '', $htmlname = 'ne function select_type_contact($facture, $defValue, $htmlname = 'type', $source) { $lesTypes = $facture->liste_type_contact($source); - print ''; foreach($lesTypes as $key=>$value) { print ''; @@ -232,7 +232,7 @@ if ($id > 0) print ''; // Reference du facture - print '"; @@ -255,9 +255,8 @@ if ($id > 0) /* * Ajouter une ligne de contact * Non affiché en mode modification de ligne - * ou si facture validée. */ - if ($facture->statut <= 0 && $_GET["action"] != 'editline' && $user->rights->facture->creer) + if ($_GET["action"] != 'editline' && $user->rights->facture->creer) { print ''; print ''; diff --git a/htdocs/compta/facture/note.php b/htdocs/compta/facture/note.php index a5fb4ee1bde..0e2187194a3 100644 --- a/htdocs/compta/facture/note.php +++ b/htdocs/compta/facture/note.php @@ -83,6 +83,9 @@ if ($_GET["facid"]) print '
'.$langs->trans("Ref").''; + print '
'.$langs->trans("Ref").''; print $facture->ref; print "
'.$langs->trans("Source").'
'; + // Reference + print ''; + print ''; print '';
'.$langs->trans('Ref').''.$fac->ref.'
'.$langs->trans("Company").''; print ''.$soc->nom.'