<%= @training.name %>

<%= @training.sex == 1 ? '男' : '女' %>

<%= @training.major %>

<%= @training.student_id %>

<%= @training.phone %>

<%= @training.training_payinfo.pay_status_str %>

<%# 线下支付且未支付时把银行卡 %> <% if false %> <% if @training.training_payinfo.pay_type== TrainingPayinfo::PayType_bank && !@training.payed? %>

800190320609016

湖南酷得网络科技有限公司

长沙银行股份有限公司四方支行

<% end %> <% end %>

<%= @training.training_payinfo.info %>

<% if @training.training_payinfo.attachment_id.to_i > 0 || @training.training_payinfo.pay_type != TrainingPayinfo::PayType_Wechat %> <%= render :partial => 'upload_img', :locals => {:training => @training} %> <% end %>

¥<%= @training.training_payinfo.fee %><%= @training.training_payinfo.num %>人

<% if @training.payed? %> 完成 <% else %> <% if @training.training_payinfo.wechat_wait_pay? %>
<%= link_to "返回", pay_training_path(id: 'bigdata_hnjcxy_2019'), class: 'leftbtn' %> 立即支付
<% elsif !@training.payed? %> <%= link_to "返回", pay_training_path(id: 'bigdata_hnjcxy_2019'), class: 'returnBtn' %> <% end %> <% end %>