I’m creating a website to allow users the ability to add properties for rental,
svr.teamluke.net
I made it so that only logged in users can add a property (which then adds the property to a mysql table. I also created an availability table set up like
CREATE TABLE availibilities (
id SMALLINT NOT NULL AUTO_INCREMENT,
propertyID SMALLINT,
startDate DATE,
endDate DATE,
PRIMARY KEY (id),
FOREIGN KEY (propertyID) REFERENCES properties (id)
);
so all it does is link a property to a start date and an end date
And since im using bootstrap, I figure I should use the date range picker
http://www.daterangepicker.com/#examples
My question is what is the best way (easiest for the user) to add an availability for a property?
Should I have a link add availability for one of your properties? for any logged in user or something"?