PrescriptionPayment - Version 0.1.1

Version Notes

Stable version. Please check https://github.com/codedge/prescriptionpayment for updates

Download this release

Release Info

Developer Holger Lösken
Extension PrescriptionPayment
Version 0.1.1
Comparing to
See all releases


Code changes from version 0.1.0 to 0.1.1

app/code/community/Ce/PrescriptionPayment/Model/Observer.php CHANGED
@@ -97,20 +97,28 @@ class Ce_PrescriptionPayment_Model_Observer
97
  /**
98
  * Save the uploaded prescriptions to database
99
  * @param Varien_Event_Observer $observer
100
- * @return boolean|mixed If nothing to do, it fires false
101
  */
102
  public function saveUploadedPrescriptions($observer)
103
  {
104
  if(Mage::getSingleton('prescriptionpayment/prescriptionpayment')->useUploader()) {
105
- $model = Mage::getSingleton('prescriptionpayment/prescriptionpayment');
106
  $files = $model->getUploadedFiles();
107
 
108
- foreach($files as $file) {
 
109
 
 
 
 
 
 
 
110
  }
111
- }
112
 
113
- return false;
 
 
114
  }
115
 
116
 
97
  /**
98
  * Save the uploaded prescriptions to database
99
  * @param Varien_Event_Observer $observer
100
+ * @return void
101
  */
102
  public function saveUploadedPrescriptions($observer)
103
  {
104
  if(Mage::getSingleton('prescriptionpayment/prescriptionpayment')->useUploader()) {
105
+ $model = Mage::getModel('prescriptionpayment/prescriptionpayment');
106
  $files = $model->getUploadedFiles();
107
 
108
+ // Getting order id via event observer
109
+ $orderId = $observer->getData('order_ids')[0];
110
 
111
+ foreach($files as $file) {
112
+ $model->setFile($file);
113
+ $model->setOrderId($orderId);
114
+ $model->setCreatedTime(now());
115
+ $model->setUpdateTime(now());
116
+ $model->save();
117
  }
 
118
 
119
+ // Remove files from session
120
+ $model->clearUploadedFiles();
121
+ }
122
  }
123
 
124
 
app/code/community/Ce/PrescriptionPayment/Model/Prescriptionpayment.php CHANGED
@@ -17,7 +17,7 @@
17
  * @author Holger Lösken <post@codedge.de>
18
  */
19
  class Ce_PrescriptionPayment_Model_Prescriptionpayment
20
- extends Mage_Payment_Model_Method_Cc
21
  {
22
  /**
23
  * unique internal payment method identifier
@@ -63,18 +63,15 @@ class Ce_PrescriptionPayment_Model_Prescriptionpayment
63
  */
64
  protected $_allowedFileTypes;
65
 
66
- /**
67
- * Files that has been uploaded
68
- * @var array()
69
- */
70
- protected $_filesUploaded;
71
 
72
  /**
73
  * Constructor of the class
74
  * Used to set the settings from the backend
75
  */
76
- public function __construct()
77
  {
 
 
78
  $this->_isEnabled = Mage::getStoreConfig('payment/prescriptionpayment/active');
79
  $this->_attributeCode = Mage::getStoreConfig('payment/prescriptionpayment/attribute_code');
80
  $this->_useConfigurableProductSetting = Mage::getStoreConfig('payment/prescriptionpayment/use_configurable_product');
@@ -190,21 +187,38 @@ class Ce_PrescriptionPayment_Model_Prescriptionpayment
190
  }
191
 
192
  /**
193
- * Add an uploaded file to array
194
  * @param string filename
195
  * @return void
196
  */
197
  public function addUploadedFile($fileName)
198
  {
199
- $this->_filesUploaded[] = $fileName;
 
 
 
 
 
 
 
 
200
  }
201
 
202
  /**
203
  * Get all files that have been uploaded
204
- * @return array
205
  */
206
  public function getUploadedFiles()
207
  {
208
- return $this->_filesUploaded;
 
 
 
 
 
 
 
 
 
209
  }
210
  }
17
  * @author Holger Lösken <post@codedge.de>
18
  */
19
  class Ce_PrescriptionPayment_Model_Prescriptionpayment
