diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 078b4ae7..6faffe4b 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -9,7 +9,10 @@ todo: Uifielddatatype Phone and TimeSpan support at client, translation keys etc gz-data-table.vue ay-data-list-view.vue +todo: input type email url phone number etc supported on device to activate? + if not, it must be supported somehow so figure it out + NEXT UP: Customer diff --git a/ayanova/src/views/cust-customer.vue b/ayanova/src/views/cust-customer.vue index 388cf4a8..36060e10 100644 --- a/ayanova/src/views/cust-customer.vue +++ b/ayanova/src/views/cust-customer.vue @@ -23,94 +23,7 @@ @input="fieldValueChanged('name')" > - - - - - - - - - - - - - - - - - - + :label="$ay.t('CustomerAccountNumber')" + ref="accountNumber" + data-cy="accountNumber" + > - + :label="$ay.t('CustomerEmail')" + ref="emailAddress" + data-cy="emailAddress" + type="email" + > + + + + + + + + + + + + + + + + + + + + @@ -777,32 +771,51 @@ async function initForm(vm) { // async function fetchTranslatedText(vm) { await window.$gz.translation.cacheTranslations([ - "Customer", - "WidgetName", - "WidgetSerial", - "WidgetDollarAmount", - "WidgetCount", - "User", - "UserType", - "WidgetStartDate", - "WidgetEndDate", - "WidgetNotes", - "WidgetCustom1", - "WidgetCustom2", - "WidgetCustom3", - "WidgetCustom4", - "WidgetCustom5", - "WidgetCustom6", - "WidgetCustom7", - "WidgetCustom8", - "WidgetCustom9", - "WidgetCustom10", - "WidgetCustom11", - "WidgetCustom12", - "WidgetCustom13", - "WidgetCustom14", - "WidgetCustom15", - "WidgetCustom16" + "CustomerName", + "CustomerNotes", + "WebAddress", + "CustomerPopUpNotes", + "CustomerBillHeadOffice", + "HeadOffice", + "CustomerTechNotes", + "CustomerAccountNumber", + "UsesBanking", + "Contract", + "ContractExpires", + "WorkOrderTemplate", + "CustomerPhone1", + "CustomerPhone2", + "CustomerPhone3", + "CustomerPhone4", + "CustomerPhone5", + "CustomerEmail", + "AddressPostalDeliveryAddress", + "AddressPostalCity", + "AddressPostalStateProv", + "AddressPostalCountry", + "AddressPostalPostal", + "AddressDeliveryAddress", + "AddressCity", + "AddressStateProv", + "AddressCountry", + "AddressLatitude", + "AddressLongitude", + "CustomerCustom1", + "CustomerCustom2", + "CustomerCustom3", + "CustomerCustom4", + "CustomerCustom5", + "CustomerCustom6", + "CustomerCustom7", + "CustomerCustom8", + "CustomerCustom9", + "CustomerCustom10", + "CustomerCustom11", + "CustomerCustom12", + "CustomerCustom13", + "CustomerCustom14", + "CustomerCustom15", + "CustomerCustom16" ]); }