Skip to content

Commit

Permalink
Added deliver order link and page
Browse files Browse the repository at this point in the history
  • Loading branch information
Raccoon254 committed Jun 19, 2024
1 parent bfe37fb commit 60c0f0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/views/orders/view.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ class="absolute top-0 btn btn-xs btn-circle btn-ghost bg-blue-500 right-0 mt-1 m

<div class="links mt-2 gap-4 flex items-center justify-end">
@can('manage')
<a href="{{ route('orders.deliver', $order) }}"
class="btn btn-md btn-ghost ring ring-green-500 mt-6">
<i class="fas fa-truck"></i>
<span>Deliver Order</span>
</a>
<a href="{{ route('orders.edit', $order) }}"
class="btn btn-md btn-ghost ring ring-gray-200 mt-6">
<i class="fas fa-edit"></i>
Expand Down

0 comments on commit 60c0f0f

Please sign in to comment.