Skip to content

Commit

Permalink
Merge pull request #1198 from xyz1123581321/develop
Browse files Browse the repository at this point in the history
Refactor initRelation to Support Flexible Model Extensions
  • Loading branch information
tobias-kuendig authored Dec 12, 2024
2 parents fbabe17 + 298bbf7 commit 664a12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/Orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function show()

$order = Order::with('products', 'order_state')->findOrFail($this->params[0]);

$this->initRelation($order, 'payment_logs');
$this->initRelation($order);

$this->vars['order'] = $order;
$this->vars['money'] = app(Money::class);
Expand Down

0 comments on commit 664a12c

Please sign in to comment.