当前位置: 首页>>代码示例>>PHP>>正文


PHP orders::retrieveBankTransfer方法代码示例

本文整理汇总了PHP中orders::retrieveBankTransfer方法的典型用法代码示例。如果您正苦于以下问题:PHP orders::retrieveBankTransfer方法的具体用法?PHP orders::retrieveBankTransfer怎么用?PHP orders::retrieveBankTransfer使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在orders的用法示例。


在下文中一共展示了orders::retrieveBankTransfer方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: orders

<?php

use_class('orders');
$class_o = new orders();
$order_id = isset($_GET['id']) && $_GET['id'] != '' ? tep_db_prepare_input($_GET['id']) : '';
if ($order_id == '') {
    exit;
}
$ba = $class_o->retrieveBankTransfer($order_id);
$content .= '<div class="float-box"><table border="0" cellpadding="0" cellspacing="0">';
$content .= '<tr><td width="150" class="bold">Account Owner</td><td class="bold">' . $ba['banktransfer_owner'] . '</td></tr>';
$content .= '<tr><td>Account No</td><td>' . $ba['banktransfer_number'] . '</td></tr>';
$content .= '<tr><td>Bank Name</td><td>' . $ba['banktransfer_bankname'] . '</td></tr>';
$content .= '<tr><td>Bank Number (BLZ)</td><td>' . $ba['banktransfer_blz'] . '</td></tr>';
$content .= '</table></div>';
$title = "Bank Account Detail";
开发者ID:blasiuscosa,项目名称:manobo-2008,代码行数:16,代码来源:order-bankeinzug-detail.php

示例2: orders

<?php

use_class('orders');
$class_o = new orders();
if (isset($_POST['me_action']) && $_POST['me_action'] != '') {
}
$orders_id = tep_db_prepare_input($_GET['orders_id']);
if ($orders_id == '') {
    exit;
}
$order = $class_o->retrieveDetail($orders_id);
$bt = $class_o->retrieveBankTransfer($orders_id);
$content = '';
$content .= '<div style="float:left;width:400px;">';
$content .= '<table border="0" cellpadding="0" cellspacing="0">';
$content .= '<tr><td colspan="2"><h3>Order Info</h3></td></tr>';
$content .= '<tr><td width="120">Order ID</td><td>' . $order['orders_id'] . '</td></tr>';
$content .= '<tr><td>Order No</td><td>' . $order['orders_no'] . '</td></tr>';
$content .= '<tr><td>Order Date</td><td>' . date('d F Y', strtotime($order['date_purchased'])) . '</td></tr>';
$content .= '<tr><td>Customer Name</td><td>' . $order['customers_name'] . '</td></tr>';
$content .= '<tr><td colspan="2">&nbsp;</td></tr>';
$content .= '<tr><td colspan="2"><h3>Bank Account Info</h3></td></tr>';
$content .= '<tr><td>Account No</td><td>' . $bt['banktransfer_number'] . '</td></tr>';
$content .= '<tr><td>Account Owner</td><td>' . $bt['banktransfer_owner'] . '</td></tr>';
$content .= '<tr><td>Bank</td><td>' . $bt['banktransfer_bankname'] . '</td></tr>';
$content .= '</table>';
$content .= '</div>';
$content .= '<div style="margin-left:420px;">';
$content .= '<table border="0" cellpadding="0" cellspacing="0">';
$content .= '<tr><td colspan="2"><h3>Withdrawal Info</h3></td></tr>';
$content .= '<tr><td width="120">Withdraw Date</td><td></td></tr>';
开发者ID:blasiuscosa,项目名称:manobo-2008,代码行数:31,代码来源:orders-bankeinzug-withdrawal-add.php

示例3: displayCurrency

     $cb_paid_label = is_null($cb_detail) || $cb_detail['chargedback_status'] != '1' ? 'Not Paid' : 'Paid';
     $content .= '<tr><td>Suggested Amount</td><td>' . displayCurrency($order['currency'], $suggest_amount);
     if (is_null($cb_detail)) {
         $content .= ' <a href="?open=order&amp;id=' . $product['orders_id'] . '">&raquo; view order detail</a>';
     }
     $content .= '</td></tr>';
     $content .= '<tr><td class="bold">Chargedback Amount</td><td class="bold">' . $cb_value_text . ' ' . $order['currency'] . '</td></tr>';
     $content .= '<tr><td class="bold">Chargedback Status</td><td><input type="checkbox" id="cb_paid" value="1" ' . $cb_paid_checked . ' ' . $cb_check_dis . ' /> ';
     $content .= $return['return_status'] == '1' ? $cb_paid_label : '<label for="cb_paid">' . $cb_paid_label . '</label>';
     $content .= '</td></tr>';
     if ($return['return_status'] != '1') {
         $content .= '<tr><td colspan="2">';
         $content .= '<div class="float-box ui-corner-all">';
         $content .= '<table border=0" cellpadding="0" cellspacing="0">';
         $content .= '<tr><td width="120">Payment Method</td><td class="bold">' . $order['payment_method'] . '</td></tr>';
         $btinfo = $class_o->retrieveBankTransfer($order['orders_id']);
         if (!is_null($btinfo)) {
             $ba .= '<tr><td>Account Owner</td><td>' . $btinfo['banktransfer_owner'] . '</td>';
             $ba .= '<tr><td>Account Number</td><td>' . $btinfo['banktransfer_number'] . '</td>';
             $ba .= '<tr><td>Bank Name</td><td>' . $btinfo['banktransfer_bankname'] . '</td>';
             $ba .= '<tr><td>BLZ</td><td>' . $btinfo['banktransfer_blz'] . '</td>';
         } else {
             $ba = '<tr><td colspan="2" class="red">No bank account data Found for this order/customer.</td></tr>';
         }
         $content .= $ba;
         $content .= '</table>';
         $content .= '</div>';
         $content .= '</td></tr>';
         $content .= '<tr><td colspan="2"><input type="button" id="cb_save" value="Save Chargedback" /></td></tr>';
     }
 }
开发者ID:blasiuscosa,项目名称:manobo-2008,代码行数:31,代码来源:order-return.php


注:本文中的orders::retrieveBankTransfer方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。