Skip to content

Create Refund page#18

Open
takarogabor wants to merge 2 commits intoUnionInternationalCheminsdeFer:mainfrom
takarogabor:create-refund-page
Open

Create Refund page#18
takarogabor wants to merge 2 commits intoUnionInternationalCheminsdeFer:mainfrom
takarogabor:create-refund-page

Conversation

@takarogabor
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Collaborator

@TheNewCivilian TheNewCivilian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @takarogabor for this nice contribution! Your changes look super clean to me. Would love to continue working on the app as well. There are definitely some really cool features that are not represented yet.
We are currently looking into deckplans.

return v ? v.toString() : null
},
fulfillments(): any[] {
console.log(this.booking)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets try to keep the log clean. The rest of the app might still have unnecessary log statements. We should clean this up in a separate MR.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've deleted it.

// const b = await this.OSDM.booking.getBooking(this.bookingId)
// this.booking = b?.data?.booking ?? null
} catch (e) {
// useBookingStore().setError(new BookingError(...))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a particular reason why to not prompt this error to the users? From my point of view logging errors or warnings here should be fine too, but lets remove commented code.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've deleted it also.


this.confirmedRefundOfferId = refundOfferId

// opcional: if we want to refresh the booking/state:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not integrate this option?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've uncommented the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants