| Line 127... |
Line 127... |
| 127 |
<td><input type="text" placeholder="Received Brand fees" disabled name="recbrand1" value="$pob.getReceivedBrandFees()" style="background:pink;"</td>
|
127 |
<td><input type="text" placeholder="Received Brand fees" disabled name="recbrand1" value="$pob.getReceivedBrandFees()" style="background:pink;"</td>
|
| 128 |
#else
|
128 |
#else
|
| 129 |
<td><input type="text" placeholder="Received Brand fees" disabled name="recbrand1"></td>
|
129 |
<td><input type="text" placeholder="Received Brand fees" disabled name="recbrand1"></td>
|
| 130 |
#end
|
130 |
#end
|
| 131 |
#if($pob.getPendingPics() && $pob.getPendingPics() != 0)
|
131 |
#if($pob.getPendingPics() && $pob.getPendingPics() != 0)
|
| 132 |
<td><input type="file" id="pendpics" placeholder="pending Pics(SM)" disabled name="pendpics1" value="$pob.getPendingPics()" style="background:pink;"> <button type="button" class="btn btn-primary download-pending-file" data-docid="$pob.getPendingPics()" data-id="$pob.getId()">download</button>
|
132 |
<td><input type="file" id="pendpics" placeholder="pending Pics(SM)" disabled name="pendpics1" value="$pob.getPendingPics()" style="background:pink;"> <button type="button" class="btn btn-primary download-pending-file" data-docpid="$pob.getPendingPics()" data-id="$pob.getId()">download</button>
|
| 133 |
</td>
|
133 |
</td>
|
| 134 |
#else
|
134 |
#else
|
| 135 |
<td><input type="file" id="pendpics" placeholder="pending Pics(SM)" disabled name="pendpics1"></td>
|
135 |
<td><input type="file" id="pendpics" placeholder="pending Pics(SM)" disabled name="pendpics1"></td>
|
| 136 |
#end
|
136 |
#end
|
| 137 |
#if($pob.getAgreedWallet()!= 0)
|
137 |
#if($pob.getAgreedWallet()!= 0)
|
| Line 651... |
Line 651... |
| 651 |
doAjaxGetDownload(context + "/shopDocument/download?id="
|
651 |
doAjaxGetDownload(context + "/shopDocument/download?id="
|
| 652 |
+ id, name);
|
652 |
+ id, name);
|
| 653 |
});
|
653 |
});
|
| 654 |
});
|
654 |
});
|
| 655 |
$('.download-pending-file').on('click',function(){
|
655 |
$('.download-pending-file').on('click',function(){
|
| 656 |
var documentId = $(this).data('docid');
|
656 |
var documentId = $(this).data('docpid');
|
| 657 |
var id= $(this).data('id');
|
657 |
var id= $(this).data('id');
|
| 658 |
console.log(id);
|
658 |
console.log(id);
|
| 659 |
doAjaxRequestHandler(context + "/partnerPendingDocument?documentId="
|
659 |
doAjaxRequestHandler(context + "/partnerPendingDocument?documentId="
|
| 660 |
+ documentId + "&id=" + id, "GET", function(
|
660 |
+ documentId + "&id=" + id, "GET", function(
|
| 661 |
response) {
|
661 |
response) {
|