From 125ffbcd23024e43821af6fff4c8cf9c89f6cb36 Mon Sep 17 00:00:00 2001 From: Roberto Guido Date: Sat, 9 Sep 2023 22:08:11 +0200 Subject: [PATCH] fix consultazione prodotti in pannello ordini da mobile. ref #204 --- code/resources/views/order/summary.blade.php | 14 +++++++++++--- code/resources/views/order/summary_ro.blade.php | 9 --------- 2 files changed, 11 insertions(+), 12 deletions(-) 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