// ListOrders.phpprotected function applySearchToTableQuery(Builder $query): Builder{ if (filled($searchQuery = $this->getTableSearchQuery())) { return $query->whereHas('orderLines', function (Builder $query) use ($searchQuery) { $query->where('type', '=', $searchQuery); }); } return $query;}
public static function getEloquentQuery
APznzaZVZmdRSnvodJptCwMsH7LYi3C91fSDX0i6PyNC-ComLcOHKa847B4v6Tk6UppzcmeIlryvctrG0xJD5b6uYUvp_hpe33j8W-XWJQs5ru01py3jlNXFxd8E2ZFfBL0WVriuquC7J_zaLxbiCblA50apOaoTOR3D3MA8PNS1x7ckbtlBWG61MuiLKBsq5ksJlubcMQi7cMmDK_VqYyvh89lVZFJqMM_G-LTJ6C9hdagE.pdf