Subversion Repositories SmartDukaan

Rev

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

Rev 33885 Rev 33909
Line 65... Line 65...
65
    const gstCity = $('input[name="gstCity"]').val();
65
    const gstCity = $('input[name="gstCity"]').val();
66
    const gstDistrict = $('input[name="gstDistrict"]').val();
66
    const gstDistrict = $('input[name="gstDistrict"]').val();
67
    const agreeWalletValue = $('select[name="agreeWalletValue"]').val();
67
    const agreeWalletValue = $('select[name="agreeWalletValue"]').val();
68
    const storeArea = $('input[name="storeArea"]').val();
68
    const storeArea = $('input[name="storeArea"]').val();
69
    const storePotential = $('input[name="storePotential"]').val();
69
    const storePotential = $('input[name="storePotential"]').val();
-
 
70
    const finCode = $('input[name="finCode"]').val();
70
    let brandCommitment = [];
71
    let brandCommitment = [];
71
    var brandCommitmentInputs = document.querySelectorAll(".brand-commitment");
72
    var brandCommitmentInputs = document.querySelectorAll(".brand-commitment");
72
    brandCommitmentInputs.forEach(function (input) {
73
    brandCommitmentInputs.forEach(function (input) {
73
        var commitmentValue = parseInt(input.value);
74
        var commitmentValue = parseInt(input.value);
74
        if (!isNaN(commitmentValue)) {
75
        if (!isNaN(commitmentValue)) {
Line 154... Line 155...
154
        gstCity: gstCity,
155
        gstCity: gstCity,
155
        gstDistrict: gstDistrict,
156
        gstDistrict: gstDistrict,
156
        agreeWalletValue: agreeWalletValue,
157
        agreeWalletValue: agreeWalletValue,
157
        storeArea: storeArea,
158
        storeArea: storeArea,
158
        storePotential: storePotential,
159
        storePotential: storePotential,
-
 
160
        financeCode: finCode,
159
        lessCommitReason: lessCommitReason,
161
        lessCommitReason: lessCommitReason,
160
        agreedBrandFees: agreedBrandFees,
162
        agreedBrandFees: agreedBrandFees,
161
        brandFeesCollected: brandFeesCollected,
163
        brandFeesCollected: brandFeesCollected,
162
        paymentMode: paymentMode,
164
        paymentMode: paymentMode,
163
        paymentReferenceNo: paymentReferenceNo,
165
        paymentReferenceNo: paymentReferenceNo,