Subversion Repositories SmartDukaan

Rev

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

Rev 34518 Rev 34524
Line 71... Line 71...
71
                               value="$modelName"
71
                               value="$modelName"
72
                            #end
72
                            #end
73
                        />
73
                        />
74
                        <span class="input-group-btn">
74
                        <span class="input-group-btn">
75
							<button class="btn btn-primary submit"
75
							<button class="btn btn-primary submit"
76
                                    id="analysis-scheme-item-search-button" type="button">Go!</button>
76
                                    id="analysis-scheme-item-search-button" data-fofoid="$fofoId"
-
 
77
                                    type="button">Go!</button>
77
						</span>
78
						</span>
78
                    </div>
79
                    </div>
79
 
80
 
80
                </div>
81
                </div>
81
            #end
82
            #end
Line 103... Line 104...
103
                    <div class="input-group top_search">
104
                    <div class="input-group top_search">
104
                        <input type="text" class="form-control" hsd
105
                        <input type="text" class="form-control" hsd
105
                               id="analysis-scheme-imei-search-text" autocomplete="off"
106
                               id="analysis-scheme-imei-search-text" autocomplete="off"
106
                               placeholder="Search for Imei"/> <span class="input-group-btn">
107
                               placeholder="Search for Imei"/> <span class="input-group-btn">
107
							<button class="btn btn-primary submit"
108
							<button class="btn btn-primary submit"
108
                                    id="analysis-scheme-imei-search-button" type="button">Go!</button>
109
                                    id="analysis-scheme-imei-search-button" data-fofoid="$fofoId"
-
 
110
                                    type="button">Go!</button>
109
						</span>
111
						</span>
110
                    </div>
112
                    </div>
111
                </div>
113
                </div>
112
            #end
114
            #end
113
 
115
 
Line 266... Line 268...
266
            inventoryItem) {
268
            inventoryItem) {
267
        imei = inventoryItem;
269
        imei = inventoryItem;
268
        console.log(imei)
270
        console.log(imei)
269
    });
271
    });
270
 
272
 
-
 
273
    getEntityAheadOptions($("#analysis-scheme-item-search-text"), function (selectedItem) {
-
 
274
        currentItem = selectedItem.catalogId_i;
-
 
275
    });
-
 
276
 
-
 
277
    getImeiAheadOptions($("#analysis-scheme-imei-search-text"), $fofoId, function (
-
 
278
            inventoryItem) {
-
 
279
        imei = inventoryItem;
-
 
280
        console.log(imei)
-
 
281
    });
-
 
282
 
271
 
283
 
272
    $(document).ready(function () {
284
    $(document).ready(function () {
273
        console.log('$partnerType')
285
        console.log('$partnerType')
274
        $('#partner-category').val('$partnerType');
286
        $('#partner-category').val('$partnerType');
275
        $('body').bind('cut copy paste', function (e) {
287
        $('body').bind('cut copy paste', function (e) {