public static function getOrderInfo() { $result = array(); $result = lC_Orders_Admin::getInfo($_GET['oid']); $result['rpcStatus'] = RPC_STATUS_SUCCESS; echo json_encode($result); }
<?php /** @package catalog::admin::applications @author Loaded Commerce @copyright Copyright 2003-2014 Loaded Commerce, LLC @copyright Portions Copyright 2003 osCommerce @copyright Template built on Developr theme by DisplayInline http://themeforest.net/user/displayinline under Extended license @license https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt @version $Id: edit.php v1.0 2013-08-08 datazen $ */ if (is_numeric($_GET[$lC_Template->getModule()])) { $oInfo = new lC_ObjectInfo(lC_Orders_Admin::getInfo($_GET[$lC_Template->getModule()])); } ?> <style scoped="scoped"> .replacement > .select-value { height: 19px; } span.select { height: 33px; } .select-value { line-height: 19px; } </style> <!-- Main content --> <section role="main" id="main"> <hgroup id="main-title" class="thin"> <h1><?php echo $lC_Language->get('text_edit_order') . ': ' . $_GET[$lC_Template->getModule()]; ?> </h1> <?php if ($lC_MessageStack->exists($lC_Template->getModule())) { echo $lC_MessageStack->get($lC_Template->getModule()); }
<?php /** @package catalog::admin::applications @author Loaded Commerce @copyright Copyright 2003-2014 Loaded Commerce, LLC @copyright Portions Copyright 2003 osCommerce @copyright Template built on Developr theme by DisplayInline http://themeforest.net/user/displayinline under Extended license @license https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt @version $Id: summary.php v1.0 2013-08-08 datazen $ */ if (!isset($oInfo)) { $oInfo = new lC_ObjectInfo(lC_Orders_Admin::getInfo($_GET['oID'])); } ?> <div id="section_orders_summary"> <h3 class="show-below-768 margin-left margin-top no-margin-bottom"><?php echo $lC_Language->get('text_summary'); ?> </h3> <div class="columns with-padding"> <div class="new-row-mobile four-columns twelve-columns-mobile"> <fieldset> <legend class="small-margin-bottom"> <span class="icon-user icon-anthracite"><strong class="small-margin-left"><?php echo $lC_Language->get('text_customer'); ?> </strong></span> </legend> <table width="100%" cellpadding="0" cellspacing="0"> <tbody>