20
+ extends Mage_Core_Model_Abstract
21
  {
22
  /**
23
  * unique internal payment method identifier
63
  */
64
  protected $_allowedFileTypes;
65
 
 
 
 
 
 
66
 
67
  /**
68
  * Constructor of the class
69
  * Used to set the settings from the backend
70
  */
71
+ protected function _construct()
72
  {
73
+ $this->_init('prescriptionpayment/prescriptionpayment');
74
+
75
  $this->_isEnabled = Mage::getStoreConfig('payment/prescriptionpayment/active');
76
  $this->_attributeCode = Mage::getStoreConfig('payment/prescriptionpayment/attribute_code');
77
  $this->_useConfigurableProductSetting = Mage::getStoreConfig('payment/prescriptionpayment/use_configurable_product');
187
  }
188
 
189
  /**
190
+ * Add an uploaded file to array and saves it in customer session
191
  * @param string filename
192
  * @return void
193
  */
194
  public function addUploadedFile($fileName)
195
  {
196
+ $files = $this->getUploadedFiles();
197
+
198
+ if(null == $files || !is_array($files)) {
199
+ $files = array();
200
+ }
201
+
202
+ $files[] = $fileName;
203
+
204
+ Mage::getSingleton( 'customer/session' )->setData($this->_code . 'Files', $files);
205
  }
206
 
207
  /**
208
  * Get all files that have been uploaded
209
+ * @return mixed
210
  */
211
  public function getUploadedFiles()
212
  {
213
+ return Mage::getSingleton( 'customer/session' )->getData($this->_code . 'Files');
214
+ }
215
+
216
+ /**
217
+ * Clear the customer session from its file content
218
+ * @return void
219
+ */
220
+ public function clearUploadedFiles()
221
+ {
222
+ Mage::getSingleton( 'customer/session' )->setData($this->_code . 'Files', array());
223
  }
224
  }
app/code/community/Ce/PrescriptionPayment/Model/{Mysql4 → Resource}/Prescriptionpayment.php RENAMED
@@ -17,9 +17,9 @@
17
  * @author Holger Lösken <post@codedge.de>
18
  */
19
 
20
- class Ce_PrescriptionPayment_Model_Mysql4_Prescriptionpayment extends Mage_Core_Model_Mysql4_Abstract
21
  {
22
- public function _construct()
23
  {
24
  $this->_init('prescriptionpayment/prescriptionpayment', 'id');
25
  }
17
  * @author Holger Lösken <post@codedge.de>
18
  */
19
 
20
+ class Ce_PrescriptionPayment_Model_Resource_Prescriptionpayment extends Mage_Core_Model_Resource_Db_Abstract
21
  {
22
+ protected function _construct()
23
  {
24
  $this->_init('prescriptionpayment/prescriptionpayment', 'id');
25
  }
app/code/community/Ce/PrescriptionPayment/Model/{Mysql4 → Resource}/Prescriptionpayment/Collection.php RENAMED
@@ -17,7 +17,7 @@
17
  * @author Holger Lösken <post@codedge.de>
18
  */
19
 
20
- class Ce_PrescriptionPayment_Model_Mysql4_Prescriptionpayment_Collection
21
  extends Mage_Core_Model_Mysql4_Collection_Abstract
22
  {
23
  public function _construct()
17
  * @author Holger Lösken <post@codedge.de>
18
  */
19
 
20
+ class Ce_PrescriptionPayment_Model_Resource_Prescriptionpayment_Collection
21
  extends Mage_Core_Model_Mysql4_Collection_Abstract
22
  {
23
  public function _construct()
app/code/community/Ce/PrescriptionPayment/controllers/ItemsController.php CHANGED
@@ -45,7 +45,7 @@ class Ce_PrescriptionPayment_ItemsController
45
 
46
  /**
47
  * Upload prescriptions
48
- * @return void
49
  */
50
  public function uploadAction()
51
  {
@@ -57,18 +57,21 @@ class Ce_PrescriptionPayment_ItemsController
57
  if(Mage::getBlockSingleton('prescriptionpayment/items')->getFileUploadMultiple()) {
58
  // Multiple file upload
59
  $reorderedFiles = $this->_diverseArray($_FILES[$type]);
 
60
 
61
  foreach($reorderedFiles as $f) {
62
  $this->_uploadFiles($f, $f['name']);
 
63
  }
64
 
 
 
65
  } else {
66
  // Single file upload
67
  $this->_uploadFiles($type, $_FILES[$type]['name']);
68
- }
69
-
70
-
71
 
 
 
72
  }
73
  }
74
 
@@ -96,7 +99,7 @@ class Ce_PrescriptionPayment_ItemsController
96
  }
97
  catch (Exception $e)
98
  {
99
- Mage::log('Upload File: ' . $e->getCode() . ' : ' . $e->getMessage());
100
  }
101
  }
102
 
45
 
46
  /**
47
  * Upload prescriptions
48
+ * @return string
49
  */
50
  public function uploadAction()
51
  {
57
  if(Mage::getBlockSingleton('prescriptionpayment/items')->getFileUploadMultiple()) {
58
  // Multiple file upload
59
  $reorderedFiles = $this->_diverseArray($_FILES[$type]);
60
+ $fileNamesAsString = '';
61
 
62
  foreach($reorderedFiles as $f) {
63
  $this->_uploadFiles($f, $f['name']);
64
+ $fileNamesAsString .= $f['name'] . ',';
65
  }
66
 
67
+ echo $fileNamesAsString;
68
+
69
  } else {
70
  // Single file upload
71
  $this->_uploadFiles($type, $_FILES[$type]['name']);
 
 
 
72
 
73
+ echo $_FILES[$type]['name'];
74
+ }
75
  }
76
  }
