-
Notifications
You must be signed in to change notification settings - Fork 19
Flatrates (63956) #289
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
base: master
Are you sure you want to change the base?
Flatrates (63956) #289
Conversation
| = 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[HAML-Lint] reported by reviewdog 🐶
[W] InlineStyles: Do not use inline style attributes
…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)
d304e5c to
072da82
Compare
…invoice to 0 to prevent negative entries
|
@Kagemaru In the tests |
| - if (max_quantity == 0) | ||
| - display = 'none' | ||
|
|
||
| .invoice-flatrate{ style: "display: #{display};" } |
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.
[HAML-Lint] reported by reviewdog 🐶
[W] InlineStyles: Do not use inline style attributes
ef26473 to
89a062c
Compare
This adds flatrates. Flatrates can be created and planned on accounting posts and are then shown upon the creation of invoices.