Skip to content

Commit

Permalink
BTHAB-184: Include ID in casesalesorder getlist label
Browse files Browse the repository at this point in the history
  • Loading branch information
olayiwola-compucorp committed Sep 19, 2023
1 parent cbbf60d commit 349cd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v3/CaseSalesOrder/Getlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function _civicrm_api3_case_sales_order_getlist_output($result, $request) {

$data = [
'id' => $row[$request['id_field']],
'label' => "Client: {$caseSalesOrder['contact.display_name']}",
'label' => "ID: {$caseSalesOrder['id']}, Client: {$caseSalesOrder['contact.display_name']}",
'description' => [
strip_tags($row['description']),
],
Expand Down

0 comments on commit 349cd7a

Please sign in to comment.