DONE: layout letter with letterhead and footer, notification for newly...
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\MembershipApplication\Transformers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Http\Resources\Json\JsonResource;
|
||||
|
||||
class MembershipApplicationHeirResource extends JsonResource
|
||||
{
|
||||
public function toArray(Request $request): array
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'name' => $this->name,
|
||||
'ic_number' => $this->ic_number,
|
||||
'relationship' => $this->relationship,
|
||||
'phone_number' => $this->phone_number,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user