CHECKPOINT COMMIT - POST SERVICE BANK REMOVAL
Service bank feature removed from front, back and e2e testing mostly commented out in case need to add back again but in some places such as db schema it had to be removed entirely so refer here if adding back in again
This commit is contained in:
@@ -276,7 +276,7 @@
|
||||
></gz-date-time-picker>
|
||||
</v-col>
|
||||
|
||||
<v-col
|
||||
<!-- <v-col
|
||||
v-if="form().showMe(this, 'UsesBanking')"
|
||||
cols="12"
|
||||
sm="6"
|
||||
@@ -304,7 +304,7 @@
|
||||
>
|
||||
</template>
|
||||
</v-checkbox>
|
||||
</v-col>
|
||||
</v-col> -->
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-checkbox
|
||||
v-model="obj.active"
|
||||
@@ -836,7 +836,7 @@ export default {
|
||||
headOfficeId: null,
|
||||
techNotes: null,
|
||||
accountNumber: null,
|
||||
usesBanking: false,
|
||||
//usesBanking: false,
|
||||
contractId: null,
|
||||
contractExpires: null,
|
||||
defaultServiceTemplateId: null,
|
||||
@@ -916,22 +916,22 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
canOpenServiceBank: function() {
|
||||
return this.obj.usesBanking == true && this.$route.params.recordid != 0;
|
||||
},
|
||||
openServiceBank: function() {
|
||||
if (this.canOpenServiceBank()) {
|
||||
this.$router.push({
|
||||
name: "service-banks",
|
||||
params: {
|
||||
aType: window.$gz.type.Customer,
|
||||
objectId: this.$route.params.recordid,
|
||||
viz: this.obj.name,
|
||||
icon: "$ayiAddressCard"
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
// canOpenServiceBank: function() {
|
||||
// return this.obj.usesBanking == true && this.$route.params.recordid != 0;
|
||||
// },
|
||||
// openServiceBank: function() {
|
||||
// if (this.canOpenServiceBank()) {
|
||||
// this.$router.push({
|
||||
// name: "service-banks",
|
||||
// params: {
|
||||
// aType: window.$gz.type.Customer,
|
||||
// objectId: this.$route.params.recordid,
|
||||
// viz: this.obj.name,
|
||||
// icon: "$ayiAddressCard"
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
// },
|
||||
canSave: function() {
|
||||
return this.formState.valid && this.formState.dirty;
|
||||
},
|
||||
@@ -1577,7 +1577,7 @@ async function fetchTranslatedText(vm) {
|
||||
"HeadOffice",
|
||||
"CustomerTechNotes",
|
||||
"CustomerAccountNumber",
|
||||
"UsesBanking",
|
||||
//"UsesBanking",
|
||||
"Contract",
|
||||
"ContractExpires",
|
||||
"WorkOrderTemplate",
|
||||
|
||||
Reference in New Issue
Block a user