Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Sep 10, 2024
1 parent 8ca3304 commit 1dc1827
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Fieldtypes/OrdersFieldtype.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ protected function toItemArray($id)

return [
'id' => $order->id(),
'reference' => $order->reference(),
'title' => "#{$order->orderNumber()}",
'hint' => $order->date()->format(Statamic::cpDateFormat()),
'edit_url' => cp_route('simple-commerce.orders.edit', $order->id()),
Expand Down

0 comments on commit 1dc1827

Please sign in to comment.