22 lines
1.0 KiB
HTML
22 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Auf Leerrolle aufziehen · Fil-A-Management{% endblock %}
|
|
{% block content %}
|
|
<a class="back-link" href="{% url 'inventory' %}">← Zurück zum Bestand</a>
|
|
<div class="page-heading">
|
|
<div><h1>Auf Leerrolle aufziehen</h1><p class="muted">{{ item.stock_description }}</p></div>
|
|
</div>
|
|
<section class="panel form-panel">
|
|
<p>Eine Bambu-Lab-Leerrolle wird abgebucht. Das Filament erscheint anschließend im Bestand <strong>Mit Spule</strong>.</p>
|
|
<p>Verfügbare Leerrollen <strong>{{ empty_count }}</strong></p>
|
|
<form method="post" class="form-actions">
|
|
{% csrf_token %}{{ form.quantity }}{{ form.quantity.errors }}{{ form.non_field_errors }}
|
|
{% if empty_count %}
|
|
<button class="button" type="submit">Eine Rolle aufziehen</button>
|
|
{% else %}
|
|
<a class="button" href="{% url 'empty_spools' %}">Leerrollen erfassen</a>
|
|
{% endif %}
|
|
<a class="button secondary" href="{% url 'inventory' %}">Abbrechen</a>
|
|
</form>
|
|
</section>
|
|
{% endblock %}
|