} else { $new_settings[$bank_name]['tier'][$tier][$payee][$field] = round($value, 2); } } } } } } $rates_class->post_MerchantRate($en_ID, $new_settings); } $banks = $rates_class->get_BanksById(); $company_rates = $rates_class->get_MerchantRates($en_ID); $payees = $rates_class->get_Payees(); $rate_cats = $rates_class->get_RateCategories(); $num_rate_cats = sizeof($rate_cats); $data = JSON_get_data(array('func' => 'getEntityList', 'en_search' => array($en_ID), 'en_search_by' => array('id'), 'silent' => 1)); $json = new Services_JSON(); $JSON_output = $json->encode($data); ?> <script language="javascript" src="<?php echo $rootdir; ?> /scripts/dynosearch.js"></script> <script language="javascript"> function modify_row(id,disp) { row = "row_" + id; anc = "anc_" + id; row = $(row);
<?php if (!$_REQUEST['debug']) { $etel_debug_mode = 0; } $pageConfig['SingleViewAllowed'] = true; $pageConfig['AllowBank'] = true; $pageConfig['HideHeader'] = true; $rootdir = "../"; require_once "includes/sessioncheck.php"; require_once "includes/header.php"; $data = JSON_get_data($_REQUEST); $json = new Services_JSON(); if (!$etel_debug_mode) { unset($data['json_query']); } if ($data['output']) { $output = $data['output']; } else { $output = $json->encode($data); } etelDie('<PRE>' . wordwrap($output, 90, '<br />', true) . '</PRE>'); print $output;
$_SESSION["gw_admin_info"] = etelEnc($_SESSION["gw_user_username"] . "|" . $_SESSION["gw_user_hash"] . "|Admin|" . $_SESSION['gw_id'] . "|editCompanyProfileAccess.php?entity_id=" . $_REQUEST['entity_id']); $_SESSION["loginredirect"] = "None"; $_SESSION["userType"] = quote_smart(ucfirst($_REQUEST['type'])); $_SESSION["gw_user_username"] = quote_smart($_REQUEST['username']); $_SESSION["gw_user_password"] = ''; $_SESSION["gw_user_hash"] = quote_smart($_REQUEST['hash']); if ($_SESSION["userType"] == 'Reseller') { echo "<script>document.location='../reseller/ledger.php'</script>"; } else { echo "<script>document.location='../ledger.php'</script>"; } die; } $headerInclude = "companies"; include "includes/header.php"; $data = JSON_get_data(array('func' => 'getEntitySearchOptions')); $json = new Services_JSON(); $output = $json->encode($data); ?> <script language="javascript" src="<?php echo $rootdir; ?> /scripts/dynosearch.js"></script> <div id="en_search" class="report" align="left" style="background-image:url(<?php echo $tmpl_dir; ?> images/row1_bk.png)"></div> <div id="en_status" class="report" style="background-image:url(<?php echo $tmpl_dir; ?>