Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: newretailorders.php
<div class="page-header border-bottom-0"> <div class="page-header-content header-elements-md-inline"> <div class="page-title d-flex"> <h4> <a href="javascript:void(0)" class="BackButton-Link" onclick="goBack()"><i class="icon-arrow-left52 mr-2"></i></a> New <?php echo $type == 0 ? 'IMEI': 'Server'; ?> Retail Orders </h4> </div> </div> </div> <div class="content pt-0"> <div class="card"> <div class="row"> <?php if($message != '') echo '<div class="alert alert-success">'.$message.'</div>'; ?> <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12"> <div class="card-body"> <div class="table-responsive"> <table class="table table-striped table-bordered table-advance table-hover"> <thead> <tr> <th><? echo $this->lang->line('BE_PCK_HD_4'); ?></th> <th><? echo $this->lang->line('BE_PCK_15'); ?></th> <th><? echo $this->lang->line('BE_MR_4'); ?></th> <th>Action</th> </tr> </thead> <tbody> <? if($count != 0) { foreach($rsNewOrders as $row) { $pageName = 'retailorders'; if($type == '1') $pageName = 'serverrtlorders'; $apiError = ''; $baseUrl=base_url(); if(isset($ARR_API_ERRORS[$row->PackageId]) && $ARR_API_ERRORS[$row->PackageId] != '') $apiError = '<a href="'.base_url(). $this->config->item('apanel_name') . '/retail/newretailorders?type='.$type.'&rp=1&pkId='.$row->PackageId.'"><img src="../images/red-flags-icon-png-7.png" width="20" height="20" title="Order Did not go through API - '.$ARR_API_ERRORS[$row->PackageId].'. You can click it to resubmit all orders to API." /></a>'; ?> <tr> <td><? echo stripslashes($row->PackageTitle);?> <? echo $apiError;?></td> <td><? echo $row->APITitle == '' ? '-' : stripslashes($row->APITitle); ?></td> <td><? echo $row->TotalOrders;?></td> <td valign="middle" nowrap="nowrap"> <a title="Take Action" href="<? echo $pageName;?>?packId=<? echo $row->PackageId;?>&codeStatusId=1&pT=1&searchType=1&txtFromDt=<? echo $dt; ?>&oB=DESC"><i class="fa fa-search-plus" style="font-size:16px;"></i></a> <? if($row->APITitle == '') { ?> <a title="Apply API" href="<? echo $pageName;?>?packId=<? echo $row->PackageId;?>&applyAPI=1&pT=1&codeStatusId=1&searchType=1&txtFromDt=<? echo $dt; ?>&oB=ASC"><i class="fa fa-cog" style="font-size:16px;"></i></a> <? } ?> <? if(isset($ARR_API_ERRORS[$row->PackageId]) && sizeof($ARR_API_ERRORS[$row->PackageId]) > 0) { ?> <a title="Check API Errors and Reprocess Orders" href="reprocessorders.php?id=<? echo $row->PackageId;?>&type=<? echo $type;?>&sc=3&pn=<? echo str_replace(' ', 'S_P_', stripslashes($row->PackageTitle)); ?>" class="fancybox fancybox.ajax"><i class="fa fa-refresh" style="font-size:16px;"></i></a> <? } ?> </td> </tr> <? }?> <? }else{ ?> <tr><td colspan="5"><strong><? echo $this->lang->line('BE_GNRL_9'); ?></strong></td></tr> <? } ?> </tbody> </table> </div> </div> </div> </div> </div> </div>