fix styling issues in PDF invoice (#2097)

This commit is contained in:
Kevin Papst
2020-11-07 19:31:18 +01:00
committed by GitHub
parent 5868741fe3
commit db8714a87b
7 changed files with 20 additions and 13 deletions

View File

@@ -55,8 +55,8 @@ class EncoreExtension extends AbstractExtension implements ServiceSubscriberInte
public function getEncoreEntryCssSource(string $packageName): string
{
$files = $this->container
->get(EntrypointLookupInterface::class)->getCssFiles($packageName);
$lookup = $this->container->get(EntrypointLookupInterface::class);
$files = $lookup->getCssFiles($packageName);
$source = '';
@@ -64,6 +64,8 @@ class EncoreExtension extends AbstractExtension implements ServiceSubscriberInte
$source .= file_get_contents($this->publicDir . '/' . $file);
}
$lookup->reset();
return $source;
}
}