[#4420] Started on the Retainer's periods, only pending tests for now.

This commit is contained in:
Eric Davis
2010-08-16 15:06:08 -07:00
parent 4b162f85bf
commit f899b4e623
3 changed files with 38 additions and 0 deletions
+4
View File
@@ -19,6 +19,10 @@ class RetainerDeliverable < HourlyDeliverable
'R'
end
def current_period
'TODO'
end
def self.frequencies_to_select
ValidFrequencies.collect {|f| [l("text_#{f}"), f]}
end
+1
View File
@@ -131,6 +131,7 @@
<table>
<%= show_field(deliverable, :frequency, :html_options => {:class => 'deliverable-frequency'}) if deliverable.retainer? %>
<%= show_field(deliverable, :current_period, :html_options => {:class => 'deliverable-current-period'}) if deliverable.retainer? %>
<%= show_field(deliverable, :start_date, :format => :format_date, :html_options => {:class => 'deliverable-start-date'}) %>
<%= show_field(deliverable, :end_date, :format => :format_date, :html_options => {:class => 'deliverable-end-date'}) %>
</table>