forked from science-ation/science-ation
If there's no regfee, then dont show the status column on the confirmed participants page
becuase status will only ever be 'Complete'
This commit is contained in:
parent
ea55978aa9
commit
1e2608d5b5
@ -99,11 +99,18 @@
|
||||
$lastdiv=$r->division;
|
||||
|
||||
}
|
||||
$statusstar="";
|
||||
if($r->status=="paymentpending")
|
||||
$statusstar="<font color=\"red\">*</font>";
|
||||
|
||||
$status_text=i18n("Complete");
|
||||
//no need to output the status if we dont have a reg fee, becuase status is either 'complete' or 'payment pending' but if we dont have a regfee it can never be payment pending, so thus, it must be complete!
|
||||
$statusstar="";
|
||||
if($config['regfee']>0)
|
||||
{
|
||||
if($r->status=="paymentpending")
|
||||
$statusstar="<font color=\"red\">*</font>";
|
||||
|
||||
$status_text=i18n("Complete");
|
||||
}
|
||||
else
|
||||
$status_text="";
|
||||
|
||||
echo "<tr>";
|
||||
echo "<td>$status_text".$statusstar."</td>";
|
||||
|
Loading…
Reference in New Issue
Block a user