24 lines
835 B
HTML
24 lines
835 B
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<div class="card form-card">
|
|
<h2>Ausbuchen: {{ item.artikel }} ({{ item.groesse }})</h2>
|
|
<div class="note">Aktueller Bestand: <strong>{{ item.gezaehlt }}</strong></div>
|
|
<form method="post" onsubmit="return confirm('Wirklich ausbuchen?');">
|
|
<div class="form-grid">
|
|
<label>
|
|
Menge
|
|
<input type="number" name="menge" min="1" required />
|
|
</label>
|
|
<label>
|
|
Grund (optional)
|
|
<input type="text" name="grund" placeholder="z. B. Verkauf, Defekt, Muster" />
|
|
</label>
|
|
</div>
|
|
<div class="form-actions">
|
|
<button class="btn btn-accent" type="submit">Ausbuchen</button>
|
|
<a class="btn ghost" href="{{ url_for('bp.index') }}">Abbrechen</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|