This commit is contained in:
2022-03-02 15:49:01 +00:00
parent 629bfb366f
commit bc6ff4168c
6 changed files with 216 additions and 124 deletions

View File

@@ -31,7 +31,7 @@ FIRST CLIENT SOURCE CODE COMMIT JAN 3rd 2019
# SEEDING ISSUES
seeder wo created date not set properly, should match the way it's generated
??seeder wo created date not set properly, should match the way it's generated
seeder make reminders and reviews for all users, just random scattering for now to future month ahead at least one per day to show off schedule and widgets
seeder wo need new fields and generate data to show off and test kpi widgets and features
@@ -44,22 +44,37 @@ seeder wo need new fields and generate data to show off and test kpi widgets and
# WIDGET ISSUES
# WIDGETS
https://www.calculator.net/percent-calculator.html
- Widgets to make for beta in order of priority
**MUST HAVE***
*** FIX FIRST: Unscheduled is showing dupes, maybe it's one per woitem??
* LIST overdue workorders (booked on, in the past, not a closed status) for current scheduleable user
* LIST overdue workorders (booked on, in the past, not a closed status, passed completeby date) for current scheduleable user
criteria:
tags wo, woitem
SELECT distinct(AWORKORDER.ID),
AWORKORDER.SERIAL,
AWORKORDER.completebydate,
ACUSTOMER.NAME,
AWORKORDER.NOTES
FROM AWORKORDER
LEFT JOIN AWORKORDERITEM ON AWORKORDER.ID = AWORKORDERITEM.WORKORDERID
LEFT JOIN AWORKORDERITEMSCHEDULEDUSER ON AWORKORDERITEM.ID = AWORKORDERITEMSCHEDULEDUSER.WORKORDERITEMID
LEFT JOIN AWORKORDERSTATUS ON (AWORKORDER.LASTSTATUSID = AWORKORDERSTATUS.ID)
LEFT JOIN ACUSTOMER ON (AWORKORDER.CUSTOMERID = ACUSTOMER.ID)
WHERE (LASTSTATUSID IS NULL OR AWORKORDERSTATUS.COMPLETED = FALSE) and aworkorder.completebydate < now()
AND AWORKORDERITEMSCHEDULEDUSER.userID = 10
ORDER BY AWORKORDER.ID ASC
* LIST overdue workorders list not user centric available to service manager roles
criteria:
tags wo, woitem
LINE/BAR Count of work orders created per day over time (from case 1882)
criteria:
timespan and INTERVAL