BambooInvoice Forums

Add Client Name to E-mail Subject

 

Poll

Would you like more e-mail configuration control?
Yes, for the reasons given in the topic. 2
Yes, but for different reasons. 1
No, I don’t need it. 1
Total Votes: 4
(You must be a logged-in member to vote)
Total Posts: 2

I’d like to be able to configure the e-mail subject so that it reads e.g.

Invoice #NNNN - MyCompany to MyClient

It’d also be handy to change the file naming conventions.  While none of this is necessary within the BambooInvoice environment, it might make using offline back-ups of PDF invoice e-mails slightly less onerous.

Thanks again for BI, Derek!

Total Posts: 2

This is not very complicated to do…

in bamboo_system_files/application/controllers/invoices.php, change line 689 to read

$this->email->subject($this->input->post('email_subject')); 

and in bamboo_system_files/application/views/invoices/view.php copy and paste in line 100:

<p>
                    <
label>
                        
Subject<br />
                        <
input name="email_subject" type="text" id="email_subject" />
                    </
label>
                </
p

Not tested, So I hope it works!

It will let you enter whatever you want as a subject. Putting the name of the contact in the subject is possible, but too long for a forum post wink