CC-4961: Show linking

Made progress on ShowInstanceService
This commit is contained in:
denise 2013-03-13 11:08:16 -04:00
parent f9f4e4f1fb
commit 5735baf237
2 changed files with 59 additions and 6 deletions

View file

@ -9,6 +9,14 @@ class Application_Service_ShowDaysService
$this->showId = $id;
}
/**
*
* Determines what the show end date should be based on
* the form data
*
* @param $showData add/edit show form data
* @return DateTime object in user's local timezone
*/
public function calculateEndDate($showData)
{
if ($showData['add_show_no_end']) {