Sha256: 94795f877b6df2f15a37a4658cc044c3dad7baf42bf6ec5b07b1cd714f7c932a

Contents?: true

Size: 662 Bytes

Versions: 4

Compression:

Stored size: 662 Bytes

Contents

<%
hourly_rate = nil
begin
	hourly_rate = record.labor.employee.labor_rate_for(record.client).hourly_rate
rescue

end
-%>
<ul class="activity_show activity_labor_show">
	<li class="type">Labor</li>
	<li class="client"><%=h (record.client.nil?) ? '(Unknown)' : record.client.company_name %></li>
	<% if record.labor and record.labor.comments and record.labor.comments.length > 0 -%>
	<li class="comments"><%=h record.labor.comments %></li>
	<% end -%>
	<li class="employee">- <%=h record.labor.employee.name %> (<%=h (hourly_rate.nil?) ? '??' : "$#{money_for_input(hourly_rate)}" %>/hr)</li>
	<li class="duration"><%=h record.labor.friendly_duration %></li>
</ul>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
brisk-bills-0.8.2 app/views/admin/activities/_labor_column.html.erb
brisk-bills-0.8.1 app/views/admin/activities/_labor_column.html.erb
brisk-bills-0.7.0 app/views/admin/activities/_labor_column.rhtml
brisk-bills-0.6.0 app/views/admin/activities/_labor_column.rhtml