Problem with PDF Tickets in case of publish the group billing record

  • Martin Herzhauser
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 week 6 days ago - 1 week 6 days ago #173809 by Martin Herzhauser
Hi,
If I make a group booking for 3 persons, I get a group billing record and three individual records. Ok. Then I publsish the group billing record (it was paid offline e.g.), then all pdf tickets were generated. I can see them in the backend, one ticket for each member record and a complete pdf with three pages for the group billing record. Ok. BUT in the mail sent out the the group owner there is a pdf named the same than the one in the group billing records (ticket_ plus the row id)  but it has only one page. So there is a difference what is sent out per mail and what I can download in the backend.
That's very urgent for us to get fixed.

Regards,
Martin
Last edit: 1 week 6 days ago by Martin Herzhauser.

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

  • Martin Herzhauser
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 week 6 days ago #173815 by Martin Herzhauser
We are only doing group bookings. I do not collect member information, but auto generate them.

If I activate "collect member information", it works.

So this leads me to line 301 in tickets.php, When I comment out the check for collect member information, at least I can work. But I think this is not the solution.
Code:
if ($row->is_group_billing /*&& $collectMemberInformation*/) {

Perhaps the problem is in the else path or the if clause can be changed to something like is_group billing AND (collect_member_information OR auto generate group members) ???

Regards,
Martin

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

More
1 week 6 days ago #173820 by Tuan Pham Ngoc
Hi Martin

If you do not want to collect members information, you need to use this plugin to auto generate group members for the tickets generation works docs.joomdonation.com/eventsbooking/plugins/auto-group-members

Regards,

Tuan

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

  • Martin Herzhauser
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 week 5 days ago #173822 by Martin Herzhauser
Hi Tuan.
I use this Plugin and the Tickets Are generated. They Are accessible in the backend.
What is Not working is the send out of the Mail if you are Publishing the group billing line…then they are not added as attachments, but an invalid one is added.

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

More
1 week 5 days ago #173823 by Tuan Pham Ngoc
Ah OK. I see it now. I fixed it. Please download and update your site to latest package of Events Booking and the error will be sorted

Regards,

Tuan
The following user(s) said Thank You: Martin Herzhauser

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

  • Martin Herzhauser
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 week 5 days ago #173826 by Martin Herzhauser
Again I have to tell that your update solves the problem! Thanks a lot!

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

More
1 week 4 days ago #173830 by Tuan Pham Ngoc
Great. Thanks for confirming

I'm closing this ticket

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc