content: '';
}
-.invoice form label[for=vatsb],
-.invoice form label[for=vatyw],
-.invoice form label[for=vatrate] {
+.invoice form label[for=number]::after,
+.invoice form label[for=date]::after{
+ white-space: pre;
+ content: '\0A';
+}
+
+.invoice form label[for=number],
+.invoice form input[name=number] {
display: block;
text-align: left;
}
-.invoice form label[for=vatnett],
-.invoice form label[for=vatgross] {
- display: inline-block;
- float: left; margin-right: 1em;
- line-height: 1em;
-}
-.invoice form input[type=radio] { display: none; }
-.invoice form input[type=radio] + label::before {
- content: '( ) ';
-}
-.invoice form input:checked + label[for^=vat]::before {
- content: '(x) ';
+
+.invoice form label[for=date],
+.invoice form input#date {
+ position: relative;
+ top: -5.75em;
+ text-align: center;
+ margin-right: 0;
+ width: 7em;
}
.invoice form table {
- width: 30em;
- margin-top: 1em;
+ min-width: 30em;
+ width: 100%;
+ margin-top: -3em;
border-spacing: 0;
}
.invoice form table tr > th {
width: 100%; height: 100%;
height: 4.625em;
}
+
+.invoice form label[for=vatsb],
+.invoice form label[for=vatyw] {
+ display: block;
+ text-align: left;
+ margin-top: 2em;
+}
+.invoice form label[for=vatrate] {
+ display: block;
+ text-align: left;
+ margin-bottom: 1.5em;
+}
+.invoice form label[for=vatnett],
+.invoice form label[for=vatgross] {
+ display: inline-block;
+ float: left; margin-right: 1em;
+ line-height: 1em;
+}
+.invoice form input[type=radio] { display: none; }
+.invoice form input[type=radio] + label::before {
+ content: '( ) ';
+}
+.invoice form input:checked + label[for^=vat]::before {
+ content: '(x) ';
+}
<!--
[label for=hourly Hourly Rate:]
[input #hourly type=number name=hourly value="${hourly}"]
-
- [radio "vat" "smallbusiness" #vatsb $([ "${vat#vat=}" = smallbusiness ] && printf checked) ]
- [label for=vatsb Small business exemption from VAT]
-->
- [radio "vat" "youthwork" #vatyw $([ "${vat#vat=}" = youthwork ] && printf checked) ]
- [label for=vatyw Umsatzsteuerbefreiung für Jugendhilfe, §4 Abs. 25 UStG.]
- [radio "vat" "nett" #vatnett $([ "${vat#vat=}" = nett ] && printf checked)]
- [label for=vatnett Netto]
- [radio "vat" "gross" #vatgross $([ "${vat#vat=}" = gross ] && printf checked)]
- [label for=vatgross Brutto]
- [label for=vatrate USt.: [input type=number name="vatrate" value="${vatrate}"]% ]
[table
[tr [th Stück] [th Leistung] [th Stückpreis] [th Summe] ]
esac)
]]
]
+
+ <!--
+ [radio "vat" "smallbusiness" #vatsb $([ "${vat#vat=}" = smallbusiness ] && printf checked) ]
+ [label for=vatsb Small business exemption from VAT]
+ -->
+ [radio "vat" "youthwork" #vatyw $([ "${vat#vat=}" = youthwork ] && printf checked) ]
+ [label for=vatyw Umsatzsteuerbefreiung für Jugendhilfe, §4 Abs. 25 UStG.]
+ [radio "vat" "nett" #vatnett $([ "${vat#vat=}" = nett ] && printf checked)]
+ [label for=vatnett Netto]
+ [radio "vat" "gross" #vatgross $([ "${vat#vat=}" = gross ] && printf checked)]
+ [label for=vatgross Brutto]
+ [label for=vatrate USt.: [input type=number name="vatrate" value="${vatrate}"]% ]
[select name=status
[option value=open $( [ $status = open ] && printf selected=selected ) Offen]
[option value=sent $( [ $status = sent ] && printf selected=selected ) Verschickt]
[option value=paid $( [ $status = paid ] && printf selected=selected ) Bezahlt]
[option value=cancelled $( [ $status = cancelled ] && printf selected=selected ) Storniert]
]
+
[submit "genpdf" "$tid" PDF Exportieren]
[submit "update" "$tid" Aktualisieren]
]