mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +00:00
fix(bookings): the delete question for a booking with a linked expense says the expense is deleted too
Deleting a booking also deletes the expenses linked to it, but the question only said the booking would be deleted. A booking with a linked expense now says so in every place that asks: the bookings list and detail, the transport and transit dialogs, and the phone's booking cards. The MCP delete_reservation description names the linked expenses and the stay a hotel booking created as well. Refs #2604
This commit is contained in:
@@ -460,7 +460,7 @@ export class ReservationsMcp {
|
||||
|
||||
@Tool({
|
||||
name: 'delete_reservation',
|
||||
description: 'Delete a reservation from a trip.',
|
||||
description: 'Delete a reservation from a trip. Expenses linked to it are deleted with it, and so is the stay a hotel booking created.',
|
||||
inputSchema: {
|
||||
tripId: idSchema,
|
||||
reservationId: idSchema,
|
||||
|
||||
Reference in New Issue
Block a user