Blame | Last modification | View Log | RSS feed
<script>configureAllPartnerName();function partnerBrandServiceDeatilsforPartner(serviceBrand){fofoId=$("#partnerName").val();serviceBrandId=serviceBrand.value;console.log(fofoId);console.log(serviceBrandId);if(!(fofoId==null||serviceBrandId==null)){doGetAjaxRequestHandler(context+"/getPartnerBrandServicesDetails/"+serviceBrandId+"/"+fofoId, function(response){response = JSON.parse(response);if(response){console.log(response.active);$("#applicableService").val(response.applicableType);if(response.active ==true){$("#activeServiceBrand").val("true");}else{$("#activeServiceBrand").val("false");}$("#partnerStatusTypeServices").val(response.partnerStatusType);$("#na_comment_services").val(response.na_Comment);$("#partner_comment_status").val(response.partnerStatusComment);$("#code").val(response.code);}else{console.log("");$("#applicableService").val("");$("#activeServiceBrand").val("");$("#partnerStatusTypeServices").val("");$("#na_comment_services").val("");$("#partner_comment_status").val("");$("#code").val("");}});}}</script><section class="wrapper"><div class="row"><div class="col-lg-12"><h3 class="page-header"><i class="icon_document_alt"></i>Service</h3><ol class="breadcrumb"><li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li><li><i class="icon_document_alt"></i>ADD PARTNER SERVICE BRAND DETAILS</li></ol></div></div><div class = "row"><div class="col-lg-2 form-group"><select class="form-control input-sm" id ="partnerName" placeholder="partnerName"><option value="" selected disabled>Partner</option>#foreach($fofoId in $fofoIdsAndCustomRetailer.keySet())#if($selectedFofoId == $fofoId)<option value="$fofoId" selected>$fofoIdsAndCustomRetailer.get($fofoId).getBusinessName()</option>#else<option value="$fofoId">$fofoIdsAndCustomRetailer.get($fofoId).getBusinessName()</option>#end#end</select></div><div class="col-lg-2 form-group"><select class="form-control input-sm" id ="serviceName" placeholder="serviceName" onchange="changeServiceNameForServiceBrand()"><option value="" selected disabled>ServiceName</option>#foreach($service in $services)<option value="$service.getId()">$service.getName()</option>#end</select></div><div class="col-lg-2 form-group" id="serviceBrandNameContainer"><select class="form-control input-sm" placeholder="serviceBrandName"><option value="" selected disabled>serviceBrandName</option></select></div><div class="col-lg-2 form-group"><select class="form-control input-sm" id ="applicableService" placeholder="applicableService"><option value="" selected disabled>Applicable</option>#foreach($applicableType in $applicableTypes)<option value="$applicableType">$applicableType</option>#end</select></div><div class="col-lg-2 form-group"><select class="form-control input-sm" id ="activeServiceBrand" placeholder="Active" style="width:200px"><option value="" selected disabled>Status</option><option value="true">ACTIVE</option><option value="false">INACTIVE</option></select></div><div class="col-lg-2 form-group"><select class="form-control input-sm" id ="partnerStatusTypeServices" placeholder="partnerStatusType"><option value="" selected disabled>Function</option>#foreach($partnerStatusType in $partnerStatusTypes)<option value="$partnerStatusType">$partnerStatusType</option>#end</select></div></div><br><div class="row"><div class="col-lg-3 form-group"><textarea rows="3" cols="35" placeholder="NA_COMMENT" id="na_comment_services"></textarea></div> <div class="col-lg-3 form-group"><textarea rows="3" cols="35" placeholder="Partner Comment" id="partner_comment_status"></textarea></div><div class="col-lg-2 form-group"><button class="btn btn-primary add-brand-service-details-for-partner" type="button" style="width:100%;border-radius:0px;">Add</button></div></div></section>