mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Add a button to clear the whole shopping list
This commit is contained in:
@@ -9,11 +9,14 @@
|
||||
<div class="col">
|
||||
<h1>
|
||||
@yield('title')
|
||||
<a class="btn btn-outline-dark" href="{{ $U('/shoppinglistitem/new') }}">
|
||||
<i class="fas fa-plus"></i> {{ $L('Add') }}
|
||||
<a class="btn btn-outline-dark responsive-button" href="{{ $U('/shoppinglistitem/new') }}">
|
||||
<i class="fas fa-plus"></i> {{ $L('Add') }}
|
||||
</a>
|
||||
<a id="add-products-below-min-stock-amount" class="btn btn-outline-primary" href="#">
|
||||
<i class="fas fa-plus"></i> {{ $L('Add products that are below defined min. stock amount') }}
|
||||
<a id="clear-shopping-list" class="btn btn-outline-danger responsive-button @if($listItems->count() == 0) disabled @endif" href="#">
|
||||
<i class="fas fa-trash"></i> {{ $L('Clear list') }}
|
||||
</a>
|
||||
<a id="add-products-below-min-stock-amount" class="btn btn-outline-primary responsive-button" href="#">
|
||||
<i class="fas fa-cart-plus"></i> {{ $L('Add products that are below defined min. stock amount') }}
|
||||
</a>
|
||||
</h1>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user