Fix categories & varieties

This commit is contained in:
Ludovic CANDELLIER
2022-02-16 09:17:51 +01:00
parent 642fd52d36
commit b90d3ba3f2
2 changed files with 8 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ return new class extends Migration
public function up()
{
Schema::table('categories', function (Blueprint $table) {
$table->tinyInteger('visible')->after('id');
$table->tinyInteger('visible')->nullable()->after('id');
});
}
};

View File

@@ -25,6 +25,13 @@
</div>
</div>
<div class="row mb-3">
<div class="col-12">
{{ Form::label('memo', 'Descriptif sachet') }}
@include('components.form.textarea', ['name' => 'memo', 'value' => $variety['memo'] ?? null, 'class' => 'editor', 'rows' => 5, 'required' => false])
</div>
</div>
</div>
<div class="col-md-4">