Files
sx-fc/app/views/settings/tax_profiles/show.html.erb
2017-10-24 18:16:03 +06:30

57 lines
1.7 KiB
Plaintext
Executable File

<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= settings_tax_profiles_path %>">Tax Profiles</a></li>
<li class="breadcrumb-item active">Details</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_tax_profiles_path %>
</span>
</ol>
</div>
<div class="card">
<div class="card-block">
<h4 class="card-title">Tax Profiles</h4>
<table class="table">
<tr>
<td><strong>Name:</strong></td>
<td><%= @settings_tax_profile.name %></td>
</tr>
<tr>
<td><strong>Rate:</strong></td>
<td><%= @settings_tax_profile.rate %></td>
</tr>
<tr>
<td><strong>Inclusive:</strong></td>
<td><%= @settings_tax_profile.inclusive %></td>
</tr>
<tr>
<td><strong>Order by:</strong></td>
<td><%= @settings_tax_profile.order_by %></td>
</tr>
<tr>
<td><strong>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>