updated rangesummary to return null dates and 0 amount when nothing found
new db with views for category, sub category, and item details