1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
This commit is contained in:
Hillel Coren 2017-05-04 02:39:31 +03:00
parent f61b2842e7
commit 111aa356f3

View File

@ -203,7 +203,7 @@ trait GeneratesNumbers
];
$client = $invoice->client;
$clientCounter = ($invoice->isQuote && ! $this->share_counter) ? $client->quote_number_counter : $client->invoice_number_counter;
$clientCounter = ($invoice->isQuote() && ! $this->share_counter) ? $client->quote_number_counter : $client->invoice_number_counter;
$replace = [
$client->custom_value1,