Bug #465
User is always displayed as the Owner of the Ticket
Status: | Resolved | Start date: | 12 Apr 2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% |
||
Category: | - | |||
Target version: | - |
Description
Steps to replicate:
1. Create a ticket from WHMCS Portal.
2. Open the Ticket and observe the Owner Column, it will be populated with User Full name, which is incorrect.
Owner name should be of Staff name, if no staff member is assigned to the ticket, Owner should be displayed as Unassigned.
History
Updated by Gurpreet Singh almost 10 years ago
Hi,
Solution for this defect is:
1. Open the Template: viewticket.tpl
2. Replace the lines of code below:
<div class="ticketgeneralpropertiesobject">
<div class="ticketgeneralpropertiestitle">OWNER</div>
<div class="ticketgeneralpropertiescontent">{$_ticketContainer.fullname}</div>
</div>
With
<div class="ticketgeneralpropertiesobject">
<div class="ticketgeneralpropertiestitle">OWNER</div>
<div class="ticketgeneralpropertiescontent">{if $_ticketContainer.owner==''}Unassigned {else} {$_ticketContainer.owner}{/if}</div>
</div>
Thanks & Regards,
Gurpreet Singh
Updated by Gurpreet Singh over 9 years ago
- Status changed from New to Resolved