Fix for PDF attachment
This commit is contained in:
parent
4a272f036a
commit
a4c26283c3
2 changed files with 2 additions and 1 deletions
|
|
@ -51,6 +51,7 @@ class CurlUtils
|
|||
|
||||
$client = Client::getInstance();
|
||||
$client->isLazy();
|
||||
//$client->getEngine()->addOption("--ignore-ssl-errors=true");
|
||||
$client->getEngine()->setPath($path);
|
||||
|
||||
$request = $client->getMessageFactory()->createRequest($url, $method);
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@
|
|||
}
|
||||
|
||||
function waitForSignature() {
|
||||
if (window.signatureAsPNG) {
|
||||
if (window.signatureAsPNG || ! invoice.invitations[0].signature_base64) {
|
||||
writePdfAsString();
|
||||
} else {
|
||||
window.setTimeout(waitForSignature, 100);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue