diff --git a/htdocs/adherents/fiche_subscription.php b/htdocs/adherents/fiche_subscription.php index d7b86d7202d..cd179364519 100644 --- a/htdocs/adherents/fiche_subscription.php +++ b/htdocs/adherents/fiche_subscription.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2007-2012 Laurent Destailleur * * 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 @@ -150,12 +150,7 @@ llxHeader('',$langs->trans("SubscriptionCard"),'EN:Module_Foundations|FR:Module_ $form = new Form($db); - -if ($errmsg) -{ - print '
'.$errmsg.'
'; - print "\n"; -} +dol_htmloutput_errors($errmsg); if ($user->rights->adherent->cotisation->creer && $action == 'edit') @@ -316,9 +311,14 @@ if ($rowid && $action != 'edit') print ''.$langs->trans("Member").''.$adh->getNomUrl(1,0,'subscription').''; print ''; + // Date record + /*print ''; + print ''.$langs->trans("DateSubscription").''.dol_print_date($subscription->datec,'dayhour').''; + print '';*/ + // Date subscription print ''; - print ''.$langs->trans("DateSubscription").''.dol_print_date($subscription->dateh,'dayhour').''; + print ''.$langs->trans("DateSubscription").''.dol_print_date($subscription->dateh,'day').''; print ''; // Date end subscription