This commit is contained in:
@@ -492,11 +492,10 @@ export default {
|
|||||||
].taxCodeViz = newName;
|
].taxCodeViz = newName;
|
||||||
},
|
},
|
||||||
newItem() {
|
newItem() {
|
||||||
|
|
||||||
let newIndex = this.value.items[this.activeWoItemIndex].expenses.length;
|
let newIndex = this.value.items[this.activeWoItemIndex].expenses.length;
|
||||||
|
|
||||||
//#################################### IMPORTANT ##################################################
|
//#################################### IMPORTANT ##################################################
|
||||||
//NOTE: default values are critical and must match server validation ExpenseValidateAsync for restricted users
|
//NOTE: default values are critical and must match server validation ExpenseValidateAsync for restricted users
|
||||||
//so that they are in agreement otherwise restricted users will never be able to create new records
|
//so that they are in agreement otherwise restricted users will never be able to create new records
|
||||||
|
|
||||||
this.value.items[this.activeWoItemIndex].expenses.push({
|
this.value.items[this.activeWoItemIndex].expenses.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user