Subversion Repositories SmartDukaan

Rev

Rev 3947 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3947 Rev 4241
Line 16... Line 16...
16
    <table id="tickets" class="display">
16
    <table id="tickets" class="display">
17
        <thead>
17
        <thead>
18
            <tr>
18
            <tr>
19
                <th>Ticket Id</th>
19
                <th>Ticket Id</th>
20
                #if(!$action.getUserId())
20
                #if(!$action.getUserId())
21
                 <th>Customer Id</th>
21
					<th>Customer Id</th>
-
 
22
				#else
-
 
23
					<th>Description</th>
22
                #end
24
                #end
23
                <th>Category</th>
25
                <th>Category</th>
24
                <th>Date Opened</th>
26
                <th>Date Opened</th>
25
                <th>Date Closed</th>
27
                <th>Date Closed</th>
26
                <th>Assignee</th>
28
                <th>Assignee</th>
Line 43... Line 45...
43
                #if(!$action.getUserId())
45
                #if(!$action.getUserId())
44
                <td>
46
                <td>
45
                    #if($ticket.isSetCustomerId())
47
                    #if($ticket.isSetCustomerId())
46
                    #set( $user = $action.getUser($ticket.getCustomerId()) )
48
                    #set( $user = $action.getUser($ticket.getCustomerId()) )
47
                    <a alt="Show Customer Details" title="Show Customer Details" href="/crm?email=$user.getEmail()">
49
                    <a alt="Show Customer Details" title="Show Customer Details" href="/crm?email=$user.getEmail()">
48
                        <span class="truncated-text">
50
                        <span class="truncated-text" truncatedTextWidth="125">
49
                            $user.getEmail()
51
                            $user.getEmail()
50
                        </span>
52
                        </span>
51
                    </a>
53
                    </a>
52
                    #else
54
                    #else
53
                    <span class="truncated-text">
55
                    <span class="truncated-text" truncatedTextWidth="125">
54
                        $ticket.getCustomerEmailId()
56
                        $ticket.getCustomerEmailId()
55
                    </span>
57
                    </span>
56
                    #end
58
                    #end
57
                </td>
59
                </td>
-
 
60
				#else
-
 
61
					<td class="truncated-text" truncatedTextWidth="125">
-
 
62
						$ticket.getDescription()
-
 
63
					</td>
58
                #end
64
                #end
59
                <td class="truncated-text">$ticket.getCategory().name()</td>
65
                <td class="truncated-text" truncatedTextWidth="155">$ticket.getCategory().name()</td>
60
                <td title="$openDate"  class="truncated-text">$openDate</td>
66
                <td title="$openDate"  class="truncated-text" truncatedTextWidth="90">$openDate</td>
61
                <td title="$closeDate" class="truncated-text">$closeDate</td>
67
                <td title="$closeDate" class="truncated-text" truncatedTextWidth="90">$closeDate</td>
62
                <td class="truncated-text">
68
                <td class="truncated-text" truncatedTextWidth="85">
63
                    #if($ticket.isSetAssigneeId() && $ticket.getAssigneeId() != 0)
69
                    #if($ticket.isSetAssigneeId() && $ticket.getAssigneeId() != 0)
64
                        $action.getAgent($ticket.getAssigneeId()).getEmailId()
70
                        $action.getAgent($ticket.getAssigneeId()).getEmailId()
65
                    #else
71
                    #else
66
                        N/A
72
                        N/A
67
                    #end
73
                    #end