77
 
99
  }
100
  catch (Exception $e)
101
  {
102
+ Mage::log('ERROR: ' . $e->getCode() . ' : ' . $e->getMessage());
103
  }
104
  }
105
 
app/code/community/Ce/PrescriptionPayment/etc/config.xml CHANGED
@@ -2,23 +2,23 @@
2
  <config>
3
  <modules>
4
  <Ce_PrescriptionPayment>
5
- <version>0.1.0</version>
6
  </Ce_PrescriptionPayment>
7
  </modules>
8
  <global>
9
  <models>
10
  <prescriptionpayment>
11
  <class>Ce_PrescriptionPayment_Model</class>
12
- <resourceModel>prescriptionpayment_mysql4</resourceModel>
13
  </prescriptionpayment>
14
- <prescriptionpayment_mysql4>
15
- <class>Ce_PrescriptionPayment_Model_Mysql4</class>
16
  <entities>
17
  <prescriptionpayment>
18
  <table>prescriptionpayment</table>
19
  </prescriptionpayment>
20
- </entities>
21
- </prescriptionpayment_mysql4>
22
  </models>
23
  <helpers>
24
  <prescriptionpayment>
@@ -131,18 +131,4 @@
131
  </updates>
132
  </layout>
133
  </frontend>
134
- <default>
135
- <payment>
136
- <prescriptionpayment>
137
- <active>1</active>
138
- <model>prescriptionpayment/prescriptionpayment</model>
139
- <order_status>pending</order_status>
140
- <title>Rezeptbezahlung</title>
141
- <allowspecific>0</allowspecific>
142
- <form_block_type>0</form_block_type>
143
- <min_order_total>0</min_order_total>
144
- <max_order_total>0</max_order_total>
145
- </prescriptionpayment>
146
- </payment>
147
- </default>
148
  </config>
2
  <config>
3
  <modules>
4
  <Ce_PrescriptionPayment>
5
+ <version>0.1.1</version>
6
  </Ce_PrescriptionPayment>
7
  </modules>
8
  <global>
9
  <models>
10
  <prescriptionpayment>
11
  <class>Ce_PrescriptionPayment_Model</class>
12
+ <resourceModel>prescriptionpayment_resource</resourceModel>
13
  </prescriptionpayment>
14
+ <prescriptionpayment_resource>
15
+ <class>Ce_PrescriptionPayment_Model_Resource</class>
16
  <entities>
17
  <prescriptionpayment>
18
  <table>prescriptionpayment</table>
19
  </prescriptionpayment>
