This commit is contained in:
2022-01-21 23:13:14 +00:00
parent 4a7ccc002a
commit 06f48b52c3
3 changed files with 15 additions and 4 deletions

View File

@@ -848,5 +848,7 @@ BUILD 8.0.0-beta.0.12 CHANGES OF NOTE
- Changed "Scheduleable user notes" to "Service tech notes" in all stock translations - Changed "Scheduleable user notes" to "Service tech notes" in all stock translations
- case 4084 fixed Intl.DateTimeFormat... reference issues in my code, and also see notes on how to fix remaining regular javascript issues for each report - case 4084 fixed Intl.DateTimeFormat... reference issues in my code, and also see notes on how to fix remaining regular javascript issues for each report
- case 4082 no changes see notes - case 4082 no changes see notes
- case 4088 fixed
- case 4089 documented
- TODO: 1 before this release handlebars utilities add to report edit functions https://handlebarsjs.com/api-reference/utilities.html - TODO: 1 before this release handlebars utilities add to report edit functions https://handlebarsjs.com/api-reference/utilities.html

View File

@@ -66,7 +66,7 @@ import chartBarHorizontalControl from "./components/chart-bar-horizontal-control
//DEVELOPMENT MODE //DEVELOPMENT MODE
//THIS SHOULD BE FALSE IN RELEASE //THIS SHOULD BE FALSE IN RELEASE
//************************************************************ //************************************************************
const DEV_MODE = false; const DEV_MODE = true;
//************************************************************ //************************************************************
//************************************************************** //**************************************************************
//************************************************************** //**************************************************************
@@ -107,7 +107,7 @@ window.onerror = errorHandler.handleGeneralError;
//warnings, only occur by default in debug mode not production //warnings, only occur by default in debug mode not production
Vue.config.warnHandler = errorHandler.handleVueWarning; Vue.config.warnHandler = errorHandler.handleVueWarning;
//Vue.config.productionTip = false; Vue.config.productionTip = false;
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
// AJAX LOADER INDICATOR // AJAX LOADER INDICATOR

View File

@@ -376,6 +376,7 @@
</div> </div>
</template> </template>
<script> <script>
/* eslint-disable no-debugger */
const FORM_KEY = "svc-schedule"; const FORM_KEY = "svc-schedule";
import GZDaysOfWeek from "../components/days-of-week-control.vue"; import GZDaysOfWeek from "../components/days-of-week-control.vue";
export default { export default {
@@ -734,6 +735,14 @@ export default {
} else { } else {
//# DAY VIEW CREATE START EVENT //# DAY VIEW CREATE START EVENT
this.createStart = this.roundTime(mouse); this.createStart = this.roundTime(mouse);
let fullcat = null;
let category = null;
if (tms.category) {
fullcat = tms.category;
if (tms.category.name) {
category = tms.category.name;
}
}
this.extendEvent = { this.extendEvent = {
name: "-", name: "-",
color: this.$store.state.darkMode ? "white" : "black", color: this.$store.state.darkMode ? "white" : "black",
@@ -744,8 +753,8 @@ export default {
type: 0, type: 0,
id: 0, id: 0,
editable: true, editable: true,
fullcat: tms.category, fullcat: fullcat,
category: tms.category.name category: category
}; };
this.events.push(this.extendEvent); this.events.push(this.extendEvent);
} }