Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Not able to add items to booking?
(1 viewing) (1) Guest
Universal booking and reservations component for Joomla!.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Not able to add items to booking?

Not able to add items to booking? 10 years, 6 months ago #44430

Hi,

While editing a booking, gives the option to remove an item or change the date/time on it.

But there is no option to add a new item to the booking.

How do I add the option to add items to existing bookings while on the editing page?
Attachments:
The topic has been locked.

Re: Not able to add items to booking? 10 years, 6 months ago #44456

  • jitr
  • OFFLINE
  • ARTIO Support
  • Posts: 1432
Hello, component has no this functionality.
ARTIO Support Team
The topic has been locked.

Re: Not able to add items to booking? 10 years, 6 months ago #44462

If I want to implement this functionality, where would I start?

To remove an item on a reservation --> "view_reservation_submitbutton.js" has the "function removeReservationItem(id, rid)" which goes into --> \administrator\components\com_booking\controllers\reservation.php through a request and uses the "function remove_item_db()".

In the same reservation.php I see a "function add_continue()" with the description of: "Add item(s) to current reservation and continue."

Would this function e.g. be able to do the job?
The topic has been locked.

Re: Not able to add items to booking? 10 years, 6 months ago #44465

  • jitr
  • OFFLINE
  • ARTIO Support
  • Posts: 1432
Hello, the most important is function BookingModelCustomer::isAdmin in the file /administrator/components/com_booking/models/customer.php. This function decides if logged user is global manager or no.
ARTIO Support Team
The topic has been locked.

Re: Not able to add items to booking? 10 years, 6 months ago #44473

Ok, lets say Global Manager is set for the user in Artio backend already, how would I go from there to implement the functionality to add items to an existing reservation?
The topic has been locked.

Re: Not able to add items to booking? 10 years, 6 months ago #44536

  • jitr
  • OFFLINE
  • ARTIO Support
  • Posts: 1432
Hello, sorry, but it is very difficult and it is out of user support.
ARTIO Support Team
Last Edit: 10 years, 6 months ago by jitr.
The topic has been locked.
  • Page:
  • 1
User Login Empty