This commit is contained in:
2021-03-07 15:47:44 +00:00
parent 164eb960e1
commit 53ed29d9df
3 changed files with 10 additions and 9 deletions

View File

@@ -35,10 +35,9 @@ MISC ITEMS THAT CAME UP
todo: BUGBUG delete all tags from customer, go back in and zone2 appears for some reason
todo: percentage control
Not actually that complex, just shows percentage but when in edit mode is decimal
copy decimal control and convert into pctg.
then replace decimal controls in acc-tax-code and svc-contract with it
todo: v8migrate tax codes convert to pct currently wrongly using fractional value (i.e. multiply by 100)
todo: NOT import PO's unless they are current, active and unreceived
todo: erase database should reset all id values if they aren't reset already so that future data doesn't result in a new PO starting at 29000 due to huge db trial seed prior

View File

@@ -25,7 +25,7 @@
lg="4"
xl="3"
>
<gz-decimal
<gz-percent
v-model="obj.taxAPct"
:readonly="formState.readOnly"
:label="$ay.t('TaxCodeTaxA')"
@@ -37,7 +37,7 @@
]"
:error-messages="form().serverErrors(this, 'taxAPct')"
@input="fieldValueChanged('taxAPct')"
></gz-decimal>
></gz-percent>
</v-col>
<v-col
@@ -47,7 +47,7 @@
lg="4"
xl="3"
>
<gz-decimal
<gz-percent
v-model="obj.taxBPct"
:readonly="formState.readOnly"
:label="$ay.t('TaxCodeTaxB')"
@@ -59,7 +59,7 @@
]"
:error-messages="form().serverErrors(this, 'taxBPct')"
@input="fieldValueChanged('taxBPct')"
></gz-decimal>
></gz-percent>
</v-col>
<v-col

View File

@@ -49,7 +49,9 @@
form().decimalValid(this, 'partsOverridePct'),
form().required(this, 'partsOverridePct')
]"
:error-messages="form().serverErrors(this, 'partsOverridePct')"
:error-messages="
form().serverErrors(this, 'partsOverridePct')
"
@input="fieldValueChanged('partsOverridePct')"
></gz-percent>
</v-col>