2883-invoiceIn-Booking #786

Merged
carlosjr merged 17 commits from 2883-invoiceIn-Booking into dev 2022-01-24 15:29:57 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit dad4119300 - Show all commits

View File

@ -38,6 +38,6 @@ module.exports = Self => {
WHERE WHERE
ii.id = ?`, [id, id]); ii.id = ?`, [id, id]);
return (result); return result;
}; };
}; };

View File

@ -37,7 +37,7 @@ describe('vnInvoiceInDescriptor', () => {
}); });
describe('checkToBook()', () => { describe('checkToBook()', () => {
it(`should show both warning messages`, () => { it(`should show a warning before book`, () => {
controller.$.confirmToBookAnyway = {show: () => {}}; controller.$.confirmToBookAnyway = {show: () => {}};
jest.spyOn(controller.$.confirmToBookAnyway, 'show'); jest.spyOn(controller.$.confirmToBookAnyway, 'show');