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.
[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
…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.
[HAML-Lint] reported by reviewdog 🐶
[W] InlineStyles: Do not use inline style attributes
ef26473 to
89a062c
Compare
d08e2d4 to
0750af0
Compare
This adds flatrates. Flatrates can be created and planned on accounting posts and are then shown upon the creation of invoices.