This commit is contained in:
2021-03-07 22:57:22 +00:00
parent b292c3e134
commit f86f6a1f64
2 changed files with 38 additions and 0 deletions

View File

@@ -97,6 +97,25 @@
@input="fieldValueChanged('unit')"
></v-text-field>
</v-col>
<v-col
v-if="form().showMe(this, 'ContractOnly')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-checkbox
v-model="obj.contractOnly"
:readonly="formState.readOnly"
:label="$ay.t('RateContractRate')"
ref="contractOnly"
data-cy="contractOnly"
:error-messages="form().serverErrors(this, 'contractOnly')"
@change="fieldValueChanged('contractOnly')"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="obj.active"
@@ -689,6 +708,7 @@ async function fetchTranslatedText(vm) {
"Cost",
"RateCharge",
"RateUnitChargeDescriptionID",
"RateContractRate",
"ServiceRateCustom1",
"ServiceRateCustom2",
"ServiceRateCustom3",

View File

@@ -97,6 +97,23 @@
@input="fieldValueChanged('unit')"
></v-text-field>
</v-col>
<v-col
v-if="form().showMe(this, 'ContractOnly')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-checkbox
v-model="obj.contractOnly"
:readonly="formState.readOnly"
:label="$ay.t('RateContractRate')"
ref="contractOnly"
data-cy="contractOnly"
:error-messages="form().serverErrors(this, 'contractOnly')"
@change="fieldValueChanged('contractOnly')"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="obj.active"
@@ -689,6 +706,7 @@ async function fetchTranslatedText(vm) {
"Cost",
"RateCharge",
"RateUnitChargeDescriptionID",
"RateContractRate",
"TravelRateCustom1",
"TravelRateCustom2",
"TravelRateCustom3",