Bug #465

User is always displayed as the Owner of the Ticket

Added by Gurpreet Singh about 6 years ago. Updated over 5 years ago.

Status:Resolved Start date:12 Apr 2015
Priority:Normal Due date:
Assignee:Gurpreet Singh % 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 about 6 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 5 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF