×

Notice

The forum is in read only mode.

help

8 years 1 week ago #4392 by JJ
help was created by JJ
Hi, i need to display the name of the staff member whos ticket has been assigned on "my tickets" preview area, i mean, where you see the ticket subject, id, ticket status. I managed to add the label "assigned to" but i could not find the proper staff name tag. Can u please give me a hand with this, it will be amazing if it would display the name of the staff assigned without opening the ticket, this is for admin purpose vía front-end. :)
8 years 1 week ago #4393 by Ahmad
Replied by Ahmad on topic help
Hi,

Assign to staff member is available only at ticket detail.
If you want to show on My Tickets page, you need to customize the code.

Please write your valuable review JS Jobs and JS Support Ticket at JED.
8 years 1 week ago #4396 by JJ
Replied by JJ on topic help
ok, i managed to display the current staff id using the tag "staffid", im just wondering how can i show the assigned staff name below the department label with codes?
8 years 1 week ago - 8 years 1 week ago #4397 by JJ
Replied by JJ on topic help
just want to grab the assigned staff name but i cant manage to find that field

Attachment sample.png not found


any help?
Attachments:
8 years 1 week ago #4401 by Ahmad
Replied by Ahmad on topic help
Hi,

This code show staff member name.
jssupportticket::$_data[0]->staffname;

Please write your valuable review JS Jobs and JS Support Ticket at JED.
The following user(s) said Thank You: JJ
8 years 1 week ago #4402 by JJ
Replied by JJ on topic help
Thanks for your reply, i saw that on the admin_ticketdetails.php.
how can i make it work on the staffmyticket.php? cuz i think that i need to include a function or a query... not sure but the $_data[0]->staffname doesnt work on the staff model
:(
The following user(s) said Thank You: Silvan Armbruster
Time to create page: 0.085 seconds

Please publish modules in offcanvas position.