-
Notifications
You must be signed in to change notification settings - Fork 13
Conversation
5860de2
to
e7f13a5
Compare
Edit: Content has been reviewed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
this.OvhHttp = OvhHttp; | ||
} | ||
|
||
// TODO: Find a way to inject ovh-api-services depending on the service category |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good requirement for the successor of ovh-api-services
, maybe you could add it to the document of requirements (ask JC for it as I don't know where it is :D)
|
||
getServices() { | ||
return this.OvhApiOvhProduct.Aapi().query().$promise | ||
.then((services) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.then((services) => { | |
.then((services) => _.map( | |
_.filter( | |
services, | |
service => AVAILABLE_SERVICES.includes(service.category), | |
), | |
service => new BillingService(service), | |
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both solutions are correct. We can keep the default one.
client/app/account/contacts/service/edit/translations/Messages_fr_FR.json
Outdated
Show resolved
Hide resolved
client/app/account/contacts/service/edit/translations/Messages_fr_FR.json
Outdated
Show resolved
Hide resolved
client/app/account/contacts/service/edit/translations/Messages_fr_FR.json
Outdated
Show resolved
Hide resolved
client/app/account/contacts/service/translations/Messages_fr_FR.json
Outdated
Show resolved
Hide resolved
client/app/account/contacts/service/translations/Messages_fr_FR.json
Outdated
Show resolved
Hide resolved
client/app/account/contacts/service/translations/Messages_fr_FR.json
Outdated
Show resolved
Hide resolved
fef154a
to
25695fd
Compare
25695fd
to
4c74255
Compare
Hello @marie-j, |
4c74255
to
15fe69a
Compare
15fe69a
to
4030423
Compare
client/app/account/contacts/service/translations/Messages_fr_FR.json
Outdated
Show resolved
Hide resolved
client/app/account/contacts/service/translations/Messages_fr_FR.json
Outdated
Show resolved
Hide resolved
7c7d5fe
4030423
to
7c7d5fe
Compare
|
||
getServices() { | ||
return this.OvhApiOvhProduct.Aapi().query().$promise | ||
.then((services) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both solutions are correct. We can keep the default one.
Prevent billing contact changes for services with a debt
Description of the Change
MBE-269
Related