add flatrates to billable controlling (64286)#293
Draft
Conversation
…f not_billed amount
…flatrates billed after every specific month
…ter page initialization
…imes a flatrate should be billed
…ates with quantity 0 upon editing
…rate_invoice itself has unwanted side effects upon editing (old value used by form)
…invoice to 0 to prevent negative entries
… feature/64286-add-flatrates-to-billable-controlling
…unbilled flatrates
| = fields.input_field(:amount, required: true) | ||
| .col-md-1.form-action | ||
| = fields.remove_nested_fields_link(picon('delete', title: 'Pauschale entfernen')) | ||
| .row{style: "margin-bottom: 1em"} |
There was a problem hiding this comment.
[HAML-Lint] reported by reviewdog 🐶
[W] InlineStyles: Do not use inline style attributes
| = fields.label :periodicity, "Periodizität *", class: 'col-md-2 control-label' | ||
| .col-md-10 | ||
| - 0.upto(11) do |i| | ||
| .field.col-md-3{style: "margin-bottom: 0.5em"} |
There was a problem hiding this comment.
[HAML-Lint] reported by reviewdog 🐶
[W] InlineStyles: Do not use inline style attributes
| - if (max_quantity == 0) | ||
| - display = 'none' | ||
|
|
||
| .invoice-flatrate{ style: "display: #{display};" } |
There was a problem hiding this comment.
[HAML-Lint] reported by reviewdog 🐶
[W] InlineStyles: Do not use inline style attributes
ef26473 to
89a062c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
depends on #262 and #289 .
Adds flatrates to billable controlling tab for a better overview of billed / unbilled flatrates