@@ -48,7 +48,7 @@ table.fixedHeader-floating{margin-top: 0px !important;} | |||
#list_filter_id{width: 60px;} | |||
.delivery-field .form-group{display: inline-block; margin-bottom: 0px; margin-right: 15px;} | |||
.delivery-field .form-group .form-control{width: 150px;} | |||
.delivery-field .form-group .form-control{width: 90px;} | |||
.table{ | |||
thead a{color: #212529} |
@@ -44,4 +44,20 @@ class SettingSolver | |||
return null; | |||
} | |||
public function getDefaultValue(EntityInterface $entity, $settingDefault) | |||
{ | |||
$valueDefault = null; | |||
if(is_array($settingDefault)) { | |||
if(isset($settingDefault[$entity->getDevAlias()])) { | |||
$valueDefault = $settingDefault[$entity->getDevAlias()]; | |||
} | |||
} | |||
else { | |||
$valueDefault = $settingDefault; | |||
} | |||
return $valueDefault; | |||
} | |||
} |