Add salutation field to contacts #13

This commit is contained in:
2025-10-29 13:53:08 +01:00
parent 3ec15d95b0
commit b55f20727d
10 changed files with 26 additions and 13 deletions
+3 -1
View File
@@ -12,6 +12,7 @@ public function index()
return [
'id' => $contact->id,
'customerId' => $contact->customer_id,
'salutation' => $contact->salutation,
'firstName' => $contact->first_name,
'lastName' => $contact->last_name,
'email' => $contact->email,
@@ -36,6 +37,7 @@ public function show($id)
return [
'id' => $contact->id,
'customerId' => $contact->customer_id,
'salutation' => $contact->salutation,
'firstName' => $contact->first_name,
'lastName' => $contact->last_name,
'email' => $contact->email,
@@ -51,4 +53,4 @@ public function show($id)
] : null,
];
}
}
}