Public Registrants list

  • Gerrit Deschuyteneer
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 9 months ago #135263 by Gerrit Deschuyteneer
Public Registrants list was created by Gerrit Deschuyteneer
Hello,

I would like to added the payment status to the public registrants list. Is that possible?
I tried to add this <?php echo $row->payment_status ; ?> in the components/com_eventbooking/themes/default/registrantlist/default.php file but that doesn't seem to work. Is there a way? I want to avoid to download the excel file first to view this information.

Thank you for all your help,
Greetings,
Gerrit

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #135266 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Public Registrants list
Hi

You will have to use PHP code like:
Code:
<?php switch ($row->published) { case 0: echo 'Pending'; break; case 1: echo 'Paid'; break; case 2: echo 'Cancelled'; break; }

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc