CREATE-task# # -
FEATURE-000n-view-selling - porting to .org
[previously]
- [00:00] NEW task IN
- [] # 2922 - CREATE-task# # - ADD-FEATURE - view selling - port - ] porting the view / selling functionality into the .org version
- [*] reference example = # 2919 - CREATE-task# # - FEATURE-000n-view-buying - porting to .org
- [*] reference example = # 2793 - CREATE-task# # - FEATURE-4900-view-bio - porting to .org - currently the MyStuff/Bio feature is not functional
- [] TLDR - 'view selling' should show 'all' 'items' that have a status value of "For-Sale" ( and a Priority value of "?" )
- [x] these items are then organized by the warehouse, inventory and itemgroup that they appear in, aka bio_by_project, [*] based on DB view_buying (actually uses it)
- [00:00] NEW task IN - prj-022 -
- [x] # # - FEATURE view/selling - using view_buying on db
- [x] created NEW PAGE 'view selling' AS copy of view / buying page,
- [00:00] NEW task IN
- [x] EDIT PAGE - view selling -
- [x] changed queries,
- [x] changed title
- [x] EDIT PAGE -_menuMain - add link to view selling / all / Selling (aka ForSale)
- [00:00] NEW task IN - CREATE DOCUMENTATION
- [] 'view selling' should show 'all' 'items' that have a status value of "For-Sale" ( and a Priority value of "?" )
- [] EXAMPLE select all from view_selling WHERE status='Selling' and priority <= @Priority
- [*] FORMAT URL = view / selling / {case} / {status} / {priority} / {warehouse_name}
- [*] warehouse_name AKA case paramater, if case is all
- [*] if case is warehouse, provide warehouse name
- [*] if case is inventory, provide inventory name
- [*] if case is itemCategory, provide itemCategory name
- [] ?= if case is all, provide 2nd param in case_parameter place ???
- [] ?= do we need a view, to list/link to all view / selling display options - aka - ] all, ] by warehouse, ] by inventory, ...
- [] [00:00] NEW task IN - stats bar - location and style
- [] used NEW statsBarBio AS example
- [] in NEW LOCATION = relocated it to directly below navHeader, [x] removed current style of "statsbar" (used absolute postioning),
- [] created AS _statsBarBuying = itemsCount, itemsTotalCOST,
- [] [00:00] NEW task IN - review
- [] dont seem to see/find any documentation for view/buying OR view/selling
- [] # 4490 - list all projects, data size
- [] [00:00] NEW task IN - git commit & merge
- [] commit -m = {"ADD-FEATURE - view selling - porting feature functionality from original sospep.com version, refactored, enhanced"}
- [] git local commited branch(ADD-FEATURE-selling)
- [] merged branch into master
[currently]
- [00:00] NEW task IN
- [] # # -
[next]
- [00:00] NEW task IN TODO
- [] heading styles -
- [i] stats bar - functionality
- [i] database - update VIEW on OTHER DATABAseS, - [x] public [x] dons, [] ewa, [] other(s) ,
- [00:00] NEW task IN
- [] # # - CREATE-task# # -
- [x] view / selling - all
- ===
- [x] view / selling - by warehouse
- [] view / selling - by inventory
- [] view / selling - by itemCategory
- ===
- [] view / selling - by period - ( day, month, week, quarter, )
- [] view / selling - by period - custom ( ex date range )
- [] >[00:00] NEW task IN - ISSUE-007 - stats bar functionality
- [] # # - [] stats bar - functionality -
- [x] moved 'statsBar' into '/Shared' as partial page, call RenderPage,
- [] ERROR re: - var doesnt exist in this context, RESOLUTION: changed varName to Page.varName
- [] even after changing to Page["var"] property
- [] PROBLEM WAS - shared page is rendered BEFORE values are caculated. Values are calculated in the display list items loop. Page is rendered at the top. This is why was previously using
- [] RESOLUTION =
- [1] return prev, render component after display loop, then re position (update from :using absolute position, to: ] reposition with script ] reposition with css)
- [] https://stackoverflow.com/questions/104953/position-an-html-element-relative-to-its-container-using-css
- [2] call js method - ] write vars to input hidden, ] call js method, updateStatsBar(), ] write js method updateStatsBar, -uses hidden input vars to update statsbar # values
- [] ERROR re: type passed into arg, when calling the calculateCompletedPercentage helper method
-
[reference]
- [*] sospep public - # 4900 - feature definition
query
SELECT * FROM `view_p1` WHERE priority = -5 and status = 'Completed'
SELECT * FROM view_buying WHERE status = Want || NEED ||
and priority =
create query
[] my groups - using order by in query to get dessired grouping, WORKS but very slow
SELECT * FROM view_p1 WHERE priority=@0 && status=@1 ORDER by name_calendar ASC, name_plan ASC, name_taskgroup ASC
SELECT * FROM view_p1 WHERE priority= -1 && status='Completed' ORDER by name_calendar ASC, name_plan ASC, name_taskgroup ASC;
[] logic blocks removed from view buying
// LOGIC BL 1 - to build qry's IF called from viewCalendar's
if (planId=="000")
...