Private
Project *AFC ai genetic for bench sales APPFORSOLARArrow LogisticsArtificial Intillegence » Algo Trade Automation » Algo Trade Manual » Bulk mail Automation with web interface » Bulk Mail Service For Bench Sales » Code Generation Tool » Cold Emailing Automation (AI-Driven) » Invoice Inventory Automation » invoice to inventory for evergreen » Test Automation » What's app Bulk messaging with AI agents » Zelle Payment for evergreenAsk RideBowls&blendsCharan Technologies _ DevelopmentEver green Farms USA (static website)Evergreen farms (pos)Evergreen React ApplicationFinwareHackthonLucky BraidsMy Produce StandNexPumpNexZen Printer AgentNoxa_JewelleryOffice Requirments » Daily Tasks For Madhu » Employees requirements » Recruitment senior mern stack developer » Red MIne Speed » Senior Mern Stack DeveloperOPT - (USA) UpdatesQA TestersRare FruitsRegal SolarRegal Solar DMRegal Solar Energy_ ReactReliance Home Builders_ reactRemit2AnyRestaurant POSRSVPRushi GardensRV_ EngraverSoloar AppSri Farms _ DMSri_FarmsSuthra OneSuthra QNova LabsTech FourceTechnical RequirementsTechy_DevelopmentTechy_POS Travel Matex
Tracker *Bug Feature Support Testing
Subject *
Description Edit In syncInvoiceDepositFromQuotation , database synchronization of invoice.remainingBalance is guarded by shouldSyncDeposit: javascript const shouldSyncDeposit = Object.prototype.hasOwnProperty.call(updates, "actualTotal") || Object.prototype.hasOwnProperty.call(updates, "actualSubTotal"); If an update modifies financial totals (e.g. updating costBreakdowns or discountAmount) without passing top-level actualTotal, the Invoice document in MongoDB preserves its old remainingBalance until a user views the invoice (at which point getInvoiceDetailsByQuotationNumber calculates it dynamically at runtime). If an automated script reads the raw Invoice model from MongoDB without calling getInvoiceDetailsByQuotationNumber, it reads the un-synchronized balance. 2. Acceptance Criteria AC 5.1 (Direct Balance Recalculation): Given an active quotation with an existing linked invoice, When updateQuotation modifies any field affecting the final cost (costBreakdowns, discount, discountAmount, taxAmount, excludeTax), Then syncInvoiceDepositFromQuotation MUST re-evaluate newTotalAmount and immediately persist the updated remainingBalance to the MongoDB Invoice collection. AC 5.2 (Paid Installment Preservation): The updated remainingBalance in the database MUST strictly equal Math.max(0, newTotalAmount - sumOfPaidInstallments). AC 5.3 (Audit Trail): When remainingBalance changes in the invoice document due to a quote update, log an entry into the invoice's actionHistory indicating automatic sync from quote revision.
Status New
Priority *Low Normal High Immediate
Assignee Ajit ABindu DandaChandra SekharDivya InapakurthiKarthik PalakondaPavan Kumar MuralaRavi Shankar PalleRavindra AtthotaSai MahanandaSai Priyatham SadineniSowjanya atthotaSravani RangannapalemTeja Sriram SanganiYalavarthi Thriveni
Target version Sprint (10/05/2026- 10/09/2026) sprint (10/12/2026 - 10/31/2026) Backlog
Parent task
Start date
Due date
Estimated time Hours
% Done0 % 10 % 20 % 30 % 40 % 50 % 60 % 70 % 80 % 90 % 100 %
Tested Date *
Raised by Tester Mahananda Sai Manikanta Sravani Phanindra
Page/ Module (POS) *--- Please select ---E2E Dashboard POS Customers Requests Quotes Invoices Jobs Users Partners Labor Field Staff Events Warehouse Featured Items Help Guide Services – Categories Services – Services Products – Categories Products – Sub Categories Products – Products Assets – Categories Assets – Assets Assets – Usage Sales Sales Return Purchases – Vendors purchases - vendor invoices Admin – View Orders Admin – Offers Admin – PreOrders Admin – Coupons Admin - Delivery Configuration Maintenance – Products Maintenance – Assets Subscriptions – service Plans Subscriptions – Subscribers Subscriptions – Buy Plan Subscriptions – Share Plans Login Product Subscription E commerce Product Qoutations post job flow Expenses