Version Notes
-Bug fixing in review page during checkout process.
Download this release
Release Info
| Developer | Biztech |
| Extension | order_delivery_date |
| Version | 0.1.3 |
| Comparing to | |
| See all releases | |
Code changes from version 0.1.2 to 0.1.3
app/code/local/Bc/Deliverydate/etc/config.xml
CHANGED
|
@@ -10,7 +10,7 @@
|
|
| 10 |
<config>
|
| 11 |
<modules>
|
| 12 |
<Bc_Deliverydate>
|
| 13 |
-
<version>0.1.
|
| 14 |
</Bc_Deliverydate>
|
| 15 |
</modules>
|
| 16 |
<frontend>
|
| 10 |
<config>
|
| 11 |
<modules>
|
| 12 |
<Bc_Deliverydate>
|
| 13 |
+
<version>0.1.3</version>
|
| 14 |
</Bc_Deliverydate>
|
| 15 |
</modules>
|
| 16 |
<frontend>
|
app/design/adminhtml/default/default/template/deliverydate/date.phtml
CHANGED
|
@@ -2,36 +2,35 @@
|
|
| 2 |
if (Mage::getStoreConfig('deliverydate/deliverydate_general/enabled')==1){
|
| 3 |
if (Mage::getStoreConfig('deliverydate/deliverydate_general/on_which_page')==1){
|
| 4 |
?>
|
| 5 |
-
<div class="field">
|
| 6 |
|
| 7 |
-
|
| 8 |
-
<label for="page_date-end"><?php echo Mage::helper('sales')->__('Delivery Date:') ?></label>
|
| 9 |
-
<input name="shipping_arrival_date_display" id="shipping_arrival_date_display" value="" type="text">
|
| 10 |
-
<img title="Select date" id="shipping_arrival_date_trig" src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN) . 'adminhtml/default/default/images/grid-cal.gif'; ?>" class="v-middle"><a href="javascript:void(0)" id="link_reset" style="margin-left:5px;"><img src="<?php echo $this->getSkinUrl('images/ico_reset.png');?>" alt="" class="v-middle" title="Reset"></a>
|
| 11 |
-
</div>
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
</div>
|
| 18 |
-
<
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
| 30 |
$('shipping_arrival_date_display').setValue('');
|
| 31 |
});
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
| 35 |
}
|
| 36 |
}
|
| 37 |
?>
|
| 2 |
if (Mage::getStoreConfig('deliverydate/deliverydate_general/enabled')==1){
|
| 3 |
if (Mage::getStoreConfig('deliverydate/deliverydate_general/on_which_page')==1){
|
| 4 |
?>
|
|
|
|
| 5 |
|
| 6 |
+
<div class="field">
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
+
<div class="input-box">
|
| 9 |
+
<label for="page_date-end"><?php echo Mage::helper('sales')->__('Delivery Date:') ?></label>
|
| 10 |
+
<input name="shipping_arrival_date_display" id="shipping_arrival_date_display" value="" type="text">
|
| 11 |
+
<img title="Select date" id="shipping_arrival_date_trig" src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN) . 'adminhtml/default/default/images/grid-cal.gif'; ?>" class="v-middle"><a href="javascript:void(0)" id="link_reset" style="margin-left:5px;" ><img src="<?php echo $this->getSkinUrl('images/ico_reset.png');?>" alt="" class="v-middle" title="Reset"></a>
|
| 12 |
+
</div>
|
| 13 |
+
<label for="shipping_arrival_comments">Delivery Comments:</label><br/>
|
| 14 |
+
<textarea cols="65" rows="8" name="shipping_arrival_comments" id="shipping_arrival_comments"></textarea>
|
| 15 |
+
</div>
|
| 16 |
+
<script type="text/javascript">
|
| 17 |
+
//<![CDATA[
|
| 18 |
+
Calendar.setup({
|
| 19 |
+
inputField : 'shipping_arrival_date_display',
|
| 20 |
+
ifFormat : '%Y-%m-%e %H:%M:%S',
|
| 21 |
+
button : 'shipping_arrival_date_trig',
|
| 22 |
+
showsTime : true,
|
| 23 |
+
align : 'Bl',
|
| 24 |
+
singleClick : true
|
| 25 |
+
});
|
| 26 |
+
Event.observe($('link_reset'),'click',function(){
|
| 27 |
$('shipping_arrival_date_display').setValue('');
|
| 28 |
});
|
| 29 |
+
|
| 30 |
+
//]]>
|
| 31 |
+
</script>
|
| 32 |
+
|
| 33 |
+
<?php
|
| 34 |
}
|
| 35 |
}
|
| 36 |
?>
|
app/design/frontend/default/default/template/deliverydate/review/info.phtml
CHANGED
|
@@ -69,8 +69,11 @@
|
|
| 69 |
</script>
|
| 70 |
<div id="checkout-review-submit">
|
| 71 |
<?php echo $this->getChildHtml('agreements') ?>
|
| 72 |
-
<?php
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
| 74 |
?>
|
| 75 |
<div class="buttons-set" id="review-buttons-container">
|
| 76 |
|
|
@@ -82,7 +85,7 @@
|
|
| 82 |
</span>
|
| 83 |
</div>
|
| 84 |
<?php
|
| 85 |
-
|
| 86 |
?>
|
| 87 |
<script type="text/javascript">
|
| 88 |
//<