Sha256: 55bbfee30fc4e5558f38dd745af77e412909269f0c4fa878466a57232ea49433
Contents?: true
Size: 1.73 KB
Versions: 18
Compression:
Stored size: 1.73 KB
Contents
<div class="container"> <%= form_with model: @finder, url: {action: 'index'}, method: 'get', class: 'form form-vertical', local: true do |f| %> <div class="row"> <div class="form-group m-2"> <%= f.t_date_field :from %> </div> <div class="m-2"> <%= f.submit '表示', class: 'btn btn-light' %> </div> </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-right"><%= wt.__send__("dependent_#{i}").to_s(:delimited) %></td> <% end %> <td class="text-right"><%= wt.sub_salary.to_s(:delimited) %></td> </tr> <% end %> </tbody> </table> </div>
Version data entries
18 entries across 18 versions & 1 rubygems