Adding date interval functionality for the aggregated pdf sales report