2502-supplier_summary + e2e #425
|
@ -35,7 +35,7 @@ export default class Controller extends Section {
|
||||||
|
|
||||||
const $t = this.$translate.instant;
|
const $t = this.$translate.instant;
|
||||||
const filter = encodeURIComponent(JSON.stringify(filterObj));
|
const filter = encodeURIComponent(JSON.stringify(filterObj));
|
||||||
const query = `Clients/find?filter=${filter}`;
|
const query = `Clients/findOne?filter=${filter}`;
|
||||||
this.$http.get(query).then(res => {
|
this.$http.get(query).then(res => {
|
||||||
const params = {clientId: res.data.id};
|
const params = {clientId: res.data.id};
|
||||||
const question = $t('Found a client with this phone or email', params, null, null, 'sanitizeParameters');
|
const question = $t('Found a client with this phone or email', params, null, null, 'sanitizeParameters');
|
||||||
|
|
Loading…
Reference in New Issue