* GNU General Public License for more details. * * @category PayIntelligent * @package ratepay * @copyright (C) 2012 PayIntelligent GmbH <http://www.payintelligent.de/> * @license GPLv2 */ /** * RatePAY log overview, displays all log entrys */ require_once 'includes/application_top.php'; require_once '../includes/languages/' . $_SESSION['language'] . '/admin/modules/payment/ratepay.php'; require_once '../includes/classes/ratepay/helpers/Data.php'; require_once '../includes/classes/ratepay/helpers/Db.php'; require_once '../includes/classes/ratepay/helpers/Globals.php'; $logs = Globals::hasParam('orderby') ? Db::getLogEntrys(Globals::getParam('orderby')) : Db::getLogEntrys(); $logical = Data::getLoggingLogical(); require DIR_WS_INCLUDES . 'template_top.php'; ?> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td width="100%" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="2" height="40"> <tr> <td class="pageHeading"><?php echo RATEPAY_ADMIN_LOGGING; ?> </td>
<?php echo $piRatepay->shopSortCode; ?> </span><br/> <span><?php echo RATEPAY_RECHNUNG_PDF_ACCOUNTNUMBER; ?> <?php echo $piRatepay->shopAccountNumber; ?> </span><br/> <span><b><?php echo RATEPAY_RECHNUNG_PDF_REFERENCE; ?> <?php echo Db::getRatepayOrderDataEntry(Globals::getParam('oID'), 'descriptor'); ?> </b></span><br/> <span><?php echo RATEPAY_RECHNUNG_PDF_INTERNATIONALDESC; ?> </span><br/> <span><?php echo RATEPAY_RECHNUNG_PDF_SWIFTBIC; ?> <?php echo $piRatepay->shopSwift; ?> <?php echo RATEPAY_RECHNUNG_PDF_IBAN; ?>
* @category PayIntelligent * @package ratepay * @copyright (C) 2012 PayIntelligent GmbH <http://www.payintelligent.de/> * @license GPLv2 */ /** * RatePAY order template, displays the deliver/cancel, refund, credit and histroy panel */ require_once 'includes/application_top.php'; require_once '../includes/languages/' . $_SESSION['language'] . '/admin/modules/payment/ratepay.php'; require_once '../includes/classes/ratepay/helpers/Data.php'; require_once '../includes/classes/ratepay/helpers/Db.php'; require_once '../includes/classes/ratepay/helpers/Session.php'; require_once '../includes/classes/ratepay/helpers/Globals.php'; require_once 'includes/classes/order.php'; $orderId = Globals::hasParam('oID') ? Globals::getParam('oID') : die('Missing param: "oID"'); $order = new order($orderId); $lang = $_SESSION['language']; $basketAmount = Data::getBasketAmount($order, $orderId); require DIR_WS_INCLUDES . 'template_top.php'; ?> <script language="javascript" src="<?php echo DIR_WS_CATALOG . 'templates/javascript/ratepay_order.js'; ?> "></script> <style> .piRpRight { text-align:right; } </style>
* GNU General Public License for more details. * * @category PayIntelligent * @package ratepay * @copyright (C) 2012 PayIntelligent GmbH <http://www.payintelligent.de/> * @license GPLv2 */ /** * RatePAY logging template, displays the XML */ require_once 'includes/application_top.php'; require_once '../includes/languages/' . $_SESSION['language'] . '/admin/modules/payment/ratepay.php'; require_once '../includes/classes/ratepay/helpers/Data.php'; require_once '../includes/classes/ratepay/helpers/Db.php'; require_once '../includes/classes/ratepay/helpers/Globals.php'; Globals::hasParam('id') ? $log = Db::getLogEntry(Globals::getParam('id')) : die('Page not allowed!'); require DIR_WS_INCLUDES . 'header.php'; ?> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <script language="javascript" src="includes/general.js"></script> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td width="<?php echo BOX_WIDTH; ?> " valign="top"> <table border="0" width="<?php echo BOX_WIDTH; ?> " cellspacing="1" cellpadding="1" class="columnLeft">
/** * Retrieve the logging logical * * @return string */ public static function getLoggingLogical() { $logicals = array('desc' => 'asc', 'asc' => 'desc'); $logical = 'desc'; if (Globals::hasParam('logical')) { $logical = $logicals[Globals::getParam('logical')]; } return $logical; }