CC-4961: Show linking
Made progress on ShowInstanceService
This commit is contained in:
parent
f9f4e4f1fb
commit
5735baf237
2 changed files with 59 additions and 6 deletions
|
@ -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']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue