search and export from invoice archive (#2408)

This commit is contained in:
Kevin Papst
2021-03-10 01:50:27 +01:00
committed by GitHub
parent c34e9f576d
commit db1344573f
22 changed files with 544 additions and 72 deletions

View File

@@ -151,7 +151,7 @@ final class ConfigurableNumberGenerator implements NumberGeneratorInterface
// for customer
case 'cc':
$partialResult = $this->repository->getCounterForAllTime($invoiceDate, $this->model->getCustomer()) + $increaseBy;
$partialResult = $this->repository->getCounterForAllTime($this->model->getCustomer()) + $increaseBy;
break;
case 'ccy':
@@ -168,7 +168,7 @@ final class ConfigurableNumberGenerator implements NumberGeneratorInterface
// across all invoices
case 'c':
$partialResult = $this->repository->getCounterForAllTime($invoiceDate) + $increaseBy;
$partialResult = $this->repository->getCounterForAllTime() + $increaseBy;
break;
case 'cy':