Optimal replenishment time for retailer under partial upstream prepayment and partial downstream overdue payment for quadratic demand