fix starter

This commit is contained in:
CHIEFSOFT\ameye
2024-10-26 21:58:03 -04:00
parent 981ed8adcf
commit d01237f466
3 changed files with 36 additions and 2 deletions
+25 -1
View File
@@ -20,17 +20,41 @@
</span>
</div>
<div style="text-align: center;">
<button class="btn btn-success" type="button" >
<button class="btn btn-success" id="acc<?=$product['product_id']?>" type="button" onclick="startProcess('<?=$product['product_id']?>')" >
Get Started
</button>
</div>
<div id="selected_detail">
</div>
</div>
</div>
</div>
</div>
<!-- /main content -->
<script type="text/javascript">
<!--
function startProcess(link_id) {
if(confirm("Please confirm activation of this feature ?")) {
// do something
} else {
return false;
}
$('#selected_detail').html('Processing...');
$('#acc'+link_id).prop('disabled', true);
$.ajax({
url: "/providers/startprpcess/"+link_id
}).done(function (data) {
//$('#selected_detail').html(data);
$('#acc'+link_id).prop('disabled', false);
});
return false;
}
// -->
</script>
<?= $this->endSection() ?>