Skip to content

Commit

Permalink
ordine non cancellabile se ci sono prenotazioni
Browse files Browse the repository at this point in the history
  • Loading branch information
madbob committed Dec 18, 2023
1 parent 6f4a9b4 commit f32b819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/resources/views/order/edit.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php $summary = $master_summary->orders[$order->id] ?>

<x-larastrap::mform :obj="$order" classes="order-editor" method="PUT" :action="route('orders.update', $order->id)" :nodelete="$order->isActive() == false" :other_buttons="[['label' => _i('Esporta'), 'classes' => ['float-start', 'link-button', 'me-2'], 'attributes' => ['data-link' => $order->exportableURL()]]]">
<x-larastrap::mform :obj="$order" classes="order-editor" method="PUT" :action="route('orders.update', $order->id)" :nodelete="$order->bookings()->count() > 0" :other_buttons="[['label' => _i('Esporta'), 'classes' => ['float-start', 'link-button', 'me-2'], 'attributes' => ['data-link' => $order->exportableURL()]]]">
<input type="hidden" name="order_id" value="{{ $order->id }}" />
<input type="hidden" name="post-saved-function" value="afterAggregateChange" class="skip-on-submit">

Expand Down

0 comments on commit f32b819

Please sign in to comment.