Version Notes
prefix order id
Download this release
Release Info
Developer | Vivek |
Extension | prefix-order-id |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- app/code/community/OM/NewOrderId/Helper/Data.php +16 -0
- app/code/community/OM/{Neworderid → NewOrderId}/Model/Eav/Entity/Type.php +5 -5
- app/code/community/OM/{Neworderid → NewOrderId}/etc/adminhtml.xml +3 -3
- app/code/community/OM/{Neworderid → NewOrderId}/etc/config.xml +7 -7
- app/code/community/OM/{Neworderid → NewOrderId}/etc/system.xml +3 -3
- app/code/community/OM/Neworderid/Helper/Data.php +0 -16
- app/etc/modules/{OM_Neworderid.xml → OM_NewOrderId.xml} +3 -3
- package.xml +9 -9
app/code/community/OM/NewOrderId/Helper/Data.php
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* NewOrderId default Helper
|
4 |
+
*
|
5 |
+
* @category OM
|
6 |
+
* @package OM_NewOrderId
|
7 |
+
* @copyright Copyright (c) 2016-2017 OM (http://www.orangemantra.com/)
|
8 |
+
* @author OM (Orange Mantra)
|
9 |
+
* @version Release: 0.1.0
|
10 |
+
* @Class OM_NewOrderId_Helper_Data
|
11 |
+
*
|
12 |
+
*/
|
13 |
+
class OM_NewOrderId_Helper_Data extends Mage_Core_Helper_Abstract
|
14 |
+
{
|
15 |
+
}
|
16 |
+
|
app/code/community/OM/{Neworderid → NewOrderId}/Model/Eav/Entity/Type.php
RENAMED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
*
|
5 |
* @category OM
|
6 |
-
* @package
|
7 |
* @copyright Copyright (c) 2016-2017 OM (http://www.orangemantra.com/)
|
8 |
* @author OM (Orange Mantra)
|
9 |
-
* @version Release: 1.0
|
10 |
-
* @Class
|
11 |
*
|
12 |
*/
|
13 |
-
class
|
14 |
{
|
15 |
public function fetchNewIncrementId($storeId = null)
|
16 |
{
|
1 |
<?php
|
2 |
/**
|
3 |
+
* NewOrderId Model Eav Entity Type
|
4 |
*
|
5 |
* @category OM
|
6 |
+
* @package OM_NewOrderId
|
7 |
* @copyright Copyright (c) 2016-2017 OM (http://www.orangemantra.com/)
|
8 |
* @author OM (Orange Mantra)
|
9 |
+
* @version Release: 0.1.0
|
10 |
+
* @Class OM_NewOrderId_Model_Eav_Entity_Type
|
11 |
*
|
12 |
*/
|
13 |
+
class OM_NewOrderId_Model_Eav_Entity_Type extends Mage_Eav_Model_Entity_Type
|
14 |
{
|
15 |
public function fetchNewIncrementId($storeId = null)
|
16 |
{
|
app/code/community/OM/{Neworderid → NewOrderId}/etc/adminhtml.xml
RENAMED
@@ -20,7 +20,7 @@
|
|
20 |
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category OM
|
23 |
-
* @package
|
24 |
* @copyright Copyright (c) 2016-2017 OM (http://www.orangemantra.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
@@ -37,9 +37,9 @@
|
|
37 |
<children>
|
38 |
<config>
|
39 |
<children>
|
40 |
-
<
|
41 |
<title>Prefix order id</title>
|
42 |
-
</
|
43 |
</children>
|
44 |
</config>
|
45 |
</children>
|
20 |
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category OM
|
23 |
+
* @package OM_NewOrderId
|
24 |
* @copyright Copyright (c) 2016-2017 OM (http://www.orangemantra.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
37 |
<children>
|
38 |
<config>
|
39 |
<children>
|
40 |
+
<neworder_id module="neworder_id">
|
41 |
<title>Prefix order id</title>
|
42 |
+
</neworder_id>
|
43 |
</children>
|
44 |
</config>
|
45 |
</children>
|
app/code/community/OM/{Neworderid → NewOrderId}/etc/config.xml
RENAMED
@@ -20,31 +20,31 @@
|
|
20 |
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category OM
|
23 |
-
* @package
|
24 |
* @copyright Copyright (c) 2016-2017 OM (http://www.orangemantra.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
28 |
<config>
|
29 |
<modules>
|
30 |
-
<
|
31 |
-
<version>1.0
|
32 |
-
</
|
33 |
</modules>
|
34 |
<global>
|
35 |
<helpers>
|
36 |
<neworderid>
|
37 |
-
<class>
|
38 |
</neworderid>
|
39 |
</helpers>
|
40 |
<models>
|
41 |
<neworderid>
|
42 |
-
<class>
|
43 |
<resourceModel>neworderid_mysql4</resourceModel>
|
44 |
</neworderid>
|
45 |
<eav>
|
46 |
<rewrite>
|
47 |
-
<entity_type>
|
48 |
</rewrite>
|
49 |
</eav>
|
50 |
</models>
|
20 |
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category OM
|
23 |
+
* @package OM_NewOrderId
|
24 |
* @copyright Copyright (c) 2016-2017 OM (http://www.orangemantra.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
28 |
<config>
|
29 |
<modules>
|
30 |
+
<OM_NewOrderId>
|
31 |
+
<version>0.1.0</version>
|
32 |
+
</OM_NewOrderId>
|
33 |
</modules>
|
34 |
<global>
|
35 |
<helpers>
|
36 |
<neworderid>
|
37 |
+
<class>OM_NewOrderId_Helper</class>
|
38 |
</neworderid>
|
39 |
</helpers>
|
40 |
<models>
|
41 |
<neworderid>
|
42 |
+
<class>OM_NewOrderId_Model</class>
|
43 |
<resourceModel>neworderid_mysql4</resourceModel>
|
44 |
</neworderid>
|
45 |
<eav>
|
46 |
<rewrite>
|
47 |
+
<entity_type>OM_NewOrderId_Model_Eav_Entity_Type</entity_type>
|
48 |
</rewrite>
|
49 |
</eav>
|
50 |
</models>
|
app/code/community/OM/{Neworderid → NewOrderId}/etc/system.xml
RENAMED
@@ -20,14 +20,14 @@
|
|
20 |
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category OM
|
23 |
-
* @package
|
24 |
* @copyright Copyright (c) 2016-2017 OM (http://www.orangemantra.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
28 |
<config>
|
29 |
<sections>
|
30 |
-
<
|
31 |
<label>Prefix order id</label>
|
32 |
<tab>sales</tab><frontend_type>text</frontend_type>
|
33 |
<sort_order>340</sort_order>
|
@@ -56,6 +56,6 @@
|
|
56 |
</fields>
|
57 |
</general>
|
58 |
</groups>
|
59 |
-
</
|
60 |
</sections>
|
61 |
</config>
|
20 |
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category OM
|
23 |
+
* @package OM_NewOrderId
|
24 |
* @copyright Copyright (c) 2016-2017 OM (http://www.orangemantra.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
28 |
<config>
|
29 |
<sections>
|
30 |
+
<neworder_id translate="label" module="neworderid">
|
31 |
<label>Prefix order id</label>
|
32 |
<tab>sales</tab><frontend_type>text</frontend_type>
|
33 |
<sort_order>340</sort_order>
|
56 |
</fields>
|
57 |
</general>
|
58 |
</groups>
|
59 |
+
</neworder_id>
|
60 |
</sections>
|
61 |
</config>
|
app/code/community/OM/Neworderid/Helper/Data.php
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Neworderid default Helper
|
4 |
-
*
|
5 |
-
* @category OM
|
6 |
-
* @package OM_Neworderid
|
7 |
-
* @copyright Copyright (c) 2016-2017 OM (http://www.orangemantra.com/)
|
8 |
-
* @author OM (Orange Mantra)
|
9 |
-
* @version Release: 1.0.0
|
10 |
-
* @Class OM_Neworderid_Helper_Data
|
11 |
-
*
|
12 |
-
*/
|
13 |
-
class OM_Neworderid_Helper_Data extends Mage_Core_Helper_Abstract
|
14 |
-
{
|
15 |
-
}
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/etc/modules/{OM_Neworderid.xml → OM_NewOrderId.xml}
RENAMED
@@ -27,10 +27,10 @@
|
|
27 |
-->
|
28 |
<config>
|
29 |
<modules>
|
30 |
-
<
|
31 |
<active>true</active>
|
32 |
<codePool>community</codePool>
|
33 |
-
<version>1.0
|
34 |
-
</
|
35 |
</modules>
|
36 |
</config>
|
27 |
-->
|
28 |
<config>
|
29 |
<modules>
|
30 |
+
<OM_NewOrderId>
|
31 |
<active>true</active>
|
32 |
<codePool>community</codePool>
|
33 |
+
<version>0.1.0</version>
|
34 |
+
</OM_NewOrderId>
|
35 |
</modules>
|
36 |
</config>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>prefix-order-id</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>prefix
|
10 |
-
<description>prefix
|
11 |
-
<notes>prefix
|
12 |
-
<authors><author><name>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="OM"><dir name="
|
16 |
<compatible/>
|
17 |
-
<dependencies><required><php><min>5.1.0</min><max>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>prefix-order-id</name>
|
4 |
+
<version>1.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>prefix order id</summary>
|
10 |
+
<description>prefix order id</description>
|
11 |
+
<notes>prefix order id</notes>
|
12 |
+
<authors><author><name>Vivek</name><user>Vivek</user><email>contact@orangemantra.com</email></author></authors>
|
13 |
+
<date>2017-01-13</date>
|
14 |
+
<time>10:22:12</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="OM"><dir name="NewOrderId"><dir name="Helper"><file name="Data.php" hash="7bd4d0b17d21af384516d8b606c6d54a"/></dir><dir name="Model"><dir name="Eav"><dir name="Entity"><file name="Type.php" hash="aec92977689b98d3d3207024386341b1"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="f4f90bebacc5aac35a1c0f08c09a8635"/><file name="config.xml" hash="0da68a952d3e2ecfb75bce7383321480"/><file name="system.xml" hash="4f190488943c548b9d5da3a1a04d82f0"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="OM_NewOrderId.xml" hash="454ad492cfc08d031aa52d0c6e036e98"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.1.0</min><max>7.0.10</max></php></required></dependencies>
|
18 |
</package>
|