re-worked default minutes global setting and docs

This commit is contained in:
2022-01-21 20:54:30 +00:00
parent 63b79ac353
commit 4a7ccc002a
10 changed files with 10 additions and 9 deletions

View File

@@ -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[

View File

@@ -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[

View File

@@ -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[

View File

@@ -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[

View File

@@ -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[

View File

@@ -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[

View File

@@ -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[

View File

@@ -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[

View File

@@ -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[