From df28716e2781e57da33dde4377442d51b8f8135d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 20 Mar 2013 14:22:28 +0100 Subject: [PATCH] Show date of subscript + date of creation of subscription (may differ) --- htdocs/adherents/card_subscriptions.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php index 25767e8f5b2..bde482799fe 100644 --- a/htdocs/adherents/card_subscriptions.php +++ b/htdocs/adherents/card_subscriptions.php @@ -660,6 +660,7 @@ if ($rowid) { $sql = "SELECT d.rowid, d.firstname, d.lastname, d.societe,"; $sql.= " c.rowid as crowid, c.cotisation,"; + $sql.= " c.datec,"; $sql.= " c.dateadh,"; $sql.= " c.datef,"; $sql.= " c.fk_bank,"; @@ -683,7 +684,8 @@ if ($rowid) print ''; print ''.$langs->trans("Ref").''; - print ''.$langs->trans("DateSubscription").''; + print ''.$langs->trans("DateCreation").''; + print ''.$langs->trans("DateStart").''; print ''.$langs->trans("DateEnd").''; print ''.$langs->trans("Amount").''; if (! empty($conf->banque->enabled)) @@ -701,6 +703,7 @@ if ($rowid) $cotisationstatic->ref=$objp->crowid; $cotisationstatic->id=$objp->crowid; print ''.$cotisationstatic->getNomUrl(1).''; + print ''.dol_print_date($db->jdate($objp->datec),'dayhour')."\n"; print ''.dol_print_date($db->jdate($objp->dateadh),'day')."\n"; print ''.dol_print_date($db->jdate($objp->datef),'day')."\n"; print ''.price($objp->cotisation).''; @@ -1029,4 +1032,4 @@ else llxFooter(); $db->close(); -?> +?> \ No newline at end of file