Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37027 0 m aman /trunk/ AI leads: fix /add/lead 500 (set NOT-NULL 'state' + null-safe last_name/city/address so voice/chat leads persist instead of crashing) and add call-recording support - new user.lead.recording_url column mapped on Lead, recordingUrl accepted on AiLeadRequest and stored in aiLead(), Recording play button in lead management (main dashboard + search/closed results). Prod needs: ALTER TABLE user.lead ADD COLUMN recording_url VARCHAR(1024) NULL;  
37026 24 m ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ targeted calling count on today po rbm  
37025 32 m amit /trunk/profitmandi-fofo/src/main/ FOFO add-to-cart: show held Live Demo IMEIs as disabled 'Sellable from <date>' checkboxes instead of falling back to quantity field  
37024 33 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/inventory/ FOFO add-to-cart: show held Live Demo IMEIs as disabled 'Sellable from <date>' checkboxes instead of falling back to quantity field  
37023 33 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ FOFO add-to-cart: show held Live Demo IMEIs as disabled 'Sellable from <date>' checkboxes instead of falling back to quantity field  
37022 44 m ranu /trunk/ targeted calling count on today po rbm  
37021 1 h 27 m aman /trunk/profitmandi-fofo/src/main/ Lead Dashboard: make the lead-table Search box a global partner search (search-as-you-type, debounced) - matches any lead by name/mobile/outlet/city across ALL statuses and dates via /globalLeadSearch; add placeholder + results heading; bump asset version to 371  
37020 2 h 21 m vikas /trunk/ Beat Report Enhancements  
37019 12 h 3 m aman /trunk/profitmandi-fofo/src/main/ Contact Us: add position control - 'place after' dropdown + up/down reorder for Main & Escalation tables (editor-gated); self-heal missing columns in ContactUsTableBootstrap (adds id/PK to pre-existing tables to fix GE_1007); bump asset version to 370  
37018 18 h 49 m ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ revival and focus bill be active on next billing  
37017 19 h 49 m ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ revival and focus bill be active on next billing  
37016 19 h 54 m ranu /trunk/ revival and focus bill be active on next billing  
37015 21 h 15 m ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/ v2 version some fixes  
37014 21 h 18 m ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/ v2 version some fixes  
37013 21 h 47 m ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ tried call given on rbm dashboard  
37012 23 h 40 m ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ tried call given on rbm dashboard  
37011 2 d 20 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ tried call given on rbm dashboard  
37010 2 d 21 h ranu /trunk/ tried call given on rbm dashboard  
37009 3 d 17 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/fofo/ Fix Selling Price - DP in IMEI drill-down to use actual inventory-item DP

selectLastMonthFrontEndImei (the per-IMEI breakdown behind each brand/model row)
still passed foi.dp (frozen list DP) into LastMonthFrontEndImeiModel, so the
drill-down did not reconcile with the brand/model totals fixed in r37008. Now
uses ii.unitPrice-ii.priceDropAmount, matching selectLastMonthFrontEndByImei.
 
37008 3 d 17 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/fofo/ Fix Selling Price - DP to use actual inventory-item DP instead of frozen list DP

Brand-wise (selectFrontIncomeByBrand) and model-wise (selectFrontIncomeBrandWise)
front-income queries computed the margin as (foi.sellingPrice - foi.dp), where
foi.dp is the TagListing list price frozen on the sale line at order time. This
produced spurious negative margins (e.g. -6000 for units sold at cost). Now uses
the actual per-IMEI acquisition DP (ii.unitPrice - ii.priceDropAmount), the same
net-DP basis used elsewhere (InventoryItem.getNetPrice / scheme payout calc).
 

Show All