New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create invoice pdf in frontend leads to an error #2
Comments
Here some more information regarding this error: Calling Itabs_Debit_Block_Info->toPdf() leads to
The system is looking for the following template file:
The filename is defined in 61 public function toPdf()
62 {
63 /* @var $helper Itabs_Debit_Helper_Data */
64 $helper = Mage::helper('debit');
65 if ($helper->getDebitType() == Itabs_Debit_Helper_Data::DEBIT_TYPE_SEPA) {
66 $this->setTemplate('debit/sepa/debit.phtml');
67 } else {
68 $this->setTemplate('debit/debit.phtml');
69 }
70
71 return $this->toHtml();
72 } But the template (same for sepa) is not part of the extension. Solution: Change
to
|
Hi, it seems that you tried to print an invoice pdf in the frontend area. Which extension are you using? This extension currently only supports printing an invoice pdf in the adminhtml area. The necessary template files are located in app/design/adminhtml/default/default/template/debit/. But I will add them to the frontend area as well. Kind Regards |
Renamed issue. |
Ah, all right, thanks for the quick reply - the import script we are using for importing orders into the customers ERP system was throwing an error. |
Fixed. Copying makes more sense because not everyone uses modman. |
No description provided.
The text was updated successfully, but these errors were encountered: