simplify variables names for templates, refactor to be multi-model

This commit is contained in:
Ludovic CANDELLIER
2023-03-28 00:17:04 +02:00
parent 938d6a9cbd
commit 7d1a34a12e
11 changed files with 89 additions and 75 deletions

View File

@@ -32,7 +32,7 @@
<div class="row mb-3">
<div class="col-12">
{{ Form::label('', __('Description')) }}
<textarea name="description" class="form-control">{{ $delivery['description'] }}</textarea>
<textarea name="description" class="form-control">{{ $delivery['description'] ?? '' }}</textarea>
</div>
</div>