Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37994 24 m amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ fix(credit-limit): settled SIDBI partner falls back to investment-based limit

A SIDBI partner with no unsettled sanction got a suggested limit of 0; it now gets the normal
investment-based limit, with the SIDBI unsettled amount as a floor only while a sanction is open.
 
37993 24 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/ fix(sidbi): extend principal deduction schedule to 48 months and sum it correctly

Monthly SIDBI deductions crashed with IndexOutOfBounds once a sanction passed month 24, rolling back
the whole run (settled_amount frozen since 5 Apr 2026). Months 1-24 are kept; the remaining principal
is re-amortised over months 25-48 at 18% p.a. Deduction is now the running sum of months repaid
(was N x month-N value, which over-settled), and from month 48 the full loan is settled so settled_on is set.
 
37992 20 h 50 m ranu /trunk/ rbm drr billed partner also coming  
37991 21 h 24 m vikas /trunk/ Extended name: use AuthUser.getFullName() everywhere employee names are shown  
37990 21 h 44 m vikas /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/ Added Extended Auth User Name  
37989 21 h 46 m vikas /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/auth/ Chola Integration  
37988 22 h 7 m vikas /trunk/ Added Extended Name of User  
37987 22 h 37 m ranu /trunk/ diwali online scratch offer, otp send to email  
37986 22 h 53 m amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ feat(credit): wallet page passes default-loan count to the inactive message (needs dao commit of same change)  
37985 22 h 53 m amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ feat(credit): gateway status passes default-loan count to the inactive message (needs dao commit of same change)  
37984 22 h 53 m amit /trunk/profitmandi-dao/src/ feat(credit): LOAN_DEFAULT partner message asks to contact Manager once all defaulted loans are cleared

- getPartnerInactiveMessage takes the partner's current default-loan count
- LOAN_DEFAULT with 0 defaulted loans: 'Your SD Credit is on hold. Please contact your Manager.'
- still-defaulted and other inactive reasons unchanged; account stays inactive till CEO unblock
- web and fofo callers updated in the matching commits
 
37983 1 d 16 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/ social media online offer ui commit  
37982 1 d 18 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/enumuration/inventory/ diwali online scratch offer  
37981 1 d 18 h ranu /trunk/profitmandi-fofo/src/main/webapp/ social media online offer ui commit  
37980 1 d 18 h ranu /trunk/ diwali online scratch offer  
37979 2 d 22 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ feat(credit): overdue loans don't block credit orders till 15 Nov 2026

- till 2026-11-15 (inclusive) only defaulted loans (past 30 days) block SD Credit orders; loans past due date but within 30 days don't
- from 2026-11-16 the original rule (any overdue loan blocks) applies again automatically
- CreditSummary.defaultCount added; LOAN_DEFAULT deactivation and 30-day high-risk block unchanged
 
37978 3 d 21 h ranu /trunk/profitmandi-fofo/src/main/ analytics dashboard created  
37977 4 d 2 h aman /trunk/profitmandi-fofo/src/main/ Disha for the RBM on BRAND WISE PLACEMENT: one floating Disha widget on that page only (the app's desktop launcher, raised above the corner), the RBM picks the partner inside Disha; Disha knows the RBM by the login email and opens only that RBM's own partners (signed per-store passes via DishaRbmToken when -Ddisha.rbm.key is set); Ira's staff widget and its hard-coded token removed from the layout  
37976 5 d 2 h aman /trunk/profitmandi-fofo/src/main/webapp/ Mobile sidebar: closed by CSS default on phones, no longer driven by window load/resize
On <=768px #sidebar is display:none until #container has .sidebar-open; the hamburger
toggles .sidebar-closed and .sidebar-open together so one tap flips the state at any width.
The old code only added .sidebar-closed on window load, so on a phone the menu was open
until load fired and the first address-bar resize (or load itself) closed whatever the user
had opened. Resize now only resets the state when the window actually crosses 768px.
Drops the overscroll-behavior rule from r37975 (reload was not the symptom).
12dashboard34.vm: version the style-responsive.css link like the other templates.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112V6gZq3hA6Xeg7SkAdJzs
 
37975 5 d 2 h aman /trunk/profitmandi-fofo/src/main/ Mobile sidebar: bump jsVersion 450->451 / cssVersion 54->55 so phones fetch the r37974 swipe fix (scripts.js is served without Cache-Control, so the old file stayed cached); set lastWidth at DOM ready, not only on window load; overscroll-behavior-y: contain on phones so a pull-down at the top no longer reloads the page and closes the menu.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112V6gZq3hA6Xeg7SkAdJzs
 

Show All