From 638fee89e2cb6437a5cb92174af068301b6447a1 Mon Sep 17 00:00:00 2001 From: Corentin Forler <8860073-cforler_dokos@users.noreply.gitlab.com> Date: Wed, 14 Feb 2024 17:28:15 +0100 Subject: [PATCH] feat(booking): Add print config for calendar --- .../venue/doctype/item_booking/item_booking_calendar.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/erpnext/venue/doctype/item_booking/item_booking_calendar.js b/erpnext/venue/doctype/item_booking/item_booking_calendar.js index a9db7cc1e82..f50f6c4b61f 100644 --- a/erpnext/venue/doctype/item_booking/item_booking_calendar.js +++ b/erpnext/venue/doctype/item_booking/item_booking_calendar.js @@ -21,6 +21,14 @@ frappe.views.calendar["Item Booking"] = { }, filters: [["Item Booking", "status", "!=", "Cancelled"]], get_events_method: "erpnext.venue.doctype.item_booking.item_booking.get_events_for_calendar", + calendar_print_config: { + no_title: true, + shown_filter: "item", + Planning: { + no_title: true, + shown_filter: null, + }, + }, default_resource: "item", resourceView: { eventDidMount: (view, info) => { -- GitLab