Move the new product description before the taxes

Because in the “default view” that position has a lot of space that is
best used by a large text area than a simple number input.
This commit is contained in:
jordi fita mas 2023-02-21 13:55:59 +01:00
parent b3004486f0
commit c1e443e3bc
2 changed files with 12 additions and 2 deletions

View File

@ -494,6 +494,16 @@ main > nav {
margin-bottom: 4rem;
}
/* Invoice */
.new-invoice-product .input:nth-of-type(5) {
flex: 1;
}
.new-invoice-product textarea {
width: 100%;
height: 100%;
}
/* Remix Icon */
@font-face {

View File

@ -22,13 +22,13 @@
{{ template "input-field" .Notes }}
{{- range $product := .Products }}
<fieldset>
<fieldset class="new-invoice-product">
{{ template "hidden-field" .ProductId }}
{{ template "input-field" .Name }}
{{ template "input-field" .Description }}
{{ template "input-field" .Price }}
{{ template "input-field" .Quantity }}
{{ template "input-field" .Discount }}
{{ template "input-field" .Description }}
{{ template "select-field" .Tax }}
</fieldset>
{{- end }}