<div class="page-header">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
    <li class="breadcrumb-item"><a href="<%= settings_tax_profiles_path %>"><%= t("en.tax_profile") %></a></li>
    <li class="breadcrumb-item active"><%= t :details %></li>
    <span class="float-right">
      <%= link_to t('.back', :default => t("views.btn.back")), settings_tax_profiles_path %>
    </span>
  </ol>
</div>

<div class="row">
  <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
    <div class="card">
      <div class="card-block">
        <h4 class="card-title"><%= t("en.tax_profile") %></h4>
        <table class="table">
        <tr>
          <td><strong><%= t("views.right_panel.detail.name") %>:</strong></td>
          <td><%= @settings_tax_profile.name %></td>
        </tr>

        <tr>
          <td><strong><%= t("views.right_panel.detail.rate") %>:</strong></td>
          <td><%= @settings_tax_profile.rate %></td>
        </tr>

        <tr>
          <td><strong><%= t("views.right_panel.detail.inclusive") %>:</strong></td>
          <td><%= @settings_tax_profile.inclusive %></td>
        </tr>

        <tr>
          <td><strong><%= t("views.right_panel.detail.order_by") %>:</strong></td>
          <td><%= @settings_tax_profile.order_by %></td>
        </tr>

        <tr>
          <td><strong><%= t("views.right_panel.detail.created_by") %>:</strong></td>
          <td><%= @settings_tax_profile.created_by %></td>
        </tr>

        <tr>
        <td colspan="2" align="right">
        <%= link_to t("views.btn.edit"), edit_settings_tax_profile_path(@settings_tax_profile),:class => "btn btn-info ben-sm waves-effer" %>
      <button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_tax_profile_path(@settings_tax_profile)%>" data-method="delete">
            <%= t("views.btn.delete") %>
          </button>

          <span class="hidden" id="delete_text">
              <h6>Are you sure you want to delete this row ?</h6>
              <h6>This action can't be undo. </h6> 
          </span>
        </td>
        </tr>
      </table>
      </div>
    </div>
  </div>

  <div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
    <div class="card">
      <div class="body">
        <h5><i class="material-icons md-18">view_headline <%= t("views.right_panel.header.page_detail") %></i></h5>
        <p>
        1) <%= t("views.right_panel.detail.name") %> - <%= t("views.right_panel.detail.tax_profiles_txt") %> <%= t("views.right_panel.detail.name_txt2") %> <br> 
        2) <%= t("views.right_panel.detail.rate") %> - <%= t("views.right_panel.detail.rate_txt") %> <%= t("views.right_panel.detail.for") %> <%= t("views.right_panel.detail.tax_profiles_txt") %> <br>
        3) <%= t("views.right_panel.detail.inclusive") %> - <%= t("views.right_panel.detail.inclusive_txt") %> <%= t("views.right_panel.detail.tax_txt") %> <%= t("views.right_panel.detail.for") %> <%= t("views.right_panel.detail.tax_profiles_txt") %> <br>
        4) <%= t("views.right_panel.detail.order_by") %> - <%= t("views.right_panel.detail.order_txt") %> <%= t("views.right_panel.detail.for") %> <%= t("views.right_panel.detail.tax_profiles_txt") %> <br>
        5) <%= t("views.right_panel.detail.created_by") %> - <%= t("views.right_panel.detail.created_by_txt") %> <%= t("views.right_panel.detail.tax_profiles_txt") %> <br>
        </p>
        <h5><i class="material-icons md-18">list <%= t("views.right_panel.header.button_lists") %></i> </h5>
        <p>
        1) <%= t("views.right_panel.button.edit") %> - <%= t("views.right_panel.detail.edit_btn_txt") %> <%= t("views.right_panel.detail.tax_profiles_txt") %> <br>
        2) <%= t("views.right_panel.button.delete") %> - <%= t("views.right_panel.detail.delete_btn_txt") %> <%= t("views.right_panel.detail.tax_profiles_txt") %> <br>
        </p>
        <h5><i class="material-icons md-18">list <%= t("views.right_panel.header.link_lists") %></i> </h5>
        <p>
          1) <%= t("views.right_panel.button.home") %> - <%= t("views.right_panel.detail.home_txt") %> <br>
          2) <%= t("views.right_panel.button.back") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.tax_profiles_txt") %> <br>
        </p>
      </div>
    </div>
  </div>
</div>

