BlueGrey
calm
Elegant
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
SmartDukaan
(root)
/
trunk
/
profitmandi-fofo
/
src
/
main
/
webapp
/
resources
/
js
/
scheme.js
– Rev 37493
Rev
Show changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
37493
35 d 18 h
amit
/trunk/profitmandi-fofo/src/main/
Fix: scheme item inline date edit fired N duplicate PUTs per click
scheme-details.vm is injected with .html(), which re-executes its inline
<script>, and a successful save re-injects it - so each load stacked another
$(document) handler for .edit/.cancel/.save-item-dates. One Save click then
fired N identical PUT /scheme/item/window, and PostInterceptor rejected all
but the first with 'Duplicate request.' (27 per click in prod today).
The stacked copies also carried a stale $scheme closure, so a save could
repaint the container with a previously viewed scheme.
Move the handlers to scheme.js (loaded once via include-scripts.vm) and read
the scheme id/window from data- attributes on the fragment root, keeping them
stateless. Fragment is now markup only.
Reuse cleanup while in here:
- configureMultiselect() replaces 3 near-identical multiselect configs
- loadBrandsByCategory/loadCatalogDescriptionByBrands take an optional
afterRender so the add-item modal reuses them instead of duplicating both
- toggleItemDateEdit()/initSingleDatePicker() collapse mirrored blocks
- SCHEME_DETAILS_CONTAINER single-sources the container id
- drop the template's duplicate toIsoDateTime (scheme.js already had it)
- updateSchemeItemWindow() now prefixes context like every other call
Bump jsVersion 409 -> 410.
36421
161 d 12 h
amit
/trunk/profitmandi-fofo/src/main/webapp/
Feat:Scheme item date window — per-item start/end dates with inline editing, category→brand→model cascade in add-item modal, duplicate detection, full-width layout
35252
336 d 19 h
aman
/trunk/
Feat:Expire Schemes by ids and lead assign to bgc too
34587
504 d 12 h
vikas.jangra
/trunk/profitmandi-fofo/src/main/
Scheme notification
34575
507 d 14 h
vikas.jangra
/trunk/
Liquidation/Bidding auto approval
32331
1149 d 20 h
amit.gupta
/trunk/
Added changes related to schemes
32299
1160 d 14 h
jai.hind
/trunk/profitmandi-fofo/src/main/
In Finance Automate Process SellIn SellOut
31762
1286 d 15 h
tejbeer
/trunk/
ticket and imei wise scheme related changes
30599
1581 d 11 h
amit.gupta
/trunk/profitmandi-fofo/src/main/
Fixed ahead issue
30501
1594 d 18 h
amit.gupta
/trunk/profitmandi-fofo/src/main/webapp/resources/js/
Fixed ahead issue
30492
1595 d 10 h
amit.gupta
/trunk/
Added Category option
30253
1651 d 11 h
amit.gupta
/trunk/
Fixed issue with Scheme
30148
1674 d 17 h
amit.gupta
/trunk/
Fixed scheme creation
30122
1676 d 14 h
amit.gupta
/trunk/
Fixed issue
30054
1690 d 15 h
manish
/trunk/profitmandi-fofo/src/main/webapp/resources/js/
29762
1737 d 20 h
amit.gupta
/trunk/profitmandi-fofo/src/main/webapp/resources/js/
29761
1737 d 20 h
amit.gupta
/trunk/profitmandi-fofo/src/main/webapp/resources/js/
29760
1737 d 20 h
amit.gupta
/trunk/profitmandi-fofo/src/main/webapp/resources/js/
29759
1737 d 20 h
amit.gupta
/trunk/profitmandi-fofo/src/main/webapp/resources/js/
29586
1786 d 18 h
manish
/trunk/profitmandi-fofo/src/main/webapp/resources/js/
commit
←Prev
1
2
Next→
Show All