Subversion Repositories SmartDukaan

Rev

Rev 35886 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35886 Rev 35888
Line 5... Line 5...
5
 
5
 
6
<div class="modal-body" style="max-height:600px;overflow:auto">
6
<div class="modal-body" style="max-height:600px;overflow:auto">
7
 
7
 
8
    ## Current Partners
8
    ## Current Partners
9
    <h5 style="margin-bottom:10px;"><strong>Current Partners</strong></h5>
9
    <h5 style="margin-bottom:10px;"><strong>Current Partners</strong></h5>
10
    #if($offerPartners && $offerPartners.size() > 0)
10
    #if($partnerFofoIds && $partnerFofoIds.size() > 0)
11
    <table class="table table-bordered table-sm" id="offer-partners-table" data-offerid="$offerId">
11
    <table class="table table-bordered table-sm" id="offer-partners-table" data-offerid="$offerId">
12
        <thead>
12
        <thead>
13
            <tr>
13
            <tr>
14
                <th style="width:40px;"><input type="checkbox" id="select-all-partners"></th>
14
                <th style="width:40px;"><input type="checkbox" id="select-all-partners"></th>
15
                <th>Partner ID</th>
15
                <th>Partner ID</th>
16
                <th>Code</th>
16
                <th>Code</th>
17
                <th>Name</th>
17
                <th>Name</th>
18
            </tr>
18
            </tr>
19
        </thead>
19
        </thead>
20
        <tbody>
20
        <tbody>
21
        #foreach($partner in $offerPartners)
21
        #foreach($fofoId in $partnerFofoIds)
22
            #set($retailer = $customRetailerMap.get($partner.getFofoId()))
22
            #set($retailer = $customRetailerMap.get($fofoId))
23
            <tr data-fofoid="$partner.getFofoId()">
23
            <tr data-fofoid="$fofoId">
24
                <td><input type="checkbox" class="partner-checkbox" value="$partner.getFofoId()"></td>
24
                <td><input type="checkbox" class="partner-checkbox" value="$fofoId"></td>
25
                <td>$partner.getFofoId()</td>
25
                <td>$fofoId</td>
26
                <td>#if($retailer)$retailer.getPartnerCode()#else-#end</td>
26
                <td>#if($retailer)$retailer.getPartnerCode()#else-#end</td>
27
                <td>#if($retailer)$retailer.getBusinessName()#else-#end</td>
27
                <td>#if($retailer)$retailer.getBusinessName()#else-#end</td>
28
            </tr>
28
            </tr>
29
        #end
29
        #end
30
        </tbody>
30
        </tbody>