| 24439 |
govind |
1 |
<section class="wrapper">
|
|
|
2 |
<div class="row">
|
|
|
3 |
<div class="col-lg-12">
|
|
|
4 |
<h3 class="page-header"><i class="icon_document_alt"></i>TICKET</h3>
|
|
|
5 |
<ol class="breadcrumb">
|
|
|
6 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
7 |
<li><i class="icon_document_alt"></i>My Ticket</li>
|
|
|
8 |
</ol>
|
|
|
9 |
</div>
|
|
|
10 |
</div>
|
|
|
11 |
<div id="my-ticket-table">
|
|
|
12 |
<div class="row">
|
|
|
13 |
<div class="col-lg-12">
|
|
|
14 |
<table class="table table-bordered">
|
|
|
15 |
<tbody>
|
|
|
16 |
<tr>
|
|
|
17 |
<th>Partner</th>
|
|
|
18 |
<th>SubCategory</th>
|
|
|
19 |
<th>Assigned To</th>
|
|
|
20 |
<th>Created TimeStamp</th>
|
|
|
21 |
<th>Close</th>
|
|
|
22 |
<th>Action</th>
|
|
|
23 |
</tr>
|
|
|
24 |
#if(!$tickets.isEmpty())
|
|
|
25 |
#foreach($ticket in $tickets)
|
|
|
26 |
<tr>
|
|
|
27 |
<td>$fofoIdsAndCustomRetailer.get($ticket.getFofoId()).getBusinessName()</td>
|
|
|
28 |
<td >$subCategoryIdAndSubCategoryMap.get($ticket.getSubCategoryId()).getName()</td>
|
|
|
29 |
<td>$authUserIdAndAuthUserMap.get($ticket.getAssigneeId()).getFirstName()</td>
|
|
|
30 |
<td>$ticket.getFormattedCreateTimestamp()</td>
|
|
|
31 |
#if($ticket.getCloseTimestamp())
|
|
|
32 |
<td>$ticket.getFormattedCloseTimestamp()</td>
|
|
|
33 |
#else
|
|
|
34 |
<td><button class="btn btn-primary" id="close-ticket" data-ticketid="$ticket.getId()">Close</button></td>
|
|
|
35 |
#end
|
|
|
36 |
<td><button class="btn btn-primary" id="edit-ticket" data-ticketid="$ticket.getId()" data-target="#theModal" data-toggle="modal">Edit</button></td>
|
|
|
37 |
</tr>
|
|
|
38 |
#end
|
|
|
39 |
#else
|
|
|
40 |
<tr>
|
|
|
41 |
<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
|
|
|
42 |
</tr>
|
|
|
43 |
#end
|
|
|
44 |
</tbody>
|
|
|
45 |
</table>
|
|
|
46 |
</div>
|
|
|
47 |
</div>
|
|
|
48 |
</div>
|
|
|
49 |
#if(!$tickets.isEmpty())
|
|
|
50 |
<div class="row" id="tickets-paginated">
|
|
|
51 |
<div class="col-lg-9">
|
|
|
52 |
<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
|
|
|
53 |
</div>
|
|
|
54 |
<div class="col-lg-3" style="text-align:right;">
|
|
|
55 |
<div class="btn-group" style="width:40%">
|
|
|
56 |
<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
|
|
|
57 |
</div>
|
|
|
58 |
<div class="btn-group" style="width:40%">
|
|
|
59 |
#if($end >= $size)
|
|
|
60 |
<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
|
|
|
61 |
#else
|
|
|
62 |
<button class="btn btn-primary next" style="width:100%">Next</button>
|
|
|
63 |
#end
|
|
|
64 |
</div>
|
|
|
65 |
</div>
|
|
|
66 |
</div>
|
|
|
67 |
#end
|
|
|
68 |
</section>
|
|
|
69 |
<div id="ticket-details-container" style="background:white;background-color:white;">
|
|
|
70 |
</div>
|
|
|
71 |
<div class="modal fade text-center" id="theModal">
|
|
|
72 |
<div class="modal-dialog">
|
|
|
73 |
<div class="modal-content">
|
|
|
74 |
</div>
|
|
|
75 |
</div>
|
|
|
76 |
</div>
|