1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 07:33:04 +01:00

minor updates

This commit is contained in:
paulwer 2023-12-28 10:05:46 +01:00
parent 21a8f4da76
commit 77a615adb6

View File

@ -75,12 +75,12 @@ class ValidExpenseMailbox implements Rule
*/
public function message()
{
if ($this->validated_schema)
if ($this->is_enterprise_error)
return ctrans('texts.expense_mailbox_not_available');
if ($this->validated_schema)
return ctrans('texts.expense_mailbox_taken');
if (!$this->validated_schema)
return ctrans('texts.expense_mailbox_invalid');
return ctrans('texts.expense_mailbox_invalid');
return ctrans('texts.expense_mailbox_taken');
}
}