re-worked default minutes global setting and docs
This commit is contained in:
@@ -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