Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
OniiCoder committed Feb 26, 2024
1 parent c00d93f commit 1c8a68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/models/orders/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<option
value="{{ $data->id }}"
{{ $this->isAssignedToAnotherOrder($data->id) ? 'disabled' : ''}}
> - {{ Carbon::parse($data->date_loaded)->toFormattedDateString() }} - {{ $data->driver->name }} ({{ $data->driver->nickname }}) - Balance: {{ number_format($data->volume_balance) }} Litres {{ $this->isAssignedToAnotherOrder($data->id) }}</option>
> - {{ Carbon::parse($data->date_loaded)->toFormattedDateString() }} - {{ $data->driver?->name }} ({{ $data->driver?->nickname }}) - Balance: {{ number_format($data->volume_balance) }} Litres {{ $this->isAssignedToAnotherOrder($data->id) }}</option>
@endforeach
</x-fab::forms.select>

Expand Down

0 comments on commit 1c8a68f

Please sign in to comment.