Subversion Repositories SmartDukaan

Rev

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

Rev 3339 Rev 3405
Line 13... Line 13...
13
    <h1>Create new Activity</h1>
13
    <h1>Create new Activity</h1>
14
    <form id="create-activity-form" action="">
14
    <form id="create-activity-form" action="">
15
        <table>
15
        <table>
16
            <colgroup>
16
            <colgroup>
17
                <col width="200px"/>
17
                <col width="200px"/>
-
 
18
                <col width="250px"/>
18
                <col width="*"/>
19
                <col width="120px"/>
-
 
20
                <col width="200px"/>
-
 
21
                <col width="300px"/>
19
            </colgroup>
22
            </colgroup>
20
            <tr >
23
            <tr >
21
                <td ><label>Type:</label></td>
24
                <td ><label>Type:</label></td>
22
                <td>
25
                <td colspan="2">
23
                <select id="activity-type" name="type" class="width-activity-type">
26
                <select id="activity-type" name="type" class="width-activity-type">
24
                    #foreach( $type in $action.getActivityTypes() )
27
                    #foreach( $type in $action.getActivityTypes() )
25
                        #if($type.name() == "OTHER")
28
                        #if($type.name() == "OTHER")
26
                            <option value="$type.name()" selected="selected">$type.name()</option>
29
                            <option value="$type.name()" selected="selected">$type.name()</option>
27
                        #else
30
                        #elseif($type.name() != "SEND_EMAIL_TO_CUSTOMER")
28
                            <option value="$type.name()">$type.name()</option>
31
                            <option value="$type.name()">$type.name()</option>
29
                        #end
32
                        #end
30
                    #end
33
                    #end
31
                </select>
34
                </select>
32
                </td>
35
                </td>
-
 
36
                #if($action.getUserId())
-
 
37
                    <td colspan="2"></td>
-
 
38
                #else
-
 
39
                    <td ><label>Customer Name:</label></td>
-
 
40
                    <td ><input id="customerName" name="customerName" type="text"></td>
-
 
41
                #end
33
            </tr>
42
            </tr>
-
 
43
            #if($action.getUserId())
-
 
44
            #else
34
            <tr >
45
            <tr >
35
                <td ><label>Customer Mobile No:</label></td>
46
                <td ><label>Customer Mobile No:</label></td>
36
                <td ><input id="customerMobileNumber" name="customerMobileNumber" type="text" class="required"></td>
47
                <td ><input id="customerMobileNumber" name="customerMobileNumber" type="text"></td>
-
 
48
                <td> </td>
-
 
49
                <td ><label>Customer Email Id:</label></td>
-
 
50
                <td ><input id="customerEmailId" name="customerEmailId" type="text"></td>
37
            </tr>
51
            </tr>
-
 
52
            #end
38
            <tr >
53
            <tr >
39
                <td ><label>Description:</label></td>
54
                <td ><label>Description:</label></td>
40
                <td ><textarea id="description" name="description" rows="3" cols="75" class="required"></textarea></td>
55
                <td colspan="4"><textarea id="description" name="description" rows="3" cols="90" class="required"></textarea></td>
41
            </tr>
56
            </tr>
42
            <tr >
57
            <tr >
43
                <td ></td>
58
                <td colspan="2"></td>
44
                <td ><input type="submit" value="Create" /></td>
59
                <td colspan="3"><input type="submit" value="Create" /></td>
45
            </tr>
60
            </tr>
46
        </table>
61
        </table>
47
    </form>
62
    </form>
48
</div>
63
</div>
49
#end
64
#end
50
65