We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9afb011 commit a24514cCopy full SHA for a24514c
resources/views/organisations/partials/fields.blade.php
@@ -87,7 +87,7 @@
87
'value' => old('user_owner_id', $organisation->user_owner_id ?? auth()->user()->id),
88
])
89
90
- @include('laravel-crm::fields.partials.model', ['model' => $organisation])
+ @include('laravel-crm::fields.partials.model', ['model' => $organisation ?? new \VentureDrake\LaravelCrm\Models\Organisation()])
91
</div>
92
<div class="col-sm-6">
93
@livewire('phone-edit', [
0 commit comments