Subversion Repositories SmartDukaan

Rev

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

Rev 27763 Rev 27766
Line 111... Line 111...
111
						<td><input type="text"  placeholder="BDM (SM)" disabled name="bdm1" value="$pob.getBDM()" style="background:pink;" ></td>
111
						<td><input type="text"  placeholder="BDM (SM)" disabled name="bdm1" value="$pob.getBDM()" style="background:pink;" ></td>
112
				     	#else
112
				     	#else
113
								<td><input type="text"  placeholder="BDM (SM)" disabled name="bdm1"></td>
113
								<td><input type="text"  placeholder="BDM (SM)" disabled name="bdm1"></td>
114
		         #end
114
		         #end
115
						#if($pob.getStorePics() && $pob.getStorePics() != 0)
115
						#if($pob.getStorePics() && $pob.getStorePics() != 0)
116
						<td><input type="file" id="storepics" placeholder="Store Pics(SM)" disabled name="storepics1" value="$pob.getStorePics()" style="background:pink;"></td>
116
						<td><input type="file" id="storepics" placeholder="Store Pics(SM)" disabled name="storepics1" value="$pob.getStorePics()" style="background:pink;"> <button type="button" class="btn btn-primary download-store-file" data-docid="$pob.getStorePics()" data-id="$pob.getId()">download</button></td>
117
						#else
117
						#else
118
							<td><input type="file" id="storepics" placeholder="Store Pics(SM)" disabled name="storepics1" ></td>
118
							<td><input type="file" id="storepics" placeholder="Store Pics(SM)" disabled name="storepics1" ></td>
119
			     #end
119
			     #end
120
			          #if($pob.getAgreedBrandFees() != 0)
120
			          #if($pob.getAgreedBrandFees() != 0)
121
						<td><input type="text"  placeholder="Agreed Brand fees(SM)" disabled name="abrand1" value="$pob.getAgreedBrandFees()" style="background:pink;"></td>
121
						<td><input type="text"  placeholder="Agreed Brand fees(SM)" disabled name="abrand1" value="$pob.getAgreedBrandFees()" style="background:pink;"></td>
Line 636... Line 636...
636
						panelListing("main-content");
636
						panelListing("main-content");
637
						}
637
						}
638
						});
638
						});
639
 
639
 
640
});
640
});
-
 
641
$('.download-store-file').on('click',function(){
-
 
642
  var  documentId =   $(this).data('docid');
-
 
643
  var id=   $(this).data('id');
-
 
644
  console.log(id);
-
 
645
	doAjaxRequestHandler(context + "/panelDocument?documentId="
-
 
646
			+ documentId + "&id=" + id, "GET", function(
641
 
647
			response) {
-
 
648
		var name = response.response.name;
-
 
649
		console.log("documentName : " + name);
-
 
650
		doAjaxGetDownload(context + "/shopdocument/download?id="
-
 
651
				+ id, name);
642
 
652
	});
643
 
653
});
644
 
654
 
645
function partnerOnBoardingListingJson() {
655
function partnerOnBoardingListingJson() {
646
	var prebookingListingObject = {};
656
	var prebookingListingObject = {};
647
	prebookingListingObject['outletName'] =$('#outLateName1').val();
657
	prebookingListingObject['outletName'] =$('#outLateName1').val();
648
	prebookingListingObject['phoneNumber'] =$('#number1').val();
658
	prebookingListingObject['phoneNumber'] =$('#number1').val();