This commit is contained in:
2021-08-10 18:49:11 +00:00
parent 9e8e4dbecd
commit dc15ccaee5
3 changed files with 37 additions and 25 deletions

View File

@@ -11,7 +11,7 @@
Aug
migrate workorders
migrate quotes
migrate pm
Misc "blizzard"
@@ -75,11 +75,6 @@ note: Inventory Migration plan
todo:1 IMPORT workorders FROM V7 needs to be coded once the cases are completed so it can be tested thoroughly and ongoing
note that v7 wostatus needs to be dual imported into both new wostate and new woitemstatus separately
todo: Joyce suggested making it optional to have the import-v7 tag TAGWITH BELOW SOLVES THIS ISSUE
think it over and the pros and cons of having it, maybe some notes are there on it
I might have been thinking it's a quick way to mass delete any old stuff no longer wanted in the new version for users
or maybe to know an item was imported in case of support maybe or issue?
todo:1 Add a "tag with" field that defaults to v7-import in the migrator UI selections so that users can set what they want or clear it entirely
todo: Import pm switched to negative generate day of week collection from v7 single chosen dow so flip that on import and block out all days but the selected day and they can adjust if they wish
@@ -515,7 +510,17 @@ todo:2 many biz objects are not using new PUT methodology
########################################################################################################################
CURRENTLY DOING:
CURRENTLY DOING: Import workorders v8 migrate
todo:
Custom field export time value is off though date is accurate
v8migrate sb wait cursor on initial login in case can't reach server so it's obvious it's running
signature convert
"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNTUyIDEyMCIgd2lkdGg9IjU1MiIgaGVpZ2h0PSIxMjAiPjxwYXRoIGQ9Ik0gNzkuNDAwLDE1LjMwMCBDIDgyLjIzNiwxNy4zMjYgODIuNDAwLDE2LjgwMCA4NS40MDAsMTguMzAwIiBzdHJva2Utd2lkdGg9IjUuNTI1IiBzdHJva2U9InJnYigwLCAwLCAwKSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTSA4NS40MDAsMTguMzAwIEMgODguODg0LDE5LjAzMCA4OC43MzYsMTkuMzI2IDkyLjQwMCwxOS4zMDAiIHN0cm9rZS13a…2U9InJnYigwLCAwLCAwKSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTSA1MTAuNDAwLDkxLjMwMCBDIDUxMy43MjUsOTMuNzY5IDUxMy40NDgsOTMuODQwIDUxNy40MDAsOTUuMzAwIiBzdHJva2Utd2lkdGg9IjQuODg4IiBzdHJva2U9InJnYigwLCAwLCAwKSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTSA1MTcuNDAwLDk1LjMwMCBDIDUxOS44NzAsOTYuMTA1IDUxOS43MjUsOTYuMjY5IDUyMi40MDAsOTYuMzAwIiBzdHJva2Utd2lkdGg9IjUuMTIxIiBzdHJva2U9InJnYigwLCAwLCAwKSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L3BhdGg+PC9zdmc+"
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 552 120" width="552" height="120"><path d="M 79.400,15.300 C 82.236,17.326 82.400,16.800 85.400,18.300" stroke-width="5.525" stroke="rgb(0, 0, 0)" fill="none" stroke-linecap="round"></path><path d="M 85.400,18.300 C 88.884,19.030 88.736,19.326 92.400,19.300" stroke-wke="rgb(0, 0, 0)" fill="none" stroke-linecap="round"></path><path d="M 510.400,91.300 C 513.725,93.769 513.448,93.840 517.400,95.300" stroke-width="4.888" stroke="rgb(0, 0, 0)" fill="none" stroke-linecap="round"></path><path d="M 517.400,95.300 C 519.870,96.105 519.725,96.269 522.400,96.300" stroke-width="5.121" stroke="rgb(0, 0, 0)" fill="none" stroke-linecap="round"></path></svg>
============================
@@ -854,5 +859,9 @@ BUILD 118
filters the loan item picklist so that only available items can be selected
Made it a default column in loan item datalist to show which workorder id it's currently loaned out to
existing menu item in workorderitemloan edit form is available to see all workorder items this loaner was selected on
- v8 migrate
Made the v7-import tag an optional field users can set to anything or nothing (still want to keep the ability because many users may find it useful to be able to know which objects were imported or for mass deletion)
Workorder export implemented

View File

@@ -659,22 +659,25 @@ export default {
// is string replacement for lodash
// https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#_isString
//
isString: function(str) {
//modified from above, due to bug (I think)
//posted case here: https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore/issues/304
if (str == null) {
return false;
}
// isString: function(str) {
// //modified from above, due to bug (I think)
// //posted case here: https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore/issues/304
// if (str == null) {
// return false;
// }
if (str == "") {
return true;
}
let temp = str.valueOf();
if (typeof temp === "string") {
return true;
} else {
return false;
}
// if (str == "") {//another bug, if numeric this is true?! Using recommended method below
// return true;
// }
// let temp = str.valueOf();
// if (typeof temp === "string") {
// return true;
// } else {
// return false;
// }
// },
isString: function(str) {
return str != null && typeof str.valueOf() === "string";
},
///////////////////////////////////////////////
//

View File

@@ -164,13 +164,13 @@ export default {
save() {
let svg = this.$refs.sigCtrl.save("image/svg+xml");
if (this.$refs.sigCtrl.isEmpty()) {
console.log("IS EMPTY");
//console.log("IS EMPTY");
svg = null;
}
this.setSig(svg);
this.setCaptured(window.$gz.locale.nowUTC8601String());
this.setName(this.tempName);
console.log("SVG size IS ", svg == null ? 0 : svg.length);
//console.log("SVG size IS ", svg == null ? 0 : svg.length);
this.value.isDirty = true;
this.pvm.formState.dirty = true;