Subversion Repositories SmartDukaan

Rev

Rev 34317 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
22860 ashik.ali 1
<style>
30080 amit.gupta 2
    .row {
3
        margin: 0 auto;
4
    }
22860 ashik.ali 5
 
30080 amit.gupta 6
    .modal-content {
7
        background: white;
8
    }
9
 
10
    .modelHeaderCustom {
11
        font-size: 14px;
12
        font-weight: bold;
13
    }
14
 
15
    .border-highlight {
16
        border: 3px solid red;
17
    }
18
 
19
    hr {
20
        background-color: #007aff;
21
        border: none;
22
        height: 1px;
23
        background: #007aff;
24
    }
25
 
26
    .control-label {
27
        margin-top: 0;
28
        margin-bottom: 0;
29
        padding-top: 7px;
30
        font-weight: bold;
31
        font-size: 14px;
32
    }
33
 
34
    .form-group {
35
        border-bottom: 1px solid #eff2f7;
36
        padding-bottom: 15px;
37
        margin-bottom: 15px;
38
    }
39
 
40
    .right {
41
        float: right;
42
    }
43
 
44
    .form-control {
45
        color: black;
46
    }
47
 
48
    .table-align-center {
49
        text-align: center;
50
    }
51
 
22860 ashik.ali 52
</style>
53
 
54
<section class="wrapper">
30080 amit.gupta 55
    <div class="row">
56
        <div class="col-lg-12">
57
            <h3 class="page-header"><i class="icon_document_alt"></i>SCHEME</h3>
58
            <ol class="breadcrumb">
59
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
60
                <li><i class="icon_document_alt"></i>CREATE</li>
61
            </ol>
62
        </div>
63
    </div>
64
    <form id="create-scheme-form">
65
        <div id="customer-details" style="background:white;background-color:white;padding:10px;">
66
            <h4 class="modelHeaderCustom" style="font-size:22px;">Scheme Information</h4>
67
            <div>
68
                <div class="row">
69
                    <div class="col-lg-2 form-group">
70
                        <input placeholder="Name" id="schemeName" name="schemeName" type="text" value=""
71
                               class="form-control input-sm">
72
                    </div>
73
                    <div class="col-lg-2 form-group">
34317 amit.gupta 74
                        <select class="form-control input-sm stockTransactionType" name="stockTransactionType">
75
                            <option value="" disabled selected>Transaction Type</option>
76
                            <option value="IN">IN</option>
77
                            <option value="OUT">OUT</option>
30080 amit.gupta 78
                        </select>
79
                    </div>
80
                    <div class="col-lg-2 form-group">
34317 amit.gupta 81
                        <select class="form-control input-sm amountType" id="amountType" name="amountType"
30080 amit.gupta 82
                                placeholder="Amount Type">
83
                            <option value="" disabled selected>Amount Type</option>
84
                            <option value="PERCENTAGE">Percentage</option>
85
                            <option value="FIXED">Fixed</option>
86
                        </select>
87
                    </div>
88
                    <div class="col-lg-2 form-group">
34317 amit.gupta 89
                        <select class="form-control input-sm" id="schemeType" name="schemeType" placeholder="Type">
90
                            <option value="" disabled selected>Type</option>
91
                            #foreach($schemeType in $schemeTypes )
92
                                <option data-stocktransactiontype="$schemeType.getTransactionType()"
93
                                        data-amounttype="$schemeType.getAmountType()"
94
                                        value="$schemeType">$schemeType.getValue()</option>
95
                            #end
96
                        </select>
97
                    </div>
98
                    <div class="col-lg-2 form-group">
30080 amit.gupta 99
                        <input placeholder="Amount" id="schemeAmount" name="schemeAmount" type="number"
100
                               class="form-control input-sm">
101
                    </div>
36452 amit 102
                    <div class="col-lg-2 form-group">
103
                        <input placeholder="Reference" id="schemeReference" name="schemeReference" type="text" value=""
104
                               class="form-control input-sm">
105
                    </div>
30080 amit.gupta 106
                </div>
30454 amit.gupta 107
                <div class="row form-group">
