3327 - Invoicing queue #961

Merged
carlosjr merged 8 commits from 3327-global_invoicing into dev 2022-05-10 13:15:20 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit f806a598ea - Show all commits

View File

@ -81,7 +81,7 @@ export default class Controller extends Section {
clientIds: clientIds
}, this.campaign);
this.$http.post('notify/consumption', params)
this.$http.post('schedule/consumption', params)
.then(() => this.$.filters.hide())
.then(() => this.vnApp.showSuccess(this.$t('Notifications sent!')));
}

View File

@ -74,7 +74,7 @@ describe('Client notification', () => {
clientIds: [1101, 1102]
}, controller.campaign);
$httpBackend.expect('POST', `notify/consumption`, params).respond(200, params);
$httpBackend.expect('POST', `schedule/consumption`, params).respond(200, params);
controller.onSendClientConsumption();
$httpBackend.flush();