diff --git a/code/resources/views/order/summary.blade.php b/code/resources/views/order/summary.blade.php index 4996e9a1..c2deed3f 100644 --- a/code/resources/views/order/summary.blade.php +++ b/code/resources/views/order/summary.blade.php @@ -153,14 +153,22 @@ - - @can('supplier.modify', $order->supplier) + + + @php + $edit_url = route('products.show', ['product' => $product->id, 'format' => 'modal']); + @endphp + + +
- +
+ @else + @endcan diff --git a/code/resources/views/order/summary_ro.blade.php b/code/resources/views/order/summary_ro.blade.php index 23c68816..0500c0dd 100644 --- a/code/resources/views/order/summary_ro.blade.php +++ b/code/resources/views/order/summary_ro.blade.php @@ -92,16 +92,7 @@ - - - @can('supplier.modify', $order->supplier) -
- - - -
- @endcan