Booked Scheduler Community Support
October 20, 2019, 03:02:34 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Add last updated by field to reservation page or details page  (Read 109 times)
jbradfield
Newbie
*

Karma: 0
Posts: 18


« on: September 13, 2019, 06:03:26 PM »

i knw the database stores the 'last_action_by' column in the reservation_series table.

How could we get that to display on the reservation details or update page?

My goal is to see who it was that approved a reservation for resources that require approval without having to add a custom"approved by" field
which even when marked "required" is NOT required for admins so it defeats the purpose.
Logged
TechCoder
Hero Member
*****

Karma: 5
Posts: 1649

Need Booked API/App/Plugin? http://bit.ly/23EutBO


WWW
« Reply #1 on: September 16, 2019, 08:36:40 AM »

Certainly this feature is not something out-of-the-box in Booked, but it can be added 'simply' enough! Smiley

One way is to use TrackIt! (https://cashflowproducts.com/product.php?prodId=TrackIt) which will give you not only the Approvals, but any Add, Update or Delete info as well!

Another is to build your own custom plugin that will add the info that you are looking for as a Custom Attribute to the Reservation.  Note that while this will work, it is prone to problems (much as you pointed out in your post....)

If you build a plugin, you will need to decide if you really want what you specifically asked for in the title of your post ("last updated" person) or what you asked for in the text ("see who approved it") - these can be very different people (for instance, the Reservation is Approved, then the User makes an Update....) - Booked only stores the LAST updated person, which changes for all sorts of things (again why we built TrackIt! which stores the complete history!)

Another issue with going the plugin route is that Admins could change the data (not saying you have untrustworthy Admins, but......) as you know Admins have full privilege in Booked......

Need any help with making a plugin (or other custom mod for Booked Scheduler)? Contact us at https://CashFlowProducts.com/helpdesk for a quick estimate of time and costs to have your specific needs met quickly!
Logged
jbradfield
Newbie
*

Karma: 0
Posts: 18


« Reply #2 on: September 16, 2019, 11:30:38 AM »

thanks for the reply.

knowing the limitations with it, if I wanted to show only the last_update person on the details of the reservation which files would need to be updated?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!