Subversion Repositories SmartDukaan

Rev

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

Rev 33720 Rev 33981
Line 31... Line 31...
31
$(document).on('click', ".payment-link-mk", function () {
31
$(document).on('click', ".payment-link-mk", function () {
32
    // Prompt the user for confirmation
32
    // Prompt the user for confirmation
33
    const userConfirmed = confirm("Are you sure you want to generate and send the payment link?");
33
    const userConfirmed = confirm("Are you sure you want to generate and send the payment link?");
34
 
34
 
35
    if (userConfirmed) {
35
    if (userConfirmed) {
-
 
36
        $(".create-insurance-mk").show();
36
        const data = {
37
        const data = {
37
            orderId: $('.order-id').val(),
38
            orderId: $('.order-id').val(),
38
            orderItemId: $('.order-item-id').val(),
39
            orderItemId: $('.order-item-id').val(),
39
            planName: $('.insurance-plan-name').val(),
40
            planName: $('.insurance-plan-name').val(),
40
            planId: $('.insurance-id').val(),
41
            planId: $('.insurance-id').val(),