[], 'total' => 0, 'page' => 1, 'per_page' => 15]; $action_labels = [ 'buy' => '购买', 'upgrade_config' => '配置升级', 'upgrade_product' => '产品升级', ]; $status_labels = [ 'pending' => '待处理', 'paid' => '已支付', 'opened' => '已完成', 'failed' => '失败', 'cancelled' => '已取消', ]; ob_start(); ?>
购买与升级订单记录
| 订单号 | 类型 | 供应商 | 商品 | 周期 | 金额 | 状态 | 下单时间 |
|---|---|---|---|---|---|---|---|
| = htmlspecialchars($o['order_no']) ?> | = htmlspecialchars($action_labels[$o['action']] ?? $o['action']) ?> | = htmlspecialchars($o['supplier_name'] ?: '-') ?> | = htmlspecialchars($o['product_name']) ?> | = htmlspecialchars($o['cycle_name'] ?: '-') ?> | ¥= zjmf_format_cents($o['amount_cents']) ?> | = htmlspecialchars($status_labels[$o['status']] ?? $o['status']) ?> | = htmlspecialchars($o['created_at']) ?> |