这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@belcirelk
Copy link
Contributor

Add the class deleteReason to the textarea. This is needed by the javascript to get the content.

Closes: #694

…ion is not approved.

Add the class deleteReason to the textarea. This is needed by the javascript to get the content.

Closes: LibreBooking#694
@JohnVillalovos JohnVillalovos requested a review from Copilot July 17, 2025 00:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a bug where the delete reason was not being submitted when a reservation is not approved. The fix involves adding a CSS class to enable JavaScript functionality for capturing the textarea content.

  • Adds the deleteReason CSS class to the textarea element in the reservation approval template

Copy link
Contributor

@JohnVillalovos JohnVillalovos left a comment

Choose a reason for hiding this comment

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

Thanks @belcirelk !

LGTM (Looks Good To Me)

@JohnVillalovos JohnVillalovos merged commit 4c4f1f4 into LibreBooking:develop Jul 17, 2025
11 checks passed
@belcirelk belcirelk deleted the fix/resolve-send-reason-on-approval-rejection branch July 17, 2025 02:24
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.

Delete reason is not sent when a reservation is declined by an approver

2 participants