// Preparing partial refund update

This commit is contained in:
fSerny
2011-12-22 14:01:05 +00:00
parent 459488c082
commit 16fc0b4e57
2 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -411,4 +411,8 @@ SET `position` = (
FROM `PREFIX_tab` FROM `PREFIX_tab`
WHERE `id_parent` = 0 WHERE `id_parent` = 0
) )
WHERE `class_name` = 'AdminAccounting'; WHERE `class_name` = 'AdminAccounting';
ALTER TABLE `PREFIX_order_slip_detail` CHANGE `amount` `amount_tax_excl` DECIMAL( 10, 2 ) NOT NULL;
ALTER TABLE `PREFIX_order_slip_detail` ADD COLUMN `amount_tax_incl` DECIMAL(10,2) NOT NULL AFTER `amount_tax_excl`;
+2 -2
View File
@@ -768,7 +768,7 @@ function init()
var flagRefund = ''; var flagRefund = '';
$(document).ready(function() { $(document).ready(function() {
$('.standard_refund').click(function() { $('#desc-order-standard_refund').click(function() {
$('.cancel_product_change_link:visible').trigger('click'); $('.cancel_product_change_link:visible').trigger('click');
closeAddProduct(); closeAddProduct();
@@ -791,7 +791,7 @@ $(document).ready(function() {
return false; return false;
}); });
$('.partial_refund').click(function() { $('#desc-order-partial_refund').click(function() {
$('.cancel_product_change_link:visible').trigger('click'); $('.cancel_product_change_link:visible').trigger('click');
closeAddProduct(); closeAddProduct();