Put the email address in the registration list, so when someone calls and says "i never got my registration number!" you can easily look it up for them! Sorry this didnt get into 2.0.10, im going to update everyones version with this patch anyways

This commit is contained in:
james 2007-03-02 15:02:14 +00:00
parent 11c995f94a
commit 659bc11066

View File

@ -97,6 +97,7 @@ else $wherestatus="";
$q=mysql_query("SELECT registrations.id AS reg_id, $q=mysql_query("SELECT registrations.id AS reg_id,
registrations.num AS reg_num, registrations.num AS reg_num,
registrations.status, registrations.status,
registrations.email,
projects.title, projects.title,
projects.projectnumber, projects.projectnumber,
projects.projectcategories_id, projects.projectcategories_id,
@ -117,6 +118,7 @@ else $wherestatus="";
echo "<tr>"; echo "<tr>";
if($_GET['showstatus']) $stat="&showstatus=".$_GET['showstatus']; if($_GET['showstatus']) $stat="&showstatus=".$_GET['showstatus'];
echo "<th><a href=\"registration_list.php?sort=status$stat\">".i18n("Status")."</a></th>"; echo "<th><a href=\"registration_list.php?sort=status$stat\">".i18n("Status")."</a></th>";
echo "<th><a href=\"registration_list.php?sort=email\">".i18n("Email Address")."</a></th>";
echo "<th><a href=\"registration_list.php?sort=num$stat\">".i18n("Reg Num")."</a></th>"; echo "<th><a href=\"registration_list.php?sort=num$stat\">".i18n("Reg Num")."</a></th>";
echo "<th><a href=\"registration_list.php?sort=projnum$stat\">".i18n("Proj Num")."</a></th>"; echo "<th><a href=\"registration_list.php?sort=projnum$stat\">".i18n("Proj Num")."</a></th>";
echo "<th><a href=\"registration_list.php?sort=title$stat\">".i18n("Project Title")."</a></th>"; echo "<th><a href=\"registration_list.php?sort=title$stat\">".i18n("Project Title")."</a></th>";
@ -148,6 +150,7 @@ else $wherestatus="";
echo "<tr>"; echo "<tr>";
echo "<td>$status_text</td>"; echo "<td>$status_text</td>";
echo "<td>$r->email</td>";
echo "<td>$r->reg_num</td>"; echo "<td>$r->reg_num</td>";
echo "<td>$r->projectnumber</td>"; echo "<td>$r->projectnumber</td>";
echo "<td><a title=\"".i18n("Click to edit")."\" href=\"project_editor.php?registration_id=$r->reg_id\">$r->title</a></td>"; echo "<td><a title=\"".i18n("Click to edit")."\" href=\"project_editor.php?registration_id=$r->reg_id\">$r->title</a></td>";