This commit is contained in:
2020-11-20 17:48:03 +00:00
parent a3901c2bad
commit 2958363ee9
2 changed files with 29 additions and 4 deletions

View File

@@ -63,6 +63,8 @@ todo: input type email url phone number etc supported on device to activate?
CURRENTLY WORKING ON: Customer CURRENTLY WORKING ON: Customer
OUTSTANDING OUTSTANDING
Seperate addresses more clearly physical vs mail, sectionize them somehow
Copy physical to postal Copy physical to postal
Copy postal to physical Copy postal to physical
autocopy as entering if corresponding field is empty? autocopy as entering if corresponding field is empty?

View File

@@ -414,6 +414,9 @@
</v-tab-item> </v-tab-item>
<v-tab-item class="mt-4"> <v-tab-item class="mt-4">
<v-row> <v-row>
<v-col cols="12">
<h3>{{ $ay.t("AddressTypePhysical") }}</h3>
</v-col>
<v-col <v-col
v-if="form().showMe(this, 'Address')" v-if="form().showMe(this, 'Address')"
cols="12" cols="12"
@@ -531,7 +534,9 @@
:precision="6" :precision="6"
></gz-decimal> ></gz-decimal>
</v-col> </v-col>
<v-col cols="12">
<h3>{{ $ay.t("AddressTypePostal") }}</h3>
</v-col>
<v-col <v-col
v-if="form().showMe(this, 'PostAddress')" v-if="form().showMe(this, 'PostAddress')"
cols="12" cols="12"
@@ -1333,9 +1338,16 @@ function generateMenu(vm) {
}); });
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: "GeoView", title: "AddressCopyToPostal",
icon: "$ayiMapMarked", icon: null,
key: FORM_KEY + ":geoview", key: FORM_KEY + ":addresscopytopostal",
vm: vm
});
menuOptions.menuItems.push({
title: "AddressCopyToPhysical",
icon: null,
key: FORM_KEY + ":addresscopytophysical",
vm: vm vm: vm
}); });
@@ -1350,6 +1362,13 @@ function generateMenu(vm) {
} }
} }
menuOptions.menuItems.push({
title: "GeoView",
icon: "$ayiMapMarked",
key: FORM_KEY + ":geoview",
vm: vm
});
window.$gz.eventBus.$emit("menu-change", menuOptions); window.$gz.eventBus.$emit("menu-change", menuOptions);
} }
@@ -1391,6 +1410,10 @@ async function fetchTranslatedText(vm) {
"CustomerPhone4", "CustomerPhone4",
"CustomerPhone5", "CustomerPhone5",
"CustomerEmail", "CustomerEmail",
"AddressTypePhysical",
"AddressTypePostal",
"AddressCopyToPostal",
"AddressCopyToPhysical",
"Address", "Address",
"AddressPostalDeliveryAddress", "AddressPostalDeliveryAddress",
"AddressPostalCity", "AddressPostalCity",