Version Notes
Fixed for patch SUPEE-6788
Download this release
Release Info
Developer | Marco Segura |
Extension | ReportAutomator |
Version | 0.0.3 |
Comparing to | |
See all releases |
Code changes from version 0.0.2 to 0.0.3
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Abandoned.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Accounts.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Bestsellers.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Coupons.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Customer.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Downloads.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Invoiced.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Lowstock.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Orders.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Popular.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Refunded.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/ReviewCustomer.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/ReviewProduct.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Sales.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Search.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Shipping.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/ShopProduct.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Sold.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/TagProduct.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Tax.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Totals.php +1 -1
- app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Viewed.php +1 -1
- app/code/community/Accorin/ReportAutomator/controllers/Adminhtml/{ReportController.php → Reportautomator/ReportController.php} +1 -1
- app/code/community/Accorin/ReportAutomator/etc/adminhtml.xml +1 -1
- app/code/community/Accorin/ReportAutomator/etc/config.xml +7 -7
- app/design/adminhtml/default/default/layout/reportautomator.xml +18 -10
- js/accorin/reportautomator/reportautomator-edit.js +7 -0
- js/accorin/reportautomator/reportautomator.js +0 -4
- package.xml +21 -12
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Abandoned.php
CHANGED
@@ -14,7 +14,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Abandoned extends Mage_Adm
|
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
|
17 |
-
$postBackUrl = $this->getUrl('
|
18 |
$this->addButton('reportautomator_button', array(
|
19 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
20 |
'onclick' => "scheduleThis('".$postBackUrl."','9')"
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
|
17 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
18 |
$this->addButton('reportautomator_button', array(
|
19 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
20 |
'onclick' => "scheduleThis('".$postBackUrl."','9')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Accounts.php
CHANGED
@@ -14,7 +14,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Accounts extends Mage_Admi
|
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
|
17 |
-
$postBackUrl = $this->getUrl('
|
18 |
$this->addButton('reportautomator_button', array(
|
19 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
20 |
'onclick' => "scheduleThis('".$postBackUrl."','15')"
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
|
17 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
18 |
$this->addButton('reportautomator_button', array(
|
19 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
20 |
'onclick' => "scheduleThis('".$postBackUrl."','15')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Bestsellers.php
CHANGED
@@ -18,7 +18,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Bestsellers extends Mage_A
|
|
18 |
'label' => Mage::helper('reports')->__('Show Report'),
|
19 |
'onclick' => 'filterFormSubmit()'
|
20 |
));
|
21 |
-
$postBackUrl = $this->getUrl('
|
22 |
$this->addButton('reportautomator_button', array(
|
23 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
24 |
'onclick' => "scheduleThis('".$postBackUrl."','10')"
|
18 |
'label' => Mage::helper('reports')->__('Show Report'),
|
19 |
'onclick' => 'filterFormSubmit()'
|
20 |
));
|
21 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
22 |
$this->addButton('reportautomator_button', array(
|
23 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
24 |
'onclick' => "scheduleThis('".$postBackUrl."','10')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Coupons.php
CHANGED
@@ -17,7 +17,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Coupons extends Mage_Admin
|
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
-
$postBackUrl = $this->getUrl('
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','6')"
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','6')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Customer.php
CHANGED
@@ -13,7 +13,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Customer extends Mage_Admi
|
|
13 |
$this->_headerText = Mage::helper('reports')->__('Customers Tags');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
-
$postBackUrl = $this->getUrl('
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','18')"
|
13 |
$this->_headerText = Mage::helper('reports')->__('Customers Tags');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','18')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Downloads.php
CHANGED
@@ -12,7 +12,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Downloads extends Mage_Adm
|
|
12 |
$this->_headerText = Mage::helper('reports')->__('Downloads');
|
13 |
parent::__construct();
|
14 |
$this->_removeButton('add');
|
15 |
-
$postBackUrl = $this->getUrl('
|
16 |
$this->addButton('reportautomator_button', array(
|
17 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
18 |
'onclick' => "scheduleThis('".$postBackUrl."','14')"
|
12 |
$this->_headerText = Mage::helper('reports')->__('Downloads');
|
13 |
parent::__construct();
|
14 |
$this->_removeButton('add');
|
15 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
16 |
$this->addButton('reportautomator_button', array(
|
17 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
18 |
'onclick' => "scheduleThis('".$postBackUrl."','14')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Invoiced.php
CHANGED
@@ -17,7 +17,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Invoiced extends Mage_Admi
|
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
-
$postBackUrl = $this->getUrl('
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','3')"
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','3')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Lowstock.php
CHANGED
@@ -12,7 +12,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Lowstock extends Mage_Admi
|
|
12 |
$this->_headerText = Mage::helper('reports')->__('Low stock');
|
13 |
parent::__construct();
|
14 |
$this->_removeButton('add');
|
15 |
-
$postBackUrl = $this->getUrl('
|
16 |
$this->addButton('reportautomator_button', array(
|
17 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
18 |
'onclick' => "scheduleThis('".$postBackUrl."','13')"
|
12 |
$this->_headerText = Mage::helper('reports')->__('Low stock');
|
13 |
parent::__construct();
|
14 |
$this->_removeButton('add');
|
15 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
16 |
$this->addButton('reportautomator_button', array(
|
17 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
18 |
'onclick' => "scheduleThis('".$postBackUrl."','13')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Orders.php
CHANGED
@@ -12,7 +12,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Orders extends Mage_Adminh
|
|
12 |
$this->_headerText = Mage::helper('reports')->__('Customers by number of orders');
|
13 |
parent::__construct();
|
14 |
$this->_removeButton('add');
|
15 |
-
$postBackUrl = $this->getUrl('
|
16 |
$this->addButton('reportautomator_button', array(
|
17 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
18 |
'onclick' => "scheduleThis('".$postBackUrl."','17')"
|
12 |
$this->_headerText = Mage::helper('reports')->__('Customers by number of orders');
|
13 |
parent::__construct();
|
14 |
$this->_removeButton('add');
|
15 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
16 |
$this->addButton('reportautomator_button', array(
|
17 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
18 |
'onclick' => "scheduleThis('".$postBackUrl."','17')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Popular.php
CHANGED
@@ -13,7 +13,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Popular extends Mage_Admin
|
|
13 |
$this->_headerText = Mage::helper('reports')->__('Popular Tags');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
-
$postBackUrl = $this->getUrl('
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','20')"
|
13 |
$this->_headerText = Mage::helper('reports')->__('Popular Tags');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','20')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Refunded.php
CHANGED
@@ -17,7 +17,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Refunded extends Mage_Admi
|
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
-
$postBackUrl = $this->getUrl('
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','5')"
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','5')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/ReviewCustomer.php
CHANGED
@@ -13,7 +13,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_ReviewCustomer extends Mag
|
|
13 |
$this->_headerText = Mage::helper('reports')->__('Customers Reviews');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
-
$postBackUrl = $this->getUrl('
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','21')"
|
13 |
$this->_headerText = Mage::helper('reports')->__('Customers Reviews');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','21')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/ReviewProduct.php
CHANGED
@@ -13,7 +13,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_ReviewProduct extends Mage
|
|
13 |
$this->_headerText = Mage::helper('reports')->__('Products Reviews');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
-
$postBackUrl = $this->getUrl('
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','22')"
|
13 |
$this->_headerText = Mage::helper('reports')->__('Products Reviews');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','22')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Sales.php
CHANGED
@@ -18,7 +18,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Sales extends Mage_Adminht
|
|
18 |
'label' => Mage::helper('reports')->__('Show Report'),
|
19 |
'onclick' => 'filterFormSubmit()'
|
20 |
));
|
21 |
-
$postBackUrl = $this->getUrl('
|
22 |
$this->addButton('reportautomator_button', array(
|
23 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
24 |
'onclick' => "scheduleThis('".$postBackUrl."','1')"
|
18 |
'label' => Mage::helper('reports')->__('Show Report'),
|
19 |
'onclick' => 'filterFormSubmit()'
|
20 |
));
|
21 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
22 |
$this->addButton('reportautomator_button', array(
|
23 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
24 |
'onclick' => "scheduleThis('".$postBackUrl."','1')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Search.php
CHANGED
@@ -17,7 +17,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Search extends Mage_Adminh
|
|
17 |
parent::__construct();
|
18 |
|
19 |
$this->_removeButton('add');
|
20 |
-
$postBackUrl = $this->getUrl('
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','23')"
|
17 |
parent::__construct();
|
18 |
|
19 |
$this->_removeButton('add');
|
20 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','23')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Shipping.php
CHANGED
@@ -17,7 +17,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Shipping extends Mage_Admi
|
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
-
$postBackUrl = $this->getUrl('
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','4')"
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','4')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/ShopProduct.php
CHANGED
@@ -13,7 +13,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_ShopProduct extends Mage_A
|
|
13 |
$this->_headerText = Mage::helper('reports')->__('Products in carts');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
-
$postBackUrl = $this->getUrl('
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','8')"
|
13 |
$this->_headerText = Mage::helper('reports')->__('Products in carts');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','8')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Sold.php
CHANGED
@@ -13,7 +13,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Sold extends Mage_Adminhtm
|
|
13 |
$this->_headerText = Mage::helper('reports')->__('Products Ordered');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
-
$postBackUrl = $this->getUrl('
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','11')"
|
13 |
$this->_headerText = Mage::helper('reports')->__('Products Ordered');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','11')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/TagProduct.php
CHANGED
@@ -13,7 +13,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_TagProduct extends Mage_Ad
|
|
13 |
$this->_headerText = Mage::helper('reports')->__('Products Tags');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
-
$postBackUrl = $this->getUrl('
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','19')"
|
13 |
$this->_headerText = Mage::helper('reports')->__('Products Tags');
|
14 |
parent::__construct();
|
15 |
$this->_removeButton('add');
|
16 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
17 |
$this->addButton('reportautomator_button', array(
|
18 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
19 |
'onclick' => "scheduleThis('".$postBackUrl."','19')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Tax.php
CHANGED
@@ -17,7 +17,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Tax extends Mage_Adminhtml
|
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
-
$postBackUrl = $this->getUrl('
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','2')"
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','2')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Totals.php
CHANGED
@@ -12,7 +12,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Totals extends Mage_Adminh
|
|
12 |
$this->_headerText = Mage::helper('reports')->__('Customers by Orders Total');
|
13 |
parent::__construct();
|
14 |
$this->_removeButton('add');
|
15 |
-
$postBackUrl = $this->getUrl('
|
16 |
$this->addButton('reportautomator_button', array(
|
17 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
18 |
'onclick' => "scheduleThis('".$postBackUrl."','16')"
|
12 |
$this->_headerText = Mage::helper('reports')->__('Customers by Orders Total');
|
13 |
parent::__construct();
|
14 |
$this->_removeButton('add');
|
15 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
16 |
$this->addButton('reportautomator_button', array(
|
17 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
18 |
'onclick' => "scheduleThis('".$postBackUrl."','16')"
|
app/code/community/Accorin/ReportAutomator/Block/Adminhtml/Rewrite/Viewed.php
CHANGED
@@ -17,7 +17,7 @@ class Accorin_ReportAutomator_Block_Adminhtml_Rewrite_Viewed extends Mage_Adminh
|
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
-
$postBackUrl = $this->getUrl('
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','12')"
|
17 |
'label' => Mage::helper('reports')->__('Show Report'),
|
18 |
'onclick' => 'filterFormSubmit()'
|
19 |
));
|
20 |
+
$postBackUrl = $this->getUrl('adminhtml/reportautomator_report/schedule');
|
21 |
$this->addButton('reportautomator_button', array(
|
22 |
'label' => Mage::helper('reports')->__('Schedule this'),
|
23 |
'onclick' => "scheduleThis('".$postBackUrl."','12')"
|
app/code/community/Accorin/ReportAutomator/controllers/Adminhtml/{ReportController.php → Reportautomator/ReportController.php}
RENAMED
@@ -4,7 +4,7 @@
|
|
4 |
* Created by PhpStorm.
|
5 |
* User: marcosegura
|
6 |
*/
|
7 |
-
class
|
8 |
{
|
9 |
public function indexAction()
|
10 |
{
|
4 |
* Created by PhpStorm.
|
5 |
* User: marcosegura
|
6 |
*/
|
7 |
+
class Accorin_ReportAutomator_Adminhtml_Reportautomator_ReportController extends Mage_Adminhtml_Controller_Action
|
8 |
{
|
9 |
public function indexAction()
|
10 |
{
|
app/code/community/Accorin/ReportAutomator/etc/adminhtml.xml
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
<reportautomator translate="title">
|
7 |
<title>Report Automator</title>
|
8 |
<sort_order>0</sort_order>
|
9 |
-
<action>
|
10 |
</reportautomator>
|
11 |
</children>
|
12 |
</system>
|
6 |
<reportautomator translate="title">
|
7 |
<title>Report Automator</title>
|
8 |
<sort_order>0</sort_order>
|
9 |
+
<action>adminhtml/reportautomator_report</action>
|
10 |
</reportautomator>
|
11 |
</children>
|
12 |
</system>
|
app/code/community/Accorin/ReportAutomator/etc/config.xml
CHANGED
@@ -102,13 +102,13 @@
|
|
102 |
</crontab>
|
103 |
<admin>
|
104 |
<routers>
|
105 |
-
<
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
</routers>
|
113 |
</admin>
|
114 |
</config>
|
102 |
</crontab>
|
103 |
<admin>
|
104 |
<routers>
|
105 |
+
<adminhtml>
|
106 |
+
<args>
|
107 |
+
<modules>
|
108 |
+
<reportautomator before="Mage_Adminhtml">Accorin_ReportAutomator_Adminhtml</reportautomator>
|
109 |
+
</modules>
|
110 |
+
</args>
|
111 |
+
</adminhtml>
|
112 |
</routers>
|
113 |
</admin>
|
114 |
</config>
|
app/design/adminhtml/default/default/layout/reportautomator.xml
CHANGED
@@ -1,28 +1,36 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<layout>
|
3 |
-
<
|
4 |
<reference name="content">
|
5 |
<block type="reportautomator/adminhtml_report" name="reportautomator"/>
|
6 |
</reference>
|
7 |
-
</
|
8 |
|
9 |
-
<
|
10 |
<reference name="head">
|
11 |
<action method="addJs">
|
12 |
-
<
|
13 |
</action>
|
14 |
<action method="addJs">
|
15 |
-
<
|
16 |
</action>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
<action method="addJs">
|
18 |
-
<
|
19 |
</action>
|
20 |
<action method="addJs">
|
21 |
-
<
|
22 |
</action>
|
23 |
-
<action method="
|
24 |
-
<
|
25 |
</action>
|
26 |
</reference>
|
27 |
-
</
|
28 |
</layout>
|
1 |
<?xml version="1.0"?>
|
2 |
<layout>
|
3 |
+
<adminhtml_reportautomator_report_index>
|
4 |
<reference name="content">
|
5 |
<block type="reportautomator/adminhtml_report" name="reportautomator"/>
|
6 |
</reference>
|
7 |
+
</adminhtml_reportautomator_report_index>
|
8 |
|
9 |
+
<adminhtml_reportautomator_report_edit>
|
10 |
<reference name="head">
|
11 |
<action method="addJs">
|
12 |
+
<file>accorin/reportautomator/jsoneditor.min.js</file>
|
13 |
</action>
|
14 |
<action method="addJs">
|
15 |
+
<file>accorin/reportautomator/reportautomator-edit.js</file>
|
16 |
</action>
|
17 |
+
<action method="addCss">
|
18 |
+
<name>jsoneditor.css</name>
|
19 |
+
</action>
|
20 |
+
</reference>
|
21 |
+
</adminhtml_reportautomator_report_edit>
|
22 |
+
|
23 |
+
<default>
|
24 |
+
<reference name="head">
|
25 |
<action method="addJs">
|
26 |
+
<script>accorin/reportautomator/jquery-1.8.2.min.js</script>
|
27 |
</action>
|
28 |
<action method="addJs">
|
29 |
+
<script>accorin/reportautomator/jquery.noConflict.js</script>
|
30 |
</action>
|
31 |
+
<action method="addJs">
|
32 |
+
<file>accorin/reportautomator/reportautomator.js</file>
|
33 |
</action>
|
34 |
</reference>
|
35 |
+
</default>
|
36 |
</layout>
|
js/accorin/reportautomator/reportautomator-edit.js
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Created by marcosegura on 10/21/15.
|
3 |
+
*/
|
4 |
+
|
5 |
+
varienGlobalEvents.attachEventHandler('formSubmit', function (arg) {
|
6 |
+
$('template_hidden').value = editor.getText();
|
7 |
+
});
|
js/accorin/reportautomator/reportautomator.js
CHANGED
@@ -2,10 +2,6 @@
|
|
2 |
* Created by Marco Segura on 8/7/15.
|
3 |
*/
|
4 |
|
5 |
-
varienGlobalEvents.attachEventHandler('formSubmit', function (arg) {
|
6 |
-
$('template_hidden').value = editor.getText();
|
7 |
-
});
|
8 |
-
|
9 |
function scheduleThis(url, report_id) {
|
10 |
|
11 |
url = url + "?report_id=" + report_id;
|
2 |
* Created by Marco Segura on 8/7/15.
|
3 |
*/
|
4 |
|
|
|
|
|
|
|
|
|
5 |
function scheduleThis(url, report_id) {
|
6 |
|
7 |
url = url + "?report_id=" + report_id;
|
package.xml
CHANGED
@@ -1,22 +1,31 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ReportAutomator</name>
|
4 |
-
<version>0.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">commercial</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>
|
10 |
-
<description>
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.2.0</min><max>7.0.0</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ReportAutomator</name>
|
4 |
+
<version>0.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">commercial</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Lets you automate sending Magento store reports as email attachments or via FTP distribution.</summary>
|
10 |
+
<description>The Reporting Automator extension allows Administrators to schedule Magento reports to be sent to a distribution list of users daily, weekly or monthly. <br />
|
11 |
+
<p />
|
12 |
+
A lot of business users want their daily, weekly or monthly Magento reports sent to them without having to log into Magento. With this extension, you can easily schedule standard Magento reports (and some custom ones) and have them sent on a periodic basis to the end users. <br />
|
13 |
+
<p />
|
14 |
+
With this extension you can:<br />
|
15 |
+
- Select a standard Magento report to be automated<br />
|
16 |
+
- Enter the report parameters<br />
|
17 |
+
- Specify the report frequency (daily, weekly and monthly)<br />
|
18 |
+
- Choose to have the report emailed or sent to an FTP<br />
|
19 |
+
- Reports can be run as CSV or XML<br />
|
20 |
+
<p />
|
21 |
+
The Report Automator is also able to send report XML to external systems via an FTP export.<br />
|
22 |
+
<p />
|
23 |
+
The Report Automator works on multi-store deployments.</description>
|
24 |
+
<notes>Fixed for patch SUPEE-6788</notes>
|
25 |
+
<authors><author><name>Marco Segura</name><user>marcosegura</user><email>marcos@accorin.com</email></author><author><name>Graham Lubie</name><user>grahamlubie</user><email>graham.lubie@accorin.com</email></author></authors>
|
26 |
+
<date>2015-11-03</date>
|
27 |
+
<time>14:36:46</time>
|
28 |
+
<contents><target name="magecommunity"><dir name="Accorin"><dir name="ReportAutomator"><dir name="Block"><dir name="Adminhtml"><dir name="Report"><dir name="Edit"><file name="Form.php" hash="ff542b4c61023632f3aeb456d73b26cd"/><dir name="Tab"><file name="Configuration.php" hash="f7d0eddc8b4465ee68cbaf40495347be"/><file name="Connection.php" hash="0b17e553f85a22e3cba862c148b983e4"/><file name="Details.php" hash="f111d95ce3e96646cdcbd3798b032b6d"/><file name="History.php" hash="f001d674936716a89964741f81aa986f"/></dir><file name="Tabs.php" hash="fa34c99906d7a9c3b6484fec69a4269a"/></dir><file name="Edit.php" hash="3dee34e94027812ebbfcddd2109792ee"/><file name="Grid.php" hash="9267359fda3ce05e3ddc29f48f573e20"/></dir><file name="Report.php" hash="4a3bebacb58b1cb6f4240663780f833e"/><dir name="Rewrite"><file name="Abandoned.php" hash="93506bad5f2062319d1d1518def966a7"/><file name="Accounts.php" hash="fa175fa271573e8db1e524018daa4cc2"/><file name="Bestsellers.php" hash="3a751e96b8c6a504509fb3ea716ac041"/><file name="Coupons.php" hash="dcbf6b3b63c06e3865d0cb089df21e58"/><file name="Customer.php" hash="53f992c6b484595676628d28b71b07da"/><file name="Downloads.php" hash="9cefb29b65dc0bfe1d668c30a874329f"/><file name="Invoiced.php" hash="49ea7cba6a7bbb5923f75c6235e5199d"/><file name="Lowstock.php" hash="f9d3bd6701152a683b239739b44e427e"/><file name="Orders.php" hash="d2223065502d8ab743dc3010d840d80f"/><file name="Popular.php" hash="76ab53f5517f77abbe48deac360f0873"/><file name="Refunded.php" hash="21b4b464c394e5a5608ed8f52c388cee"/><file name="ReviewCustomer.php" hash="79337c7689ec716a4d485911ca6483e0"/><file name="ReviewProduct.php" hash="08c3fffbf8cfc17f8775b1cb5938a720"/><file name="Sales.php" hash="bfa6543109f616932c72cc404f85d564"/><file name="Search.php" hash="ad729fdd3e6ddd6ef87af101cd39e374"/><file name="Shipping.php" hash="776b6590ace49a16bb378a80b8afc0de"/><file name="ShopProduct.php" hash="b9b45ba101b31e3c5edd022f644308f4"/><file name="Sold.php" hash="8a2f02fbb345cd4c72ef0ecd1e5016ee"/><file name="TagProduct.php" hash="6180ae7601b2beb7dd819279aa22c477"/><file name="Tax.php" hash="c13089b56754054cfc20560c3805b2a7"/><file name="Totals.php" hash="81bf6f45afc298402a7fd82675786251"/><file name="Viewed.php" hash="7bb5fb94e91948e5bf4ef695acb6df44"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="627dc336baf8bf72a82126e544c2d05c"/></dir><dir name="Model"><file name="Entries.php" hash="625d43c3c809c0ec8da61db349996313"/><file name="Log.php" hash="6256e4834e170250a00f61c7329c7a4b"/><dir name="Mysql4"><dir name="Entries"><file name="Collection.php" hash="0df9b2bb01c900c7efed07567692db7b"/></dir><file name="Entries.php" hash="b9741c4e28c46c943ad00240f1b77c24"/><dir name="Log"><file name="Collection.php" hash="9d2884bf9df8a96410de8817332ce090"/></dir><file name="Log.php" hash="5783a4a6f06d49738d703fba7af9499a"/><dir name="Report"><file name="Collection.php" hash="09c43331fd1699a3dd5a7f918bec2eae"/></dir><file name="Report.php" hash="1a065ebcb4437b4ade5807b5686d331f"/></dir><file name="Observer.php" hash="165f4cdbc823cf698e033d12beba409e"/><file name="Report.php" hash="720f3bb196d86717aca92d8d8c89351d"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Reportautomator"><file name="ReportController.php" hash="31e842e995154454794e91b1fb2637e5"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="0a3369728c181f9d718aad5ff081a301"/><file name="config.xml" hash="40d83972219056b9f33bff61d4e3b3f3"/><file name="system.xml" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><dir name="sql"><dir name="accorin_reportautomator_setup"><file name="mysql4-install-0.0.1.php" hash="67abadcf93f1f34605fe5b44219b6abe"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="reportautomator.xml" hash="ad68da2457f983c0828a2344dd91ed79"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Accorin_ReportAutomator.xml" hash="ea50a2ab11b9cc2a7f7d2ca52caebb39"/></dir></target><target name="mage"><dir name="js"><dir name="accorin"><dir name="reportautomator"><file name="jquery-1.8.2.min.js" hash="61551013be89774882ceee7d71cd8bdb"/><file name="jquery.noConflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="jsoneditor.js" hash="d91af6f111a3157756cc66743451a40d"/><file name="jsoneditor.map" hash="2dc57d23cdbaa49c347c2dcb3c3a2014"/><file name="jsoneditor.min.js" hash="2f958c35bcfb9b7550dc34765d229986"/><file name="reportautomator-edit.js" hash="a670f49ef96e804702d1ab4857551c37"/><file name="reportautomator.js" hash="33a94389b61bcdb04fabd4008246855b"/></dir></dir></dir></target><target name="magelib"><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Jsoneditor.php" hash="f32725fb3c2c256c58ca2545c814d303"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="img"><file name="jsoneditor-icons.png" hash="bf23347e596d0f27796120f5c62cd785"/></dir><file name="jsoneditor.css" hash="32a49e6e2d583a861096d2f03a12923c"/><file name="jsoneditor.min.css" hash="6137494ec50afad33a48ecf6d1cb0199"/></dir></dir></dir></target></contents>
|
29 |
<compatible/>
|
30 |
<dependencies><required><php><min>5.2.0</min><max>7.0.0</max></php></required></dependencies>
|
31 |
</package>
|