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
/
VITA
/
1DEC25_backup
/
Views
/
Vst
/
View File Name :
Delete.cshtml
@model RER_Project.DataAccess.ViewModels.Vst.VstVm <style> .btn { border-radius: 0px; } </style> <div class="row wrapper border-bottom white-bg page-heading"> <div class="col-md-8"> <ol class="breadcrumb"> <li class="active"> <strong>Vocational Skills Training Record</strong> </li> </ol> </div> </div> <div class="wrapper wrapper-content animated fadeInRight"> <div class="row"> <div class="col-lg-12"> <div class="ibox float-e-margins"> <div class="ibox-content"> <form id="vst"> <div id="eror_msg"></div> <div class="row"> <div class="form-group col-md-12"> <h4>Information on Beneficiaries</h4> </div> </div> <div class="row"> <div class="form-group col-md-6"> <input type="hidden" id="Id" name="Id" value="@Model.Id" /> <label><strong>Full Name of Beneficiary</strong></label> <label>@Model.BeneficiaryName</label> </div> <div class="form-group col-md-6"> <label><strong>Gender</strong></label> <label>@Model.GenderName</label> </div> </div> <div class="row"> <div class="form-group col-md-6"> <label><strong>Province</strong></label> <label>@Model.Province</label> </div> <div class="form-group col-md-6"> <label><strong>District</strong></label> <label>@Model.District</label> </div> </div> <div class="row"> <div class="form-group col-md-6"> <label><strong>Municipality</strong></label> <label>@Model.Municipality</label> </div> <div class="form-group col-md-6"> <label><strong>Ward No. </strong></label> <label>@Model.Ward</label> </div> </div> <div class="row"> <div class="form-group col-md-6"> <label><strong>Age</strong></label> <label>@Model.Age</label> </div> <div class="form-group col-md-6"> <label><strong>Origin</strong></label> <label>@Model.OriginName</label> </div> </div> <div class="row"> <div class="form-group col-md-6"> <label><strong>Beneficiary's Contact</strong></label> <label>@Model.Contact</label> </div> <div class="form-group col-md-6"> <label><strong>Ethnicity</strong></label> <label>@Model.Ethinicity</label> </div> </div> <div class="row"> <div class="form-group col-md-6"> <label><strong>Religion</strong></label> <label>@Model.ReligionName</label> </div> </div> <div class="row"> <div class="form-group col-md-12"> <h4>Information of Training and training Provider</h4> </div> </div> <div class="row"> <div class="form-group col-md-6"> <label><strong>Occupation Name</strong></label> <label>@Model.OccupationName</label> </div> <div class="form-group col-md-6"> <label><strong>T&E's Contact No.</strong></label> <label>@Model.OccupationContact</label> </div> </div> <div class="row"> <div class="form-group col-md-6"> <label><strong>Level</strong></label> <label>@Model.Level</label> </div> <div class="form-group col-md-6"> <label><strong>Name of Training Provider</strong></label> <label>@Model.TrainingProvider</label> </div> </div> <div class="row"> <div class="form-group col-md-6"> <h4>Location of training</h4> </div> </div> <div class="row"> <div class="form-group col-md-6"> <label><strong>Province</strong></label> <label>@Model.TProvince</label> </div> <div class="form-group col-md-6"> <label><strong>District</strong></label> <label>@Model.TDistrict</label> </div> </div> <div class="row"> <div class="form-group col-md-6"> <label><strong>Municipality</strong></label> <label>@Model.TMunicipality</label> </div> <div class="form-group col-md-6"> <label><strong>Ward No. </strong></label> <label>@Model.TWard</label> </div> </div> <div class="row"> <div class="pull-right"> <a class="btn btn-danger btn-sm" id="SubmitBtn">Delete</a> <a href="/vst" class="btn btn-default btn-sm">Back</a> </div> </div> </form> </div> </div> </div> </div> </div> <script type="text/javascript"> $(function () { window.initializeSelectApis(); window.initializeCascadeLocation(); window.initializeCascadeLocationForTraining(); }) $("#SubmitBtn").off("click").on("click", function () { function request(model) { debugger; var url = "/vst/delete"; const data = JSON.stringify(model); return window.getAjaxRequest(url, "POST", data); } if (!window.confirmAction()) { return; }; debugger; const form = $("#vst"); WorkForce.loader.show(); const model = window.serializeForm(form); const ajax = request(model); ajax.done(function (response) { WorkForce.loader.hide(); showNotification("success"); debugger; window.location = "/vst"; }); ajax.fail(function (xhr) { WorkForce.loader.hide(); ShowMessage("error", xhr.responseText); }); }) </script>