CHANGE_help_desk_tickets - VADIVEL J 2025-11-05 18:10
This commit is contained in:
parent
171c9abdbb
commit
085b9fd5cb
@ -246,7 +246,10 @@ class NotificationController extends AdminController
|
|||||||
// Insert file attachment record
|
// Insert file attachment record
|
||||||
if ($this->MailAttachmentModel->insert($data)) {
|
if ($this->MailAttachmentModel->insert($data)) {
|
||||||
// Retrieve active attachments to return in response
|
// Retrieve active attachments to return in response
|
||||||
$attachment_data = $this->MailAttachmentModel->where('is_active', 1)->findAll();
|
$attachment_data = $this->MailAttachmentModel
|
||||||
|
->where('notification_id',$find_notification['id'])
|
||||||
|
->where('is_active', 1)->findAll();
|
||||||
|
|
||||||
return $this->respond([
|
return $this->respond([
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user