Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/28/2022 in all areas

  1. More sophistical solution to avoid invoice attachment in email probleme open app/controllers/client_invoices.php if view function change $this->InvoiceDelivery->downloadInvoices(array($invoice->id)); to $this->InvoiceDelivery->streamInvoices(array($invoice->id)); in components/invoice_delivery/invoice_delivery.php under downloadInvoices() add the fallowing function public function streamInvoices(array $invoice_ids, array $options = null) { $invoices = $this->getInvoices($invoice_ids, true); $this->buildInvoices($invoices, true, $options)->stream(); } this will save the email attachement invoice in pdf .
    1 point
×
×
  • Create New...