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->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…
x
Reference in New Issue
Block a user