mep
This commit is contained in:
parent
e958163a4a
commit
b8a5a1ff58
79 changed files with 15113 additions and 0 deletions
48
templates/dashboard/quick-update-form.twig
Normal file
48
templates/dashboard/quick-update-form.twig
Normal file
|
@ -0,0 +1,48 @@
|
|||
{# ⚡⚡⚡ SUPER FAST Quick Update Form Component ⚡⚡⚡ #}
|
||||
{% import 'components/form.twig' as form %}
|
||||
|
||||
<div class="card mb-4">
|
||||
<div class="card-header bg-primary text-white">
|
||||
<h5 class="card-title mb-0">⚡ LIGHTNING FAST STOCK UPDATE!!! ⚡</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form action="/inventory/update" method="post">
|
||||
{{ form.errors(error) }}
|
||||
|
||||
<div class="alert alert-info">
|
||||
<h6>🏎️ ZOOM ZOOM!!! 🏎️</h6>
|
||||
<p>⏱️ Update your stock in SECONDS!!! ⏱️ SO FAST!!! SO EASY!!! 🤩</p>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="drink_type_id">🍹 CHOOSE YOUR DRINK!!! 🍸🥤</label>
|
||||
<select id="drink_type_id" name="drink_type_id" class="form-control" required>
|
||||
<option value="">-- 🔍 SELECT A SUPER AWESOME DRINK 🔎 --</option>
|
||||
{% for drinkType in drinkTypes %}
|
||||
<option value="{{ drinkType.id }}">🥂 {{ drinkType.name }} 🍾</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="quantity">🔢 HOW MANY DO YOU HAVE??? 📊📈</label>
|
||||
<input type="number" id="quantity" name="quantity" class="form-control" min="0" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group mt-3">
|
||||
<button type="submit" class="btn btn-primary btn-lg">🚀 UPDATE STOCK NOW!!! 🚀</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<small class="text-muted">⚡ This AMAZING form updates the current stock level for the selected drink type IN SECONDS!!! ⚡ WOW!!! 😲</small>
|
||||
</div>
|
||||
<div class="card-footer bg-light">
|
||||
<p class="mb-0 text-center">💯 PRODUCTIVITY TIP: Update your stock DAILY for MAXIMUM EFFICIENCY!!! 💯</p>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue