As per: http://drupal.org/node/664526
Perhaps add a ticket history table to the user page? Or, give the users a pane on the order screen so view tickets attached to that order?
As per: http://drupal.org/node/664526
Perhaps add a ticket history table to the user page? Or, give the users a pane on the order screen so view tickets attached to that order?
Comments
Comment #1
emptyvoid commentedIf the tickets where views aware you could simply create a view that lists tickets created by the given user account.
Sadly tickets are not objects you can reference in views.
Comment #2
didlix commentedIs there a reason why you don't views enable the database tables and add a default view?
I could possibly find some time to work on that for you.
OT: How does a customer log a ticket at present? - or can they not?
Comment #3
Anonymous (not verified) commentedCustomers log tickets through the contact form. At present, there is no way for them to view the ticket.
That's something I'm working on, albeit at a very slow pace.
I don't use views, so any help there in the form of patches would be welcome.
Comment #4
gorgo commentedsubscribe
Comment #5
yngens commentedsubscribe
Comment #6
gmaximus commentedI'd also really like to see tickets available for buyers to view, from the order...
Comment #7
gmaximus commentedHi all...
I finally wrapped my head around PHP a couple of weeks ago, well the basic order of things and using some hooks. So thought I'd develop this functionality, as I've really wanted it for a while... I'm sure there are better ways to do it but this is the best I know. I also copied code from a few places including the original module...
Download "Ubercart Ticket Buyers"
It has a bug centered around the "View all buyer tickets" permission. In that for some reason when a user with that permission goes to my-tickets/[ticket-uid]/[ticket-id], where their UID is not the ticket-uid, they get signed in as ticket-uid (user).
I have absolutely no idea why this is so. The answer of course is don't give out that permission. If it can't be helped because of admin role being installed, don't visit that url unless you wanted to switch users of course.
I've also run out of time to add a configuration page for the module where you could enter you email for ubercart ticket. So you'll need to follow these steps to get it working:
This module will only work if you use one email account for your installation. Just visit /my-tickets as a buyer. The module provides a page with a table of tickets, a page for them to view a ticket and a page to post a reply.
Thanks to the module creator, I think Ubercart Tickets is a great module...
Guy
Comment #8
gmaximus commented