<%= @training.name %>

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

<%= @training.school %>

<%= @training.position %>

<% if @training_type == 4 %>

<%= @training.job_title %>

<% end %>

<%= @training.phone %>

<% if @training_type == 4 %>

<%= @training.uncertified_major %>

<% end %>

<%= @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 %>
<% if @training.training_payinfo.info.present? || (@training.training_payinfo.attachment_id.to_i > 0 || @training.training_payinfo.pay_type != TrainingPayinfo::PayType_Wechat) %>
<% if @training.training_payinfo.info.present? %>

<%= @training.training_payinfo.info %>

<% end %> <% if @training.training_payinfo.attachment_id.to_i > 0 || @training.training_payinfo.pay_type != TrainingPayinfo::PayType_Wechat %>

<%= render partial: 'upload_img', locals: { training: @training, disabled: true } %> <% end %>
<% end %>

<% if @training.training_payinfo.wechat_wait_pay? %> <%= link_to "返回", training_path(id: @friendly_id, disable_redirect: true), class: 'leftbtn' %> 立即支付 <% else%> <%= link_to "返回", pay_training_path(id: @friendly_id, disable_redirect: true), class: 'rightbtn', style: 'width: 100%' %> <% end %>