some stan
This commit is contained in:
1 parent
c24f7cbac6
commit
c94ac5d12d
8 files changed
+28
-29
No files matched your search
@@ -31,14 +31,5 @@ public function getTabs(): array
|
||||
}
|
||||
|
||||
return $data;
|
||||
|
||||
return [
|
||||
null => Tab::make('All'),
|
||||
'new' => Tab::make()->query(fn ($query) => $query->where('status', 'new')),
|
||||
'processing' => Tab::make()->query(fn ($query) => $query->where('status', 'processing')),
|
||||
'shipped' => Tab::make()->query(fn ($query) => $query->where('status', 'shipped')),
|
||||
'delivered' => Tab::make()->query(fn ($query) => $query->where('status', 'delivered')),
|
||||
'cancelled' => Tab::make()->query(fn ($query) => $query->where('status', 'cancelled')),
|
||||
];
|
||||
}
|
||||
}
|
||||
+5
@@ -71,6 +71,11 @@ public static function getPages(): array
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the query for the record route binding
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Builder<\App\Modules\VisaMasterPaymentOrder\Models\VisaMasterPaymentOrder>
|
||||
*/
|
||||
public static function getRecordRouteBindingEloquentQuery(): Builder
|
||||
{
|
||||
return parent::getRecordRouteBindingEloquentQuery()
|
||||
|
||||
Reference in new issue
Block a user