Topic: Direct Email Customer Payment
Can we have Direct Email Customer Payment Link Just like Have Invoice Direct Email Link on the next window when Invoice is processed?
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Reporting → Direct Email Customer Payment
Can we have Direct Email Customer Payment Link Just like Have Invoice Direct Email Link on the next window when Invoice is processed?
The following at line 100 in sales/customer_payments.php does not work.
display_note(print_document_link($payment_no."-".$trans_type, _("&Email This Receipt"), true, ST_CUSTPAYMENT, false, "printlink", "", 1),1);
The following too does not work:
submenu_print(_("&Email This Receipt"), ST_CUSTPAYMENT, $payment_no, null, 1);
The above alone does not work even with necessary changes made to use $email in reporting.inc and rep112.php.
Try the consolidated changes for the bleeding edge attached and provide feedback.
I can't find both these lines in customer_payments.php?
How can we make it work?
It worked perfectly. Only one line was modified by me as below
submenu_print(_("&Email This Receipt"), ST_CUSTPAYMENT, $payment_no."-".ST_CUSTPAYMENT, null, 1);
While your file has
submenu_print(_("&Email This Receipt"), ST_CUSTPAYMENT, $payment_no, null, 1);
Thanks Alot
I have customized Customer Transaction Inquiry with a feature to Email Invoice and Customer Payments from there as shown below
When I email Invoice the top green bar comes with notification but when I email Customer Payment it takes me to another page for the notification. Any idea why is this not showing the Green Bar for Notification. See below
I have updated the mod file with your changes in #2 post.
The job of the function End() is to provide the said notification which comes but in another page. Lines 1037-1038 in the said function in reporting/includes/pdf_report.inc are:
display_notification($this->title . " " . $this->formData['document_number'] . " "
. _("has been sent by email to destination.") . " " . _("Email:") . $emails);
Try to replace the 2 submenu_print statements (in the Add and Update sections) in sales/customer_payments.php with the following and provide feedback:
display_note(print_document_link($payment_no."-".$trans_type, _("&Email This Receipt"), true, ST_CUSTPAYMENT, false, "printlink", "", 1),1);
You may need to echo "<br>"; to adjust spacing of the links.
Actually there is no issue in the email notification in customer_payments.php. It is showing in Green Bar.
The problem lies in my customization in customer_inquiry.php
Since a different construct was used in sending the email, it may have been possible that the return from the sending routine is different and that return is what needs to be investigated.
FrontAccounting forum → Reporting → Direct Email Customer Payment
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.