1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #5582 from turbo124/v5-develop

Return string for email_status
This commit is contained in:
David Bomba 2021-05-03 14:46:57 +10:00 committed by GitHub
commit 652485f3e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ class CreditInvitationTransformer extends EntityTransformer
'updated_at' => (int) $invitation->updated_at,
'archived_at' => (int) $invitation->deleted_at,
'created_at' => (int) $invitation->created_at,
'email_status' => $invitation->email_status,
'email_status' => $invitation->email_status ?: '',
'email_error' => (string)$invitation->email_error,
];
}

View File

@ -31,7 +31,7 @@ class InvoiceInvitationTransformer extends EntityTransformer
'updated_at' => (int) $invitation->updated_at,
'archived_at' => (int) $invitation->deleted_at,
'created_at' => (int) $invitation->created_at,
'email_status' => $invitation->email_status,
'email_status' => $invitation->email_status ?: '',
'email_error' => (string)$invitation->email_error,
];
}

View File

@ -31,7 +31,7 @@ class QuoteInvitationTransformer extends EntityTransformer
'updated_at' => (int) $invitation->updated_at,
'archived_at' => (int) $invitation->deleted_at,
'created_at' => (int) $invitation->created_at,
'email_status' => $invitation->email_status,
'email_status' => $invitation->email_status ?: '',
'email_error' => (string)$invitation->email_error,
];
}