Version Notes
- Allow to print orders
- Allow to print invoices
- Allow to print packingslips
- Allow to print credit memos
- Allow to attach order pdf in email
- Allow to attach invoice pdf in email
- Compatible with Aschroder_SMTPPro
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Easy_PDF_Invoice |
| Version | 1.2.0.2.16 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.0.2.15 to 1.2.0.2.16
- app/code/community/VES/PdfPro/Block/Adminhtml/Sales/Order/Creditmemo/View.php +1 -1
- app/code/community/VES/PdfPro/Block/Adminhtml/Sales/Order/Invoice/View.php +1 -1
- app/code/community/VES/PdfPro/Block/Adminhtml/Sales/Order/Shipment/View.php +1 -1
- app/code/community/VES/PdfPro/Block/Adminhtml/Sales/Order/View.php +1 -1
- app/code/community/VES/PdfPro/Model/Observer.php +14 -14
- app/code/community/VES/PdfPro/controllers/Adminhtml/Pdfpro/PrintController.php +328 -0
- app/code/community/VES/PdfPro/etc/config.xml +7 -0
- package.xml +4 -4
app/code/community/VES/PdfPro/Block/Adminhtml/Sales/Order/Creditmemo/View.php
CHANGED
|
@@ -21,7 +21,7 @@ class VES_PdfPro_Block_Adminhtml_Sales_Order_Creditmemo_View extends Mage_Adminh
|
|
| 21 |
* @return string
|
| 22 |
*/
|
| 23 |
public function getPrintUrl(){
|
| 24 |
-
return $this->getUrl('
|
| 25 |
}
|
| 26 |
|
| 27 |
/**
|
| 21 |
* @return string
|
| 22 |
*/
|
| 23 |
public function getPrintUrl(){
|
| 24 |
+
return $this->getUrl('adminhtml/pdfpro_print/creditmemo',array('creditmemo_id'=>$this->getCreditmemo()->getId()));
|
| 25 |
}
|
| 26 |
|
| 27 |
/**
|
app/code/community/VES/PdfPro/Block/Adminhtml/Sales/Order/Invoice/View.php
CHANGED
|
@@ -21,7 +21,7 @@ class VES_PdfPro_Block_Adminhtml_Sales_Order_Invoice_View extends Mage_Adminhtml
|
|
| 21 |
* @return string
|
| 22 |
*/
|
| 23 |
public function getPrintUrl(){
|
| 24 |
-
return $this->getUrl('
|
| 25 |
}
|
| 26 |
|
| 27 |
/**
|
| 21 |
* @return string
|
| 22 |
*/
|
| 23 |
public function getPrintUrl(){
|
| 24 |
+
return $this->getUrl('adminhtml/pdfpro_print/invoice',array('invoice_id'=>$this->getInvoice()->getId()));
|
| 25 |
}
|
| 26 |
|
| 27 |
/**
|
app/code/community/VES/PdfPro/Block/Adminhtml/Sales/Order/Shipment/View.php
CHANGED
|
@@ -21,7 +21,7 @@ class VES_PdfPro_Block_Adminhtml_Sales_Order_Shipment_View extends Mage_Adminhtm
|
|
| 21 |
* @return string
|
| 22 |
*/
|
| 23 |
public function getPrintUrl(){
|
| 24 |
-
return $this->getUrl('
|
| 25 |
}
|
| 26 |
|
| 27 |
/**
|
| 21 |
* @return string
|
| 22 |
*/
|
| 23 |
public function getPrintUrl(){
|
| 24 |
+
return $this->getUrl('adminhtml/pdfpro_print/shipment',array('shipment_id'=>$this->getShipment()->getId()));
|
| 25 |
}
|
| 26 |
|
| 27 |
/**
|
app/code/community/VES/PdfPro/Block/Adminhtml/Sales/Order/View.php
CHANGED
|
@@ -21,7 +21,7 @@ class VES_PdfPro_Block_Adminhtml_Sales_Order_View extends Mage_Adminhtml_Block_T
|
|
| 21 |
* @return string
|
| 22 |
*/
|
| 23 |
public function getPrintUrl(){
|
| 24 |
-
return $this->getUrl('
|
| 25 |
}
|
| 26 |
|
| 27 |
/**
|
| 21 |
* @return string
|
| 22 |
*/
|
| 23 |
public function getPrintUrl(){
|
| 24 |
+
return $this->getUrl('adminhtml/pdfpro_print/order',array('order_id'=>$this->getOrder()->getId()));
|
| 25 |
}
|
| 26 |
|
| 27 |
/**
|
app/code/community/VES/PdfPro/Model/Observer.php
CHANGED
|
@@ -20,42 +20,42 @@ class VES_PdfPro_Model_Observer
|
|
| 20 |
if(Mage::getStoreConfig('pdfpro/config/admin_print_order')){
|
| 21 |
$block->addItem('easypdf-print-orders', array(
|
| 22 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Orders'),
|
| 23 |
-
'url' => Mage::getUrl('
|
| 24 |
));
|
| 25 |
}
|
| 26 |
$block->addItem('easypdf-print-invoices', array(
|
| 27 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Invoices'),
|
| 28 |
-
'url' => Mage::getUrl('
|
| 29 |
));
|
| 30 |
$block->addItem('easypdf-print-shipments', array(
|
| 31 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Packingslips'),
|
| 32 |
-
'url' => Mage::getUrl('
|
| 33 |
));
|
| 34 |
$block->addItem('easypdf-print-creditmemos', array(
|
| 35 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Credit Memos'),
|
| 36 |
-
'url' => Mage::getUrl('
|
| 37 |
));
|
| 38 |
$block->addItem('easypdf-print-all', array(
|
| 39 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print All'),
|
| 40 |
-
'url' => Mage::getUrl('
|
| 41 |
));
|
| 42 |
}
|
| 43 |
}else if($block instanceof Mage_Adminhtml_Block_Widget_Grid_Massaction_Abstract && ($block->getRequest()->getControllerName() == 'sales_invoice' || $block->getRequest()->getControllerName() == 'sales_order_invoice')){
|
| 44 |
$block->addItem('easypdf-print-invoices', array(
|
| 45 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Invoices'),
|
| 46 |
-
'url' => Mage::getUrl('
|
| 47 |
));
|
| 48 |
}else if($block instanceof Mage_Adminhtml_Block_Widget_Grid_Massaction_Abstract && ($block->getRequest()->getControllerName() == 'sales_shipment' || $block->getRequest()->getControllerName() == 'sales_order_shipment')){
|
| 49 |
if(!Mage::getStoreConfig('pdfpro/config/remove_default_print')){
|
| 50 |
$block->addItem('easypdf-print-shipments', array(
|
| 51 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Packingslips'),
|
| 52 |
-
'url' => Mage::getUrl('
|
| 53 |
));
|
| 54 |
}
|
| 55 |
}else if($block instanceof Mage_Adminhtml_Block_Widget_Grid_Massaction_Abstract && ($block->getRequest()->getControllerName() == 'sales_creditmemo' || $block->getRequest()->getControllerName() == 'sales_order_creditmemo')){
|
| 56 |
$block->addItem('easypdf-print-creditmemos', array(
|
| 57 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Credit Memos'),
|
| 58 |
-
'url' => Mage::getUrl('
|
| 59 |
));
|
| 60 |
}
|
| 61 |
}
|
|
@@ -75,24 +75,24 @@ class VES_PdfPro_Model_Observer
|
|
| 75 |
|
| 76 |
$block->addItem('easypdf-print-orders', array(
|
| 77 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Orders'),
|
| 78 |
-
'url' => Mage::getUrl('
|
| 79 |
));
|
| 80 |
}
|
| 81 |
$block->addItem('easypdf-print-invoices', array(
|
| 82 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Invoices'),
|
| 83 |
-
'url' => Mage::getUrl('
|
| 84 |
));
|
| 85 |
$block->addItem('easypdf-print-shipments', array(
|
| 86 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Packingslips'),
|
| 87 |
-
'url' => Mage::getUrl('
|
| 88 |
));
|
| 89 |
$block->addItem('easypdf-print-creditmemos', array(
|
| 90 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Credit Memos'),
|
| 91 |
-
'url' => Mage::getUrl('
|
| 92 |
));
|
| 93 |
$block->addItem('easypdf-print-all', array(
|
| 94 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print All'),
|
| 95 |
-
'url' => Mage::getUrl('
|
| 96 |
));
|
| 97 |
$block->addItem('print_shipping_label', array(
|
| 98 |
'label'=> Mage::helper('sales')->__('Print Shipping Labels'),
|
|
@@ -119,7 +119,7 @@ class VES_PdfPro_Model_Observer
|
|
| 119 |
$block->removeItem('pdfshipments_order');
|
| 120 |
$block->addItem('easypdf-print-shipments', array(
|
| 121 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Packingslips'),
|
| 122 |
-
'url' => Mage::getUrl('
|
| 123 |
));
|
| 124 |
}
|
| 125 |
}else if($block instanceof Mage_Adminhtml_Block_Widget_Grid_Massaction_Abstract && ($block->getRequest()->getControllerName() == 'sales_creditmemo' || $block->getRequest()->getControllerName() == 'sales_order_creditmemo')){
|
| 20 |
if(Mage::getStoreConfig('pdfpro/config/admin_print_order')){
|
| 21 |
$block->addItem('easypdf-print-orders', array(
|
| 22 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Orders'),
|
| 23 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/orders'),
|
| 24 |
));
|
| 25 |
}
|
| 26 |
$block->addItem('easypdf-print-invoices', array(
|
| 27 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Invoices'),
|
| 28 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/invoices'),
|
| 29 |
));
|
| 30 |
$block->addItem('easypdf-print-shipments', array(
|
| 31 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Packingslips'),
|
| 32 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/shipments'),
|
| 33 |
));
|
| 34 |
$block->addItem('easypdf-print-creditmemos', array(
|
| 35 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Credit Memos'),
|
| 36 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/creditmemos'),
|
| 37 |
));
|
| 38 |
$block->addItem('easypdf-print-all', array(
|
| 39 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print All'),
|
| 40 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/all'),
|
| 41 |
));
|
| 42 |
}
|
| 43 |
}else if($block instanceof Mage_Adminhtml_Block_Widget_Grid_Massaction_Abstract && ($block->getRequest()->getControllerName() == 'sales_invoice' || $block->getRequest()->getControllerName() == 'sales_order_invoice')){
|
| 44 |
$block->addItem('easypdf-print-invoices', array(
|
| 45 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Invoices'),
|
| 46 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/invoices'),
|
| 47 |
));
|
| 48 |
}else if($block instanceof Mage_Adminhtml_Block_Widget_Grid_Massaction_Abstract && ($block->getRequest()->getControllerName() == 'sales_shipment' || $block->getRequest()->getControllerName() == 'sales_order_shipment')){
|
| 49 |
if(!Mage::getStoreConfig('pdfpro/config/remove_default_print')){
|
| 50 |
$block->addItem('easypdf-print-shipments', array(
|
| 51 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Packingslips'),
|
| 52 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/shipments'),
|
| 53 |
));
|
| 54 |
}
|
| 55 |
}else if($block instanceof Mage_Adminhtml_Block_Widget_Grid_Massaction_Abstract && ($block->getRequest()->getControllerName() == 'sales_creditmemo' || $block->getRequest()->getControllerName() == 'sales_order_creditmemo')){
|
| 56 |
$block->addItem('easypdf-print-creditmemos', array(
|
| 57 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Credit Memos'),
|
| 58 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/creditmemos'),
|
| 59 |
));
|
| 60 |
}
|
| 61 |
}
|
| 75 |
|
| 76 |
$block->addItem('easypdf-print-orders', array(
|
| 77 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Orders'),
|
| 78 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/orders'),
|
| 79 |
));
|
| 80 |
}
|
| 81 |
$block->addItem('easypdf-print-invoices', array(
|
| 82 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Invoices'),
|
| 83 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/invoices'),
|
| 84 |
));
|
| 85 |
$block->addItem('easypdf-print-shipments', array(
|
| 86 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Packingslips'),
|
| 87 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/shipments'),
|
| 88 |
));
|
| 89 |
$block->addItem('easypdf-print-creditmemos', array(
|
| 90 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Credit Memos'),
|
| 91 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/creditmemos'),
|
| 92 |
));
|
| 93 |
$block->addItem('easypdf-print-all', array(
|
| 94 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print All'),
|
| 95 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/all'),
|
| 96 |
));
|
| 97 |
$block->addItem('print_shipping_label', array(
|
| 98 |
'label'=> Mage::helper('sales')->__('Print Shipping Labels'),
|
| 119 |
$block->removeItem('pdfshipments_order');
|
| 120 |
$block->addItem('easypdf-print-shipments', array(
|
| 121 |
'label'=> 'Easy PDF - '.Mage::helper('pdfpro')->__('Print Packingslips'),
|
| 122 |
+
'url' => Mage::getUrl('adminhtml/pdfpro_print/shipments'),
|
| 123 |
));
|
| 124 |
}
|
| 125 |
}else if($block instanceof Mage_Adminhtml_Block_Widget_Grid_Massaction_Abstract && ($block->getRequest()->getControllerName() == 'sales_creditmemo' || $block->getRequest()->getControllerName() == 'sales_order_creditmemo')){
|
app/code/community/VES/PdfPro/controllers/Adminhtml/Pdfpro/PrintController.php
ADDED
|
@@ -0,0 +1,328 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* VES_PdfPro_Adminhtml_PrintController
|
| 4 |
+
*
|
| 5 |
+
* @author VnEcoms Team <support@vnecoms.com>
|
| 6 |
+
* @website http://www.vnecoms.com
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
class VES_PdfPro_Adminhtml_Pdfpro_PrintController extends Mage_Adminhtml_Controller_Action
|
| 10 |
+
{
|
| 11 |
+
/**
|
| 12 |
+
* Print an Order
|
| 13 |
+
*/
|
| 14 |
+
public function orderAction(){
|
| 15 |
+
$orderId = $this->getRequest()->getParam('order_id');
|
| 16 |
+
if (empty($orderId)) {
|
| 17 |
+
Mage::getSingleton('adminhtml/session')->addError('There is no order to process');
|
| 18 |
+
$this->_redirect('adminhtml/sales_order');
|
| 19 |
+
return;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
$order = Mage::getModel('sales/order')->load($orderId);
|
| 23 |
+
if(!$order->getId()){$this->_forward('no-route');return;}
|
| 24 |
+
$orderData= Mage::getModel('pdfpro/order')->initOrderData($order);
|
| 25 |
+
try{
|
| 26 |
+
$result = Mage::helper('pdfpro')->initPdf(array($orderData),'order');
|
| 27 |
+
if($result['success']){
|
| 28 |
+
$this->_prepareDownloadResponse(Mage::helper('pdfpro')->getFileName('order',$order).'.pdf', $result['content']);
|
| 29 |
+
}else{
|
| 30 |
+
throw new Mage_Core_Exception($result['msg']);
|
| 31 |
+
}
|
| 32 |
+
}catch(Exception $e){
|
| 33 |
+
Mage::getSingleton('core/session')->addError($e->getMessage());
|
| 34 |
+
$this->_redirect('adminhtml/sales_order/view',array('order_id'=>$orderId));
|
| 35 |
+
}
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
/**
|
| 39 |
+
* Print Orders
|
| 40 |
+
*/
|
| 41 |
+
public function ordersAction(){
|
| 42 |
+
$orderIds = $this->getRequest()->getParam('order_ids');
|
| 43 |
+
if (empty($orderIds)) {
|
| 44 |
+
Mage::getSingleton('adminhtml/session')->addError('There is no order to process');
|
| 45 |
+
$this->_redirect('adminhtml/sales_order');
|
| 46 |
+
return;
|
| 47 |
+
}
|
| 48 |
+
$orderDatas = array();
|
| 49 |
+
foreach($orderIds as $orderId){
|
| 50 |
+
$order = Mage::getModel('sales/order')->load($orderId);
|
| 51 |
+
if(!$order->getId()){continue;}
|
| 52 |
+
$orderDatas[] = Mage::getModel('pdfpro/order')->initOrderData($order);
|
| 53 |
+
}
|
| 54 |
+
try{
|
| 55 |
+
$result = Mage::helper('pdfpro')->initPdf($orderDatas,'order');
|
| 56 |
+
if($result['success']){
|
| 57 |
+
$this->_prepareDownloadResponse(Mage::helper('pdfpro')->getFileName('orders').'.pdf', $result['content']);
|
| 58 |
+
}else{
|
| 59 |
+
throw new Mage_Core_Exception($result['msg']);
|
| 60 |
+
}
|
| 61 |
+
}catch(Exception $e){
|
| 62 |
+
Mage::getSingleton('core/session')->addError($e->getMessage());
|
| 63 |
+
$this->_redirect('adminhtml/sales_order/index');
|
| 64 |
+
}
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
/**
|
| 69 |
+
* Print An Invoice
|
| 70 |
+
*/
|
| 71 |
+
public function invoiceAction(){
|
| 72 |
+
$invoiceId = $this->getRequest()->getParam('invoice_id');
|
| 73 |
+
$invoice = Mage::getModel('sales/order_invoice')->load($invoiceId);
|
| 74 |
+
if (!$invoice->getId()) {
|
| 75 |
+
$this->_getSession()->addError($this->__('The invoice no longer exists.'));
|
| 76 |
+
$this->_forward('no-route');
|
| 77 |
+
return;
|
| 78 |
+
}
|
| 79 |
+
$invoiceData = Mage::getModel('pdfpro/order_invoice')->initInvoiceData($invoice);
|
| 80 |
+
try{
|
| 81 |
+
$result = Mage::helper('pdfpro')->initPdf(array($invoiceData));
|
| 82 |
+
if($result['success']){
|
| 83 |
+
$this->_prepareDownloadResponse(Mage::helper('pdfpro')->getFileName('invoice',$invoice).'.pdf', $result['content']);
|
| 84 |
+
}else{
|
| 85 |
+
throw new Mage_Core_Exception($result['msg']);
|
| 86 |
+
}
|
| 87 |
+
}catch(Exception $e){
|
| 88 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
| 89 |
+
$this->_redirect('adminhtml/sales_order_invoice/view',array('invoice_id'=>$invoiceId));
|
| 90 |
+
}
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
/**
|
| 95 |
+
* Print invoices
|
| 96 |
+
*/
|
| 97 |
+
public function invoicesAction(){
|
| 98 |
+
$orderIds = $this->getRequest()->getParam('order_ids');
|
| 99 |
+
$invoiceIds = $this->getRequest()->getParam('invoice_ids');
|
| 100 |
+
$flag = false;
|
| 101 |
+
if (!empty($orderIds) || !empty($invoiceIds)) {
|
| 102 |
+
$invoiceDatas = array();
|
| 103 |
+
$invoices = Mage::getResourceModel('sales/order_invoice_collection')->addAttributeToSelect('*');
|
| 104 |
+
if(!empty($orderIds)){
|
| 105 |
+
$invoices->addFieldToFilter('order_id',array('in',$orderIds));
|
| 106 |
+
}else if(!empty($invoiceIds)){
|
| 107 |
+
$invoices->addFieldToFilter('entity_id',array('in',$invoiceIds));
|
| 108 |
+
}
|
| 109 |
+
$invoices->load();
|
| 110 |
+
if($invoices->count() > 0) $flag = true;
|
| 111 |
+
foreach($invoices as $invoice){
|
| 112 |
+
$invoiceDatas[] = Mage::getModel('pdfpro/order_invoice')->initInvoiceData($invoice);
|
| 113 |
+
}
|
| 114 |
+
if ($flag) {
|
| 115 |
+
try{
|
| 116 |
+
$result = Mage::helper('pdfpro')->initPdf($invoiceDatas);
|
| 117 |
+
if($result['success']){
|
| 118 |
+
$this->_prepareDownloadResponse(Mage::helper('pdfpro')->getFileName('invoices').'.pdf', $result['content']);
|
| 119 |
+
}else{
|
| 120 |
+
throw new Mage_Core_Exception($result['msg']);
|
| 121 |
+
}
|
| 122 |
+
}catch(Exception $e){
|
| 123 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
| 124 |
+
if(!empty($orderIds)) $this->_redirect('adminhtml/sales_order/index');
|
| 125 |
+
else $this->_redirect('adminhtml/sales_invoice/index');
|
| 126 |
+
}
|
| 127 |
+
} else {
|
| 128 |
+
if(!empty($orderIds)){
|
| 129 |
+
$this->_getSession()->addError($this->__('There are no printable documents related to selected orders.'));
|
| 130 |
+
}else{
|
| 131 |
+
$this->_getSession()->addError($this->__('There are no printable documents related to selected invoices.'));
|
| 132 |
+
}
|
| 133 |
+
if(!empty($orderIds)) $this->_redirect('adminhtml/sales_order/index');
|
| 134 |
+
else $this->_redirect('adminhtml/sales_invoice/index');
|
| 135 |
+
}
|
| 136 |
+
}
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
/**
|
| 140 |
+
* Print A Packingslip
|
| 141 |
+
*/
|
| 142 |
+
public function shipmentAction(){
|
| 143 |
+
$shipmentId = $this->getRequest()->getParam('shipment_id');
|
| 144 |
+
$shipment = Mage::getModel('sales/order_shipment')->load($shipmentId);
|
| 145 |
+
if (!$shipment->getId()) {
|
| 146 |
+
$this->_getSession()->addError($this->__('The shipment no longer exists.'));
|
| 147 |
+
$this->_forward('no-route');
|
| 148 |
+
return;
|
| 149 |
+
}
|
| 150 |
+
$shipmentData = Mage::getModel('pdfpro/order_shipment')->initShipmentData($shipment);
|
| 151 |
+
try{
|
| 152 |
+
$result = Mage::helper('pdfpro')->initPdf(array($shipmentData),'shipment');
|
| 153 |
+
if($result['success']){
|
| 154 |
+
$this->_prepareDownloadResponse(Mage::helper('pdfpro')->getFileName('shipment',$shipment).'.pdf', $result['content']);
|
| 155 |
+
}else{
|
| 156 |
+
throw new Mage_Core_Exception($result['msg']);
|
| 157 |
+
}
|
| 158 |
+
}catch(Exception $e){
|
| 159 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
| 160 |
+
$this->_redirect('adminhtml/sales_order_shipment/view',array('shipment_id'=>$shipmentId));
|
| 161 |
+
}
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
/**
|
| 165 |
+
* Print Packingslips
|
| 166 |
+
*/
|
| 167 |
+
public function shipmentsAction(){
|
| 168 |
+
$orderIds = $this->getRequest()->getPost('order_ids');
|
| 169 |
+
$shipmentIds = $this->getRequest()->getParam('shipment_ids');
|
| 170 |
+
if (!empty($orderIds) || !empty($shipmentIds)) {
|
| 171 |
+
$shipments = Mage::getResourceModel('sales/order_shipment_collection')->addAttributeToSelect('*');
|
| 172 |
+
if(!empty($orderIds)){
|
| 173 |
+
$shipments->addFieldToFilter('order_id',array('in',$orderIds));
|
| 174 |
+
}else if(!empty($shipmentIds)){
|
| 175 |
+
$shipments->addFieldToFilter('entity_id',array('in',$shipmentIds));
|
| 176 |
+
}
|
| 177 |
+
$shipments->load();
|
| 178 |
+
if ($shipments->getSize()) {
|
| 179 |
+
$shipmentDatas = array();
|
| 180 |
+
foreach($shipments as $shipment){
|
| 181 |
+
$shipmentDatas[] = Mage::getModel('pdfpro/order_shipment')->initShipmentData($shipment);
|
| 182 |
+
}
|
| 183 |
+
try{
|
| 184 |
+
$result = Mage::helper('pdfpro')->initPdf($shipmentDatas,'shipment');
|
| 185 |
+
if($result['success']){
|
| 186 |
+
$this->_prepareDownloadResponse(Mage::helper('pdfpro')->getFileName('shipments').'.pdf', $result['content']);
|
| 187 |
+
}else{
|
| 188 |
+
throw new Mage_Core_Exception($result['msg']);
|
| 189 |
+
}
|
| 190 |
+
}catch(Exception $e){
|
| 191 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
| 192 |
+
if(!empty($orderIds)) $this->_redirect('adminhtml/sales_order/index');
|
| 193 |
+
else $this->_redirect('adminhtml/sales_shipment/index');
|
| 194 |
+
}
|
| 195 |
+
} else {
|
| 196 |
+
$this->_getSession()->addError($this->__('There are no printable documents related to selected orders.'));
|
| 197 |
+
if(!empty($orderIds)) $this->_redirect('adminhtml/sales_order/index');
|
| 198 |
+
else $this->_redirect('adminhtml/sales_shipment/index');
|
| 199 |
+
}
|
| 200 |
+
}
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
/**
|
| 204 |
+
* Print A Packingslip
|
| 205 |
+
*/
|
| 206 |
+
public function creditmemoAction(){
|
| 207 |
+
$creditmemoId = $this->getRequest()->getParam('creditmemo_id');
|
| 208 |
+
$creditmemo = Mage::getModel('sales/order_creditmemo')->load($creditmemoId);
|
| 209 |
+
if (!$creditmemo->getId()) {
|
| 210 |
+
$this->_getSession()->addError($this->__('The shipment no longer exists.'));
|
| 211 |
+
$this->_forward('no-route');
|
| 212 |
+
return;
|
| 213 |
+
}
|
| 214 |
+
$creditmemoData = Mage::getModel('pdfpro/order_creditmemo')->initCreditmemoData($creditmemo);
|
| 215 |
+
try{
|
| 216 |
+
$result = Mage::helper('pdfpro')->initPdf(array($creditmemoData),'creditmemo');
|
| 217 |
+
if($result['success']){
|
| 218 |
+
$this->_prepareDownloadResponse(Mage::helper('pdfpro')->getFileName('creditmemo',$creditmemo).'.pdf', $result['content']);
|
| 219 |
+
}else{
|
| 220 |
+
throw new Mage_Core_Exception($result['msg']);
|
| 221 |
+
}
|
| 222 |
+
}catch(Exception $e){
|
| 223 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
| 224 |
+
$this->_redirect('adminhtml/sales_order_creditmemo/view',array('creditmemo_id'=>$creditmemoId));
|
| 225 |
+
}
|
| 226 |
+
}
|
| 227 |
+
|
| 228 |
+
/**
|
| 229 |
+
* Print Packingslips
|
| 230 |
+
*/
|
| 231 |
+
public function creditmemosAction(){
|
| 232 |
+
$orderIds = $this->getRequest()->getPost('order_ids');
|
| 233 |
+
$creditmemoIds = $this->getRequest()->getParam('creditmemo_ids');
|
| 234 |
+
if (!empty($orderIds) || !empty($creditmemoIds)) {
|
| 235 |
+
$creditmemos = Mage::getResourceModel('sales/order_creditmemo_collection')->addAttributeToSelect('*');
|
| 236 |
+
if(!empty($orderIds)){
|
| 237 |
+
$creditmemos->addFieldToFilter('order_id',array('in',$orderIds));
|
| 238 |
+
}else if(!empty($creditmemoIds)){
|
| 239 |
+
$creditmemos->addFieldToFilter('entity_id',array('in',$creditmemoIds));
|
| 240 |
+
}
|
| 241 |
+
$creditmemos->load();
|
| 242 |
+
if ($creditmemos->getSize()) {
|
| 243 |
+
$creditmemoDatas = array();
|
| 244 |
+
foreach($creditmemos as $creditmemo){
|
| 245 |
+
$creditmemoDatas[] = Mage::getModel('pdfpro/order_creditmemo')->initCreditmemoData($creditmemo);
|
| 246 |
+
}
|
| 247 |
+
try{
|
| 248 |
+
$result = Mage::helper('pdfpro')->initPdf($creditmemoDatas,'creditmemo');
|
| 249 |
+
if($result['success']){
|
| 250 |
+
$this->_prepareDownloadResponse(Mage::helper('pdfpro')->getFileName('creditmemos').'.pdf', $result['content']);
|
| 251 |
+
}else{
|
| 252 |
+
throw new Mage_Core_Exception($result['msg']);
|
| 253 |
+
}
|
| 254 |
+
}catch(Exception $e){
|
| 255 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
| 256 |
+
if(!empty($orderIds)) $this->_redirect('adminhtml/sales_order/index');
|
| 257 |
+
else $this->_redirect('adminhtml/sales_creditmemo/index');
|
| 258 |
+
}
|
| 259 |
+
} else {
|
| 260 |
+
$this->_getSession()->addError($this->__('There are no printable documents related to selected orders.'));
|
| 261 |
+
if(!empty($orderIds)) $this->_redirect('adminhtml/sales_order/index');
|
| 262 |
+
else $this->_redirect('adminhtml/sales_creditmemo/index');
|
| 263 |
+
}
|
| 264 |
+
}
|
| 265 |
+
}
|
| 266 |
+
/**
|
| 267 |
+
* Print All
|
| 268 |
+
*/
|
| 269 |
+
public function allAction(){
|
| 270 |
+
$orderIds = $this->getRequest()->getPost('order_ids');
|
| 271 |
+
$data = array();
|
| 272 |
+
$canPrint = false;
|
| 273 |
+
foreach($orderIds as $orderId){
|
| 274 |
+
$item = array();
|
| 275 |
+
$order = Mage::getModel('sales/order')->load($orderId);
|
| 276 |
+
/*Init order data*/
|
| 277 |
+
if(Mage::getStoreConfig('pdfpro/config/admin_print_order')){
|
| 278 |
+
$item['order'][] = Mage::getModel('pdfpro/order')->initOrderData($order);
|
| 279 |
+
$canPrint = true;
|
| 280 |
+
}
|
| 281 |
+
/*Init invoice data*/
|
| 282 |
+
$invoices = Mage::getResourceModel('sales/order_invoice_collection')->addAttributeToSelect('*')->addFieldToFilter('order_id',$orderId);
|
| 283 |
+
if($invoices->count() > 0){
|
| 284 |
+
$invoiceDatas = array();
|
| 285 |
+
foreach($invoices as $invoice){
|
| 286 |
+
$invoiceDatas[] = Mage::getModel('pdfpro/order_invoice')->initInvoiceData($invoice);
|
| 287 |
+
}
|
| 288 |
+
$item['invoice'] = $invoiceDatas;
|
| 289 |
+
$canPrint = true;
|
| 290 |
+
}
|
| 291 |
+
|
| 292 |
+
/*Init shipment data*/
|
| 293 |
+
$shipments = Mage::getResourceModel('sales/order_shipment_collection')->addAttributeToSelect('*')->addFieldToFilter('order_id',$orderId);
|
| 294 |
+
if($shipments->count() > 0){
|
| 295 |
+
$shipmentDatas = array();
|
| 296 |
+
foreach($shipments as $shipment){
|
| 297 |
+
$shipmentDatas[] = Mage::getModel('pdfpro/order_shipment')->initShipmentData($shipment);
|
| 298 |
+
}
|
| 299 |
+
$item['shipment'] = $shipmentDatas;
|
| 300 |
+
$canPrint = true;
|
| 301 |
+
}
|
| 302 |
+
|
| 303 |
+
/*Init credit memo data*/
|
| 304 |
+
$creditmemos = Mage::getResourceModel('sales/order_creditmemo_collection')->addAttributeToSelect('*')->addFieldToFilter('order_id',$orderId);
|
| 305 |
+
if($creditmemos->count() > 0){
|
| 306 |
+
$creditmemoDatas = array();
|
| 307 |
+
foreach($creditmemos as $creditmemo){
|
| 308 |
+
$creditmemoDatas[] = Mage::getModel('pdfpro/order_creditmemo')->initCreditmemoData($creditmemo);
|
| 309 |
+
}
|
| 310 |
+
$item['creditmemo'] = $creditmemoDatas;
|
| 311 |
+
$canPrint = true;
|
| 312 |
+
}
|
| 313 |
+
$data[] = $item;
|
| 314 |
+
}
|
| 315 |
+
try{
|
| 316 |
+
if(!$canPrint){throw new Mage_Core_Exception($this->__('There are no printable documents related to selected orders.'));}
|
| 317 |
+
$result = Mage::helper('pdfpro')->initPdf($data,'all');
|
| 318 |
+
if($result['success']){
|
| 319 |
+
$this->_prepareDownloadResponse(Mage::helper('pdfpro')->getFileName('all').'.pdf', $result['content']);
|
| 320 |
+
}else{
|
| 321 |
+
throw new Mage_Core_Exception($result['msg']);
|
| 322 |
+
}
|
| 323 |
+
}catch(Exception $e){
|
| 324 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
| 325 |
+
$this->_redirect('adminhtml/sales_order/index');
|
| 326 |
+
}
|
| 327 |
+
}
|
| 328 |
+
}
|
app/code/community/VES/PdfPro/etc/config.xml
CHANGED
|
@@ -18,6 +18,13 @@
|
|
| 18 |
</frontend>
|
| 19 |
<admin>
|
| 20 |
<routers>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
<pdfpro_cp>
|
| 22 |
<use>admin</use>
|
| 23 |
<args>
|
| 18 |
</frontend>
|
| 19 |
<admin>
|
| 20 |
<routers>
|
| 21 |
+
<adminhtml>
|
| 22 |
+
<args>
|
| 23 |
+
<modules>
|
| 24 |
+
<pdfpro before="Mage_Adminhtml">VES_PdfPro_Adminhtml</pdfpro>
|
| 25 |
+
</modules>
|
| 26 |
+
</args>
|
| 27 |
+
</adminhtml>
|
| 28 |
<pdfpro_cp>
|
| 29 |
<use>admin</use>
|
| 30 |
<args>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Easy_PDF_Invoice</name>
|
| 4 |
-
<version>1.2.0.2.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL V3.0</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -16,9 +16,9 @@
|
|
| 16 |
- Allow to attach invoice pdf in email
|
| 17 |
- Compatible with Aschroder_SMTPPro</notes>
|
| 18 |
<authors><author><name>Easy PDF Invoice</name><user>auto-converted</user><email>easypdfinvoice@gmail.com</email></author></authors>
|
| 19 |
-
<date>2014-
|
| 20 |
-
<time>
|
| 21 |
-
<contents><target name="mageetc"><dir name="modules"><file name="VES_PdfPro.xml" hash="4b43f61fe34d6f90260b6008e52e48bd"/><file name="VES_Core.xml" hash="993748572ce3df9800a320f9145f4860"/></dir></target><target name="magecommunity"><dir name="VES"><dir name="PdfPro"><dir name="Block"><dir name="Adminhtml"><dir name="Key"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="6ed2ab13f4e2c5c25671aacf00fe9694"/></dir><file name="Form.php" hash="46346f33119419be5ba874fa7ffd85b6"/><file name="Tabs.php" hash="7deee93f14cdf27faa036b848f36e2d8"/></dir><dir name="Grid"><dir name="Renderer"><file name="Group.php" hash="892d50662567d468eb9128034de54f19"/><file name="Store.php" hash="e1f763568b9f84a58798308f83536d7b"/></dir></dir><file name="Edit.php" hash="a8798ad23b9da53d836c6947dff2e49a"/><file name="Grid.php" hash="b46ff3b9fcac57a17eaa90602be61aa0"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="View.php" hash="fb2c17f888c8acb5dbe2574e635c77bf"/></dir><dir name="Invoice"><file name="View.php" hash="69fb3ac882ffc657d0879dac143d647e"/></dir><dir name="Shipment"><file name="View.php" hash="633822374d7cc1f9c167af3628069cb5"/></dir><file name="View.php" hash="3a94ef916cf0cc2cb15c02f2e9a3c885"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Fieldset.php" hash="b014be284c5d7882800aafda28b4def3"/></dir></dir></dir><file name="Key.php" hash="2d74a4aac519acc063d94a48f786fbbf"/><file name="Version.php" hash="536745305fb988b7773e1962bafe77bd"/></dir><dir name="Checkout"><dir name="Onepage"><file name="Success.php" hash="9f45ac2f4c5643f7c560f64ec6e879b9"/></dir></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Items.php" hash="188d1bf570876c1ee4eb10b392826969"/></dir><dir name="Info"><file name="Buttons.php" hash="092e23b4ea0532a0b1c30155bb988500"/></dir><dir name="Invoice"><file name="Items.php" hash="af0a2e0530c243f4fc36d2b1ba85a03d"/></dir><dir name="Shipment"><file name="Items.php" hash="05ba7ea0f96dd688e32ac382de3d97aa"/></dir><file name="Info.php" hash="df3add1cad16f992c016f34bc50001da"/></dir></dir></dir><dir name="Controller"><file name="Abstract.php" hash="ef9a45c9dff768952c8162edd040689d"/></dir><dir name="Helper"><file name="Data.php" hash="cd48ce75b5fd05f249ff2f409c4a0a2d"/><file name="Giftmessage.php" hash="fd1f964045ff32824d8adeef45d9f353"/></dir><dir name="Model"><dir name="App"><file name="Emulation.php" hash="04198592d643fee6de163cb4840fd1c5"/></dir><dir name="Communication"><dir name="Method"><file name="Abstract.php" hash="92691ba24ed56500a517a323dc37c783"/><file name="Soap.php" hash="9bebec927cd317828c226af2f84e46a4"/><file name="Xmlrpc.php" hash="9ef324fc87bfb1b2ce7e21dcd061faa4"/></dir></dir><dir name="Email"><dir name="Template"><file name="Mailer.php" hash="be32e7a6b46ff9001c35887f9ebe7826"/><file name="Mailer.php.bk" hash="c0ce04b3c73aeffd55f94e180e379416"/></dir><file name="Info.php" hash="7933a32bf8d938a7fd527a958ceb760f"/><file name="Template.php" hash="9dfdc647e61d2b156d1b1d13760ed91e"/></dir><dir name="Mysql4"><dir name="Key"><file name="Collection.php" hash="2a833ffdea395c507056fed369d3efaa"/></dir><file name="Key.php" hash="ac5b19abb5f8cb75f5d4ae7226432158"/></dir><dir name="Order"><dir name="Creditmemo"><file name="Item.php" hash="1f3e1dd032ba92d819860015cc691ec3"/></dir><dir name="Invoice"><file name="Item.php" hash="24afcd126b0f70593898f014111d638f"/></dir><dir name="Shipment"><file name="Item.php" hash="a034e50d4b48abf33dbe23da8a8ac321"/></dir><file name="Creditmemo.php" hash="fa8fc4bc9b9668cd5804d7409da37246"/><file name="Invoice.php" hash="21af52a6b71b71e536cbdf27a8f3f819"/><file name="Item.php" hash="8ec99b4d4b29ea4e8657dea60471eda4"/><file name="Shipment.php" hash="290f501ec4695ceac86f644fb32250e5"/></dir><dir name="Processors"><file name="Easypdf.php" hash="174f02576f916c281c644933a0f26820"/></dir><dir name="Sales"><dir name="Order"><dir name="Pdf"><dir name="Total"><file name="Default.php" hash="f2734244f770ef8eed2e4895daaa1b4f"/></dir></dir><file name="Creditmemo.php" hash="b898198487940a63b04d22a08aae5579"/><file name="Invoice.php" hash="c9a15b19b60cbed6f1b92a35c8e090b9"/><file name="Shipment.php" hash="90715ec29e12e8c9a1548796924a99e5"/></dir><file name="Order.php" hash="daf58ca77bbcf5cc3f83031096f6ab61"/></dir><dir name="Source"><dir name="Communication"><file name="Method.php" hash="c62491193fdb374fdc74e52c02609194"/></dir><file name="Attach.php" hash="9fc226589336ee965aa0d5208d2dd06e"/><file name="Key.php" hash="c9ee12407a20b4fb07bd51bd0029523c"/><file name="Processor.php" hash="6a1e053c02b8e1736f0bfd942ae71434"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Easypdf.php" hash="503a34f4747cb6387ff7180e4f63b469"/></dir></dir></dir><file name="Abstract.php" hash="c0a58f8f4ec674f53850d99ce056e740"/><file name="Key.php" hash="8f89ec9497dd0a7ae2cf9ea71af2a910"/><file name="Observer.php" hash="2b2d067ab2276440791682182df97dac"/><file name="Order.php" hash="f1034ee20656b5fc41bb6da203dad3e0"/><file name="PdfPro.php" hash="eed6c10360e65705a91c3cad114ea45c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="KeyController.php" hash="f02dfb8b771b225be8eaf3376430faf5"/><file name="NotifyController.php" hash="90b9ecb5f8ce655bcdd6f07312a27cba"/><file name="PrintController.php" hash="2b1b02a7e50a686d639f346ed5c92e53"/></dir><file name="GuestController.php" hash="1866cb205ce5eef78babd77850647275"/><file name="PrintController.php" hash="fdd65232341ae18df6ddfc267aece14f"/></dir><dir name="etc"><file name="config.xml" hash="8a25e967f23d6277c772808d77a20abe"/><file name="system.xml" hash="ebd16cd16c60dc8354b995b7a1a38050"/></dir><dir name="sql"><dir name="pdfpro_setup"><file name="mysql4-install-0.1.0.php" hash="568fdc14a81905f4e98857691f765ae8"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="ves_pdfpro.xml" hash="4fef100f3a87f396e539ff59fba0d9a6"/></dir><dir name="template"><dir name="ves_pdfpro"><file name="notifications.phtml" hash="7ab210359c57102fdfe11931413e4ed8"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="VES_PdfPro.csv" hash="7443d2a6b55513d5287144307ac41018"/></dir><dir name="vi_VN"><file name="VES_PdfPro.csv" hash="685d513129c86897c9214d67a65f7690"/></dir><dir name="he_IL"><file name="VES_PdfPro.csv" hash="487635adff4c3a8fb47af8048e407c96"/></dir></target><target name="magemedia"><dir name="ves_pdfpro"><dir name="certificate"><dir name="tmp"><file name="nothing.txt" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir><dir name="logos"><file name="logo.png" hash="ae624d6aebb82f8419c247689aa8af7d"/><file name="logo_1.png" hash="d0209568ba5edb1f8646a7c3ad601f0c"/><file name="logo_2.png" hash="d0209568ba5edb1f8646a7c3ad601f0c"/><file name="logo_200.png" hash="a1a821597c2d1d3599440119ff8a9618"/><file name="logo_250.png" hash="1a18a0bb732bd0991b1057167aa0d5fa"/><file name="logo_3.png" hash="944aabc2b0656a141555eb542eaff26e"/><file name="logo_4.png" hash="553e32d9daa734eeb075be5ac4bd8462"/><file name="logo_5.png" hash="b963554080cdc4759e287c07daec189d"/><file name="logo_6.png" hash="4344940fe524fd7df48d990bc33a60e3"/><file name="logo_vnecoms.png" hash="f01d36ae2e53cacdca77130fa2ac27a8"/><file name="nothing" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><dir name="tmp"><file name="ca_38F.tmp" hash="d20caec3b48a1eef164cb4ca81ba2587"/><file name="ca_7117.tmp" hash="209fc6904237f14c6a22537a942419ac"/><file name="ca_82AA.tmp" hash="209fc6904237f14c6a22537a942419ac"/><file name="ca_89C1.tmp" hash="c5aea9af32a019e983f659eae4819a17"/><file name="ca_DECD.tmp" hash="f01d36ae2e53cacdca77130fa2ac27a8"/><file name="ca_DEED.tmp" hash="9bd84fb8ac76b38ef58b70b486f1e949"/><file name="nothing" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><file name="message.txt" hash="fcb3368378325628cc1fd8b38acdb150"/><file name="pdf.data" hash="82994bf40bf1eafbbede293c4b139546"/><file name="version.txt" hash="ee065c79e11d52b0537e119872e11359"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="ves_pdfpro"><file name="easypdf.png" hash="8403ec067302a4bf931862ad56965459"/><file name="favicon.png" hash="55210c2ab24e77a654bec6f51922917f"/><file name="js.js" hash="5ab27f2e16b90409bf4268b9afb7488c"/><file name="styles.css" hash="e25f82a17de40e72d7cd062f9f25588b"/></dir></dir></dir></dir></target><target name="magelocal"><dir name="VES"><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="Key"><dir name="Edit"><file name="Form.php" hash="3e29e36843979a1e9928397ca5c2c527"/><file name="Info.php" hash="18da8cda8ec846e43714a6b034034683"/></dir><dir name="Grid"><dir name="Renderer"><file name="License.php" hash="d1e0b4e25d4b6f1af876d9cd4240c27c"/></dir></dir><file name="Edit.php" hash="5aa1c6a94308ececc2b91f737b1beb35"/><file name="Grid.php" hash="8d341587a0c91be7d0f274cdad31da4b"/></dir><file name="Key.php" hash="64d718050309c7c3f92e2c3b40691fe6"/></dir><file name="Notification.php" hash="ed6469b0f5a2949bcb996c2819d9ff2c"/></dir><dir name="Helper"><file name="Core.php" hash="cbd1768a17fa6d70862b311a5aa7f1a3"/><file name="Data.php" hash="4e5ac05033e950f139f730f84889f4f9"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Key"><file name="Collection.php" hash="07a7beb1ea3b4c41563b700c54249bf2"/></dir><file name="Key.php" hash="2207553cd7a65bd12f8f69bcbb08cd96"/></dir><file name="Feed.php" hash="794ec4b0816dc07dd42d199ea32cdff1"/><file name="Key.php" hash="0f11239d4005ddd8e04dab37439a2f97"/><file name="Observer.php" hash="4f7de13d640638aa2e6012228ffa7206"/></dir><dir name="controllers"><dir name="Vnecoms"><file name="ExtensionController.php" hash="e20fbaa5058965b446e0e41d258b7cf8"/></dir></dir><dir name="etc"><file name="config.xml" hash="0f297c02fbd33bc9482e336d81b2062d"/><file name="system.xml.bk" hash="f7d95126285ba00ea1e52c054a4f195f"/></dir><dir name="sql"><dir name="ves_core_setup"><file name="mysql4-install-1.0.0.0.php" hash="c06556894e5335e3ae96d4176f3cc941"/></dir></dir></dir></dir></target></contents>
|
| 22 |
<compatible/>
|
| 23 |
<dependencies/>
|
| 24 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Easy_PDF_Invoice</name>
|
| 4 |
+
<version>1.2.0.2.16</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL V3.0</license>
|
| 7 |
<channel>community</channel>
|
| 16 |
- Allow to attach invoice pdf in email
|
| 17 |
- Compatible with Aschroder_SMTPPro</notes>
|
| 18 |
<authors><author><name>Easy PDF Invoice</name><user>auto-converted</user><email>easypdfinvoice@gmail.com</email></author></authors>
|
| 19 |
+
<date>2014-02-17</date>
|
| 20 |
+
<time>05:42:43</time>
|
| 21 |
+
<contents><target name="mageetc"><dir name="modules"><file name="VES_PdfPro.xml" hash="4b43f61fe34d6f90260b6008e52e48bd"/><file name="VES_Core.xml" hash="993748572ce3df9800a320f9145f4860"/></dir></target><target name="magecommunity"><dir name="VES"><dir name="PdfPro"><dir name="Block"><dir name="Adminhtml"><dir name="Key"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="6ed2ab13f4e2c5c25671aacf00fe9694"/></dir><file name="Form.php" hash="46346f33119419be5ba874fa7ffd85b6"/><file name="Tabs.php" hash="7deee93f14cdf27faa036b848f36e2d8"/></dir><dir name="Grid"><dir name="Renderer"><file name="Group.php" hash="892d50662567d468eb9128034de54f19"/><file name="Store.php" hash="e1f763568b9f84a58798308f83536d7b"/></dir></dir><file name="Edit.php" hash="a8798ad23b9da53d836c6947dff2e49a"/><file name="Grid.php" hash="b46ff3b9fcac57a17eaa90602be61aa0"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="View.php" hash="84b753f41a0ae7af40524d4061f37224"/></dir><dir name="Invoice"><file name="View.php" hash="3bcb2c1c7afe51420dea06c074707372"/></dir><dir name="Shipment"><file name="View.php" hash="ec481031bd686790f976a75153193751"/></dir><file name="View.php" hash="109983b520fa91c5549449955244b651"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Fieldset.php" hash="b014be284c5d7882800aafda28b4def3"/></dir></dir></dir><file name="Key.php" hash="2d74a4aac519acc063d94a48f786fbbf"/><file name="Version.php" hash="536745305fb988b7773e1962bafe77bd"/></dir><dir name="Checkout"><dir name="Onepage"><file name="Success.php" hash="9f45ac2f4c5643f7c560f64ec6e879b9"/></dir></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Items.php" hash="188d1bf570876c1ee4eb10b392826969"/></dir><dir name="Info"><file name="Buttons.php" hash="092e23b4ea0532a0b1c30155bb988500"/></dir><dir name="Invoice"><file name="Items.php" hash="af0a2e0530c243f4fc36d2b1ba85a03d"/></dir><dir name="Shipment"><file name="Items.php" hash="05ba7ea0f96dd688e32ac382de3d97aa"/></dir><file name="Info.php" hash="df3add1cad16f992c016f34bc50001da"/></dir></dir></dir><dir name="Controller"><file name="Abstract.php" hash="ef9a45c9dff768952c8162edd040689d"/></dir><dir name="Helper"><file name="Data.php" hash="cd48ce75b5fd05f249ff2f409c4a0a2d"/><file name="Giftmessage.php" hash="fd1f964045ff32824d8adeef45d9f353"/></dir><dir name="Model"><dir name="App"><file name="Emulation.php" hash="04198592d643fee6de163cb4840fd1c5"/></dir><dir name="Communication"><dir name="Method"><file name="Abstract.php" hash="92691ba24ed56500a517a323dc37c783"/><file name="Soap.php" hash="9bebec927cd317828c226af2f84e46a4"/><file name="Xmlrpc.php" hash="9ef324fc87bfb1b2ce7e21dcd061faa4"/></dir></dir><dir name="Email"><dir name="Template"><file name="Mailer.php" hash="be32e7a6b46ff9001c35887f9ebe7826"/><file name="Mailer.php.bk" hash="c0ce04b3c73aeffd55f94e180e379416"/></dir><file name="Info.php" hash="7933a32bf8d938a7fd527a958ceb760f"/><file name="Template.php" hash="9dfdc647e61d2b156d1b1d13760ed91e"/></dir><dir name="Mysql4"><dir name="Key"><file name="Collection.php" hash="2a833ffdea395c507056fed369d3efaa"/></dir><file name="Key.php" hash="ac5b19abb5f8cb75f5d4ae7226432158"/></dir><dir name="Order"><dir name="Creditmemo"><file name="Item.php" hash="1f3e1dd032ba92d819860015cc691ec3"/></dir><dir name="Invoice"><file name="Item.php" hash="24afcd126b0f70593898f014111d638f"/></dir><dir name="Shipment"><file name="Item.php" hash="a034e50d4b48abf33dbe23da8a8ac321"/></dir><file name="Creditmemo.php" hash="fa8fc4bc9b9668cd5804d7409da37246"/><file name="Invoice.php" hash="21af52a6b71b71e536cbdf27a8f3f819"/><file name="Item.php" hash="8ec99b4d4b29ea4e8657dea60471eda4"/><file name="Shipment.php" hash="290f501ec4695ceac86f644fb32250e5"/></dir><dir name="Processors"><file name="Easypdf.php" hash="174f02576f916c281c644933a0f26820"/></dir><dir name="Sales"><dir name="Order"><dir name="Pdf"><dir name="Total"><file name="Default.php" hash="f2734244f770ef8eed2e4895daaa1b4f"/></dir></dir><file name="Creditmemo.php" hash="b898198487940a63b04d22a08aae5579"/><file name="Invoice.php" hash="c9a15b19b60cbed6f1b92a35c8e090b9"/><file name="Shipment.php" hash="90715ec29e12e8c9a1548796924a99e5"/></dir><file name="Order.php" hash="daf58ca77bbcf5cc3f83031096f6ab61"/></dir><dir name="Source"><dir name="Communication"><file name="Method.php" hash="c62491193fdb374fdc74e52c02609194"/></dir><file name="Attach.php" hash="9fc226589336ee965aa0d5208d2dd06e"/><file name="Key.php" hash="c9ee12407a20b4fb07bd51bd0029523c"/><file name="Processor.php" hash="6a1e053c02b8e1736f0bfd942ae71434"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Easypdf.php" hash="503a34f4747cb6387ff7180e4f63b469"/></dir></dir></dir><file name="Abstract.php" hash="c0a58f8f4ec674f53850d99ce056e740"/><file name="Key.php" hash="8f89ec9497dd0a7ae2cf9ea71af2a910"/><file name="Observer.php" hash="62a6daf666077fde88c73e4c6343b07f"/><file name="Order.php" hash="f1034ee20656b5fc41bb6da203dad3e0"/><file name="PdfPro.php" hash="eed6c10360e65705a91c3cad114ea45c"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Pdfpro"><file name="PrintController.php" hash="5872434812f0e883e15c2561b5a37143"/></dir><file name="KeyController.php" hash="f02dfb8b771b225be8eaf3376430faf5"/><file name="NotifyController.php" hash="90b9ecb5f8ce655bcdd6f07312a27cba"/><file name="PrintController.php" hash="2b1b02a7e50a686d639f346ed5c92e53"/></dir><file name="GuestController.php" hash="1866cb205ce5eef78babd77850647275"/><file name="PrintController.php" hash="fdd65232341ae18df6ddfc267aece14f"/></dir><dir name="etc"><file name="config.xml" hash="0d43a1331b764ff67eb30ca6e94660f7"/><file name="system.xml" hash="ebd16cd16c60dc8354b995b7a1a38050"/></dir><dir name="sql"><dir name="pdfpro_setup"><file name="mysql4-install-0.1.0.php" hash="568fdc14a81905f4e98857691f765ae8"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="ves_pdfpro.xml" hash="4fef100f3a87f396e539ff59fba0d9a6"/></dir><dir name="template"><dir name="ves_pdfpro"><file name="notifications.phtml" hash="7ab210359c57102fdfe11931413e4ed8"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="VES_PdfPro.csv" hash="7443d2a6b55513d5287144307ac41018"/></dir><dir name="vi_VN"><file name="VES_PdfPro.csv" hash="685d513129c86897c9214d67a65f7690"/></dir><dir name="he_IL"><file name="VES_PdfPro.csv" hash="487635adff4c3a8fb47af8048e407c96"/></dir></target><target name="magemedia"><dir name="ves_pdfpro"><dir name="certificate"><dir name="tmp"><file name="nothing.txt" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir><dir name="logos"><file name="logo.png" hash="ae624d6aebb82f8419c247689aa8af7d"/><file name="logo_1.png" hash="d0209568ba5edb1f8646a7c3ad601f0c"/><file name="logo_2.png" hash="d0209568ba5edb1f8646a7c3ad601f0c"/><file name="logo_200.png" hash="a1a821597c2d1d3599440119ff8a9618"/><file name="logo_250.png" hash="1a18a0bb732bd0991b1057167aa0d5fa"/><file name="logo_3.png" hash="944aabc2b0656a141555eb542eaff26e"/><file name="logo_4.png" hash="553e32d9daa734eeb075be5ac4bd8462"/><file name="logo_5.png" hash="b963554080cdc4759e287c07daec189d"/><file name="logo_6.png" hash="4344940fe524fd7df48d990bc33a60e3"/><file name="logo_vnecoms.png" hash="f01d36ae2e53cacdca77130fa2ac27a8"/><file name="nothing" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><dir name="tmp"><file name="ca_38F.tmp" hash="d20caec3b48a1eef164cb4ca81ba2587"/><file name="ca_7117.tmp" hash="209fc6904237f14c6a22537a942419ac"/><file name="ca_82AA.tmp" hash="209fc6904237f14c6a22537a942419ac"/><file name="ca_89C1.tmp" hash="c5aea9af32a019e983f659eae4819a17"/><file name="ca_DECD.tmp" hash="f01d36ae2e53cacdca77130fa2ac27a8"/><file name="ca_DEED.tmp" hash="9bd84fb8ac76b38ef58b70b486f1e949"/><file name="nothing" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><file name="message.txt" hash="fcb3368378325628cc1fd8b38acdb150"/><file name="pdf.data" hash="82994bf40bf1eafbbede293c4b139546"/><file name="version.txt" hash="ee065c79e11d52b0537e119872e11359"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="ves_pdfpro"><file name="easypdf.png" hash="8403ec067302a4bf931862ad56965459"/><file name="favicon.png" hash="55210c2ab24e77a654bec6f51922917f"/><file name="js.js" hash="5ab27f2e16b90409bf4268b9afb7488c"/><file name="styles.css" hash="e25f82a17de40e72d7cd062f9f25588b"/></dir></dir></dir></dir></target><target name="magelocal"><dir name="VES"><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="Key"><dir name="Edit"><file name="Form.php" hash="3e29e36843979a1e9928397ca5c2c527"/><file name="Info.php" hash="18da8cda8ec846e43714a6b034034683"/></dir><dir name="Grid"><dir name="Renderer"><file name="License.php" hash="d1e0b4e25d4b6f1af876d9cd4240c27c"/></dir></dir><file name="Edit.php" hash="5aa1c6a94308ececc2b91f737b1beb35"/><file name="Grid.php" hash="8d341587a0c91be7d0f274cdad31da4b"/></dir><file name="Key.php" hash="64d718050309c7c3f92e2c3b40691fe6"/></dir><file name="Notification.php" hash="ed6469b0f5a2949bcb996c2819d9ff2c"/></dir><dir name="Helper"><file name="Core.php" hash="cbd1768a17fa6d70862b311a5aa7f1a3"/><file name="Data.php" hash="4e5ac05033e950f139f730f84889f4f9"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Key"><file name="Collection.php" hash="07a7beb1ea3b4c41563b700c54249bf2"/></dir><file name="Key.php" hash="2207553cd7a65bd12f8f69bcbb08cd96"/></dir><file name="Feed.php" hash="794ec4b0816dc07dd42d199ea32cdff1"/><file name="Key.php" hash="0f11239d4005ddd8e04dab37439a2f97"/><file name="Observer.php" hash="4f7de13d640638aa2e6012228ffa7206"/></dir><dir name="controllers"><dir name="Vnecoms"><file name="ExtensionController.php" hash="e20fbaa5058965b446e0e41d258b7cf8"/></dir></dir><dir name="etc"><file name="config.xml" hash="0f297c02fbd33bc9482e336d81b2062d"/><file name="system.xml.bk" hash="f7d95126285ba00ea1e52c054a4f195f"/></dir><dir name="sql"><dir name="ves_core_setup"><file name="mysql4-install-1.0.0.0.php" hash="c06556894e5335e3ae96d4176f3cc941"/></dir></dir></dir></dir></target></contents>
|
| 22 |
<compatible/>
|
| 23 |
<dependencies/>
|
| 24 |
</package>
|
