- Posts: 41
- Thank you received: 0
Show unpaid registrants in list
- Markus Schwendtner
- Topic Author
- Offline
- Senior Member
Less
More
8 years 10 months ago #64605
by Markus Schwendtner
Show unpaid registrants in list was created by Markus Schwendtner
Hello,
I want to show both completed (=paid) participants and uncompleted (=unpaid) participants in the registrants view of an event, ideally with a note in the overview if they have paid or not.
Is this possible ?
Cheers,
Markus
I want to show both completed (=paid) participants and uncompleted (=unpaid) participants in the registrants view of an event, ideally with a note in the overview if they have paid or not.
Is this possible ?
Cheers,
Markus
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 10 months ago #64614
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show unpaid registrants in list
Hi Markus
For unpaid registrants, what payment method they are using? Also, what's the page you are talking about (EB has different pages to show registrants from backend and frontend)
Tuan
For unpaid registrants, what payment method they are using? Also, what's the page you are talking about (EB has different pages to show registrants from backend and frontend)
Tuan
Please Log in or Create an account to join the conversation.
- Markus Schwendtner
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 10 months ago #64622
by Markus Schwendtner
Replied by Markus Schwendtner on topic Show unpaid registrants in list
payment method is paypal.
I am talking about a view like here:
internationalkiteboarding.org/index.php/...-world-championships
instead of the paid entries (when clicking on "view entries") I want to show all entries, with an additional column of "paid" and "unpaid" (I can work that out from the status)
I looked at components/com_eventbooking/registrantlist/view.html.php and I guess it belongs to tbl.published but couldnt work it out...
Thanks a lot,
Markus
I am talking about a view like here:
internationalkiteboarding.org/index.php/...-world-championships
instead of the paid entries (when clicking on "view entries") I want to show all entries, with an additional column of "paid" and "unpaid" (I can work that out from the status)
I looked at components/com_eventbooking/registrantlist/view.html.php and I guess it belongs to tbl.published but couldnt work it out...
Thanks a lot,
Markus
Please Log in or Create an account to join the conversation.
- Markus Schwendtner
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 10 months ago #64623
by Markus Schwendtner
Replied by Markus Schwendtner on topic Show unpaid registrants in list
And one more question... how can I sort the registrant list, i.e. by gender and then by lastname.frstname ?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 10 months ago #64654
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show unpaid registrants in list
Hi Markus
In that file, you can remove the line:
and it should show all registrants. You could not sort by render, you can only sort it by one of the core field such as first name , last name..by modifying the order by clause of the query. Change from
$query->order('register_date DESC');
to
$query->order('first_name, last_name') ;
for example
Hope it gives you some help
Tuan
In that file, you can remove the line:
Code:
->where('(tbl.published =1 OR tbl.payment_method LIKE "os_offline%")')
and it should show all registrants. You could not sort by render, you can only sort it by one of the core field such as first name , last name..by modifying the order by clause of the query. Change from
$query->order('register_date DESC');
to
$query->order('first_name, last_name') ;
for example
Hope it gives you some help
Tuan
Please Log in or Create an account to join the conversation.
- Markus Schwendtner
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 10 months ago #64662
by Markus Schwendtner
Replied by Markus Schwendtner on topic Show unpaid registrants in list
Hi Tuan,
great, I tried with the other lines, that works perfectly.
Any suggestion on how to add something in the end of the line like "complete" or "paid" to mark the ones that have completed payment and those who dont ? I guess I could use something like "if tbl.published=1 then echo 'complete'" or so ?
Cheers,
Markus
great, I tried with the other lines, that works perfectly.
Any suggestion on how to add something in the end of the line like "complete" or "paid" to mark the ones that have completed payment and those who dont ? I guess I could use something like "if tbl.published=1 then echo 'complete'" or so ?
Cheers,
Markus
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 10 months ago #64663
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show unpaid registrants in list
if ($row->published == 1)
{
echo 'Paid';
}
else
{
echo 'Pending';
}
Something like that
Tuan
{
echo 'Paid';
}
else
{
echo 'Pending';
}
Something like that
Tuan
Please Log in or Create an account to join the conversation.
- FrankM
- Offline
- Premium Member
Less
More
- Posts: 148
- Thank you received: 16
8 years 9 months ago #64756
by FrankM
Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Sorry, english isn't my native language.
Replied by FrankM on topic Show unpaid registrants in list
Can we get this option paid/unpaid into the core extension? I need this too
Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Sorry, english isn't my native language.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 9 months ago #64800
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show unpaid registrants in list
. Strange that someone want to show unpaid registrants (who doesn't make payment) as registrants in the frontend. What's the reason for doing it ?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- FrankM
- Offline
- Premium Member
Less
More
- Posts: 148
- Thank you received: 16
8 years 9 months ago #64808
by FrankM
Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Sorry, english isn't my native language.
Replied by FrankM on topic Show unpaid registrants in list
I use offline payment and paypal payment. So i have user with status paid and status unpaid. When i see the money on my bank i switch status from unpaid to paid. Clear enough?
Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Sorry, english isn't my native language.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.