Add attachment listing to orders API response
This commit is contained in:
@@ -92,6 +92,7 @@ class ordersRoute
|
||||
$order['customer_name'] = (new users_o())->getCustomerName($order['customer_id']);
|
||||
$order['user_id'] = (int)$tmp_customer->id;
|
||||
$order['pending_handheld'] = $order_obj->isPendingHandheld();
|
||||
$order['attachments'] = $order_obj->listAttachments();
|
||||
/** @var array $order */
|
||||
return $order;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user