diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index bd0008b3..fe45620d 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -6,6 +6,16 @@ MISC ITEMS THAT CAME UP + +todo: datatable numbers + currency and possibly other numbers should center justify in their columns or left or whatever it takes to not look so weird but still be comparable / lined up or whatever + OR + Maybe it's the column header itself that should be moved + + + + + todo: NEXT DEPLOY TO DEVOPS attach a photo from phone, no error just does nothing worked here locally latest build retest on server after next deploy diff --git a/ayanova/src/api/open-object-handler.js b/ayanova/src/api/open-object-handler.js index 9c135e64..ecdf77bb 100644 --- a/ayanova/src/api/open-object-handler.js +++ b/ayanova/src/api/open-object-handler.js @@ -195,6 +195,18 @@ export default { params: { recordid: tid.id } }); break; + case ayatype.ServiceRate: + vm.$router.push({ + name: "service-rate-edit", + params: { recordid: tid.id } + }); + break; + case ayatype.TravelRate: + vm.$router.push({ + name: "travel-rate-edit", + params: { recordid: tid.id } + }); + break; default: window.$gz.eventBus.$emit( diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index f8dd0d4d..4bd5c33d 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -168,7 +168,8 @@ export default { "Inventory", "Accounting", "TaxCodeList", - "RateList", + "ServiceRateList", + "TravelRateList", "Administration", "Operations", "Attachments", diff --git a/ayanova/src/views/acc-service-rate.vue b/ayanova/src/views/acc-service-rate.vue new file mode 100644 index 00000000..ac2f1d82 --- /dev/null +++ b/ayanova/src/views/acc-service-rate.vue @@ -0,0 +1,720 @@ + + + diff --git a/ayanova/src/views/acc-service-rates.vue b/ayanova/src/views/acc-service-rates.vue new file mode 100644 index 00000000..a6bda86d --- /dev/null +++ b/ayanova/src/views/acc-service-rates.vue @@ -0,0 +1,175 @@ + + + diff --git a/ayanova/src/views/acc-tax-code.vue b/ayanova/src/views/acc-tax-code.vue new file mode 100644 index 00000000..4f3f9bf9 --- /dev/null +++ b/ayanova/src/views/acc-tax-code.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/acc-tax-codes.vue b/ayanova/src/views/acc-tax-codes.vue new file mode 100644 index 00000000..4f3f9bf9 --- /dev/null +++ b/ayanova/src/views/acc-tax-codes.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/acc-travel-rate.vue b/ayanova/src/views/acc-travel-rate.vue new file mode 100644 index 00000000..e4cce60f --- /dev/null +++ b/ayanova/src/views/acc-travel-rate.vue @@ -0,0 +1,720 @@ + + + diff --git a/ayanova/src/views/acc-travel-rates.vue b/ayanova/src/views/acc-travel-rates.vue new file mode 100644 index 00000000..bb6b02d9 --- /dev/null +++ b/ayanova/src/views/acc-travel-rates.vue @@ -0,0 +1,175 @@ + + + diff --git a/ayanova/src/views/svc-project.vue b/ayanova/src/views/svc-project.vue index a0df2984..ebfed634 100644 --- a/ayanova/src/views/svc-project.vue +++ b/ayanova/src/views/svc-project.vue @@ -520,87 +520,7 @@ export default { loading: false }); } - }, - - AddressCopyToPostal() { - let vm = this; - vm.obj.postAddress = vm.obj.address; - vm.obj.postCity = vm.obj.city; - vm.obj.postRegion = vm.obj.region; - vm.obj.postCountry = vm.obj.country; - }, - AddressCopyToPhysical() { - let vm = this; - vm.obj.address = vm.obj.postAddress; - vm.obj.city = vm.obj.postCity; - vm.obj.region = vm.obj.postRegion; - vm.obj.country = vm.obj.postCountry; - }, - AddressCopyPhysicalToClipBoard() { - let vm = this; - let ret = ""; - if (vm.obj.name) { - ret += vm.obj.name + "\n"; - } - if (vm.obj.address) { - ret += vm.obj.address + "\n"; - } - - if (vm.obj.city) { - ret += vm.obj.city + " "; - } - - if (vm.obj.region) { - ret += vm.obj.region + " "; - } - - if (vm.obj.country) { - ret += vm.obj.country + "\n"; - } - window.$gz.util.copyToClipboard(ret); - }, - AddressCopyPostalToClipBoard() { - let vm = this; - let ret = ""; - if (vm.obj.name) { - ret += vm.obj.name + "\n"; - } - if (vm.obj.postAddress) { - ret += vm.obj.postAddress + "\n"; - } - - if (vm.obj.postCity) { - ret += vm.obj.postCity + " "; - } - - if (vm.obj.postRegion) { - ret += vm.obj.postRegion + " "; - } - - if (vm.obj.postCode) { - //Postal codes should have two spaces before them according to regs. - ret += " " + vm.obj.postCode + "\n"; - } - - if (vm.obj.postCountry) { - ret += vm.obj.postCountry + "\n"; - } - window.$gz.util.copyToClipboard(ret); - }, - async GeoCapture() { - let vm = this; - try { - window.$gz.form.deleteAllErrorBoxErrors(vm); - let loc = await window.$gz.util.getGeoLocation(); - vm.obj.latitude = loc.latitude; - vm.fieldValueChanged("latitude"); - vm.obj.longitude = loc.longitude; - vm.fieldValueChanged("longitude"); - } catch (ex) { - window.$gz.errorHandler.handleFormError(ex, vm); - } } - //end methods } }; @@ -661,17 +581,6 @@ async function clickHandler(menuItem) { } break; - case "geoview": - window.$gz.util.viewGeoLocation({ - latitude: m.vm.obj.latitude, - longitude: m.vm.obj.longitude, - address: m.vm.obj.address || m.vm.obj.postAddress, - city: m.vm.obj.city || m.vm.obj.postCity, - region: m.vm.obj.region || m.vm.obj.postRegion, - country: m.vm.obj.country || m.vm.obj.postCountry, - postCode: m.vm.obj.postCode - }); - break; default: window.$gz.eventBus.$emit( "notify-warning",