Version Notes
Kartparadigm Store Credit
Download this release
Release Info
Developer | Kartparadigm |
Extension | Kartparadigm_StoreCredit |
Version | 1.0.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.0.9 to 1.0.1.0
app/code/community/Kartparadigm/StoreCredit/controllers/Adminhtml/CreditsController.php
CHANGED
@@ -186,7 +186,7 @@ public function unselectAction()
|
|
186 |
$array2 = Mage::helper('kartparadigm_storecredit')->getCreditRates();
|
187 |
$quote = Mage::getSingleton('adminhtml/session_quote')->getQuote();
|
188 |
$total = $quote->getBaseGrandTotal();
|
189 |
-
$amt1 = array()
|
190 |
$amt1 = Mage::getSingleton('checkout/session')->getCredits();
|
191 |
$amt = $amt1['discountCredits'];
|
192 |
$discountAmount;
|
186 |
$array2 = Mage::helper('kartparadigm_storecredit')->getCreditRates();
|
187 |
$quote = Mage::getSingleton('adminhtml/session_quote')->getQuote();
|
188 |
$total = $quote->getBaseGrandTotal();
|
189 |
+
$amt1 = array();
|
190 |
$amt1 = Mage::getSingleton('checkout/session')->getCredits();
|
191 |
$amt = $amt1['discountCredits'];
|
192 |
$discountAmount;
|
app/code/community/Kartparadigm/StoreCredit/controllers/Adminhtml/CreditsController.php~
ADDED
@@ -0,0 +1,278 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Kartparadigm_StoreCredit_Adminhtml_CreditsController extends Mage_Adminhtml_Controller_Action
|
3 |
+
{
|
4 |
+
|
5 |
+
public function indexAction()
|
6 |
+
{
|
7 |
+
$this->loadLayout();
|
8 |
+
$this->renderLayout();
|
9 |
+
return $this;
|
10 |
+
}
|
11 |
+
public function editsAction()
|
12 |
+
{
|
13 |
+
$this->loadLayout();
|
14 |
+
$this->renderLayout();
|
15 |
+
return $this;
|
16 |
+
}
|
17 |
+
/* ---------------------------------------------for retriving the customers------------------------------------------ */
|
18 |
+
public function customerAction()
|
19 |
+
{
|
20 |
+
$this->loadLayout();
|
21 |
+
$this->renderLayout();
|
22 |
+
return $this;
|
23 |
+
}
|
24 |
+
/* ------------------------------------------ link to system->configurations of store credit ------------------------------------*/
|
25 |
+
public function settingsAction()
|
26 |
+
{
|
27 |
+
// $redirect = '<meta http-equiv="refresh" content="0;url='..'"/> ';
|
28 |
+
$this->loadLayout();
|
29 |
+
$url = Mage::helper("adminhtml")->getUrl("adminhtml/system_config/edit/section/mycustom_section");
|
30 |
+
$this->getResponse()->setRedirect($url);
|
31 |
+
$this->renderLayout();
|
32 |
+
return $this;
|
33 |
+
}
|
34 |
+
|
35 |
+
public function massDeleteAction()
|
36 |
+
{
|
37 |
+
$registryIds = $this->getRequest()->getParam('registries');
|
38 |
+
if(!is_array($registryIds)) {
|
39 |
+
Mage::getSingleton('adminhtml/session')->addError(Mage::helper('kartparadigm_storecredit')->__('Please select one or more registries.'));
|
40 |
+
} else {
|
41 |
+
try {
|
42 |
+
$registry = Mage::getModel('kartparadigm_storecredit/creditinfo');
|
43 |
+
foreach ($registryIds as $registryId) {
|
44 |
+
$registry->load($registryId)->delete();
|
45 |
+
}
|
46 |
+
Mage::getSingleton('adminhtml/session')->addSuccess(
|
47 |
+
Mage::helper('adminhtml')->__('Total of %d
|
48 |
+
record(s) were deleted.', count($registryIds))
|
49 |
+
);
|
50 |
+
} catch (Exception $e) {
|
51 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
52 |
+
}
|
53 |
+
}
|
54 |
+
$this->_redirect('*/*/index');
|
55 |
+
}
|
56 |
+
/*-----------------------------------Admin use the store credits in reorder ----------------------------------------------*/
|
57 |
+
public function usecreditsAction()
|
58 |
+
{
|
59 |
+
$array2 = Mage::helper('kartparadigm_storecredit')->getCreditRates();
|
60 |
+
$balance;
|
61 |
+
$points;
|
62 |
+
$discountAmount;
|
63 |
+
$id = Mage::getSingleton('adminhtml/session_quote')->getCustomerId();
|
64 |
+
$collection = Mage::getModel('kartparadigm_storecredit/creditinfo')->getCollection()->addFieldToFilter('c_id',$id)->addFieldToFilter('website1','Main Website')->getLastItem();
|
65 |
+
$amt = $collection->getTotalCredits();
|
66 |
+
//Mage::log($amt);
|
67 |
+
$creditData['totalCredits'] = $amt;
|
68 |
+
$quote = Mage::getSingleton('adminhtml/session_quote')->getQuote();
|
69 |
+
$grandTotal = $quote->getGrandTotal();
|
70 |
+
$subTotal = $quote->getSubtotal();
|
71 |
+
Mage::log($quote->getSubtotal()."Sub Total");
|
72 |
+
|
73 |
+
if (!Mage::helper('kartparadigm_storecredit')->getTaxEnabled()){
|
74 |
+
$tax = $quote->getShippingAddress()->getData('tax_amount');
|
75 |
+
}
|
76 |
+
if(!Mage::helper('kartparadigm_storecredit')->getIsShippingEnabled()){
|
77 |
+
$shippingPrice = $quote->getShippingAddress()->getShippingAmount();
|
78 |
+
}
|
79 |
+
|
80 |
+
$amt1 = ($array2['basevalue'] * $amt) / $array2['credits'];
|
81 |
+
$baseCurrencyCode = Mage::app()->getStore()->getBaseCurrencyCode();
|
82 |
+
$currentCurrencyCode = Mage::app()->getStore()->getCurrentCurrencyCode();
|
83 |
+
if ($baseCurrencyCode != $currentCurrencyCode) {
|
84 |
+
$amt2 = Mage::helper('directory')->currencyConvert($amt1, $baseCurrencyCode, $currentCurrencyCode);
|
85 |
+
}
|
86 |
+
else{
|
87 |
+
$amt2 = $amt1;
|
88 |
+
}
|
89 |
+
|
90 |
+
if($grandTotal > $amt2) {
|
91 |
+
|
92 |
+
|
93 |
+
if(($grandTotal - $tax - $shippingPrice) > $amt2){
|
94 |
+
$discountAmount = $amt2;
|
95 |
+
$points = round(($discountAmount * $amt)/$amt2);
|
96 |
+
$balance = 0;
|
97 |
+
}else{
|
98 |
+
$discountAmount = $subTotal;
|
99 |
+
$points = round(($discountAmount * $amt)/$amt2);
|
100 |
+
$balance = $amt - $points;
|
101 |
+
}
|
102 |
+
}
|
103 |
+
else {
|
104 |
+
$discountAmount = $grandTotal - $tax - $shippingPrice;
|
105 |
+
$points = round(($discountAmount * $amt)/$amt2);
|
106 |
+
$balance = $amt - $points;
|
107 |
+
}
|
108 |
+
$creditData['discountCredits'] = $points;
|
109 |
+
//$creditData['balance'] = $balance;
|
110 |
+
|
111 |
+
if($discountAmount > 0) {
|
112 |
+
|
113 |
+
if ($baseCurrencyCode != $currentCurrencyCode) {
|
114 |
+
|
115 |
+
$allowedCurrencies = Mage::getModel('directory/currency')->getConfigAllowCurrencies();
|
116 |
+
$rates = Mage::getModel('directory/currency')->getCurrencyRates($baseCurrencyCode, array_values($allowedCurrencies));
|
117 |
+
|
118 |
+
$baseDiscount = $discountAmount/$rates[$currentCurrencyCode];
|
119 |
+
|
120 |
+
}
|
121 |
+
else{
|
122 |
+
$baseDiscount = $discountAmount;
|
123 |
+
}
|
124 |
+
|
125 |
+
|
126 |
+
//we calculate the Ratio of taxes between GrandTotal & Discount Amount to know how tach we need to remove.
|
127 |
+
|
128 |
+
$msg = "Remaining Credits In Your Accoount Are ".$balance;
|
129 |
+
//Mage::getSingleton('core/session')->setCredits($msg);
|
130 |
+
|
131 |
+
|
132 |
+
$quote->setGrandTotal($quote->getGrandTotal()-$discountAmount)
|
133 |
+
->setBaseGrandTotal($quote->getBaseGrandTotal()-$baseDiscount)
|
134 |
+
->setSubtotalWithDiscount($quote->getSubtotal()-$discountAmount)
|
135 |
+
->setBaseSubtotalWithDiscount($quote->getBaseSubtotal()-$baseDiscount)
|
136 |
+
->save();
|
137 |
+
|
138 |
+
$canAddItems = $quote->isVirtual()? ('billing') : ('shipping');
|
139 |
+
foreach ($quote->getAllAddresses() as $address) {
|
140 |
+
|
141 |
+
$address->setSubtotal(0);
|
142 |
+
$address->setBaseSubtotal(0);
|
143 |
+
|
144 |
+
$address->setGrandTotal(0);
|
145 |
+
$address->setBaseGrandTotal(0);
|
146 |
+
|
147 |
+
$address->collectTotals();
|
148 |
+
|
149 |
+
if($address->getAddressType()==$canAddItems) {
|
150 |
+
|
151 |
+
$address->setSubtotal((float) $quote->getSubtotal());
|
152 |
+
$address->setBaseSubtotal((float) $quote->getBaseSubtotal());
|
153 |
+
$address->setSubtotalWithDiscount((float) $quote->getSubtotalWithDiscount());
|
154 |
+
$address->setBaseSubtotalWithDiscount((float) $quote->getBaseSubtotalWithDiscount());
|
155 |
+
$address->setGrandTotal((float) $quote->getGrandTotal());
|
156 |
+
$address->setBaseGrandTotal((float) $quote->getBaseGrandTotal());
|
157 |
+
$address->setDiscountAmount(-$discountAmount);
|
158 |
+
$address->setDiscountDescription('Store Credits');
|
159 |
+
$address->setBaseDiscountAmount(-$baseDiscount);
|
160 |
+
$address->save();
|
161 |
+
}//end: if
|
162 |
+
} //end: foreach
|
163 |
+
foreach($quote->getAllItems() as $item) {
|
164 |
+
|
165 |
+
// We apply discount amount based on the ratio between the GrandTotal and the RowTotal
|
166 |
+
$rat = $item->getPriceInclTax() / $quote->getGrandTotal();
|
167 |
+
$rat1 = $item->getBasePriceInclTax() / $quote->getBaseGrandTotal();
|
168 |
+
$ratdisc = $discountAmount * $rat;
|
169 |
+
$ratdisc1 = $baseDiscount * $rat1;
|
170 |
+
Mage::log($item->getDiscountAmount()."include tax".$item->getBaseDiscountAmount());
|
171 |
+
$item->setDiscountAmount(($item->getDiscountAmount() + $ratdisc) * $item->getQty());
|
172 |
+
$item->setBaseDiscountAmount(($item->getBaseDiscountAmount() + $ratdisc1) * $item->getQty())->save();
|
173 |
+
}//end: foreach
|
174 |
+
Mage::getSingleton('checkout/session')->setCredits($creditData);
|
175 |
+
Mage::getSingleton('core/session')->setBalance($balance);
|
176 |
+
Mage::getSingleton('adminhtml/session')->setValue("true");
|
177 |
+
}
|
178 |
+
|
179 |
+
|
180 |
+
}
|
181 |
+
/*-------------------------------- end------------------------------------------------------------------------------------- */
|
182 |
+
|
183 |
+
/*-----------------------------------Admin unselect the store credits in reorder ----------------------------------------------*/
|
184 |
+
public function unselectAction()
|
185 |
+
{
|
186 |
+
$array2 = Mage::helper('kartparadigm_storecredit')->getCreditRates();
|
187 |
+
$quote = Mage::getSingleton('adminhtml/session_quote')->getQuote();
|
188 |
+
$total = $quote->getBaseGrandTotal();
|
189 |
+
$amt1 = array();
|
190 |
+
$amt1 = Mage::getSingleton('checkout/session')->getCredits();
|
191 |
+
$amt = $amt1['discountCredits'];
|
192 |
+
$discountAmount;
|
193 |
+
$amt1 = ($array2['basevalue'] * $amt) / $array2['credits'];
|
194 |
+
$baseCurrencyCode = Mage::app()->getStore()->getBaseCurrencyCode();
|
195 |
+
$currentCurrencyCode = Mage::app()->getStore()->getCurrentCurrencyCode();
|
196 |
+
if ($baseCurrencyCode != $currentCurrencyCode) {
|
197 |
+
$discountAmount = Mage::helper('directory')->currencyConvert($amt1, $baseCurrencyCode, $currentCurrencyCode);
|
198 |
+
}
|
199 |
+
else{
|
200 |
+
$discountAmount = $amt1;
|
201 |
+
}
|
202 |
+
Mage::log( $discountAmount."discount Amount");
|
203 |
+
|
204 |
+
if($discountAmount >= 0) {
|
205 |
+
|
206 |
+
//we calculate the Ratio of taxes between GrandTotal & Discount Amount to know how tach we need to remove.
|
207 |
+
|
208 |
+
//$msg = "Remaining Credits In Your Accoount Are ".$balance;
|
209 |
+
//Mage::getSingleton('core/session')->setCredits($msg);
|
210 |
+
|
211 |
+
|
212 |
+
$quote->setGrandTotal($quote->getGrandTotal() + $discountAmount)
|
213 |
+
->setBaseGrandTotal($quote->getBaseGrandTotal() + $discountAmount)
|
214 |
+
->setSubtotalWithDiscount($quote->getSubtotal() + $discountAmount)
|
215 |
+
->setBaseSubtotalWithDiscount($quote->getBaseSubtotal() + $discountAmount)
|
216 |
+
->save();
|
217 |
+
|
218 |
+
$canAddItems = $quote->isVirtual()? ('billing') : ('shipping');
|
219 |
+
foreach ($quote->getAllAddresses() as $address) {
|
220 |
+
|
221 |
+
$address->setSubtotal(0);
|
222 |
+
$address->setBaseSubtotal(0);
|
223 |
+
|
224 |
+
$address->setGrandTotal(0);
|
225 |
+
$address->setBaseGrandTotal(0);
|
226 |
+
|
227 |
+
$address->collectTotals();
|
228 |
+
|
229 |
+
if($address->getAddressType()==$canAddItems) {
|
230 |
+
|
231 |
+
$address->setSubtotal((float) $quote->getSubtotal());
|
232 |
+
$address->setBaseSubtotal((float) $quote->getBaseSubtotal());
|
233 |
+
$address->setSubtotalWithDiscount((float) $quote->getSubtotalWithDiscount());
|
234 |
+
$address->setBaseSubtotalWithDiscount((float) $quote->getBaseSubtotalWithDiscount());
|
235 |
+
$address->setGrandTotal((float) $quote->getGrandTotal());
|
236 |
+
$address->setBaseGrandTotal((float) $quote->getBaseGrandTotal());
|
237 |
+
$address->save();
|
238 |
+
}//end: if
|
239 |
+
} //end: foreach
|
240 |
+
foreach($quote->getAllItems() as $item){
|
241 |
+
//We apply discount amount based on the ratio between the GrandTotal and the RowTotal
|
242 |
+
$rat=$item->getPriceInclTax()/$total;
|
243 |
+
$ratdisc=$discountAmount*$rat;
|
244 |
+
|
245 |
+
|
246 |
+
$item->setDiscountAmount($ratdisc);
|
247 |
+
$item->setBaseDiscountAmount($ratdisc)->save();
|
248 |
+
|
249 |
+
|
250 |
+
} //end: foreach
|
251 |
+
Mage::getSingleton('checkout/session')->unsCredits();
|
252 |
+
Mage::getSingleton('core/session')->unsBalance();
|
253 |
+
Mage::getSingleton('adminhtml/session')->unsValue();
|
254 |
+
|
255 |
+
}
|
256 |
+
|
257 |
+
|
258 |
+
}
|
259 |
+
/*-------------------------------- end------------------------------------------------------------------------------------- */
|
260 |
+
public function showTransactionAction()
|
261 |
+
{
|
262 |
+
$table = Mage::getModel('kartparadigm_storecredit/creditinfo')->getCollection()->addFieldToFilter('t_id',$this->getRequest()->getParam('id'));
|
263 |
+
foreach($table as $t)
|
264 |
+
{
|
265 |
+
Mage::getSingleton('adminhtml/session')->setFormData($t);
|
266 |
+
//Mage::log($t->getActionCredits()."hi");
|
267 |
+
}
|
268 |
+
$this->loadLayout();
|
269 |
+
$this->getLayout()->getBlock('head')->setCanLoadExtJs(true);
|
270 |
+
$this->renderLayout();
|
271 |
+
}
|
272 |
+
public function gridAction()
|
273 |
+
{
|
274 |
+
$this->getResponse()->setBody(
|
275 |
+
$this->getLayout()->createBlock('kartparadigm_storecredit/adminhtml_registries1_grid')->toHtml());
|
276 |
+
}
|
277 |
+
|
278 |
+
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Kartparadigm_StoreCredit</name>
|
4 |
-
<version>1.0.0
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
@@ -11,8 +11,8 @@
|
|
11 |
<notes>Kartparadigm Store Credit</notes>
|
12 |
<authors><author><name>Kartparadigm</name><user>kartparadigm</user><email>kartparadigm@gmail.com</email></author></authors>
|
13 |
<date>2015-04-18</date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Kartparadigm"><dir name="StoreCredit"><dir name="Block"><dir name="Adminhtml"><dir name="Customer"><dir name="Edit"><dir name="Tab"><dir name="Credits"><file name="List1.php" hash="44228eee4508701546e2e4f794431b14"/><file name="List.php" hash="243615c727cebfe59d273da8b85b5db0"/></dir><file name="Credits.php" hash="8af8e7e7ae5634de6b7dc6dda9349269"/></dir></dir><file name="Grid.php" hash="335c1bee870644f106315be703e4c0d0"/></dir><dir name="Promo"><dir name="Catalog"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="36fe787ce9fd4c5d6283c35c741add92"/></dir></dir></dir></dir><dir name="Registries"><dir name="Edit"><file name="Form.php" hash="a2a4f87d29506b1bfd7adf9e420a3e8d"/></dir><file name="Edit.php" hash="2328aeadf074d5e7740947b8bfc54a84"/><file name="Grid.php" hash="99fd3e2d4528bd98aeda18783c2653c0"/></dir><dir name="Registries1"><dir name="Edit"><file name="Form.php" hash="78c893545865890297ac7f4d406d9afd"/></dir><file name="Edit.php" hash="b38d2e821374c9babdbe4c8de1dd71f0"/><file name="Grid.php" hash="74af81c3af7fe14a52fc03b9d06c5c38"/></dir><file name="Registries1.php" hash="5f821c5722e3e2ec2c635f13efae5270"/><file name="Registries.php" hash="77e441d9f86462eea31cd1ab3abbc24e"/></dir><file name="Collection.php" hash="06203b41373cbb51433aaff716e54a45"/><file name="Credit.php" hash="c207b8719fa5aba99fe0f49110b71e12"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CreditsController.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Kartparadigm_StoreCredit</name>
|
4 |
+
<version>1.0.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
11 |
<notes>Kartparadigm Store Credit</notes>
|
12 |
<authors><author><name>Kartparadigm</name><user>kartparadigm</user><email>kartparadigm@gmail.com</email></author></authors>
|
13 |
<date>2015-04-18</date>
|
14 |
+
<time>13:02:29</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Kartparadigm"><dir name="StoreCredit"><dir name="Block"><dir name="Adminhtml"><dir name="Customer"><dir name="Edit"><dir name="Tab"><dir name="Credits"><file name="List1.php" hash="44228eee4508701546e2e4f794431b14"/><file name="List.php" hash="243615c727cebfe59d273da8b85b5db0"/></dir><file name="Credits.php" hash="8af8e7e7ae5634de6b7dc6dda9349269"/></dir></dir><file name="Grid.php" hash="335c1bee870644f106315be703e4c0d0"/></dir><dir name="Promo"><dir name="Catalog"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="36fe787ce9fd4c5d6283c35c741add92"/></dir></dir></dir></dir><dir name="Registries"><dir name="Edit"><file name="Form.php" hash="a2a4f87d29506b1bfd7adf9e420a3e8d"/></dir><file name="Edit.php" hash="2328aeadf074d5e7740947b8bfc54a84"/><file name="Grid.php" hash="99fd3e2d4528bd98aeda18783c2653c0"/></dir><dir name="Registries1"><dir name="Edit"><file name="Form.php" hash="78c893545865890297ac7f4d406d9afd"/></dir><file name="Edit.php" hash="b38d2e821374c9babdbe4c8de1dd71f0"/><file name="Grid.php" hash="74af81c3af7fe14a52fc03b9d06c5c38"/></dir><file name="Registries1.php" hash="5f821c5722e3e2ec2c635f13efae5270"/><file name="Registries.php" hash="77e441d9f86462eea31cd1ab3abbc24e"/></dir><file name="Collection.php" hash="06203b41373cbb51433aaff716e54a45"/><file name="Credit.php" hash="c207b8719fa5aba99fe0f49110b71e12"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CreditsController.php" hash="e817f4fcad453b723f2c906c6420ce8b"/><file name="CreditsController.php~" hash="e817f4fcad453b723f2c906c6420ce8b"/><file name="CustomerController.php" hash="f55a626a2d8ae07a6879b0ec8d08aadb"/><dir name="Promo"><file name="CatalogController.php" hash="aac0c07d33396bc86c5adcfc234838d7"/></dir><dir name="Sales"><dir name="Order"><file name="CreditmemoController.php" hash="4e971e6c64d0763a570e315ccd0d980c"/></dir></dir></dir><dir name="Checkout"><file name="OnepageController.php" hash="2a9734b2099905ba8f0fd1ac79b614c6"/></dir><file name="IndexController.php" hash="d70f263cc210ed21eee8d1564aead14d"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1a78218db0c18efcf81ed04ba8b655c2"/><file name="config.xml" hash="39065261bc245ba54799940bea51d5e0"/><file name="system.xml" hash="4b4ef37096e12405ea23e9a7de8efa10"/></dir><dir name="Helper"><file name="Data.php" hash="d8bfacd9796c4947eeee1f28878ab8e4"/></dir><dir name="Model"><file name="Creditinfo.php" hash="a96ee7fd6d660ff6de22dbbdbc90a7ae"/><dir name="Mysql4"><dir name="Creditinfo"><file name="Collection.php" hash="6f62213e7f4f62d0f90ffaeb6ff61f03"/></dir><file name="Creditinfo.php" hash="85e01354a1e6973e74dd8fdf11af4eb8"/><dir name="Sendcreditstofriend"><file name="Collection.php" hash="93b7db3ec026d02fc205c8fc5e23630e"/></dir><file name="Sendcreditstofriend.php" hash="32be8731fb112f18d70e06e2b388ebd3"/></dir><file name="Observer.php" hash="5022b7935a1d59c64adf4a9da3a98137"/><dir name="Resource"><file name="Rule.php" hash="b6471332cf41e96cc6e60e57505bd0f5"/><file name="Setup.php" hash="7f5ed91bf4d6ab4bc2dd3496fdf37d1c"/><file name="Transaction.php" hash="1b8c9d66ba8457b166f8aca5f9e341ed"/></dir><file name="Sendcreditstofriend.php" hash="711f4fbee2493698486fbc162e1fda6e"/><file name="Source.php" hash="8f51c351a0c8d70ac2308f5b7f39a1aa"/></dir><dir name="sql"><dir name="kartparadigm_storecredit_setup"><file name="install-0.1.0.php" hash="0e60f75abadb436a7fbc9682245773ab"/><file name="upgrade-0.1.0-0.2.0.php" hash="9e9d855251ffa1ef256e4821a5e903c9"/><file name="upgrade-0.2.0-0.3.0.php" hash="4bafbe8bba6b4d6e824487220d1b49fb"/><file name="upgrade-0.3.0-0.4.0.php" hash="1f7b1d85ca78d5d42afb5f9c064b9acd"/><file name="upgrade-0.4.0-0.5.0.php" hash="4a3ba65764d6ae5bbde2bd48dba46bdc"/><file name="upgrade-0.5.0-0.6.0.php" hash="d60d6c4631750a02202220552c73d373"/><file name="upgrade-0.6.0-0.7.0.php" hash="37acfd4ef86bc0a7d7f7deaa393fdfbb"/><file name="upgrade-0.7.0-0.8.0.php" hash="3f23d2d79ea4b93b1012194677e55da0"/><file name="upgrade-0.8.0-0.9.0.php" hash="ae7b43bf8747d56bede623e52c824597"/></dir></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Block"><dir name="Sales"><file name="Totals.php" hash="9d15eca76b896d950a59234c82d3786f"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="credit.xml" hash="128baf9ae30f2a2e01cd1779a9356229"/></dir><dir name="template"><dir name="kartparadigm"><dir name="storecredit"><file name="credit.phtml" hash="67a2b79a158a9b7190b1b6c6e970d7c9"/><dir name="customer"><file name="main.phtml" hash="db60ca5b83d64d2e180e84b86b48b126"/></dir><file name="payment.phtml" hash="d8c9566e168e25d371ed718e122394f9"/><file name="storecreditview.phtml" hash="81b3e839f3321b9b46ef70d80839c6a6"/><file name="transaction.phtml" hash="f2852bdefed025ee6ef326ffd990b932"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="credit.xml" hash="bdfdd8dbf648bf7846c9b4eab07a68a9"/></dir><dir name="template"><dir name="kartparadigm"><file name="mycredits.phtml" hash="8f3daee8faac9b6262eed78c33af08b1"/><file name="mytransactions.phtml" hash="f104dcf3016d7d414b139f81aa8e9517"/><file name="payment.phtml" hash="bab542921a9690d9afd006d541ac82b0"/><file name="product.phtml" hash="640ee05cb6c5ad478b3f6fffcac82764"/><file name="sendcreditsform.phtml" hash="db4cb8365272bd3e02f1976f8a542841"/><file name="totalcredits.phtml" hash="601bd8258fd0c06adcc16910db6a5037"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Kartparadigm_StoreCredit.xml" hash="886b0f62af9d0dcdd64eabf698d9fdb9"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="caritor_email_template1.html" hash="4aa55abbeb482a6b156eadcfeda159e4"/><file name="caritor_email_template.html" hash="88f3d40c0d0eeba73a34a63577ade965"/></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|