This commit is contained in:
@@ -57,7 +57,18 @@ todo: workorders - need to set billing and service address from customers on mig
|
||||
|
||||
todo: custom required rules only apply to new records!!
|
||||
|
||||
todo:
|
||||
todo: form field customization add a "reset" feature to reset to default for when people fuck it up
|
||||
basically just show all fields and remove the required from fields
|
||||
|
||||
todo: Not in love with the "Error api2200" as the only error text in the box
|
||||
sometimes it has things you can't see in the form
|
||||
ideally I'd like to see it have a string of text as a duplicate showing the errors translated in a list
|
||||
in addition to each form field being set. This would cover our ass in case we missed a "general" or renamed a field or a wierd error
|
||||
that we didn't anticipate, also more useful for the user to see at a glance what's what
|
||||
If do this maybe consider adding a fixed height and scroll bar setting to the error box as it could get long but don't want it to fill up the screen
|
||||
(maybe a "MORE INFO" button instead that warps the display in errorbox to the long form??)
|
||||
At the very least make sure every raw error returned goes into the client log so can help with tech support when people need it without resorting to
|
||||
making them open developer console to see the actual raw error. (if do this maybe extend the length of the error log as it's possibly too short to capture enough stuff this way??)
|
||||
|
||||
todo: Translation: "Physical" address seems wierd, rename to Street address or Delivery address or Service Address or whatever
|
||||
todo: broken rules can't save should color save button red in addition to disabled some forms can't see what's what
|
||||
@@ -317,25 +328,30 @@ todo: many biz objects are not using new PUT methodology
|
||||
|
||||
CURRENTLY DOING: labors (but involves contract change below)
|
||||
|
||||
|
||||
todo: on put needs to return object if prices updated, not just concurrency token!!
|
||||
prices are *always* updated contract or not bc set by choice of part, not at client
|
||||
any object modified at server must return object
|
||||
only some won't need this, but at the end they may all need it one way or another
|
||||
for efficiency I guess don't return it if no change but keep an eye out
|
||||
|
||||
|
||||
todo: complete the backend contract stuff: it needs to also handle tagged specific values as well
|
||||
todo: LABOR AT FIRST - complete the backend contract stuff
|
||||
it needs to also handle tagged specific values as well
|
||||
currently it's only coded to handle the "All items" bits, not the tagged items bits so that needs to be there as well
|
||||
Also it has none of the code for handling response time etc which needs to be added so take a good look and at least note the
|
||||
future stuff if not appropriate right now, but it all needs to be done eventually.
|
||||
Make sure it works then move on to below
|
||||
|
||||
todo: replicate labor save code at front and back to the other contracted objects
|
||||
- return full object, update accordingly
|
||||
- taxes calculated properly /100
|
||||
- identify any workorder graph objects that will be returned with updated values (any viz I guess too)
|
||||
- might turn out to be all objects really
|
||||
|
||||
todo: contract change dialog add bit to navigate back to it again freshly
|
||||
|
||||
todo: At server, if NEW record and contractid already set then use that otherwise find effective one and set (only way it's set automatically)
|
||||
todo: Server new wo auto contract resolution code,
|
||||
if NEW record and contractid already set then use that otherwise find effective one and set (only way it's set automatically)
|
||||
|
||||
todo: there may be an extraneous formfield item as there is taxname and taxcode id both as customizable.
|
||||
maybe settle on one and use it dual purpose for the picklist as well as the taxname
|
||||
|
||||
todo: special service rates for contract etc currently just pulls all rates (woitemscheuleduser)
|
||||
look for notes on this, I wrote them out somewhere about how to handle via variant and pulling contract etc
|
||||
|
||||
todo: test contract changing, application on new etc and fully works with labor before getting too carried away carrying over to other things
|
||||
|
||||
todo: tax code ref integrity check should include wo or...
|
||||
technically I think it should probably just remove them from wo since they are already redundantly storing it, but also it might be good to keep it 50/50 on this one
|
||||
@@ -364,11 +380,16 @@ todo: "DispatchFull" and "DispatchLimited" roles MUST be renamed to "ServiceFull
|
||||
|
||||
|
||||
|
||||
|
||||
TODO: test new from scratch wo regularly
|
||||
|
||||
TODO: Contract rates pick lists
|
||||
variant for picklist provide bool check contract and then aytype:id pairs that might have one.
|
||||
|
||||
todo: Need a preset default for the workorder customization, right now it's just barfing up all fields
|
||||
however this may be more related to the sample data generation because by default it maybe should show all fields
|
||||
for my testing purposes but once ready to add the complexity setting feature to the data generation this could
|
||||
also be used to carry over to when they go to use it, i.e. it *doesn't* erase the form field customizations or reset them
|
||||
|
||||
|
||||
|
||||
@@ -401,15 +422,11 @@ TODO: Sequence field sb hidden by default, most won't want it I'm guessing
|
||||
it's got an overwhelming number of fields in it,
|
||||
really will need that simple or complex mode trial data seeding feature talked about
|
||||
|
||||
TODO: Seeder has non service users set on scheduled user records (like head office etc)
|
||||
it doesn't crash but makes no sense logically
|
||||
|
||||
TODO: if keep seeing slowdown typing in large text fields maybe check if it's running rules endlessly and slowing things down that way
|
||||
profile?
|
||||
a timer that delays processing until typing stops??
|
||||
|
||||
todo: special service rates for contract etc
|
||||
currently just pulls all rates (woitemscheuleduser)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -631,81 +631,6 @@ export default {
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
//,
|
||||
// itemList: function() {
|
||||
// return this.value.items[this.activeWoItemIndex].labors.map((x, i) => {
|
||||
// return {
|
||||
// index: i,
|
||||
// id: x.id,
|
||||
// serviceStartDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
|
||||
// x.serviceStartDate,
|
||||
// this.pvm.timeZoneName,
|
||||
// this.pvm.languageName,
|
||||
// this.pvm.hour12
|
||||
// ),
|
||||
// serviceStopDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
|
||||
// x.serviceStopDate,
|
||||
// this.pvm.timeZoneName,
|
||||
// this.pvm.languageName,
|
||||
// this.pvm.hour12
|
||||
// ),
|
||||
|
||||
// serviceRateQuantity: window.$gz.locale.decimalLocalized(
|
||||
// x.serviceRateQuantity,
|
||||
// this.pvm.languageName
|
||||
// ),
|
||||
// serviceRateViz: x.serviceRateViz,
|
||||
// userViz: x.userViz,
|
||||
// noChargeQuantity: window.$gz.locale.decimalLocalized(
|
||||
// x.noChargeQuantity,
|
||||
// this.pvm.languageName
|
||||
// ),
|
||||
// cost: window.$gz.locale.currencyLocalized(
|
||||
// x.cost,
|
||||
// this.pvm.languageName,
|
||||
// this.pvm.currencyName
|
||||
// ),
|
||||
// listPrice: window.$gz.locale.currencyLocalized(
|
||||
// x.listPrice,
|
||||
// this.pvm.languageName,
|
||||
// this.pvm.currencyName
|
||||
// ),
|
||||
// price: window.$gz.locale.currencyLocalized(
|
||||
// x.price,
|
||||
// this.pvm.languageName,
|
||||
// this.pvm.currencyName
|
||||
// ),
|
||||
// taxName: x.taxName,
|
||||
// taxAPct:
|
||||
// window.$gz.locale.decimalLocalized(
|
||||
// x.taxAPct,
|
||||
// this.pvm.languageName
|
||||
// ) + "%",
|
||||
// taxBPct:
|
||||
// window.$gz.locale.decimalLocalized(
|
||||
// x.taxBPct,
|
||||
// this.pvm.languageName
|
||||
// ) + "%",
|
||||
// taxOnTax: x.taxOnTax,
|
||||
// taxAViz: window.$gz.locale.currencyLocalized(
|
||||
// x.taxAViz,
|
||||
// this.pvm.languageName,
|
||||
// this.pvm.currencyName
|
||||
// ),
|
||||
// taxBViz: window.$gz.locale.currencyLocalized(
|
||||
// x.taxBViz,
|
||||
// this.pvm.languageName,
|
||||
// this.pvm.currencyName
|
||||
// ),
|
||||
// lineTotalViz: window.$gz.locale.currencyLocalized(
|
||||
// x.lineTotalViz,
|
||||
// this.pvm.languageName,
|
||||
// this.pvm.currencyName
|
||||
// ),
|
||||
// serviceDetails: x.serviceDetails
|
||||
// };
|
||||
// });
|
||||
// }
|
||||
},
|
||||
computed: {
|
||||
isDeleted: function() {
|
||||
|
||||
Reference in New Issue
Block a user