getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.3.1', 'unifunc' => 'content_673b395f7bfac2_40791883', 'has_nocache_code' => false, 'file_dependency' => array ( '3d5f199650e3b339d14dd6eb8a4b2c9ff55b00c1' => array ( 0 => 'admin/order/view.tpl', 1 => 1712762115, 2 => 'file', ), ), 'includes' => array ( 'file:admin/header.tpl' => 1, 'file:admin/footer.tpl' => 1, ), ))) { function content_673b395f7bfac2_40791883 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = '/private/var/www/wwwroot/crc.loc/resources/views/tabler/admin/order'; $_smarty_tpl->renderSubTemplate('file:admin/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir); ?>

基本信息

提交用户
getValue('order')->user_id;?>
商品ID
getValue('order')->product_id;?>
商品类型
getValue('order')->product_type_text;?>
商品名称
getValue('order')->product_name;?>
订单优惠码
getValue('order')->coupon;?>
订单金额
getValue('order')->price;?>
订单状态
getValue('order')->status_text;?>
创建时间
getValue('order')->create_time;?>
更新时间
getValue('order')->update_time;?>

商品内容

getValue('order')->product_type === 'tabp' || $_smarty_tpl->getValue('order')->product_type === 'time') {?>
商品时长 (天)
getValue('order')->content->time;?>
等级时长 (天)
getValue('order')->content->class_time;?>
等级
getValue('order')->content->class;?>
getValue('order')->product_type === 'tabp' || $_smarty_tpl->getValue('order')->product_type === 'bandwidth') {?>
可用流量 (GB)
getValue('order')->content->bandwidth;?>
getValue('order')->product_type === 'tabp' || $_smarty_tpl->getValue('order')->product_type === 'time') {?>
用户分组
getValue('order')->content->node_group;?>
速率限制 (Mbps)
getValue('order')->content->ip_limit === '0') {?> 不限制 getValue('order')->content->speed_limit;?>
同时连接IP限制
getValue('order')->content->ip_limit === '0') {?> 不限制 getValue('order')->content->ip_limit;?>

关联账单

账单内容
getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('invoice')->content, 'invoice_content'); $foreach0DoElse = true; foreach ($_from ?? [] as $_smarty_tpl->getVariable('invoice_content')->value) { $foreach0DoElse = false; ?> getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
名称 价格
getValue('invoice_content')->name;?> getValue('invoice_content')->price;?>
账单金额
getValue('invoice')->price;?>
账单状态
getValue('invoice')->status;?>
创建时间
getValue('invoice')->create_time;?>
更新时间
getValue('invoice')->update_time;?>
支付时间
getValue('invoice')->pay_time;?>
> $("#confirm_cancel").click(function () { $.ajax({ url: "/admin/order/getValue('order')->id;?> /cancel", type: 'POST', dataType: "json", success: function (data) { if (data.ret === 1) { $('#success-message').text(data.msg); $('#success-dialog').modal('show'); } else { $('#fail-message').text(data.msg); $('#fail-dialog').modal('show'); } } }) }); > renderSubTemplate('file:admin/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir); } }