change helpers to follow psr4
This commit is contained in:
@@ -70,7 +70,7 @@ if (! function_exists('process_datatable')) {
|
||||
$value = $attributes['value'];
|
||||
|
||||
if ($attributes['type'] == 'text') {
|
||||
$data = $data->where($field, 'LIKE', "%${value}%");
|
||||
$data = $data->where($field, 'LIKE', "%{$value}%");
|
||||
} elseif ($attributes['type'] == 'between') {
|
||||
$date_values = explode('&', $value);
|
||||
$date_values[0] .= " 00:00:00";
|
||||
@@ -89,7 +89,7 @@ if (! function_exists('process_datatable')) {
|
||||
}
|
||||
});
|
||||
} elseif ($attributes['type'] == 'select') {
|
||||
$data = $data->where($field, "${value}");
|
||||
$data = $data->where($field, "{$value}");
|
||||
}
|
||||
|
||||
// following types have been added for making finance table serverside.
|
||||
|
||||
Reference in New Issue
Block a user