akaunting 3.0 (the last dance)

This commit is contained in:
Burak Civan
2022-06-01 10:15:55 +03:00
parent cead09f6d4
commit d9c0764572
3812 changed files with 126831 additions and 102949 deletions

View File

@ -2,9 +2,9 @@
namespace App\View\Components;
use App\Abstracts\View\Component;
use App\Traits\DateTime;
use Illuminate\Support\Str;
use Illuminate\View\Component;
class SearchString extends Component
{
@ -89,11 +89,11 @@ class SearchString extends Component
$column = $options['key'];
}
if (isset($options['relationship']) && isset($options['foreign_key']) && !empty($options['foreign_key'])) {
if (isset($options['relationship']) && isset($options['foreign_key']) && ! empty($options['foreign_key'])) {
$column .= '.' . $options['foreign_key'];
}
if (isset($options['relationship']) && !isset($options['foreign_key'])) {
if (isset($options['relationship']) && ! isset($options['foreign_key'])) {
$column .= '.id';
}
@ -108,7 +108,7 @@ class SearchString extends Component
$column = str_replace('_code', '', $column);
}
if (!empty($options['translation']) && !isset($options['boolean'])) {
if (! empty($options['translation']) && ! isset($options['boolean'])) {
return $options['translation'];
}