date logic for prior month
criteria for order types