MWST optional: Schalter in Einstellungen (mwst_ausweisen), standardmassig Ausweis deaktiviert
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
<div class="card-body p-0">
|
||||
{% set stueckzahl = config.stueckzahl|default(1)|int %}
|
||||
{% set gesamt_netto = (calc.verkaufspreis * stueckzahl)|round(2) %}
|
||||
{% set gesamt_mwst = (gesamt_netto * 0.19)|round(2) %}
|
||||
{% set gesamt_mwst = (gesamt_netto * 0.19)|round(2) if calc.mwst_ausweisen else 0 %}
|
||||
{% set gesamt_brutto = (gesamt_netto + gesamt_mwst)|round(2) %}
|
||||
<div class="p-3" style="font-family:'Courier New',Courier,monospace;font-size:13px;line-height:1.8;white-space:pre;overflow-x:auto;background:var(--tblr-bg-surface);">LEISTUNGSBESCHREIBUNG:
|
||||
{{ '\u2500' * 50 }}
|
||||
@@ -82,9 +82,9 @@ Gesamt: {{ "%.2f"|format(gesamt_netto) }} EUR
|
||||
|
||||
{{ '\u2500' * 50 }}
|
||||
Nettobetrag: {{ "%.2f"|format(gesamt_netto) }} EUR
|
||||
MwSt. (19%): {{ "%.2f"|format(gesamt_mwst) }} EUR
|
||||
{{ '\u2550' * 50 }}
|
||||
GESAMTBETRAG: {{ "%.2f"|format(gesamt_brutto) }} EUR
|
||||
{% if calc.mwst_ausweisen %}MwSt. (19%): {{ "%.2f"|format(gesamt_mwst) }} EUR
|
||||
{% endif %}{{ '\u2550' * 50 }}
|
||||
GESAMTBETRAG{% if calc.mwst_ausweisen %} (brutto){% endif %}: {{ "%.2f"|format(gesamt_brutto) }} EUR
|
||||
|
||||
Zahlbar innerhalb von 14 Tagen ohne Abzug.
|
||||
Vielen Dank fur Ihren Auftrag!</div>
|
||||
|
||||
@@ -75,13 +75,19 @@
|
||||
</div>
|
||||
|
||||
<div class="card mb-3">
|
||||
<div class="card-header"><i class="ti ti-currency-euro me-2"></i>Gewinnmarge</div>
|
||||
<div class="card-header"><i class="ti ti-currency-euro me-2"></i>Gewinnmarge & Steuer</div>
|
||||
<div class="card-body">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Gewinnmarge (%)</label>
|
||||
<input type="number" step="0.5" class="form-control" data-var="gewinnmarge" data-type="number" value="{{ config.gewinnmarge }}">
|
||||
</div>
|
||||
<div class="col-md-6 d-flex align-items-end pb-2">
|
||||
<label class="form-check form-switch form-check-custom mb-0">
|
||||
<input class="form-check-input" type="checkbox" data-var="mwst_ausweisen" data-type="checkbox" {% if config.mwst_ausweisen %}checked{% endif %}>
|
||||
<span class="form-check-label">MwSt. ausweisen (19%)</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user