Show unpaid registrants in list

More
8 years 9 months ago #64812 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show unpaid registrants in list
The reasons I asked the question is because by default, Offline payment registration records are being showed already. So this modification/settings will only affect users who choose to use online payment method such as Paypal but doesn't make payment

It is the same with Show Pending Registration records option which affect backend registrants list

Regards,

Tuan

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

More
8 years 9 months ago #64844 by FrankM
Replied by FrankM on topic Show unpaid registrants in list
Hmm, i think an picture is needed :(



That's what i mean.

No.1 - PayPal
No.2 - Offline Payment

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.
Attachments:

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

More
8 years 9 months ago #64865 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show unpaid registrants in list
Seems you need a new called called Status or something like that ?

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

More
8 years 9 months ago #64870 by FrankM
Replied by FrankM on topic Show unpaid registrants in list

Tuan Pham Ngoc wrote: Seems you need a new called called Status or something like that ?


Yes, called "Payment Status"?

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.

More
8 years 9 months ago #64897 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show unpaid registrants in list
OK. Will do that :).

Tuan
The following user(s) said Thank You: FrankM

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

More
8 years 9 months ago #64917 by wirex
Replied by wirex on topic Show unpaid registrants in list

Tuan Pham Ngoc wrote: by default, Offline payment registration records are being showed already.


Is there any option not to show registrant who choosed offline payment until I manually switch them to paid? i.e. with pending status.

There is also something that I do not get:
After registration with offline payment, user is shown on registrant list (back-end) with Registration Status: "Pending" in menu: Registrant Manager: Edit Registrant
on the other hand same user in menu: Registrant Manager: Registrants has status: "not published" but appear on front end registrant list.

In case of free events published/not published is quick way to remove someone from event.


Thanks,
Wirex

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

More
8 years 9 months ago - 8 years 9 months ago #64923 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show unpaid registrants in list
Hi Wirex

Hard for me to add support for all of this. However, I can guide you to customize the code so that it works like that.

1. Open the file components/com_eventbooking/views/registrantlist/view.html.php

2. Find the code below:
Code:
->where('(tbl.published =1 OR tbl.payment_method LIKE "os_offline%")')

3. Change it to:
Code:
->where('tbl.published =1');

After that, it should work as expected

Tuan
Last edit: 8 years 9 months ago by Tuan Pham Ngoc.

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

More
8 years 9 months ago #64980 by wirex
Replied by wirex on topic Show unpaid registrants in list
Hi Tuan,

Many thanks for guide it worked for registrant list only ;)
Total registrant number is still include those who have "pending" status and place is booked for them.
Can you let me know where else I need to tweak code to remove them from total?

Thanks,
Wirex

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

More
8 years 9 months ago #64992 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show unpaid registrants in list
Total ? Where it is disabled ?

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

More
8 years 9 months ago #65006 by wirex
Replied by wirex on topic Show unpaid registrants in list
Please see this site: uat.towarzysko.pl/index.php/wydarzenia/kino/escape-room/

Ilość miejsc: 7/ Available place: 7
Zarejestrowani: 6 / Registered: 6
Pozostało miejsc: 1/Place left: 1
When you click on: [Kliknij aby zobaczyć uczestników]/[Registrant list] it show only 5 users

I believe the code which you mentioned earlier impacted only registrant list. I would like to have same number of people on registrant list and on event details page.

Thanks,
Wirex

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

Moderators: Tuan Pham Ngoc