re-worked default minutes global setting and docs
This commit is contained in:
@@ -847,5 +847,6 @@ BUILD 8.0.0-beta.0.12 CHANGES OF NOTE
|
||||
- Client error log changed first column from epoch timestamp to local time instead so easier to troubleshoot with users as it's their own time and date easily readable
|
||||
- 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 4082 no changes see notes
|
||||
|
||||
- TODO: 1 before this release handlebars utilities add to report edit functions https://handlebarsjs.com/api-reference/utilities.html
|
||||
@@ -908,7 +908,7 @@ export default {
|
||||
const globalMinutes =
|
||||
window.$gz.store.state.globalSettings.workLaborScheduleDefaultMinutes;
|
||||
|
||||
if (isNew && dStop == null) {
|
||||
if (isNew) {
|
||||
if (globalMinutes != 0) {
|
||||
//set stop date based on start date and global minutes
|
||||
this.value.items[this.activeWoItemIndex].labors[
|
||||
|
||||
@@ -623,7 +623,7 @@ export default {
|
||||
const globalMinutes =
|
||||
window.$gz.store.state.globalSettings.workLaborScheduleDefaultMinutes;
|
||||
|
||||
if (isNew && dStop == null) {
|
||||
if (isNew) {
|
||||
if (globalMinutes != 0) {
|
||||
//set stop date based on start date and global minutes
|
||||
this.value.items[this.activeWoItemIndex].scheduledUsers[
|
||||
|
||||
@@ -939,7 +939,7 @@ export default {
|
||||
const globalMinutes =
|
||||
window.$gz.store.state.globalSettings.workOrderTravelDefaultMinutes;
|
||||
|
||||
if (isNew && dStop == null) {
|
||||
if (isNew) {
|
||||
if (globalMinutes != 0) {
|
||||
//set stop date based on start date and global minutes
|
||||
this.value.items[this.activeWoItemIndex].travels[
|
||||
|
||||
@@ -909,7 +909,7 @@ export default {
|
||||
const globalMinutes =
|
||||
window.$gz.store.state.globalSettings.workLaborScheduleDefaultMinutes;
|
||||
|
||||
if (isNew && dStop == null) {
|
||||
if (isNew) {
|
||||
if (globalMinutes != 0) {
|
||||
//set stop date based on start date and global minutes
|
||||
this.value.items[this.activeWoItemIndex].labors[
|
||||
|
||||
@@ -623,7 +623,7 @@ export default {
|
||||
const globalMinutes =
|
||||
window.$gz.store.state.globalSettings.workLaborScheduleDefaultMinutes;
|
||||
|
||||
if (isNew && dStop == null) {
|
||||
if (isNew) {
|
||||
if (globalMinutes != 0) {
|
||||
//set stop date based on start date and global minutes
|
||||
this.value.items[this.activeWoItemIndex].scheduledUsers[
|
||||
|
||||
@@ -939,7 +939,7 @@ export default {
|
||||
const globalMinutes =
|
||||
window.$gz.store.state.globalSettings.workOrderTravelDefaultMinutes;
|
||||
|
||||
if (isNew && dStop == null) {
|
||||
if (isNew) {
|
||||
if (globalMinutes != 0) {
|
||||
//set stop date based on start date and global minutes
|
||||
this.value.items[this.activeWoItemIndex].travels[
|
||||
|
||||
@@ -909,7 +909,7 @@ export default {
|
||||
const globalMinutes =
|
||||
window.$gz.store.state.globalSettings.workLaborScheduleDefaultMinutes;
|
||||
|
||||
if (isNew && dStop == null) {
|
||||
if (isNew) {
|
||||
if (globalMinutes != 0) {
|
||||
//set stop date based on start date and global minutes
|
||||
this.value.items[this.activeWoItemIndex].labors[
|
||||
|
||||
@@ -623,7 +623,7 @@ export default {
|
||||
const globalMinutes =
|
||||
window.$gz.store.state.globalSettings.workLaborScheduleDefaultMinutes;
|
||||
|
||||
if (isNew && dStop == null) {
|
||||
if (isNew) {
|
||||
if (globalMinutes != 0) {
|
||||
//set stop date based on start date and global minutes
|
||||
this.value.items[this.activeWoItemIndex].scheduledUsers[
|
||||
|
||||
@@ -942,7 +942,7 @@ export default {
|
||||
const globalMinutes =
|
||||
window.$gz.store.state.globalSettings.workOrderTravelDefaultMinutes;
|
||||
|
||||
if (isNew && dStop == null) {
|
||||
if (isNew) {
|
||||
if (globalMinutes != 0) {
|
||||
//set stop date based on start date and global minutes
|
||||
this.value.items[this.activeWoItemIndex].travels[
|
||||
|
||||
Reference in New Issue
Block a user