108
                    <label class="checkbox-inline"><input id="cashbackScheme" type="checkbox" value="" disabled>Cashback
109
                        Scheme</label>
110
                </div>
30080 amit.gupta 111
                <div class="row">
112
                    <div class="col-lg-3 form-inline">
113
                        <div class="form-group">
114
                            <label for="schemeDuration">Scheme Duration :</label>
115
                            <input id="schemeDuration" name="dateRange" type="text" value=""
116
                                   class="form-control input-sm">
117
                        </div>
118
                    </div>
31170 amit.gupta 119
                    <div class="col-lg-3">
120
                        <select class="criteria-regionids form-control" multiple="multiple">
121
                            #foreach($region in $regionList)
122
                                <option value="$region.getId()" #if($region.getId()==5)
123
                                        selected#end>$region.getName()</option>
124
                            #end
125
                        </select>
126
                    </div>
127
                </div>
128
                <div class="row">
129
                    <div class="col-lg-2">
130
                        <select class="form-control input-sm" id="category-list" onchange="categoryChanged()"
131
                                placeholder="Brands">
132
                            #foreach($category in $categories)
133
                                <option value="$category.getId()">$category.getLabel()</option>
134
                            #end
135
                        </select>
136
                    </div>
30080 amit.gupta 137
 
31170 amit.gupta 138
                    <div class="col-lg-2" id="brand-list">
30080 amit.gupta 139
                    </div>
31170 amit.gupta 140
                    <div class="col-lg-2" id="tag-listing-items-description-container">
141
                        <select class="form-control input-sm" class="catalogItemsDescription"
142
                                placeholder="itemsDescription" multiple="multiple">
143
                        </select>
144
                    </div>
145
                    <div class="col-lg-2">
146
                        <select class="form-control input-sm" id="retailerType" name="retailerType">
147
                            <option value="" disabled selected>Retailer Type</option>
148
                            #foreach($retailerType in $retailerTypes)
149
                                <option value="$retailerType">$retailerType</option>
150
                            #end
151
                        </select>
152
                    </div>
153
                    <div class="col-lg-2">
154
                        <input class="btn btn-primary new-scheme" type="submit" value="Create Scheme">
155
                    </div>
30080 amit.gupta 156
                </div>
157
            </div>
158
        </div>
159
    </form>
160
 
29587 manish 161
</section>
162
<section>
29899 tejbeer 163
 
30080 amit.gupta 164
    #if($fullAccesss)
165
        <form style="padding: 14px;">
166
            <div style="background:white;background-color:white;padding:12px;">
167
                <h4 class="modelHeaderCustom" style="font-size:16px;">PROCESS INVESTMENT PAYOUT $month</h4>
168
                <div class="row" style="padding: 24px;">
29587 manish 169
 
30080 amit.gupta 170
                    <div class="col-lg-4">
171
                        <label for="processInvestmentDryRun">Process Investment Dry Run Sheet:</label>
172
                        <input class="btn btn-primary processInvestmentDryRun" type="button" value="Download Sheet">
173
                    </div>
29587 manish 174
 
30080 amit.gupta 175
                    <div class="col-lg-4">
176
                        <label for="monthyInvestment">Partner Wise Monthy Investment Summary:</label>
177
                        <input class="btn btn-primary monthy-investment" type="button" value="Download Sheet">
178
                    </div>
29587 manish 179
 
30080 amit.gupta 180
                    <div class="col-lg-4">
181
                        <label for="processInvestment">Process Investment Payout :</label>
182
                        <input class="btn btn-primary process-investment" type="button" value="Process">
183
                    </div>
184
                </div>
29587 manish 185
 
30080 amit.gupta 186
            </div>
187
        </form>
188
    #end
31170 amit.gupta 189
</section>
190
 
191
<script>
192
    $('.criteria-regionids').multiselect({
193
        maxHeight: 400,
194
        buttonWidth: '240px',
195
        numberDisplayed: 1,
196
        nonSelectedText: 'Regions',
197
        nSelectedText: ' - Regions Selected',
198
        allSelectedText: 'All Regions Selected',
199
        enableFiltering: true,
200
        enableCaseInsensitiveFiltering: true,
201
    });
202
</script>