Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37027 17 d 18 h 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 17 d 18 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ targeted calling count on today po rbm  
37025 17 d 18 h 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 17 d 18 h 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 17 d 18 h 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 17 d 18 h ranu /trunk/ targeted calling count on today po rbm  
37021 17 d 19 h 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 17 d 20 h vikas /trunk/ Beat Report Enhancements  
37019 18 d 6 h 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 d 12 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ revival and focus bill be active on next billing  
37017 18 d 13 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ revival and focus bill be active on next billing  
37016 18 d 14 h ranu /trunk/ revival and focus bill be active on next billing  
37015 18 d 15 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/ v2 version some fixes  
37014 18 d 15 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/ v2 version some fixes  
37013 18 d 15 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ tried call given on rbm dashboard  
37012 18 d 17 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ tried call given on rbm dashboard  
37011 20 d 14 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ tried call given on rbm dashboard  
37010 20 d 15 h ranu /trunk/ tried call given on rbm dashboard  
37009 21 d 11 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 21 d 11 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