Ltc_Komfortkasse - Version 1.4.4.1

Version Notes

Bugfixes and performance improvements

Download this release

Release Info

Developer Komfortkasse
Extension Ltc_Komfortkasse
Version 1.4.4.1
Comparing to
See all releases


Code changes from version 1.4.4 to 1.4.4.1

app/code/community/Ltc/Komfortkasse/Helper/Komfortkasse.php CHANGED
@@ -8,7 +8,7 @@ require_once 'Komfortkasse_Order.php';
8
  */
9
  class Komfortkasse
10
  {
11
- const PLUGIN_VER = '1.4.4';
12
  const MAXLEN_SSL = 117;
13
  const LEN_MCRYPT = 16;
14
 
@@ -355,17 +355,16 @@ class Komfortkasse
355
 
356
  private static function isOpen($order)
357
  {
358
- $methods = '';
359
  $status = '';
360
  switch ($order ['type']) {
361
  case 'PREPAYMENT' :
362
  $status = Komfortkasse_Config::getConfig(Komfortkasse_Config::status_open, $order);
363
  break;
364
  case 'INVOICE' :
365
- $status = Komfortkasse_Config::getConfig(Komfortkasse_Config::status_open, $order);
366
  break;
367
  case 'COD' :
368
- $status = Komfortkasse_Config::getConfig(Komfortkasse_Config::status_open, $order);
369
  break;
370
  default:
371
  return false;
8
  */
9
  class Komfortkasse
10
  {
11
+ const PLUGIN_VER = '1.4.4.1';
12
  const MAXLEN_SSL = 117;
13
  const LEN_MCRYPT = 16;
14
 
355
 
356
  private static function isOpen($order)
357
  {
 
358
  $status = '';
359
  switch ($order ['type']) {
360
  case 'PREPAYMENT' :
361
  $status = Komfortkasse_Config::getConfig(Komfortkasse_Config::status_open, $order);
362
  break;
363
  case 'INVOICE' :
364
+ $status = Komfortkasse_Config::getConfig(Komfortkasse_Config::status_open_invoice, $order);
365
  break;
366
  case 'COD' :
367
+ $status = Komfortkasse_Config::getConfig(Komfortkasse_Config::status_open_cod, $order);
368
  break;
369
  default:
370
  return false;
app/code/community/Ltc/Komfortkasse/Helper/Komfortkasse_Order.php CHANGED
@@ -8,7 +8,7 @@
8
  * status: data type according to the shop system
9
  * delivery_ and billing_: _firstname, _lastname, _company, _street, _postcode, _city, _countrycode
10
  * products: an Array of item numbers
11
- * @version 1.4.4-Magento1
12
  */
13
  $path = Mage::getModuleDir('', 'Ltc_Komfortkasse');
14
  $order_extension = false;
@@ -46,6 +46,8 @@ class Komfortkasse_Order
46
  $tableOrder = $resource->getTableName('sales/order');
47
  $tablePayment = $resource->getTableName('sales/order_payment');
48
 
 
 
49
  foreach (Mage::app()->getWebsites() as $website) {
50
  foreach ($website->getGroups() as $group) {
51
  $stores = $group->getStores();
@@ -56,7 +58,7 @@ class Komfortkasse_Order
56
 
57
  if (Komfortkasse_Config::getConfig(Komfortkasse_Config::activate_export, $store_id_order)) {
58
 
59
- $query = 'SELECT o.increment_id FROM ' . $tableOrder . ' o join ' . $tablePayment . ' p on p.parent_id = o.entity_id where o.store_id=' . $store_id . ' and (';
60
  $first = true;
61
 
62
  // PREPAYMENT
8
  * status: data type according to the shop system
9
  * delivery_ and billing_: _firstname, _lastname, _company, _street, _postcode, _city, _countrycode
10
  * products: an Array of item numbers
11
+ * @version 1.4.4.1-Magento1
12
  */
13
  $path = Mage::getModuleDir('', 'Ltc_Komfortkasse');
14
  $order_extension = false;
46
  $tableOrder = $resource->getTableName('sales/order');
47
  $tablePayment = $resource->getTableName('sales/order_payment');
48
 
49
+ $minDate = date('Y-m-d', time()-31536000); // 1 Jahr
50
+
51
  foreach (Mage::app()->getWebsites() as $website) {
52
  foreach ($website->getGroups() as $group) {
53
  $stores = $group->getStores();
58
 
59
  if (Komfortkasse_Config::getConfig(Komfortkasse_Config::activate_export, $store_id_order)) {
60
 
61
+ $query = 'SELECT o.increment_id FROM ' . $tableOrder . ' o join ' . $tablePayment . ' p on p.parent_id = o.entity_id where o.store_id=' . $store_id . ' and created_at > ' . $minDate . ' and (';
62
  $first = true;
63
 
64
  // PREPAYMENT
app/code/community/Ltc/Komfortkasse/etc/config.xml CHANGED
@@ -3,7 +3,7 @@
3
  <config>
4
  <modules>
5
  <Ltc_Komfortkasse>
6
- <version>1.4.4</version>
7
  </Ltc_Komfortkasse>
8
  </modules>
9
  <global>
3
  <config>
4
  <modules>
5
  <Ltc_Komfortkasse>
6
+ <version>1.4.4.1</version>
7
  </Ltc_Komfortkasse>
8
  </modules>
9
  <global>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ltc_Komfortkasse</name>
4
- <version>1.4.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://creativecommons.org/licenses/by-nd/4.0/">CC BY-ND 4.0</license>
7
  <channel>community</channel>
@@ -15,9 +15,9 @@ Es ist eine Anmeldung auf www.komfortkasse.eu erforderlich (kostenloses Paket ve
15
  </description>
16
  <notes>Bugfixes and performance improvements</notes>
17
  <authors><author><name>Komfortkasse</name><user>komfortkasse</user><email>integration@komfortkasse.eu</email></author></authors>
18
- <date>2016-02-23</date>
19
- <time>07:26:32</time>
20
- <contents><target name="magecommunity"><dir name="Ltc"><dir name="Komfortkasse"><dir name="Helper"><file name="Data.php" hash="ec7f9f8fb6ea400a740ed2c127eb71bc"/><file name="Komfortkasse.php" hash="b87bacf0341fda90a98ca63b7b7faf01"/><file name="Komfortkasse_Config.php" hash="44cf103f0ddef60890cd6c221262b7e5"/><file name="Komfortkasse_Order.php" hash="5f0e709f14b8127b371cb605b6ad999a"/></dir><dir name="Model"><file name="Observer.php" hash="5b616b6d3651df44f8297c732dc478bb"/></dir><dir name="controllers"><file name="MainController.php" hash="b983fe60b2bbfa3aa1d57850cc6c045b"/></dir><dir name="etc"><file name="config.xml" hash="62882f4d9d6ae107d9067ba28d90b27a"/><file name="system.xml" hash="c069f07b4f846e62bc5dd922c81e375b"/></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="KomfortkasseEncryptionOptions.php" hash="fea880dd3e60c13ede05be53511a6d93"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ltc_Komfortkasse.xml" hash="433066ef75047d9468dcea87888283d2"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ltc_Komfortkasse</name>
4
+ <version>1.4.4.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://creativecommons.org/licenses/by-nd/4.0/">CC BY-ND 4.0</license>
7
  <channel>community</channel>
15
  </description>
16
  <notes>Bugfixes and performance improvements</notes>
17
  <authors><author><name>Komfortkasse</name><user>komfortkasse</user><email>integration@komfortkasse.eu</email></author></authors>
18
+ <date>2016-02-24</date>
19
+ <time>09:23:53</time>
20
+ <contents><target name="magecommunity"><dir name="Ltc"><dir name="Komfortkasse"><dir name="Helper"><file name="Data.php" hash="ec7f9f8fb6ea400a740ed2c127eb71bc"/><file name="Komfortkasse.php" hash="8aade9e830863b6725761756114fb416"/><file name="Komfortkasse_Config.php" hash="44cf103f0ddef60890cd6c221262b7e5"/><file name="Komfortkasse_Order.php" hash="0e72480f4c2d9b9f0731b1e03f64ae18"/></dir><dir name="Model"><file name="Observer.php" hash="5b616b6d3651df44f8297c732dc478bb"/></dir><dir name="controllers"><file name="MainController.php" hash="b983fe60b2bbfa3aa1d57850cc6c045b"/></dir><dir name="etc"><file name="config.xml" hash="1e9a41eda6fe0d4332a8c1191d778666"/><file name="system.xml" hash="c069f07b4f846e62bc5dd922c81e375b"/></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="KomfortkasseEncryptionOptions.php" hash="fea880dd3e60c13ede05be53511a6d93"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ltc_Komfortkasse.xml" hash="433066ef75047d9468dcea87888283d2"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>