This commit is contained in:
2020-11-14 00:58:43 +00:00
parent f0a64aad8c
commit 17f20d5d2e
5 changed files with 78 additions and 7 deletions

View File

@@ -415,6 +415,68 @@
></gz-pick-list>
</v-col>
<v-col
v-if="form().showMe(this, 'BillHeadOffice')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-checkbox
v-model="obj.billHeadOffice"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('CustomerBillHeadOffice')"
ref="billHeadOffice"
data-cy="billHeadOffice"
:error-messages="form().serverErrors(this, 'billHeadOffice')"
@change="fieldValueChanged('billHeadOffice')"
></v-checkbox>
</v-col>
<v-col
v-if="form().showMe(this, 'HeadOfficeID')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<gz-pick-list
:ayaType="ayaTypes().HeadOffice"
:showEditIcon="true"
v-model="obj.headOfficeID"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('HeadOffice')"
ref="headOfficeID"
data-cy="headOfficeID"
:error-messages="form().serverErrors(this, 'headOfficeID')"
@input="fieldValueChanged('headOfficeID')"
></gz-pick-list>
</v-col>
<v-col
v-if="form().showMe(this, 'ContractID')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<gz-pick-list
:ayaType="ayaTypes().Contract"
:showEditIcon="true"
v-model="obj.contractID"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('Contract')"
ref="contractID"
data-cy="contractID"
:error-messages="form().serverErrors(this, 'contractID')"
@input="fieldValueChanged('contractID')"
></gz-pick-list>
</v-col>
<!-- --------------------------------- -->
<v-col v-if="form().showMe(this, 'Notes')" cols="12">
<v-textarea
v-model="obj.notes"

View File

@@ -172,7 +172,8 @@ export default {
mapUrls: [
{
name: "Apple",
value: "http://maps.apple.com/?q={ayaddress}<|>http://maps.apple.com/?ll={aylatitude},{aylongitude}"
value:
"http://maps.apple.com/?q={ayaddress}<|>http://maps.apple.com/?ll={aylatitude},{aylongitude}"
},
{
name: "Bing",