<h1>Shift#show</h1>
<p>Find me in app/views/shift/show.html.erb</p>

<%= react_component('AdjustIncome', {startMileage: @shift.start_mileage, endMileage: @shift.end_mileage, earnings: number_with_precision(@shift.earnings, :precision => 2)}, {prerender: true}) %>



<div class="page_header">
  <h1><%= @shift.date.strftime("%A, %B %d") %> </h1>
</div>

<%= react_component('AdjustIncome', {startMileage: @shift.start_mileage, endMileage: @shift.end_mileage, earnings: number_with_precision(@shift.earnings, :precision => 2)}, {prerender: true}) %>



Add date to Show Shift
Add date to Show Shift
