mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for #672
This commit is contained in:
parent
7b28a8f9ad
commit
63eda63d9f
@ -704,7 +704,9 @@ class AccountController extends BaseController
|
||||
$account->quote_number_prefix = null;
|
||||
}
|
||||
|
||||
if (!$account->share_counter && $account->invoice_number_prefix == $account->quote_number_prefix) {
|
||||
if (!$account->share_counter
|
||||
&& $account->invoice_number_prefix == $account->quote_number_prefix
|
||||
&& $account->invoice_number_pattern == $account->quote_number_pattern) {
|
||||
Session::flash('error', trans('texts.invalid_counter'));
|
||||
|
||||
return Redirect::to('settings/'.ACCOUNT_INVOICE_SETTINGS)->withInput();
|
||||
|
Loading…
x
Reference in New Issue
Block a user