code: func (ctrl Controller) Orders(w http.ResponseWriter, req *http.Request) {
  	var (
  		Orders      []orders.Order
  		currentUser = utils.GetCurrentUser(req)
  		tx          = utils.GetDB(req)
  	)
  
  	tx.Preload("OrderItems").Where("state <> ? AND state != ?", orders.DraftState, "").Where(&orders.Order{UserID: &currentUser.ID}).Find(&Orders)
  
  	ctrl.View.Execute("orders", map[string]interface{}{"Orders": Orders}, req, w)
  }
docs: // Orders orders page