Sha256: b758ae3f6ad63e749978c94caa53e4ce737a44c1f27211cea6da782a539a6776

Contents?: true

Size: 1.69 KB

Versions: 13

Compression:

Stored size: 1.69 KB

Contents

<div class="container">
  <%= form_with model: @finder, url: {action: 'index'}, method: 'get', class: 'row', local: true do |f| %>
    <div class="col-auto my-auto">
      <%= f.t_date_field :from %>
    </div>
    <div class="col-auto my-auto">
      <%= f.submit '表示', class: 'btn btn-outline-primary' %>
    </div>
  <% end %>
</div>
<div class="py-2 px-4">
  <table class="table table-striped table-bordered table-hover table-sm">
    <thead class="thead-light">
      <tr>
        <th class="text-center">社会保険料控除後の<br/>給与範囲(以上)</th>
        <th class="text-center">社会保険料控除後の<br/>給与範囲(未満)</th>
        <th class="text-center">扶養親族<br/>0人</th>
        <th class="text-center">扶養親族<br/>1人</th>
        <th class="text-center">扶養親族<br/>2人</th>
        <th class="text-center">扶養親族<br/>3人</th>
        <th class="text-center">扶養親族<br/>4人</th>
        <th class="text-center">扶養親族<br/>5人</th>
        <th class="text-center">扶養親族<br/>6人</th>
        <th class="text-center">扶養親族<br/>7人</th>
        <th class="text-center">乙</th>
      </tr>
    </thead>
    <tbody>
      <% @withheld_taxes.each do |wt| %>
        <tr>
          <td class="text-center"><%= wt.salary_range_from.to_s(:delimited) %></td>
          <td class="text-center"><%= wt.salary_range_to.to_s(:delimited) %></td>
          <% 8.times do |i| %>
            <td class="text-end"><%= wt.__send__("dependent_#{i}").to_s(:delimited) %></td>
          <% end %>
          <td class="text-end"><%= wt.sub_salary.to_s(:delimited) %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tax_jp-1.2.12 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.11 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.10 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.9 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.8 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.7 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.6 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.5 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.4 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.3 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.2 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.1 app/views/tax_jp/withheld_taxes/index.html.erb
tax_jp-1.2.0 app/views/tax_jp/withheld_taxes/index.html.erb