From: Vincent Vanwaelscappel Date: Fri, 14 Jun 2019 16:35:06 +0000 (+0200) Subject: #2810 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d5398d63041ea3edfed1d630b7eef079a1d3d226;p=pmi.git #2810 --- diff --git a/app/Models/Specification.php b/app/Models/Specification.php index d1317f4..42a6f26 100644 --- a/app/Models/Specification.php +++ b/app/Models/Specification.php @@ -37,10 +37,9 @@ class Specification extends CubistMagicModel 'label' => 'Options', 'type' => 'Table', 'entity_singular' => 'option', - 'columns' => [ - 'name' => 'Name', - ], + 'columns' => config('backpack.crud.locales'), 'when' => ['type' => 'list'], + 'translatable' => false, ]); $this->addField(['name' => 'prefix', @@ -62,7 +61,7 @@ class Specification extends CubistMagicModel 'type' => 'Text', 'when' => ['type' => ['numeric', 'range', 'numeric_list']], 'translatable' => false, - 'column'=>true, + 'column' => true, ]); } }