This commit is contained in:
@@ -540,7 +540,8 @@ export default {
|
||||
serviceDetails: null,
|
||||
serviceRateQuantity: 0,
|
||||
noChargeQuantity: 0,
|
||||
taxCodeSaleId: null,
|
||||
taxCodeSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxRateSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
isDirty: true,
|
||||
|
||||
@@ -493,7 +493,7 @@ export default {
|
||||
outDate: null,
|
||||
dueDate: null,
|
||||
returnDate: null,
|
||||
taxCodeId: null,
|
||||
taxCodeId: window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
|
||||
loanUnitId: 0, //zero to break rule on new
|
||||
quantity: 1,
|
||||
rate: 1,
|
||||
|
||||
@@ -614,7 +614,8 @@ export default {
|
||||
partId: z.partId,
|
||||
partWarehouseId: this.selectedPartWarehouse,
|
||||
quantity: z.quantity,
|
||||
taxPartSaleId: null,
|
||||
taxPartSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
cost: 0,
|
||||
@@ -723,7 +724,8 @@ export default {
|
||||
partId: 0, //deliberately zero to break rule on new
|
||||
partWarehouseId: 1, //important always default to "default" warehouse id 1 as even with inventory turned off it's required
|
||||
quantity: 1,
|
||||
taxPartSaleId: null,
|
||||
taxPartSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
cost: 0,
|
||||
|
||||
@@ -383,7 +383,8 @@ export default {
|
||||
serviceDetails: null,
|
||||
serviceRateQuantity: s.estimatedQuantity,
|
||||
noChargeQuantity: 0,
|
||||
taxCodeSaleId: null,
|
||||
taxCodeSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxRateSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
isDirty: true,
|
||||
|
||||
@@ -553,7 +553,8 @@ export default {
|
||||
: null,
|
||||
travelStartDate: null,
|
||||
travelStopDate: null,
|
||||
travelRateId: null,
|
||||
travelRateId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxRateSaleId,
|
||||
travelDetails: null,
|
||||
travelRateQuantity: 0,
|
||||
noChargeQuantity: 0,
|
||||
|
||||
@@ -540,7 +540,8 @@ export default {
|
||||
serviceDetails: null,
|
||||
serviceRateQuantity: 0,
|
||||
noChargeQuantity: 0,
|
||||
taxCodeSaleId: null,
|
||||
taxCodeSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxRateSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
isDirty: true,
|
||||
|
||||
@@ -493,7 +493,7 @@ export default {
|
||||
outDate: null,
|
||||
dueDate: null,
|
||||
returnDate: null,
|
||||
taxCodeId: null,
|
||||
taxCodeId: window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
|
||||
loanUnitId: 0, //zero to break rule on new
|
||||
quantity: 1,
|
||||
rate: 1,
|
||||
|
||||
@@ -614,7 +614,8 @@ export default {
|
||||
partId: z.partId,
|
||||
partWarehouseId: this.selectedPartWarehouse,
|
||||
quantity: z.quantity,
|
||||
taxPartSaleId: null,
|
||||
taxPartSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
cost: 0,
|
||||
@@ -723,7 +724,8 @@ export default {
|
||||
partId: 0, //deliberately zero to break rule on new
|
||||
partWarehouseId: 1, //important always default to "default" warehouse id 1 as even with inventory turned off it's required
|
||||
quantity: 1,
|
||||
taxPartSaleId: null,
|
||||
taxPartSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
cost: 0,
|
||||
|
||||
@@ -383,7 +383,8 @@ export default {
|
||||
serviceDetails: null,
|
||||
serviceRateQuantity: s.estimatedQuantity,
|
||||
noChargeQuantity: 0,
|
||||
taxCodeSaleId: null,
|
||||
taxCodeSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxRateSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
isDirty: true,
|
||||
|
||||
@@ -553,7 +553,8 @@ export default {
|
||||
: null,
|
||||
travelStartDate: null,
|
||||
travelStopDate: null,
|
||||
travelRateId: null,
|
||||
travelRateId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxRateSaleId,
|
||||
travelDetails: null,
|
||||
travelRateQuantity: 0,
|
||||
noChargeQuantity: 0,
|
||||
|
||||
@@ -540,7 +540,8 @@ export default {
|
||||
serviceDetails: null,
|
||||
serviceRateQuantity: 0,
|
||||
noChargeQuantity: 0,
|
||||
taxCodeSaleId: null,
|
||||
taxCodeSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxRateSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
isDirty: true,
|
||||
|
||||
@@ -497,7 +497,7 @@ export default {
|
||||
outDate: null,
|
||||
dueDate: null,
|
||||
returnDate: null,
|
||||
taxCodeId: null,
|
||||
taxCodeId: window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
|
||||
loanUnitId: 0, //zero to break rule on new
|
||||
quantity: 1,
|
||||
rate: 1,
|
||||
|
||||
@@ -688,7 +688,7 @@ export default {
|
||||
sentDate: window.$gz.locale.nowUTC8601String(),
|
||||
etaDate: null,
|
||||
returnDate: null,
|
||||
taxCodeId: null,
|
||||
taxCodeId: null, //Is it labor or parts tax code? wasn't in v7 leaving empty for now
|
||||
isDirty: true,
|
||||
workOrderItemId: this.value.items[this.activeWoItemIndex].id,
|
||||
uid: Date.now(),
|
||||
|
||||
@@ -614,7 +614,8 @@ export default {
|
||||
partId: z.partId,
|
||||
partWarehouseId: this.selectedPartWarehouse,
|
||||
quantity: z.quantity,
|
||||
taxPartSaleId: null,
|
||||
taxPartSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
cost: 0,
|
||||
@@ -723,7 +724,8 @@ export default {
|
||||
partId: 0, //deliberately zero to break rule on new
|
||||
partWarehouseId: 1, //important always default to "default" warehouse id 1 as even with inventory turned off it's required
|
||||
quantity: 1,
|
||||
taxPartSaleId: null,
|
||||
taxPartSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxPartSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
cost: 0,
|
||||
|
||||
@@ -383,7 +383,8 @@ export default {
|
||||
serviceDetails: null,
|
||||
serviceRateQuantity: s.estimatedQuantity,
|
||||
noChargeQuantity: 0,
|
||||
taxCodeSaleId: null,
|
||||
taxCodeSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxRateSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
isDirty: true,
|
||||
|
||||
@@ -559,7 +559,8 @@ export default {
|
||||
travelDetails: null,
|
||||
travelRateQuantity: 0,
|
||||
noChargeQuantity: 0,
|
||||
taxCodeSaleId: null,
|
||||
taxCodeSaleId:
|
||||
window.$gz.store.state.globalSettings.defaultTaxRateSaleId,
|
||||
price: 0,
|
||||
priceOverride: null,
|
||||
isDirty: true,
|
||||
|
||||
Reference in New Issue
Block a user