Need the booking report to display on dashboard

Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Need the booking report to display on dashboard

  • This topic has 7 replies, 4 voices, and was last updated 2 years ago by Piran Doctor.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #992137
    Deryck Brockhurst
    Participant

    Hello, my client want to see all the bookings on the dashboard before or without exporting it to CSV file. How can i achieve that?

    #992357
    Andre Flores
    Moderator

    Hello, Deryck!

    All the bookings are available under Bookings ->All Bookings tab in the Dashboard – so far this is the only option to view available bookings with all the statuses.

    Regards,
    Andre

    #1256020
    Piran Doctor
    Participant

    Hi, as my question is related to this topic, I thought I should put my question here. Is it possible to filter these bookings (on all bookings page), based on user role(say a user belongs to a particular property or place, he will see only his bookings). If we need to custom code it, could you please share which file I need to look into?

    Thanks
    Piran

    #1256038
    J. Davis
    Keymaster

    Hi Piran,

    Thanks for your question. By default, there is no option to restrict bookings per specific user. We also do not offer customization of this type at the moment.
    You may try using third-party plugins or any custom solutions to achieve that.

    best regards,
    J. Davis

    #1256040
    Piran Doctor
    Participant

    Hey Davis, thanks for prompt reply.
    If I need to custom code it, can you suggest which files I need to check or edit ?
    I tried customizing it as per my requirement and added custom code to file (\plugins\motopress-hotel-booking\includes\admin\manage-cpt-pages\booking-manage-cpt-page.php).
    End result shows correct behavior, i.e it lists bookings based on user (filtered based on property he belongs to). I could control the custom columns, but not the checkbox column (first column on All Bookings page), it repeats for All bookings . Can you suggest which file I need to touch to control this checkbox iteration?

    Hope I’m clear with my explanation.

    #1258651
    J. Davis
    Keymaster

    Hi Piran,

    Thanks for your further question though I’m not sure what exactly checkbox you mean. Are you about ‘Display imported bookings.’ option at Bookings > All Bookings?

    best regards,
    J. Davis

    #1259569
    Piran Doctor
    Participant

    Hi Davis,
    Thanks for the reply,
    Please check the screenshot attached for the checkbox im talking about:
    Custom-AllBookings page
    custom-allbookings
    Here the list is filtered (customized the code to only filter based on property/place) as per the requirement.
    I could control the custom columns, but not the checkbox column (first column on All Bookings page), it repeats for All bookings (its marked in red in the screenshot) . Can you suggest which file I need to touch to control this checkbox iteration?

    #1259582
    Piran Doctor
    Participant

    AllBookings

    I couldn’t upload the image and edit the post in my earlier post. So sharing a link here again.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.