-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc614af
commit b3f643e
Showing
8 changed files
with
41 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
19 changes: 19 additions & 0 deletions
19
app/views/renderables/invoice_parts/deposit/_form_fields.html.slim
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
div | ||
= f.hidden_field :id | ||
= f.hidden_field :usage_id | ||
= f.hidden_field :type | ||
= f.hidden_field :vat_category_id | ||
|
||
.row | ||
.col-1.py-2 | ||
= f.check_box :_destroy, { checked: invoice_part.apply, hide_label: true }, '0', '1' | ||
.col-4 | ||
= f.text_field :label, hide_label: true | ||
.col-4 | ||
= f.text_field :breakdown, hide_label: true | ||
.col-2 | ||
= f.text_field :amount, hide_label: true, class: 'text-end', inputmode: "numeric" | ||
.col-1.p-2 | ||
- unless invoice_part.new_record? || invoice_part.invoice.blank? | ||
= link_to edit_manage_invoice_invoice_part_path(invoice_part.invoice, invoice_part) | ||
i.fa.fa-pencil |