Order_tickets - Version 1.0.7

Version Notes

Possibility to add "order ticket" permission to a role in back office

Download this release

Release Info

Developer Magento Core Team
Extension Order_tickets
Version 1.0.7
Comparing to
See all releases


Code changes from version 1.0.6 to 1.0.7

app/code/community/Laurent/OrderTickets/controllers/Adminhtml/ChatController.php CHANGED
@@ -121,7 +121,7 @@ class Laurent_OrderTickets_Adminhtml_ChatController extends Mage_Adminhtml_Contr
121
  $this->getResponse()->setBody($this->getLayout()->createBlock('ordertickets/adminhtml_customer_edit_tab_tickets')->toHtml());
122
  }
123
 
124
- /**
125
  * Initialize action
126
  *
127
  * @return Mage_Adminhtml_Controller_Action
@@ -135,6 +135,15 @@ class Laurent_OrderTickets_Adminhtml_ChatController extends Mage_Adminhtml_Contr
135
  return $this;
136
  }
137
 
 
 
 
 
 
 
 
 
 
138
  }
139
 
140
  ?>
121
  $this->getResponse()->setBody($this->getLayout()->createBlock('ordertickets/adminhtml_customer_edit_tab_tickets')->toHtml());
122
  }
123
 
124
+ /**
125
  * Initialize action
126
  *
127
  * @return Mage_Adminhtml_Controller_Action
135
  return $this;
136
  }
137
 
138
+ /**
139
+ * Create a new Chat Action
140
+ */
141
+ public function newAction()
142
+ {
143
+ $this->_initAction();
144
+ $this->renderLayout();
145
+ }
146
+
147
  }
148
 
149
  ?>
app/code/community/Laurent/OrderTickets/etc/adminhtml.xml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <menu>
4
+ <sales>
5
+ <children>
6
+ <ordertickets translate="title">
7
+ <title>Order tickets</title>
8
+ <action>ordertickets/adminhtml_chat</action>
9
+ <sort_order>600</sort_order>
10
+ </ordertickets>
11
+ </children>
12
+ </sales>
13
+ </menu>
14
+ <acl>
15
+ <resources>
16
+ <admin>
17
+ <children>
18
+ <sales>
19
+ <children>
20
+ <ordertickets translate="title" module="ordertickets">
21
+ <title>Order tickets</title>
22
+ </ordertickets>
23
+ </children>
24
+ </sales>
25
+ </children>
26
+ </admin>
27
+ </resources>
28
+ </acl>
29
+ </config>
app/code/community/Laurent/OrderTickets/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Laurent_OrderTickets>
5
- <version>1.0.6</version>
6
  </Laurent_OrderTickets>
7
  </modules>
8
  <global>
@@ -74,17 +74,6 @@
74
  </ordertickets>
75
  </updates>
76
  </layout>
77
- <menu>
78
- <sales>
79
- <children>
80
- <ordertickets translate="title">
81
- <title>Order tickets</title>
82
- <action>ordertickets/adminhtml_chat</action>
83
- <sort_order>600</sort_order>
84
- </ordertickets>
85
- </children>
86
- </sales>
87
- </menu>
88
  <translate>
89
  <modules>
90
  <Laurent_OrderTickets>
2
  <config>
3
  <modules>
4
  <Laurent_OrderTickets>
5
+ <version>1.0.7</version>
6
  </Laurent_OrderTickets>
7
  </modules>
8
  <global>
74
  </ordertickets>
75
  </updates>
76
  </layout>
 
 
 
 
 
 
 
 
 
 
 
77
  <translate>
78
  <modules>
79
  <Laurent_OrderTickets>
package.xml CHANGED
@@ -1,21 +1,21 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Order_tickets</name>
4
- <version>1.0.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/afl-3.0.php">Academic Free License (AFL 3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Design and skin files moved from default to base package</summary>
10
  <description>Ticketing system to order:&#xD;
11
  - customer can add message to orders&#xD;
12
  - administrator can see thes messages, reply to them and change status of a chat&#xD;
13
  - a cron also exists to send a reminder email to administrator about new messages</description>
