Subversion Repositories SmartDukaan

Rev

Rev 33981 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33715 ranu 1
<div class="row">
2
    <div class="col-md-12">
3
        <div class="form-group">
4
            <p style="font-size: 12px;"><b>$mobileInsurancePlan.getPlanName() - ($mobileInsurancePlan.getProviderName()
5
                )</b> $mobileInsurancePlan.getDuration() - ($mobileInsurancePlan.getPremium()) &nbsp;<button
6
                    class="btn btn-sm btn-success pull-right order-payment-status" data-orderid="$fofoOrder.getId()"
7
                    style="font-size: 11px;margin-top:-5px;">Payment Status
8
            </button>
9
            </p>
10
 
11
 
12
        </div>
13
    </div>
14
    <hr style="margin:8px 0;">
15
    <div class="col-md-4">
16
        <div class="form-group">
17
            <label>Ram</label>
18
            <input type="text" class="form-control ram" placeholder="ram">
19
        </div>
20
    </div>
21
    <div class="col-md-4">
22
        <div class="form-group">
23
            <label>Memory</label>
24
            <input type="text" class="form-control memory" placeholder="memory">
25
        </div>
26
    </div>
27
    <div class="col-md-4">
28
        <div class="form-group">
29
            <label>MFG Date</label>
30
            <input type="date" class="form-control wmfgDate" placeholder="MFG">
31
        </div>
32
    </div>
33
    <div class="col-md-3">
34
        <div class="form-group">
35
            <label>Serial Number</label>
36
            <input type="text" class="form-control serial-number serial-number-input" placeholder="Serial Number">
37
        </div>
38
    </div>
39
    <div class="col-md-3">
40
        <div class="form-group">
41
            <label>Customer Email</label>
42
            #if ($customer.getEmailId())
43
                <input type="text" class="form-control customerEmail" placeholder="Email"
44
                       value="$customer.getEmailId()">
45
            #else
46
                <input type="text" class="form-control customerEmail" placeholder="Email">
47
            #end
48
        </div>
49
    </div>
50
    <div class="col-md-3">
51
        <div class="form-group">
52
            <label>Customer Dob</label>
53
            #if ($customer.getDob())
54
                <input type="date" class="form-control dob" placeholder="DOB" value="$customer.getDob()">
55
            #else
56
                <input type="date" class="form-control dob" placeholder="DOB">
57
            #end
58
        </div>
59
    </div>
60
    <div class="col-md-3">
61
        <div class="form-group">
62
            <label>Gender</label>
63
            #if ($customer.getGender())
64
                <select class="form-control gender">
65
                    <option value="$customer.getGender()">$customer.getGender()</option>
66
                </select>
67
            #else
68
                <select class="form-control gender">
69
                    <option value="">Select Option</option>
70
                    <option value="Male">Male</option>
71
                    <option value="Female">Female</option>
72
                </select>
73
            #end
74
        </div>
75
    </div>
76
 
77
    <input type="hidden" class="order-item-id" value="$fofoOrderItem.getId()">
78
    <input type="hidden" class="order-id" value="$fofoOrder.getId()">
79
    <input type="hidden" class="insurance-id" value="$mobileInsurancePlan.getProductId()">
80
    <input type="hidden" class="insurance-dp" value="$mobileInsurancePlan.getDp()">
81
    <input type="hidden" class="insurance-premium" value="$mobileInsurancePlan.getPremium()">
82
    <input type="hidden" class="insurance-amount" value="$mobileInsurancePlan.getPremium()">
83
    <input type="hidden" class="insurance-description" value="$mobileInsurancePlan.getProductDescription()">
84
    <input type="hidden" class="insurance-plan-name" value="$mobileInsurancePlan.getPlanName()">
85
    <input type="hidden" class="customer-mobile-number" value="$customer.getMobileNumber()">
86
    <input type="hidden" class="customer-first-name" value="$customer.getFirstName()">
87
    <input type="hidden" class="customer-email-id" value="$customer.getEmailId()">
88
    <input type="hidden" class="customer-serial-number" value="$serialNumber">
89
 
90
    <div class="clearfix"></div>
91
    <hr style="margin:8px 0;">
92
    <div class="col-md-12 well" style="padding: 10px; max-height: 200px;overflow-y: auto;margin-bottom: 0;">
93
        <button type="button" class="btn btn-sm btn-primary add-new-address-btn pull-right"
94
                style="font-size: 10px;margin-bottom: 10px;" data-customerid="$customer.getId()"
95
                data-orderid="$fofoOrder.getId()">Add New Address
96
        </button>
97
        <table class="table table-striped table-bordered address-table" style="width: 100%">
98
            <thead>
99
            <tr>
100
                <th>Name</th>
101
                <th>Address Lines</th>
102
                <th>City</th>
103
                <th>State</th>
104
                <th>Pin</th>
105
                <th>Mobile</th>
106
                <th>Action</th>
107
            </tr>
108
            </thead>
109
            <tbody>
110
                #foreach($address in $customerAddress)
111
                <tr>
112
                    <td>$address.getName()</td>
113
                    <td>$address.getLine1() $address.getLine2()</td>
114
                    <td>$address.getCity()</td>
115
                    <td>$address.getState()</td>
116
                    <td>$address.getPinCode()</td>
117
                    <td>$address.getPhoneNumber()</td>
118
                    <td><a href="javascript:void(0)" class="select-customer-address" data-addressid="$address.getId()"
119
                           data-orderid="$fofoOrder.getId()">Select Address</a></td>
120
                </tr>
121
                #end
122
            </tbody>
123
 
124
        </table>
125
 
126
    </div>
127
    <div class="clearfix"></div>
128
    <hr style="margin:8px 0;">
129
    <div class="col-md-12">
130
        <div class="form-group">
131
            <button type="button" class="btn btn-info btn-sm create-insurance-mk pull-right mr-lr-5">Create Insurance
132
            </button>
133
            <button type="button" class="btn btn-success btn-sm payment-link-mk pull-right mr-lr-5">Send Payment Link
134
            </button>
135
        </div>
136
    </div>
137
</div>
138
 
139