Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#161847] Rake tasks for adding new PriceGroups to ScheduleRules #3594

Merged
merged 11 commits into from
Jul 26, 2023

Commits on Jul 21, 2023

  1. Adds a rake tasks which adds PriceGroupDiscoutns for global price groups

    that aren't currently associated with a schedule rule
    jossim committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    ca113c7 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. Adds some documentation

    jossim committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    dfff711 View commit details
    Browse the repository at this point in the history
  2. Adds methods to PriceGroup to setup a global price group

    This also creates a `price_group` rake task and removes the
    `schedule_rule` one
    jossim committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    8a8c37a View commit details
    Browse the repository at this point in the history
  3. Makes methods private

    jossim committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    803cf8c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    60ab085 View commit details
    Browse the repository at this point in the history
  5. Removes log statements

    jossim committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    4377728 View commit details
    Browse the repository at this point in the history
  6. Update app/models/price_group.rb

    Co-authored-by: Gilad Shanan <30355046+giladshanan@users.noreply.github.com>
    jossim and giladshanan authored Jul 24, 2023
    Configuration menu
    Copy the full SHA
    227582b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    38550c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. Configuration menu
    Copy the full SHA
    b28dd11 View commit details
    Browse the repository at this point in the history
  2. Adds instance variable again

    jossim committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    a8b4553 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bb26e5b View commit details
    Browse the repository at this point in the history