mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-15 07:33:04 +01:00
minor updates
This commit is contained in:
parent
21a8f4da76
commit
77a615adb6
@ -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');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user