frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register
Hello m'Managerians !
What do you think m'Manager 2.0 should be ? What features SHOULD or MUST be implemented right now ! Request or Vote here

PDF name bug

The invoices get two different names when using different ways to send.

When using the list and action style to send invoice it gets the name: invoiceprefix-invoicenumber.pdf
When sending from the edit invoice page (notify directly) the name is pdf.PDF

Comments

  • edited July 18
    Hi @SurinP3 ,

    Thanks for reporting. You can fix it right now before the next update. Open application>modules>Invoices>Controllers>Ajax.php
    and update these lines. Or search send_email.

    send_email($to, $message, $subject, null, $client_cc, FCPATH.'uploads/pdf/invoices/'.$invoice_number.'.pdf');
    to

    send_email($to, $message, $subject, null, $client_cc, FCPATH.'uploads/pdf/invoices/'.$invoice_number.'.pdf',get_option('invoice_prefix').invoice_number_format() . sprintf("%04s", $invoice_number).'.pdf');

    Thanks
    Eric
  • The same applies for quotes and orders. Already fixed for next release.
  • I'll wait for next upgrade, thanks.
Sign In or Register to comment.

m'Manager

| Let's Build Together a Great App !
If you are a happy user, send me a coffee.
2015 - 2107 © m'Manager.
Powered by VanillaForums, Designed by ThemeSteam

Recent Donations

  • Joni Mueller from https://pixelita.com/ - 63€
  • HeyrmanD from https://locco-palace.be - 25€
  • Patricia from Sjopz.com - 10€
  • AskinSavascisi from wolftech.com - 3€
  • Get In Touch