Hi
I have created a custom module that handles bookings coming into a hotel. Everything is fine apart from my last task which is to customize the export function.
The module needs to produce an exported csv file relative to the clients that have checked in for house keeping etc etc.
My question is that i would like to export just certain columns from the db, like client name, room number, check in date etc etc. many of the other fields are not required such as flight arrival times and created by etc.
How can i edit this custom module just to output what i want and not the entire table, i have looked at export.php and export_utils.php but they just seem to only control contacts and accounts, also in my module bookings/bookings.php there is no function create_export_query in the code to edit like there is in leads or accounts.
Any help or a tutorial would be great.
Thanks


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks