added action to reload twig invoice template (#3876)
This commit is contained in:
@@ -37,6 +37,11 @@ final class InvoiceDocument
|
||||
return $path;
|
||||
}
|
||||
|
||||
public function isTwig(): bool
|
||||
{
|
||||
return $this->getFileExtension() === 'twig';
|
||||
}
|
||||
|
||||
public function getFileExtension(): string
|
||||
{
|
||||
return $this->file->getExtension();
|
||||
|
||||
Reference in New Issue
Block a user