20
+ </entities>
21
+ </prescriptionpayment_resource>
22
  </models>
23
  <helpers>
24
  <prescriptionpayment>
131
  </updates>
132
  </layout>
133
  </frontend>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  </config>
app/design/frontend/default/default/layout/ce_prescriptionpayment.xml CHANGED
@@ -35,6 +35,7 @@
35
  <block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
36
  </block>
37
  <block type="prescriptionpayment/items" name="prescriptionpayment.choose.payment" as="choosepayment" template="prescriptionpayment/choose_payment.phtml" />
 
38
  </block>
39
  </reference>
40
  </prescriptionpayment_items_select>
35
  <block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
36
  </block>
37
  <block type="prescriptionpayment/items" name="prescriptionpayment.choose.payment" as="choosepayment" template="prescriptionpayment/choose_payment.phtml" />
38
+ <block type="prescriptionpayment/items" name="prescriptionpayment.uploader" as="uploader" template="prescriptionpayment/selectitems/uploader.phtml" />
39
  </block>
40
  </reference>
41
  </prescriptionpayment_items_select>
app/design/frontend/default/default/template/prescriptionpayment/selectitems.phtml CHANGED
@@ -18,7 +18,7 @@
18
  */
19
 
20
  /**
21
- * Shopping cart template
22
  *
23
  * @see Ce_PrescriptionPayment_Block_Items
24
  */
@@ -125,57 +125,6 @@
125
  </div>
126
  </div>
127
  </div>
128
- <?php if($this->useUploader()) : ?>
129
- <div class="upload-prescription totals">
130
- <form id="pp-upload-form" name="pp-upload-form" method="post" enctype="multipart/form-data" action="<?php echo $this->getUrl('prescriptionpayment/items/upload')?>">
131
- <div class="block block-upload-prescriptions">
132
- <div class="block-title">
133
- <h3 class="left"><strong><?php echo $this->__('Upload prescriptions') ?></strong></h3>
134
- <?php if($this->getFileUploadMultiple()) : ?>
135
- <span class="right add">+</span>
136
- <?php endif ?>
137
- <div class="clearer"></div>
138
- </div>
139
- <div class="block-content">
140
- <p class="empty">
141
- <span class="fileLbl"><?php echo $this->__('File')?>:</span>&nbsp;<input type="file" name="<?php echo $this->getFileUploadFieldName(); ?>" />
142
- <button type="submit" title="Save"><span><?php echo $this->__('Submit')?></span></button><br />
143
- <span class="accepted-file-types">
144
- <?php echo $this->__('Only the following file types are accepted: %s', $this->getAllowedFileTypes()); ?>
145
- </span>
146
- </p>
147
- </div>
148
- </div>
149
- </form>
150
- </div>
151
- <script type="text/javascript">
152
- // <![CDATA[
153
- jQuery(document).ready(function() {
154
- // Submit form via ajax
155
- jQuery('#pp-upload-form').ajaxForm({
156
- success: function() {
157
- jQuery('.block-upload-prescriptions .block-content .empty')
158
- .find('span.fileLbl:gt(0), input[type="file"]:gt(0)').remove();
159
- jQuery('.block-upload-prescriptions .block-content .empty')
160
- .find('input[name="<?php echo $this->getFileUploadFieldName(); ?>"]').val('');
161
- }
162
- });
163
-
164
- // Adding new input fields
165
- jQuery('.block-upload-prescriptions .add').click(function() {
166
- jQuery('<br />').insertBefore('#pp-upload-form button[type="submit"]');
167
- jQuery('<span />', {
168
- text: '<?php echo $this->__('File')?>:',
169
- class: 'fileLbl'
170
- }).insertBefore('#pp-upload-form button[type="submit"]');
171
- jQuery('<input>').attr({
172
- type: 'file',
173
- name: '<?php echo $this->getFileUploadFieldName(); ?>'
174
- }).insertBefore('#pp-upload-form button[type="submit"]');
175
- });
176
- });
177
- // ]]>
178
- </script>
179
- <?php endif ?>
180
  </div>
181
  </div>
18
  */
19
 
