stan errors
This commit is contained in:
@@ -58,14 +58,14 @@ class LoanOrderMobile extends Resource
|
||||
/**
|
||||
* The relationships that should be eager loaded on index queries.
|
||||
*
|
||||
* @var array
|
||||
* @var array<int, string>
|
||||
*/
|
||||
public static $with = ['branch', 'loanType'];
|
||||
|
||||
/**
|
||||
* The columns that should be searched.
|
||||
*
|
||||
* @var array
|
||||
* @var array<int, string>
|
||||
*/
|
||||
public static $search = [
|
||||
'unique_id', 'customer_name', 'customer_surname', 'phone',
|
||||
@@ -111,8 +111,8 @@ class LoanOrderMobile extends Resource
|
||||
/**
|
||||
* Build an "index" query for the given resource.
|
||||
*
|
||||
* @param \Illuminate\Database\Eloquent\Builder $query
|
||||
* @return \Illuminate\Database\Eloquent\Builder
|
||||
* @param \Illuminate\Database\Eloquent\Builder<LoanOrderModel> $query
|
||||
* @return \Illuminate\Database\Eloquent\Builder<LoanOrderModel>
|
||||
*/
|
||||
public static function indexQuery(NovaRequest $request, mixed $query): Builder
|
||||
{
|
||||
@@ -133,6 +133,8 @@ class LoanOrderMobile extends Resource
|
||||
|
||||
/**
|
||||
* Get the fields for index.
|
||||
*
|
||||
* @return array<int, \Laravel\Nova\Fields\Field>
|
||||
*/
|
||||
public function fieldsForIndex(NovaRequest $request): array
|
||||
{
|
||||
@@ -141,6 +143,8 @@ class LoanOrderMobile extends Resource
|
||||
|
||||
/**
|
||||
* Get the fields for detail
|
||||
*
|
||||
* @return array<int, \Laravel\Nova\Fields\Field|\Laravel\Nova\Panel>
|
||||
*/
|
||||
public function fieldsForDetail(): array
|
||||
{
|
||||
@@ -149,6 +153,8 @@ class LoanOrderMobile extends Resource
|
||||
|
||||
/**
|
||||
* Get the fields displayed by the resource.
|
||||
*
|
||||
* @return array<int, \Laravel\Nova\Fields\Field|\Laravel\Nova\Panel>
|
||||
*/
|
||||
public function fields(NovaRequest $request): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user