This commit is contained in:
@@ -14,22 +14,9 @@ todo: v8 MIGRATE do not export empty strings, do null instead
|
||||
confirm whatever method I use works for certain
|
||||
|
||||
|
||||
todo: dumb idea: have all date fields in grid display a color based on their relative age
|
||||
unless already a color column
|
||||
past = grayer and grayer to a max value
|
||||
future = shades of blue or something to a max value beyond a year are all violet or something, under a year future are shades of blue?
|
||||
Or even just past dates one color future dates another color
|
||||
or within a month one shade and mooe than a month another shade?
|
||||
Negative numbers red?
|
||||
just a subtle visual cue
|
||||
|
||||
todo: investigate if a picklist control can implement a feature to select *all* items it returns
|
||||
this came up when looking at Reminder, in v7b could select a zone and send to all, would be nice if could search for zone tag then just select all those users
|
||||
this would make it an actual substitute for the old ways of picking things by a group of some kind
|
||||
if don't do this then need to manually click each selection to include it
|
||||
|
||||
todo: All biz objects getasync should be notracking?
|
||||
or would thast fuck up internal ops like batch jobs or duplicate?
|
||||
|
||||
todo: db consistency check should also check for the stored procedures / functions as they are critical
|
||||
|
||||
todo: AyaFormFieldDefinitions looking a little suspect now as it gets huge.
|
||||
|
||||
@@ -227,6 +227,19 @@ export default {
|
||||
});
|
||||
}
|
||||
},
|
||||
///////////////////////////////////////////////
|
||||
// Date/time past or future evaluation
|
||||
//
|
||||
dateIsPast(value) {
|
||||
if (!value) {
|
||||
return false;
|
||||
}
|
||||
if (value == "") {
|
||||
return false;
|
||||
}
|
||||
|
||||
return new Date(value) < new Date();
|
||||
},
|
||||
///////////////////////////////////////////
|
||||
// Turn a decimal number into a local
|
||||
// currency display
|
||||
|
||||
@@ -772,6 +772,9 @@ function buildRecords(listData, columndefinitions) {
|
||||
languageName,
|
||||
hour12
|
||||
);
|
||||
if (!window.$gz.locale.dateIsPast(column.v)) {
|
||||
cstStyle = { "font-weight": "bold" }; //warning, don't put a semicolon after the style or it will not work
|
||||
}
|
||||
break;
|
||||
case 2: //date only
|
||||
display = window.$gz.locale.utcDateToShortDateLocalized(
|
||||
|
||||
Reference in New Issue
Block a user