v0.9.1 - You can now convert menuplan to pdf
This commit is contained in:
@@ -19,12 +19,14 @@
|
||||
<table class="tbl mt-2">
|
||||
<tr>
|
||||
<th>Uge</th>
|
||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/print.svg') }}" alt="Print"></th>
|
||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||
</tr>
|
||||
@foreach($menuPlans as $menuplan)
|
||||
<tr>
|
||||
<td>{{$menuplan->week}}</td>
|
||||
<td><a href="{{ route("pdf.genPDF", [ "menuPlan" => $menuplan ]) }}"><img class="w-100" src="{{ asset('/images/icons/print.svg') }}" alt="Print"></a></td>
|
||||
<td><a href="{{ route("menu-plans.edit", [ "menu_plan" => $menuplan ]) }}"><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
||||
<td><form method="post" action="{{ route("menu-plans.destroy", [ "menu_plan" => $menuplan ]) }}" class="w-100 nostyle">
|
||||
@csrf
|
||||
|
||||
Reference in New Issue
Block a user