14
- <notes>Design and skin files moved from default to base package</notes>
15
  <authors><author><name>Laurent Clouet</name><user>auto-converted</user><email>laurent35240@gmail.com</email></author></authors>
16
- <date>2011-09-05</date>
17
- <time>20:28:50</time>
18
- <contents><target name="magecommunity"><dir name="Laurent"><dir name="OrderTickets"><dir name="Block"><dir name="Adminhtml"><dir name="Chat"><dir name="View"><dir name="Tab"><file name="Main.php" hash="7ecd14eb6520037b80d171201b09a1a0"/><file name="Tickets.php" hash="f5db58785feb531e5c874e272ff7e6ca"/></dir><file name="Form.php" hash="c6b0a9e3ee8f74e03ad8bd91f6dd54ad"/><file name="Tabs.php" hash="f2ced70970ffaa74b7478709088ff146"/></dir><file name="Grid.php" hash="1254b6c710f7c3c77a1e78c188372727"/><file name="View.php" hash="bcb470a6e4e442129dd6c798b11576d4"/></dir><dir name="Customer"><dir name="Edit"><dir name="Tab"><file name="Tickets.php" hash="4be3b09ea9ad7265fc04ac82db5e8653"/></dir></dir></dir><dir name="Order"><dir name="View"><dir name="Tab"><file name="Tickets.php" hash="39efa19606e5a65d92a3cafa4e83f72e"/></dir></dir></dir><file name="Chat.php" hash="1e64e9e58574cdf03e3765e2578a8dee"/></dir><dir name="Order"><file name="Tabs.php" hash="362c07b1138c110dc270d26b1636f59b"/></dir><file name="Chat.php" hash="77536ef68fe6a21ee58c6672d78a0120"/></dir><dir name="Helper"><file name="Data.php" hash="2b6517dae27dd5154075dea1ed329293"/></dir><dir name="Model"><dir name="Config"><file name="Cron.php" hash="1c4e850b9f7c772390e89b2ce4971a86"/></dir><dir name="Mysql4"><dir name="Chat"><file name="Collection.php" hash="2bc9017a38a52d99f5af7716df5724a3"/></dir><dir name="Ticket"><file name="Collection.php" hash="83b7bd93adc9b8e8c2767aa814d38c08"/></dir><file name="Chat.php" hash="bf438bbfe69eb42c73ef6f1774c74ebe"/><file name="Ticket.php" hash="bb305039b5fc4640efce960d039979cd"/></dir><file name="Abstract.php" hash="5ec0482cd76b8273c555ddaaaa339b22"/><file name="Chat.php" hash="3dac1681629ddd1a13e1d9262038baf0"/><file name="Observer.php" hash="74716dbbfd538381a08aa6e68479c286"/><file name="Ticket.php" hash="acef6bed5b8e78250123c652f5a610ac"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ChatController.php" hash="cced2fff5120c06edd5b432d17483619"/></dir><file name="ChatController.php" hash="5121a7b2220ffa73e446e19914af5b59"/></dir><dir name="doc"><dir name="screeenshots"><file name="bo_order_tickets_tab.png" hash="ca1d6d13d53cc6a1c2af3c9b4bfa61a9"/><file name="bo_ticket_details.png" hash="7228ed41de8dfe0626bdcadbeae05f4b"/><file name="bo_ticket_tickets.png" hash="7491fb1b62a9352d1abe9bdbbd6bc845"/><file name="bo_tickets_grid.png" hash="1270d49ebe5bb6c93420ad8f7a9ba08f"/><file name="fo_tickets_on_order.png" hash="e8a7af6d00a3c19d8de4a66d022b2988"/></dir><file name="EVOLUTIONS.txt" hash="0a8331edd958a989a0ba023ade61ba7e"/><file name="INSTALL.txt" hash="316098ba4cebfa621753e18d550880fe"/><file name="logo.png" hash="2a863ae353401ed20c679782b8e694bf"/><file name="logo.svg" hash="eb6d4bd165834e3fd308c421c6a6e9bd"/><file name="tables_scheme.graphml" hash="66b71ac524ad926ba5a4c110840f5b57"/><file name="tables_scheme.jpg" hash="c26b66b1381efa32c7140892e11932ba"/></dir><dir name="etc"><file name="config.xml" hash="7bae8014e9248279f3bad029d91f0fa3"/><file name="system.xml" hash="37739c5007d90bdf7ee8cbe567e98b6a"/></dir><dir name="sql"><dir name="ordertickets_setup"><file name="mysql4-install-0.1.0.php" hash="d0b81bbbd209f3741f3a1610197155f8"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="00f3ac0bcd2b467affce40b6f507cbcc"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="ordertickets.xml" hash="b956aaf75b258d4677e6ba54974a8397"/></dir><dir name="template"><dir name="ordertickets"><dir name="chat"><dir name="view"><dir name="tab"><file name="tickets.phtml" hash="8843f45ab15ab1159cd78daa9af1e5a5"/></dir></dir></dir><dir name="order"><dir name="view"><dir name="tab"><file name="tickets.phtml" hash="d989be63e673e14fd7754d9d77a548c8"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ordertickets.xml" hash="ff2e6b3a75dcf121fdc5a11bc320d46f"/></dir><dir name="template"><dir name="ordertickets"><dir name="order"><file name="tabs.phtml" hash="3a146acbd5ef5af0a7c939f60ee4c383"/></dir><file name="chat.phtml" hash="2c87d7b906dd80ebdfd86dcf2aadd755"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Laurent_OrderTickets.xml" hash="46fdc0a685ad8d9144f4db4cb99f97fe"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Laurent_OrderTickets.csv" hash="fc98199584867d140ba7e21cbb17ee49"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="ordertickets.css" hash="f009140fffa838b6b3a3bfe011cebaa2"/></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies/>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Order_tickets</name>
4
+ <version>1.0.7</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/afl-3.0.php">Academic Free License (AFL 3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Ticketing system to order</summary>
10
  <description>Ticketing system to order:&#xD;
