报名成功

基本信息

  • 姓名 <%= @training.name %>
  • 性别 <%= @training.sex == 1 ? '男' : '女' %>
  • 单位 <%= @training.school %>
  • 职称 <%= @training.position %>
  • 手机号 <%= @training.phone %>
  • <% if @training.training_type == 3 %>

    您关注的课程类型

    <% @training.research_field.to_s.split(',').each do |name| %> <%= name %> <% end %>
    <% end %> <%= link_to('修改资料', enroll_training_path(id: @friendly_id, disable_redirect: true), class: 'info_updateBtn') %> <% if @training.training_payinfo.blank? || @training.training_payinfo.not_payed? %>
    <%= link_to '转账支付', pay_training_path(id: @friendly_id, pay_type: 3), class: 'leftbtn' %> <%#= link_to '微信支付', pay_training_path(id: @friendly_id, pay_type: 1), class: 'rightbtn' %> 微信支付
    <% else %>
    <%= link_to '支付详情', pay_training_path(id: @friendly_id, pay_type: @training.training_payinfo.pay_type), class: 'rightbtn', style: 'width: 100%;' %>
    <% end %>