本文整理汇总了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";
示例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"> </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>';
示例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&id=' . $product['orders_id'] . '">» 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>';
}
}