11
  - customer can add message to orders&#xD;
12
  - administrator can see thes messages, reply to them and change status of a chat&#xD;
13
  - a cron also exists to send a reminder email to administrator about new messages</description>
14
+ <notes>Possibility to add "order ticket" permission to a role in back office</notes>
15
  <authors><author><name>Laurent Clouet</name><user>auto-converted</user><email>laurent35240@gmail.com</email></author></authors>
16
+ <date>2012-01-01</date>
17
+ <time>21:10:35</time>
18
+ <contents><target name="magecommunity"><dir name="Laurent"><dir name="OrderTickets"><dir name="Block"><dir name="Adminhtml"><dir name="Chat"><dir name="View"><dir name="Tab"><file name="Main.php" hash="7ecd14eb6520037b80d171201b09a1a0"/><file name="Tickets.php" hash="f5db58785feb531e5c874e272ff7e6ca"/></dir><file name="Form.php" hash="c6b0a9e3ee8f74e03ad8bd91f6dd54ad"/><file name="Tabs.php" hash="f2ced70970ffaa74b7478709088ff146"/></dir><file name="Grid.php" hash="1254b6c710f7c3c77a1e78c188372727"/><file name="View.php" hash="bcb470a6e4e442129dd6c798b11576d4"/></dir><dir name="Customer"><dir name="Edit"><dir name="Tab"><file name="Tickets.php" hash="4be3b09ea9ad7265fc04ac82db5e8653"/></dir></dir></dir><dir name="Order"><dir name="View"><dir name="Tab"><file name="Tickets.php" hash="39efa19606e5a65d92a3cafa4e83f72e"/></dir></dir></dir><file name="Chat.php" hash="1e64e9e58574cdf03e3765e2578a8dee"/></dir><dir name="Order"><file name="Tabs.php" hash="362c07b1138c110dc270d26b1636f59b"/></dir><file name="Chat.php" hash="77536ef68fe6a21ee58c6672d78a0120"/></dir><dir name="Helper"><file name="Data.php" hash="2b6517dae27dd5154075dea1ed329293"/></dir><dir name="Model"><dir name="Config"><file name="Cron.php" hash="1c4e850b9f7c772390e89b2ce4971a86"/></dir><dir name="Mysql4"><dir name="Chat"><file name="Collection.php" hash="2bc9017a38a52d99f5af7716df5724a3"/></dir><dir name="Ticket"><file name="Collection.php" hash="83b7bd93adc9b8e8c2767aa814d38c08"/></dir><file name="Chat.php" hash="bf438bbfe69eb42c73ef6f1774c74ebe"/><file name="Ticket.php" hash="bb305039b5fc4640efce960d039979cd"/></dir><file name="Abstract.php" hash="5ec0482cd76b8273c555ddaaaa339b22"/><file name="Chat.php" hash="3dac1681629ddd1a13e1d9262038baf0"/><file name="Observer.php" hash="74716dbbfd538381a08aa6e68479c286"/><file name="Ticket.php" hash="acef6bed5b8e78250123c652f5a610ac"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ChatController.php" hash="85ee56a6cd12210acd6535716acd5481"/></dir><file name="ChatController.php" hash="5121a7b2220ffa73e446e19914af5b59"/></dir><dir name="doc"><dir name="screeenshots"><file name="bo_order_tickets_tab.png" hash="ca1d6d13d53cc6a1c2af3c9b4bfa61a9"/><file name="bo_ticket_details.png" hash="7228ed41de8dfe0626bdcadbeae05f4b"/><file name="bo_ticket_tickets.png" hash="7491fb1b62a9352d1abe9bdbbd6bc845"/><file name="bo_tickets_grid.png" hash="1270d49ebe5bb6c93420ad8f7a9ba08f"/><file name="fo_tickets_on_order.png" hash="e8a7af6d00a3c19d8de4a66d022b2988"/></dir><file name="EVOLUTIONS.txt" hash="0a8331edd958a989a0ba023ade61ba7e"/><file name="INSTALL.txt" hash="316098ba4cebfa621753e18d550880fe"/><file name="logo.png" hash="2a863ae353401ed20c679782b8e694bf"/><file name="logo.svg" hash="eb6d4bd165834e3fd308c421c6a6e9bd"/><file name="tables_scheme.graphml" hash="66b71ac524ad926ba5a4c110840f5b57"/><file name="tables_scheme.jpg" hash="c26b66b1381efa32c7140892e11932ba"/></dir><dir name="etc"><file name="adminhtml.xml" hash="8566cc2b8e8274510af2dd4b5a6cb44b"/><file name="config.xml" hash="56cfa67a5037706c8dfbac7fd060bad7"/><file name="system.xml" hash="37739c5007d90bdf7ee8cbe567e98b6a"/></dir><dir name="sql"><dir name="ordertickets_setup"><file name="mysql4-install-0.1.0.php" hash="d0b81bbbd209f3741f3a1610197155f8"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="00f3ac0bcd2b467affce40b6f507cbcc"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="ordertickets.xml" hash="b956aaf75b258d4677e6ba54974a8397"/></dir><dir name="template"><dir name="ordertickets"><dir name="chat"><dir name="view"><dir name="tab"><file name="tickets.phtml" hash="8843f45ab15ab1159cd78daa9af1e5a5"/></dir></dir></dir><dir name="order"><dir name="view"><dir name="tab"><file name="tickets.phtml" hash="d989be63e673e14fd7754d9d77a548c8"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ordertickets.xml" hash="ff2e6b3a75dcf121fdc5a11bc320d46f"/></dir><dir name="template"><dir name="ordertickets"><dir name="order"><file name="tabs.phtml" hash="3a146acbd5ef5af0a7c939f60ee4c383"/></dir><file name="chat.phtml" hash="2c87d7b906dd80ebdfd86dcf2aadd755"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Laurent_OrderTickets.xml" hash="46fdc0a685ad8d9144f4db4cb99f97fe"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Laurent_OrderTickets.csv" hash="fc98199584867d140ba7e21cbb17ee49"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="ordertickets.css" hash="f009140fffa838b6b3a3bfe011cebaa2"/></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies/>
21
  </package>