Link to edit system from setup

This commit is contained in:
Deon George 2021-07-31 00:41:42 +10:00
parent 29a707831e
commit ae37067a74

View File

@ -41,7 +41,13 @@ use App\Models\Setup;
A system is required.
@enderror
</span>
<span class="input-helper">Add a <a href="{{ url('ftn/system/addedit') }}">NEW System</a></span>
<span class="input-helper">
@if(! $o->system_id)
Add a <a href="{{ url('ftn/system/addedit') }}">NEW System</a>
@else
Edit <a href="{{ url('ftn/system/addedit',[$o->system_id]) }}">System</a>
@endif
</span>
</div>
</div>