We are creating pdf file whith hepl of laravel This file is opening on majority of laptops and software but not opening in few computers. can't figure out the reason. this is the error they are getting
Code I am using to creating pdf file
$apiInstance = resolve(\XeroAPI\XeroPHP\Api\AccountingApi::class);
$result = $apiInstance->getInvoiceAsPdf($this->xeroCredentials->getTenantId(), $invoice->xero_invoice_id, "application/pdf");
$content = $result->fread($result->getSize());
Storage::disk('s3')->put(getSettingValue('s3_invoice_pdfs') .$invoice->xero_invoice_number.'.pdf', $content, 'public');
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire