-
Notifications
You must be signed in to change notification settings - Fork 900
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
Add monthly/hourly/weekly in rates for 'per time' types #11733
Add monthly/hourly/weekly in rates for 'per time' types #11733
Conversation
d822c9d
to
edae13b
Compare
edae13b
to
54175ac
Compare
54175ac
to
871b087
Compare
@@ -4,6 +4,8 @@ class ChargebackController < ApplicationController | |||
after_action :cleanup_action | |||
after_action :set_session_data | |||
|
|||
PER_TIME_TYPES = {"hourly" => _("Hourly"), "weekly" => _("Weekly"), "monthly" => "Monthly"}.freeze |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Monthly"
needs to be inside a _()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
871b087
to
03f455d
Compare
03f455d
to
95f356f
Compare
Checked commit lpichler@95f356f with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
depends on #11648 |
@miq-bot remove_label wip |
this can be merged because this is already merged |
@mzazrivec @gtanzillo |
Also - what is this PR? Bug fix, enhancement, tech debt, refactor? Please label accordingly |
…intervals Add monthly/hourly/weekly in rates for 'per time' types (cherry picked from commit 4c854e4)
Euwe Backport details: $ git log -1
commit 03acdfe5cca6bad8a32aa511502dcd4e8fa72b63
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date: Thu Oct 20 11:07:43 2016 +0200
Merge pull request #11733 from lpichler/return_back_per_time_to_more_intervals
Add monthly/hourly/weekly in rates for 'per time' types
(cherry picked from commit 4c854e48cc37aac9ef4f8628ebd3c8c163cc26ac) |
Backported to Darga via #13559 |
basically revert of https://github.com/ManageIQ/manageiq/pull/9298/files
as we are doing new calculations for chargeback we can also support
chargeback rates in monthly/hourly/weekly time frame (Per Time in UI)
@miq-bot add_label ui, chargeback
@miq-bot assign @gtanzillo
cc @mzazrivec