mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-05 11:10:16 -04:00
Fix for PDF attachment
This commit is contained in:
parent
4a272f036a
commit
a4c26283c3
@ -51,6 +51,7 @@ class CurlUtils
|
|||||||
|
|
||||||
$client = Client::getInstance();
|
$client = Client::getInstance();
|
||||||
$client->isLazy();
|
$client->isLazy();
|
||||||
|
//$client->getEngine()->addOption("--ignore-ssl-errors=true");
|
||||||
$client->getEngine()->setPath($path);
|
$client->getEngine()->setPath($path);
|
||||||
|
|
||||||
$request = $client->getMessageFactory()->createRequest($url, $method);
|
$request = $client->getMessageFactory()->createRequest($url, $method);
|
||||||
|
@ -236,7 +236,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function waitForSignature() {
|
function waitForSignature() {
|
||||||
if (window.signatureAsPNG) {
|
if (window.signatureAsPNG || ! invoice.invitations[0].signature_base64) {
|
||||||
writePdfAsString();
|
writePdfAsString();
|
||||||
} else {
|
} else {
|
||||||
window.setTimeout(waitForSignature, 100);
|
window.setTimeout(waitForSignature, 100);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user