Subversion Repositories SmartDukaan

Rev

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

Rev 3390 Rev 3405
Line 18... Line 18...
18
                <col width="250px"/>
18
                <col width="250px"/>
19
                <col width="120px"/>
19
                <col width="120px"/>
20
                <col width="200px"/>
20
                <col width="200px"/>
21
                <col width="300px"/>
21
                <col width="300px"/>
22
            </colgroup>
22
            </colgroup>
-
 
23
            #if($action.getUserId())
-
 
24
            #else
-
 
25
            <tr >
-
 
26
                <td >Customer Name: </td>
-
 
27
                <td ><input type="text" name="customerName"/> </td>
-
 
28
                <td ></td>
-
 
29
                <td >Customer Email Id: </td>
-
 
30
                <td ><input type="text" name="customerEmailId"/></td>
-
 
31
            </tr>
-
 
32
            #end
23
            <tr >
33
            <tr >
24
                <td ><label>Assignee:</label></td>
34
                <td ><label>Assignee:</label></td>
25
                #if(!$action.isAssigneeEditable())
35
                #if($action.isAssigneeEditable())
26
                    <td >$action.getCurrentAgentEmailId()
-
 
27
                        <input type="hidden" name="assigneeEmailId" value="$action.getCurrentAgentEmailId()"/>
-
 
28
                    </td>
-
 
29
                #else
-
 
30
                    <td >
36
                    <td >
31
                    <select name="assigneeEmailId" class="width10">
37
                    <select name="assigneeEmailId" class="width10">
32
                        #foreach( $agent in $action.getAllAgents() )
38
                        #foreach( $agent in $action.getAllAgents() )
33
                            #if($agent.getEmailId() == $action.getCurrentAgentEmailId())
39
                            #if($agent.getEmailId() == $action.getCurrentAgentEmailId())
34
                                <option value="$agent.getEmailId()" selected="selected">$agent.getEmailId()</option>
40
                                <option value="$agent.getEmailId()" selected="selected">$agent.getEmailId()</option>
35
                            #else
41
                            #else
36
                                <option value="$agent.getEmailId()">$agent.getEmailId()</option>
42
                                <option value="$agent.getEmailId()">$agent.getEmailId()</option>
37
                            #end
43
                            #end
38
                        #end
44
                        #end
39
                    </select>
45
                    </select>
-
 
46
                    </td>                    
-
 
47
                #else
-
 
48
                    <td >$action.getCurrentAgentEmailId()
-
 
49
                        <input type="hidden" name="assigneeEmailId" value="$action.getCurrentAgentEmailId()"/>
40
                    </td>
50
                    </td>
41
                #end
51
                #end
-
 
52
                #if($action.getUserId())
42
                <td colspan="3">
53
                    <td colspan="3"></td>
43
                </td>
54
                #else
-
 
55
                    <td ></td>
-
 
56
                    <td >Customer Mobile No: </td>
-
 
57
                    <td ><input type="text" name="customerMobileNumber"/></td>
-
 
58
                #end                
44
            </tr>
59
            </tr>
45
            <tr >
60
            <tr >
46
                <td ><label>Description:</label></td>
61
                <td ><label>Description:</label></td>
47
                <td colspan="4"><textarea id="description" name="description"  class="required" rows="3" cols="75"></textarea></td>
62
                <td colspan="4"><textarea id="description" name="description"  class="required" rows="3" cols="90"></textarea></td>
48
            </tr>
63
            </tr>
49
            <tr >
64
            <tr >
50
                <td ><label>Priority:</label></td>
65
                <td ><label>Priority:</label></td>
51
                <td >
66
                <td >
52
                <select name="priority" class="width10">
67
                <select name="priority" class="width10">
Line 74... Line 89...
74
                </td>
89
                </td>
75
            </tr>
90
            </tr>
76
            #set($userId = $action.getUserId())
91
            #set($userId = $action.getUserId())
77
            <tr >
92
            <tr >
78
                <td ><label>Order Id:</label></td>
93
                <td ><label>Order Id:</label></td>
79
                <td ><input type="text" name="orderId" value=""/></td>
94
                <td colspan="4"><input type="text" name="orderId" value=""/></td>
80
                <td ></td>
-
 
81
                <td ><label>Customer Email Id:</label></td>
-
 
82
                <td ><input type="text" name="userEmailId" value="" class="required"/></td>
-
 
83
            </tr>
95
            </tr>
84
            <tr >
96
            <tr >
85
                <td colspan="2"></td>
97
                <td colspan="2"></td>
86
                <td colspan="2"><input type="submit" value="Create" /></td>
98
                <td colspan="2"><input type="submit" value="Create" /></td>
-
 
99
                <td >
-
 
100
                    #if($userId)
87
                <td ><input type="hidden" name="userId" value="$userId"/></td>
101
                    <input type="hidden" name="userId" value="$userId"/>
-
 
102
                    #end
-
 
103
                </td>
88
            </tr>
104
            </tr>
89
        </table>
105
        </table>
90
    </form>
106
    </form>
91
</div>
107
</div>
92
#end
108
#end
93
109