Subversion Repositories SmartDukaan

Rev

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

Rev 30017 Rev 30122
Line 14... Line 14...
14
    });
14
    });
15
</script>
15
</script>
16
<h3 style="padding-left:3%;padding-top:2%;font-weight:bold;">Scheme Id : $scheme.getId()</h3>
16
<h3 style="padding-left:3%;padding-top:2%;font-weight:bold;">Scheme Id : $scheme.getId()</h3>
17
 
17
 
18
<div class="row" style="padding-left:3%;">
18
<div class="row" style="padding-left:3%;">
19
    <div class="col-lg-4">
19
    <div class="col-lg-12">
20
        <table>
20
        <table>
21
            <tr>
21
            <tr>
22
                <td>
22
                <td>
23
                    #if($scheme.getActiveTimestamp())
23
                    #if($scheme.getActiveTimestamp())
24
                        <span>Activated On : $scheme.getFormattedActiveTimestamp()</span>
24
                        <span>Activated On : $scheme.getFormattedActiveTimestamp()</span>
Line 40... Line 40...
40
            <tr>
40
            <tr>
41
        </table>
41
        </table>
42
        <table class="table table-striped table-advance table-hover">
42
        <table class="table table-striped table-advance table-hover">
43
            <tbody>
43
            <tbody>
44
            <tr>
44
            <tr>
45
                <th>Item Id</th>
45
                <th>Model ID</th>
46
                <th>Description</th>
46
                <th>Model Name</th>
47
                #if($isAdmin && $fullAccess)
47
                #if($isAdmin && $fullAccess)
48
                    <th>Delete Item</th>
48
                    <th>Action</th>
49
                #end
49
                #end
50
            </tr>
50
            </tr>
51
                #if($scheme.getItemStringMap().size()>0)
51
                #if($scheme.getCatalogStringMap().size()>0)
52
                    #foreach( $itemIdDescriptionEntry in $scheme.getItemStringMap().entrySet())
52
                    #foreach( $catalogIdDescriptionEntry in $scheme.getCatalogStringMap().entrySet())
53
                    <tr data="$itemId">
53
                    <tr data-catalogid="$catalogIdDescriptionEntry.getKey()">
54
                        <td>$itemIdDescriptionEntry.key</td>
54
                        <td>$catalogIdDescriptionEntry.getKey()</td>
55
                        <td>$itemIdDescriptionEntry.value</td>
55
                        <td>$catalogIdDescriptionEntry.getKey()</td>
56
                        #if($isAdmin && $fullAccess)
56
                        #if($isAdmin && $fullAccess)
57
                        <td>
57
                        <td>
58
                            <button class="btn btn-primary delete-schemes" data-schemeid="$scheme.getId()"
58
                            <button class="btn btn-primary delete-schemes" data-schemeid="$scheme.getId()"
59
                                    data-itemid="$itemIdDescriptionEntry.key">Delete
59
                                    data-catalogid="$catalogIdDescriptionEntry.getKey()">Delete
60
                            </button>
60
                            </button>
61
                        #end
61
                        #end
62
                    </tr>
62
                    </tr>
63
                    #end
63
                    #end
64
                #else
64
                #else
Line 130... Line 130...
130
                                <input type="number" class="form-control" value="$scheme.getId()" id="schemeids"
130
                                <input type="number" class="form-control" value="$scheme.getId()" id="schemeids"
131
                                       readonly>
131
                                       readonly>
132
                            </div>
132
                            </div>
133
                            <div class="col-lg-4">
133
                            <div class="col-lg-4">
134
                                <label for="ItemId"><b>ItemId</b></label>
134
                                <label for="ItemId"><b>ItemId</b></label>
135
                                <input type="text" class="form-control" id="itemids" placeholder="Item Id"/>
135
                                <input type="text" class="form-control" id="catalogids" placeholder="Item Id"/>
136
                            </div>
136
                            </div>
137
                        </div>
137
                        </div>
138
                    </form>
138
                    </form>
139
                </div>
139
                </div>
140
                <div class="modal-footer">
140
                <div class="modal-footer">