[Vtigercrm-commits] [vtiger-commits] r6636 - in /vtigercrm/trunk/modules/Settings: CurrencyDelete.php CurrencyDeleteStep1.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon May 29 02:49:51 EDT 2006
Author: saraj
Date: Mon May 29 00:49:45 2006
New Revision: 6636
Log:
changes made to change the currency
Added:
vtigercrm/trunk/modules/Settings/CurrencyDeleteStep1.php
Modified:
vtigercrm/trunk/modules/Settings/CurrencyDelete.php
Modified: vtigercrm/trunk/modules/Settings/CurrencyDelete.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/CurrencyDelete.php (original)
+++ vtigercrm/trunk/modules/Settings/CurrencyDelete.php Mon May 29 00:49:45 2006
@@ -9,17 +9,13 @@
*
********************************************************************************/
-$currency_name = $_REQUEST['currency_name'];
-$currency_code= $_REQUEST['currency_code'];
-$currency_symbol= $_REQUEST['currency_symbol'];
-$conversion_rate= $_REQUEST['conversion_rate'];
-$currency_status= $_REQUEST['currency_status'];
-$id = $_REQUEST['record'];
-$sql = "delete from currency_info where id =".$id;
+$del_id = $_REQUEST['delete_currency_id'];
+$tran_id = $_REQUEST['transfer_currency_id'];
+$sql0 = "update users set currency_id=".$tran_id." where currency_id=".$del_id;
+$adb->query($sql0);
+$sql = "delete from currency_info where id =".$del_id;
$adb->query($sql);
-
-header("Location:index.php?module=Settings&action=CurrencyListView&parenttab=".$_REQUEST['parenttab']);
-
+header("Location: index.php?action=SettingsAjax&module=Settings&file=CurrencyListView&ajax=true");
?>
More information about the vtigercrm-commits
mailing list