This commit is contained in:
2021-03-05 00:52:04 +00:00
parent 62af0de643
commit 824adeca41

View File

@@ -33,6 +33,8 @@ MISC ITEMS THAT CAME UP
## CLIENT MISC ITEMS
todo: delete all tags from customer, go back in and zone2 appears for some reason
todo: NOT import PO's unless they are current, active and unreceived
todo: erase database should reset all id values if they aren't reset already so that future data doesn't result in a new PO starting at 29000 due to huge db trial seed prior
@@ -190,10 +192,23 @@ todo: Changes to allow in place updates of server:
CURRENTLY DOING: Contract
doing: just added models, needs schema setup and also the contractoverridetypes needs enum list stuff and translation keys all around
todo: both rates need contract checkbox so they only appear in conjunction with a contract also the picklists need updating for rates with variants to take contract into consideration
add to ui
default to false (is required)
Picklists supply contractid with variant so that the server knows which list to produce
Need variant that shows only rates with contractonly=true (for selection in contract)
Need variant that shows only rates for a specific contract (limit to contract rates contract in effect on workorder)
Need variant that shows all rates *without* any contract rates (no contract workorder)
Need variant that shows all regular rates and also specific contract rates
Perhaps all of these will work with the addition of just the contract id?
can join in the contract table and items and only show if present or whatever the query needs to be
return results are same just the where criteria or server criteria and FROM part of query
As non contract scenario is just all items
Contract may or may not be all items plus contract or just contract (different queries)
But it all needs to go through same picklist code for client simplicity
@@ -270,13 +285,6 @@ MULTIPLE discount / markup ITEMS
Objects:
Contract
ContractRates (rateid,contractid)
------------------------------------------