Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37750 16 d 10 h ranu /trunk/ aging sku purchasing need to approval of niranjan kala sir  
37699 22 d 6 h amit /trunk/profitmandi-fofo/src/main/ Fix: movement availability popover rendered empty except the closing note

The breakdown was built as a table. Bootstrap 3.4.1 sanitizes popover content against a
whitelist that includes neither table nor its rows and cells, and it removes a non-whitelisted
element together with everything inside it - so the whole table was dropped and only the note
survived, leaving a popover that referred to orders that were not shown.

Rebuilt from divs and spans, which are whitelisted. Sanitizing stays on rather than being
switched off for this popover: the content carries PO numbers and warehouse names read out of
the database.

Also stops the zero-quantity note pointing at orders that are not there - a warehouse whose
only stock is still inbound has nothing promised to point at. jsVersion bumped.
 
37697 22 d 6 h amit /trunk/profitmandi-fofo/src/ PO create: show what can move, and which orders hold the rest, while the quantity is typed

Picking an item on a movement order already called getPricing, which read the sending
warehouse's stock and returned only a price. It now returns the availability too, so the row
can show it: an info marker beside the quantity box opens the breakdown - in stock, promised
with each holding order named by PO number and date, anything still arriving, and the quantity
this order can take.

The quantity box flags the moment what is typed passes that cap, so it is corrected before
submitting rather than after being refused. The marker turns amber when stock is partly
promised and red when none can move.

Outside vendors are unaffected: their pricing response carries no availability and their rows
are left exactly as they were. jsVersion bumped so the screen picks up the new script.

Tests cover the four cases that matter: what can move with orders named, zero movable reported
rather than refused, this order's cap kept separate from what the warehouse holds when stock
came in at two costs, and a warehouse holding none of the item still refusing.
 
36551 147 d 9 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fixed scroll in offers modal  
36532 149 d 16 h amit /trunk/ Fix moveToBill to use net availability, add bulk PO items upload UI with template download  
36520 151 d 13 h amit /trunk/profitmandi-fofo/src/main/ Add total quantity display on PO create page  
33727 767 d 15 h ranu /trunk/profitmandi-fofo/src/main/ purchase order total price showing  
32360 1141 d 16 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/ Fixed front end related issues with add/remove row  
32145 1214 d 16 h tejbeer /trunk/ change