Add start-date and end-date parameter to PurchaseController::index