public ActionResult Edit([Bind(Include = "Id,Title,Description,Note,status,datepaymentstarted,datepaymentcompleted,terminationdate,paidby,createdBy,Guid,CreatedOn,UpdatedOn,IsDeleted,SiteId,terminatedby")] PaymentBatch paymentBatch) { if (ModelState.IsValid) { db.Entry(paymentBatch).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(paymentBatch)); }
public ActionResult Edit([Bind(Include = "Id,ProviderId,month,year,Batch,status,submitedVetbyUser,submitedReviewbyUser,SubmitedForReviewDate,reviewDate,reviewedBy,VetDate,SubmitedForPaymentDate,submitedPaymentbyUser,AuthorizationStatus,AuthorizationNote,DisapprovalNote,AuthorizedBy,DisapprovedBy,AuthorizedDate,DisapprovalDate,DeletionNote,Guid,CreatedOn,UpdatedOn,IsDeleted,SiteId,paymentbatchId,AmountPaid,paymentmethod,paymentref,chequeno,sourceBankName,sourceBankAccountNo,DestBankName,DestBankAccountNo,remark,paymentdate,paidby,markpaidby,ProviderName,claimscountfromclient,paymentmethodstring,paymentadvicesent,datepaymentadvicesent,isremote")] ClaimBatch claimBatch) { if (ModelState.IsValid) { db.Entry(claimBatch).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } ViewBag.paymentbatchId = new SelectList(db.PaymentBatches, "Id", "Title", claimBatch.paymentbatchId); return(View(claimBatch)); }
public ActionResult Edit(int?id, int Id, [Bind(Include = "Id,ProviderId,Enrolleeid,enrolleeFullname,enrolleeGender,enrolleeCompanyName,enrolleeCompanyId,enrolleePolicyNumber,EnrolleePlan,ClaimsSerialNo,EVSCode,DoctorsName,DoctorsId,AreaOfSpecialty,Signature,DoctorSigned,DoctorSignecDate,specialistName,AreaOfSpecialtyforspecialist,specialistphonenumber,specialistSigned,specialistSignecDate,ServiceDate,AdmissionDate,DischargeDate,Durationoftreatment,Diagnosis,TreatmentGiven,TreatmentCode,referalCode,enrolleeSigned,EnrolleeSignDate,AllprescibedDrugs,LaboratoryInvestigation,Admission,Feeding,Note,Tag,capturedBy,capturedName,vettedBy,RevettedBy,VettedDate,ReVettedDate,status,Guid,CreatedOn,UpdatedOn,IsDeleted,ClaimBatchId,SiteId,enrolleeage,ClientsideID,diagnosticsIDString,SubmitByProvider,ipaddressofprovider,MyUserId,vettedName")] Claim claim) { ViewBag.claimservices = db.ClaimServices.Where(x => x.Id == Id).ToList(); ViewBag.claimdrugs = db.ClaimDrugs.Where(x => x.Id == Id).ToList(); if (ModelState.IsValid) { db.Entry(claim).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index", "Drugs", new { id })); } ViewBag.ClaimBatchId = new SelectList(db.ClaimBatches, "Id", "Batch", claim.ClaimBatchId); return(RedirectToAction("Index", "Drugs", new { id })); }