20
  /**
21
+ * Choose items for prescription, based on shopping cart template
22
  *
23
  * @see Ce_PrescriptionPayment_Block_Items
24
  */
125
  </div>
126
  </div>
127
  </div>
128
+ <?php echo $this->getChildHtml('uploader') ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  </div>
130
  </div>
app/design/frontend/default/default/template/prescriptionpayment/selectitems/uploader.phtml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @package Ce_PrescriptionPayment
16
+ * @copyright Copyright (c) 2013 codedge (http://www.codedge.de)
17
+ * @author Holger Lösken <post@codedge.de>
18
+ */
19
+
20
+ /**
21
+ * Uploader template
22
+ *
23
+ * @see Ce_PrescriptionPayment_Block_Items
24
+ */
25
+ ?>
26
+
27
+ <?php if($this->useUploader()) : ?>
28
+ <div class="upload-prescription totals">
29
+ <form id="pp-upload-form" name="pp-upload-form" method="post" enctype="multipart/form-data" action="<?php echo $this->getUrl('prescriptionpayment/items/upload')?>">
30
+ <div class="block block-upload-prescriptions">
31
+ <div class="block-title">
32
+ <h3 class="left"><strong><?php echo $this->__('Upload prescriptions') ?></strong></h3>
33
+ <?php if($this->getFileUploadMultiple()) : ?>
34
+ <span class="right add">+</span>
35
+ <?php endif ?>
36
+ <div class="clearer"></div>
37
+ </div>
38
+ <div class="block-content">
39
+ <p class="empty">
40
+ <span class="fileLbl"><?php echo $this->__('File')?>:</span>&nbsp;<input type="file" name="<?php echo $this->getFileUploadFieldName(); ?>" />
41
+ <button type="submit" title="Save"><span><?php echo $this->__('Submit')?></span></button><br />
42
+ <span class="accepted-file-types">
43
+ <?php echo $this->__('Only the following file types are accepted: %s', $this->getAllowedFileTypes()); ?>
44
+ </span>
45
+ </p>
46
+ <p class="empty files-uploaded"></p>
47
+ </div>
48
+ </div>
49
+ </form>
50
+ </div>
51
+ <script type="text/javascript">
52
+ // <![CDATA[
53
+ jQuery(document).ready(function() {
54
+ // Submit form via ajax
55
+ jQuery('#pp-upload-form').ajaxForm({
56
+ success: function() {
57
+ jQuery('.block-upload-prescriptions .block-content .empty')
58
+ .find('span.fileLbl:gt(0), input[type="file"]:gt(0)').remove();
59
+ jQuery('.block-upload-prescriptions .block-content .empty')
60
+ .find('input[name="<?php echo $this->getFileUploadFieldName(); ?>"]').val('');
61
+ },
62
+ complete: function(xhr) {
63
+ var files = xhr.responseText.split(',');
64
+ jQuery.each(files, function(k,l) {
65
+ jQuery('.files-uploaded').append(l + '<br />');
66
+ });
67
+ }
68
+ });
69
+
70
+ // Adding new input fields
71
+ jQuery('.block-upload-prescriptions .add').click(function() {
72
+ jQuery('<br />').insertBefore('#pp-upload-form button[type="submit"]');
73
+ jQuery('<span />', {
74
+ text: '<?php echo $this->__('File')?>:',
75
+ class: 'fileLbl'
76
+ }).insertBefore('#pp-upload-form button[type="submit"]');
77
+ jQuery('<input>').attr({
78
+ type: 'file',
79
+ name: '<?php echo $this->getFileUploadFieldName(); ?>'
80
+ }).insertBefore('#pp-upload-form button[type="submit"]');
81
+ });
82
+ });
83
+ // ]]>
84
+ </script>
85
+ <?php endif ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>PrescriptionPayment</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
@@ -14,9 +14,9 @@
14
  It enables the shop owner to let the customer select which items shall be paid via a prescription. Those items value will be set to 0.00. All other items can be paid via other payment methods (f. ex. PayPal).</description>
15
  <notes>Stable version. Please check https://github.com/codedge/prescriptionpayment for updates</notes>
16
  <authors><author><name>Holger L&#xF6;sken</name><user>codedge</user><email>post@codedge.de</email></author></authors>
17
- <date>2013-05-17</date>
18
- <time>11:32:45</time>
19
- <contents><target name="magecommunity"><dir name="Ce"><dir name="PrescriptionPayment"><dir name="Block"><dir name="Adminhtml"><file name="Notifications.php" hash="b704ed2bdd65b4ce3a4a0c26d2747d2c"/><dir name="Sales"><dir name="Order"><file name="Prescriptionpayment.php" hash="2bcf9c3c10e910460f809e50179b2ee3"/><dir name="View"><dir name="Tab"><file name="Prescriptions.php" hash="a8d9e2e4cf0fcb248252574515df77c5"/></dir></dir></dir></dir></dir><file name="Items.php" hash="bded2c200295547d495c719c27d01d67"/></dir><dir name="Helper"><file name="Data.php" hash="d1e1f46e0177c6d96c35b98a2aa14831"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Prescriptionpayment"><file name="Collection.php" hash="cfd980780287e0ec63755823d2d4557d"/></dir><file name="Prescriptionpayment.php" hash="62c8d02097f01b3f7cf6cea7ce8437f1"/></dir><file name="Observer.php" hash="1c9ea2eed8194d7e01c312d32804e573"/><file name="Prescriptionpayment.php" hash="a4f80fed9bf351129b472e19081a9b25"/></dir><dir name="controllers"><file name="ItemsController.php" hash="96cff6d38d7a6257f3ebbfa524543211"/></dir><dir name="etc"><file name="config.xml" hash="fa0eb77ba06e8196e44ee38609e63cb5"/><file name="system.xml" hash="cfc5c5fda957d198d0fe6e2e0df107be"/></dir><dir name="sql"><dir name="prescriptionpayment_setup"><file name="mysql4-install-0.1.0.php" hash="44af96f8e0ec3961b458cae89191efe9"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="prescriptionpayment"><file name="choose_payment.phtml" hash="293339e56babbfbfa6440b9f5c2aeeed"/><dir name="item"><file name="default.phtml" hash="5fd5f616a714102c5fc55ffb7fa4ae37"/></dir><file name="onepage_link.phtml" hash="80beb697df60eae9a012561553354bdd"/><file name="selectitems.phtml" hash="d489eddfa56395a10947631761cc21b2"/></dir></dir><dir name="layout"><file name="ce_prescriptionpayment.xml" hash="91af9b2d23f81d16254eaeb6da4a001f"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="prescriptionpayment"><file name="notifications.phtml" hash="3bc8c15a8be0a7beb42578ea3747b3f2"/><dir name="order"><dir name="view"><dir name="tab"><file name="info.phtml" hash="27c9c1407dbc7148c8d19e33b00e1261"/><file name="prescriptions.phtml" hash="c0c0a981a4ff38a96f1b65a707661d95"/></dir></dir></dir></dir></dir><dir name="layout"><file name="ce_prescriptionpayment.xml" hash="ad64d3458a37f0d7fdb90f31f334f9f3"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Ce_PrescriptionPayment.csv" hash="34be67dec4e5877bec766b9343399b45"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="js"><dir name="prescriptionpayment"><file name="jquery.form.js" hash="30462a68d2d2ea5733f8687c27d4e783"/><file name="pp-custom.js" hash="7144209f4cd26457fc3894cf69ffddc9"/></dir><file name="jquery-noconflict.js" hash="102c661f414e2f525bdfa04b47065605"/><file name="jquery-1.8.3.min.js" hash="e1288116312e4728f98923c79b034b67"/></dir><dir name="css"><dir name="prescriptionpayment"><file name="pp-custom.css" hash="045a7290990b2e831fda743c25283362"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ce_PrescriptionPayment.xml" hash="00be1ebba9d1706e92c55f18eea40e70"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>5.4.9</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>PrescriptionPayment</name>
4
+ <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
14
  It enables the shop owner to let the customer select which items shall be paid via a prescription. Those items value will be set to 0.00. All other items can be paid via other payment methods (f. ex. PayPal).</description>
15
  <notes>Stable version. Please check https://github.com/codedge/prescriptionpayment for updates</notes>
16
  <authors><author><name>Holger L&#xF6;sken</name><user>codedge</user><email>post@codedge.de</email></author></authors>
17
+ <date>2013-05-19</date>
18
+ <time>10:55:08</time>
19
+ <contents><target name="magecommunity"><dir name="Ce"><dir name="PrescriptionPayment"><dir name="Block"><dir name="Adminhtml"><file name="Notifications.php" hash="b704ed2bdd65b4ce3a4a0c26d2747d2c"/><dir name="Sales"><dir name="Order"><file name="Prescriptionpayment.php" hash="2bcf9c3c10e910460f809e50179b2ee3"/><dir name="View"><dir name="Tab"><file name="Prescriptions.php" hash="a8d9e2e4cf0fcb248252574515df77c5"/></dir></dir></dir></dir></dir><file name="Items.php" hash="bded2c200295547d495c719c27d01d67"/></dir><dir name="Helper"><file name="Data.php" hash="d1e1f46e0177c6d96c35b98a2aa14831"/></dir><dir name="Model"><file name="Observer.php" hash="f144f7e250ad541672d186e83ff65384"/><file name="Prescriptionpayment.php" hash="0e4d4466bb1425ce526c45cb892e917a"/><dir name="Resource"><dir name="Prescriptionpayment"><file name="Collection.php" hash="d2832c12e80c463215a9207972e98a3d"/></dir><file name="Prescriptionpayment.php" hash="9bbe9c4f2bbbc887f4b9bae6e4d414b2"/></dir></dir><dir name="controllers"><file name="ItemsController.php" hash="b31dfbfd5a579e0615f9feb06d56b1d0"/></dir><dir name="etc"><file name="config.xml" hash="696d4598b701a18a71c5eb3e908c829f"/><file name="system.xml" hash="cfc5c5fda957d198d0fe6e2e0df107be"/></dir><dir name="sql"><dir name="prescriptionpayment_setup"><file name="mysql4-install-0.1.0.php" hash="44af96f8e0ec3961b458cae89191efe9"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="prescriptionpayment"><file name="choose_payment.phtml" hash="293339e56babbfbfa6440b9f5c2aeeed"/><dir name="item"><file name="default.phtml" hash="5fd5f616a714102c5fc55ffb7fa4ae37"/></dir><file name="onepage_link.phtml" hash="80beb697df60eae9a012561553354bdd"/><dir name="selectitems"><file name="uploader.phtml" hash="4324af2b3ebd5cb9863c2aedb22bd285"/></dir><file name="selectitems.phtml" hash="c45576cdb02e377d2011a3d49b4f5894"/></dir></dir><dir name="layout"><file name="ce_prescriptionpayment.xml" hash="810eb7696493ea92b8730fffcfc89741"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="prescriptionpayment"><file name="notifications.phtml" hash="3bc8c15a8be0a7beb42578ea3747b3f2"/><dir name="order"><dir name="view"><dir name="tab"><file name="info.phtml" hash="27c9c1407dbc7148c8d19e33b00e1261"/><file name="prescriptions.phtml" hash="c0c0a981a4ff38a96f1b65a707661d95"/></dir></dir></dir></dir></dir><dir name="layout"><file name="ce_prescriptionpayment.xml" hash="ad64d3458a37f0d7fdb90f31f334f9f3"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Ce_PrescriptionPayment.csv" hash="34be67dec4e5877bec766b9343399b45"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="js"><dir name="prescriptionpayment"><file name="jquery.form.js" hash="30462a68d2d2ea5733f8687c27d4e783"/><file name="pp-custom.js" hash="7144209f4cd26457fc3894cf69ffddc9"/></dir><file name="jquery-noconflict.js" hash="102c661f414e2f525bdfa04b47065605"/><file name="jquery-1.8.3.min.js" hash="e1288116312e4728f98923c79b034b67"/></dir><dir name="css"><dir name="prescriptionpayment"><file name="pp-custom.css" hash="045a7290990b2e831fda743c25283362"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ce_PrescriptionPayment.xml" hash="00be1ebba9d1706e92c55f18eea40e70"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>5.4.9</max></php></required></dependencies>
22
  </package>