3327 - Invoicing queue #961
|
@ -81,7 +81,7 @@ export default class Controller extends Section {
|
||||||
clientIds: clientIds
|
clientIds: clientIds
|
||||||
}, this.campaign);
|
}, this.campaign);
|
||||||
|
|
||||||
this.$http.post('notify/consumption', params)
|
this.$http.post('schedule/consumption', params)
|
||||||
.then(() => this.$.filters.hide())
|
.then(() => this.$.filters.hide())
|
||||||
.then(() => this.vnApp.showSuccess(this.$t('Notifications sent!')));
|
.then(() => this.vnApp.showSuccess(this.$t('Notifications sent!')));
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,7 +74,7 @@ describe('Client notification', () => {
|
||||||
clientIds: [1101, 1102]
|
clientIds: [1101, 1102]
|
||||||
}, controller.campaign);
|
}, controller.campaign);
|
||||||
|
|
||||||
$httpBackend.expect('POST', `notify/consumption`, params).respond(200, params);
|
$httpBackend.expect('POST', `schedule/consumption`, params).respond(200, params);
|
||||||
controller.onSendClientConsumption();
|
controller.onSendClientConsumption();
|
||||||
$httpBackend.flush();
|
$httpBackend.flush();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue