<%= @training.name %>

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

<%= @training.school %>

<%= @training.position %>

<%= @training.phone %>

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

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

<%= @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.invoice_title.present? ? '普通发票' : '不需要' %>

<% if @training.training_payinfo.invoice_title.present? %>

<%= @training.training_payinfo.invoice_content %>

<%= @training.training_payinfo.invoice_title %>

<%= @training.training_payinfo.invoice_no %>

<% 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 %>


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