Hi, I would like to display a custom field that I add to the users table (with the user real name) on the reports. It would be nice to display that also on the reservations in calendar view. How can I do this. Thanks, Paulo F.
You'll need to modify the MRBS code to do this, changing the SQL queries so that they do a join on the users table and then displaying the results.
I agree that this feature should ideally be in MRBS as standard and it's something I'd like to include.
Campbell
Thanks for your reply. What file do I need to change to replace the username with the 'custom field' on the reports.
Thanks, Paulo F.
You'll need to modify report.php. For the calendar view you'll need to modify day.php, week.php, month.php and functions.inc.
You'll need to modify the MRBS code to do this, changing the SQL queries so that they do a join on the users table and then displaying the results.
I agree that this feature should ideally be in MRBS as standard and it's something I'd like to include.
Campbell
Thanks for your reply.
What file do I need to change to replace the username with the 'custom field' on the reports.
Thanks,
Paulo F.
You'll need to modify report.php. For the calendar view you'll need to modify day.php, week.php, month.php and functions.inc.
Campbell