From 140df8e6b9c270898fec73f697ca2b0faa13e109 Mon Sep 17 00:00:00 2001 From: merdan Date: Mon, 10 Oct 2022 14:16:45 +0500 Subject: [PATCH] application ticket --- app/Http/Resources/ApplicationResource.php | 3 ++- phpunit.xml | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Resources/ApplicationResource.php b/app/Http/Resources/ApplicationResource.php index 8b464026..5e4adc74 100644 --- a/app/Http/Resources/ApplicationResource.php +++ b/app/Http/Resources/ApplicationResource.php @@ -19,7 +19,8 @@ public function toArray($request) 'state' => $this->state, 'questionnaire_path' => $this->questionnaire_path, 'receipt_path' => $this->receipt_path, - 'attachments' => AttachmentResource::collection($this->attachments) + 'attachments' => AttachmentResource::collection($this->attachments), + 'ticket' => TicketResource::make($this->ticket) ]; } } diff --git a/phpunit.xml b/phpunit.xml index 2ac86a18..49661e5d 100755 --- a/phpunit.xml +++ b/phpunit.xml @@ -21,8 +21,7 @@ - - +