Subversion Repositories SmartDukaan

Rev

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

Rev 34310 Rev 34739
Line 390... Line 390...
390
        }
390
        }
391
    } else {
391
    } else {
392
        alert("Please mention the reason as description and try again");
392
        alert("Please mention the reason as description and try again");
393
    }
393
    }
394
});
394
});
-
 
395
$(document).on('click', ".deleteFeeCollection", function () {
-
 
396
    let bfcId = $(this).val();
-
 
397
    if (confirm("Are you sure you want to delete this payment entry?")) {
-
 
398
        doPutAjaxRequestHandler(
-
 
399
            `${context}/feePaymentDeletion?bfcId=${bfcId}`,
-
 
400
            function (response) {
-
 
401
                alert("Payment entry has been deleted successfully.");
-
 
402
                pendingLoiForm("main-content");
-
 
403
            }
-
 
404
        );
-
 
405
    }
-
 
406
});
-
 
407
 
395
$(document).on('click', ".upload-document-form", function () {
408
$(document).on('click', ".upload-document-form", function () {
396
    let loiId = $(this).val();
409
    let loiId = $(this).val();
397
    doGetAjaxRequestHandler(`${context}/uploadDocumentForm?loiId=${loiId}`,
410
    doGetAjaxRequestHandler(`${context}/uploadDocumentForm?loiId=${loiId}`,
398
        function (response) {
411
        function (response) {
399
            $('#' + 'main-content').html(response);
412
            $('#' + 'main-content').html(response);