var result1 = "";
$("#Date").val(), Total: parseFloat($("#SubTotal").text()), GrandTotal: parseFloat($('#GrandTotal').text()).toFixed(2), Items: orderArr }); console.log(data); $.when(saveOrder(data)).then(function (response) { console.log(response); toastr.success(response.message);
Items: orderArr }); console.log(data); $.when(UpdateOrder(data)).then(function (response) { console.log(response); toastr.success(response.message); location.href = "/Admin/PurchaseList" }).fail(function (err) { toastr.error(response.message) }) } }); function
By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. // e.preventDefault(); if ($("#Incl").prop('checked')) {, $("#BtnSave").click(function (e) { e.preventDefault(); if (submitValidation()) { var orderArr = []; orderArr.length = 0; $.each($("#detailsTable tbody tr"), function () { orderArr.push({ MedicineId: parseInt($(this).find('td:eq(0)').html()), MedicineName:
else { document.getElementById("error_SubTotal").style.display = "none" }
big and small. }
var ledgers = _ledgerRepository.Find(ID);
= item.CrAmount, DrAmount = item.DrAmount, Sp = "GV" }); }
Atleast add one item
I need Tow html data table in a single view. }
{
else { document.getElementById("error_Quantity").style.display = "none" }
Total is empty