| Line -... |
Line 1... |
| - |
|
1 |
#set($privateDealUser=$action.getPrivateDealUser())
|
| - |
|
2 |
<div class="user-related-info" style="width:45%;float:left;">
|
| 1 |
<span>Name: $action.getUser().getName()</span><br/>
|
3 |
<span>Name: $action.getUser().getName()</span><br/>
|
| 2 |
<span>Email: $action.getUser().getEmail()</span><br/>
|
4 |
<span>Email: $action.getUser().getEmail()</span><br/>
|
| - |
|
5 |
#if($privateDealUser.isIsActive())
|
| - |
|
6 |
<span style="font-weight:bold;font-color:red;">Private Deal User</span><br/>
|
| - |
|
7 |
#end
|
| 3 |
<span>Communication Email: $action.getUser().getCommunicationEmail()</span><br/><br/>
|
8 |
<span>Communication Email: $action.getUser().getCommunicationEmail()</span><br/><br/>
|
| 4 |
<span>Date Of Birth:
|
9 |
<span>Date Of Birth:
|
| 5 |
#if($action.getUser().getDateOfBirth())
|
10 |
#if($action.getUser().getDateOfBirth())
|
| 6 |
$action.getUser().getDateOfBirth()
|
11 |
$action.getUser().getDateOfBirth()
|
| 7 |
#else
|
12 |
#else
|
| Line 13... |
Line 18... |
| 13 |
$action.getUser().getMobileNumber()
|
18 |
$action.getUser().getMobileNumber()
|
| 14 |
#else
|
19 |
#else
|
| 15 |
N/A
|
20 |
N/A
|
| 16 |
#end
|
21 |
#end
|
| 17 |
</span><br/><br/>
|
22 |
</span><br/><br/>
|
| - |
|
23 |
|
| 18 |
<span>Sex: $action.getUser().getSex()</span><br/>
|
24 |
<span>Sex: $action.getUser().getSex()</span><br/>
|
| 19 |
<span>Trust level: $action.getUser().getTrustLevel()</span><br/>
|
25 |
<span>Trust level: $action.getUser().getTrustLevel()</span><br/>
|
| 20 |
#if($action.isTrustLevelEditable())
|
26 |
#if($action.isTrustLevelEditable())
|
| 21 |
<span >Increase trust level by: </span>
|
27 |
<span >Increase trust level by: </span>
|
| 22 |
<input userId="$action.getUserId()" type="text" value="0" id="trust-level-increase"/>
|
28 |
<input userId="$action.getUserId()" type="text" value="0" id="trust-level-increase"/>
|
| Line 53... |
Line 59... |
| 53 |
#if($address.getPin()) $address.getPin(), #end
|
59 |
#if($address.getPin()) $address.getPin(), #end
|
| 54 |
</span><br/>
|
60 |
</span><br/>
|
| 55 |
#if($address.getPin()) <span>Phone : $address.getPhone()</span><br/><br/><br/> #end
|
61 |
#if($address.getPin()) <span>Phone : $address.getPhone()</span><br/><br/><br/> #end
|
| 56 |
#end
|
62 |
#end
|
| 57 |
#end
|
63 |
#end
|
| 58 |
|
- |
|
| 59 |
|
64 |
</div>
|
| - |
|
65 |
#if($action.canViewBulkOrderEnquiry())
|
| - |
|
66 |
#set($customerId=$action.getUserId())
|
| - |
|
67 |
<div class="privateDeals" style="float: right; display: block; border: 2px solid gray; min-height: 40px; min-width: 20%; padding: 10px; margin-top: 30px; background-color: lightBlue;">
|
| - |
|
68 |
<h3>Private Deals</h3>
|
| - |
|
69 |
#if ($privateDealUser.getUserId()==0)
|
| - |
|
70 |
<span style="margin-right: 10px;">Add User : </span>
|
| - |
|
71 |
<input type="button" class="add-to-private-deal" userId="$customerId" value="Add User">
|
| - |
|
72 |
<br>
|
| - |
|
73 |
<br>
|
| - |
|
74 |
#end
|
| - |
|
75 |
#if ($privateDealUser.getUserId()>0)
|
| - |
|
76 |
#if ($privateDealUser.isIsActive())
|
| - |
|
77 |
<span style="margin-right: 10px;font-weight:bold;color:green;">Current Status Active</span>
|
| - |
|
78 |
<br><br>
|
| - |
|
79 |
<span style="margin-right: 10px;">Deactivate User : </span>
|
| - |
|
80 |
<input type="button" class="change-private-deal-user-status" userId="$customerId" active="false" value="Update">
|
| - |
|
81 |
#else
|
| - |
|
82 |
<span style="margin-right: 10px;font-weight:bold;color:red;">Current Status Inactive</span>
|
| - |
|
83 |
<br><br>
|
| - |
|
84 |
<span style="margin-right: 10px;">Activate User : </span>
|
| - |
|
85 |
<input type="button" class="change-private-deal-user-status" userId="$customerId" active="true" value="Update">
|
| - |
|
86 |
#end
|
| - |
|
87 |
<br>
|
| - |
|
88 |
<br>
|
| - |
|
89 |
#end
|
| - |
|
90 |
#if ($privateDealUser.getUserId()>0)
|
| - |
|
91 |
<span style="margin-right: 10px;">Reset Password : </span>
|
| - |
|
92 |
<input type="button" class="reset-private-deal-user-password" userId="$customerId" value="Reset Password">
|
| - |
|
93 |
#end
|
| - |
|
94 |
</div>
|
| - |
|
95 |
#end
|
| - |
|
96 |
|
| 60 |
|
97 |
|