Subversion Repositories SmartDukaan

Rev

Rev 7645 | Rev 18341 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7645 Rev 16244
Line 42... Line 42...
42
    </form>
42
    </form>
43
</div>
43
</div>
44
<div id="escalation-div" class="hidden">
44
<div id="escalation-div" class="hidden">
45
    <form id="escalation-form">
45
    <form id="escalation-form">
46
        <table class="display">
46
        <table class="display">
-
 
47
			#if($action.isSaholicAndProfitMandiAllowed())
47
            #foreach($item in $action.getEscalationMatrix())
48
                #foreach($item in $action.getEscalationMatrix())
48
                #if($velocityCount % 2 != 0)
49
                    #if($velocityCount % 2 != 0)
49
                    <tr >
50
                        <tr >
50
                #end
51
                    #end
51
                <td>
52
                    <td>
52
                #if($item.name().equals("SHIPPING_AND_DELIVERY"))
53
                    #if($item.name().equals("SHIPPING_AND_DELIVERY"))
53
                    <input type="radio" name="escalate" value="$item.name()" checked />
54
                        <input type="radio" name="escalate" value="$item.name()" checked />
54
                #else
55
                    #else
55
                    <input type="radio" name="escalate" value="$item.name()" />
56
                        <input type="radio" name="escalate" value="$item.name()" />
56
                #end
57
                    #end
57
                <label title="$item.getDescription()">$item.name()</label> 
58
                    <label title="$item.getDescription()">$item.name()</label> 
58
                </td>
59
                    </td>
59
                #if($velocityCount % 2 == 0)
60
                    #if($velocityCount % 2 == 0)
-
 
61
                        </ tr>
-
 
62
                    #end
-
 
63
				#end
-
 
64
				#foreach($item in $action.getPMEscalationMatrix())
-
 
65
                    #if($velocityCount % 2 != 0)
-
 
66
                        <tr >
-
 
67
                    #end
-
 
68
                    <td>
-
 
69
                        <input type="radio" name="escalate" value="$item.name()" />
-
 
70
                    <label title="$item.getDescription()">$item.name()</label> 
60
                    </ tr>
71
                    </td>
-
 
72
                    #if($velocityCount % 2 == 0)
-
 
73
                        </ tr>
-
 
74
                    #end
-
 
75
    			#end
-
 
76
			#elseif($action.isProfitMandiAgent())
-
 
77
				#foreach($item in $action.getPMEscalationMatrix())
-
 
78
                    #if($velocityCount % 2 != 0)
-
 
79
                        <tr >
61
                #end
80
                    #end
-
 
81
                    <td>
-
 
82
                    #if($item.name().equals("PM_CASH_BACK_INQUIRY"))
-
 
83
                        <input type="radio" name="escalate" value="$item.name()" checked />
-
 
84
                    #else
-
 
85
                        <input type="radio" name="escalate" value="$item.name()" />
-
 
86
                    #end
-
 
87
                    <label title="$item.getDescription()">$item.name()</label> 
-
 
88
                    </td>
-
 
89
                    #if($velocityCount % 2 == 0)
-
 
90
                        </ tr>
-
 
91
                    #end
-
 
92
				#end
-
 
93
			#else
-
 
94
				 #foreach($item in $action.getEscalationMatrix())
-
 
95
                    #if($velocityCount % 2 != 0)
-
 
96
                        <tr >
-
 
97
                    #end
-
 
98
                    <td>
-
 
99
                    #if($item.name().equals("SHIPPING_AND_DELIVERY"))
-
 
100
                        <input type="radio" name="escalate" value="$item.name()" checked />
-
 
101
                    #else
-
 
102
                        <input type="radio" name="escalate" value="$item.name()" />
-
 
103
                    #end
-
 
104
                    <label title="$item.getDescription()">$item.name()</label> 
-
 
105
                    </td>
-
 
106
                    #if($velocityCount % 2 == 0)
-
 
107
                        </ tr>
62
            #end
108
                    #end
-
 
109
				#end
-
 
110
			#end
63
            <tr >
111
            <tr >
64
                <td colspan="2">
112
                <td colspan="2">
65
                    <textarea name="body" rows="5" class="required" cols="80" id="escalation-mail-body"></textarea>
113
                    <textarea name="body" rows="5" class="required" cols="80" id="escalation-mail-body"></textarea>
66
                </td>
114
                </td>
67
            </tr>
115
            </tr>