added star in state view in datagrid
This commit is contained in:
parent
830367ef93
commit
6413cdae71
|
|
@ -50,7 +50,13 @@ class TaxRateDataGrid extends DataGrid
|
|||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
'filterable' => true,
|
||||
'wrapper' => function($value) {
|
||||
if (empty($value->state))
|
||||
return '*';
|
||||
else
|
||||
return $value->state;
|
||||
}
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
|
|
|
|||
Loading…
Reference in New Issue