business_hour_exception) class="row" id="parent_handle_{{$business_hour_exception->business_hour_exception}}" @else class="row new-parent-div" id="parent_handle_" @endif >
@if($business_hour_exception->business_hour_exception) {{ Form::label_title('Edit Exception') }} @else {{ Form::label_title('Add an Exception') }} @endif
{{ Form::hidden('business_location', $bl->business_location) }}
{{ Form::label_inline('Name') }} {{ Form::text_ex('description', $business_hour_exception->description, 3) }}
{{ Form::label_inline('Start Date') }} {{ Form::date_ex('start', $business_hour_exception->start, 3, 'business-hour-exception-start-date', 'Start Date') }}
{{ Form::label_inline('End Date') }} {{ Form::date_ex('end', $business_hour_exception->end, 3, 'business-hour-exception-end-date', 'End Date') }}
{{ Form::label_inline('Hours') }} {{ Form::select_styled('open', $business_hour_exception->open, $hours_of_operation, 1, null, null, 'hours-select-div') }} {{ Form::label_styled('to', null, \App\Helpers\FormComponentHelper::SIZE_SMALL, 1, null, null, 'to-div') }} {{ Form::select_styled('close', $business_hour_exception->close, $hours_of_operation, 1, null, null, 'hours-select-div') }}
{{ Form::label_inline('Notes') }} {{ Form::text_ex('notes', $business_hour_exception->notes, 7) }}
@if($business_hour_exception->business_hour_exception) {{ Form::button_right("Cancel", "parent_list_manager.get_one( '". action('BusinessHourExceptionController@business_hour_exception', compact('business', 'bl', 'business_hour_exception') ) ."', parent_selector.calc_handle_id('".$business_hour_exception->business_hour_exception."') );") }} {{ Form::button_right("Save", "parent_list_manager.post_update( '". action('BusinessHourExceptionController@update', compact('business', 'bl', 'business_hour_exception') ) ."', '". action('BusinessHourExceptionController@business_hour_exception', compact('business', 'bl', 'business_hour_exception') ) ."', parent_selector.calc_handle_id('".$business_hour_exception->business_hour_exception."') );") }} @else {{ Form::button_right("Cancel", "parent_list_manager.cancel_one( parent_selector.calc_new_handle_id() );") }} {{ Form::button_right("Save", "parent_list_manager.post_insert( '". action('BusinessHourExceptionController@store', compact('business', 'bl') ) ."', parent_selector.calc_new_handle_id(''), '". action('BusinessHourExceptionController@business_hour_exception', [ 'business' => $business->business, 'bl' => $bl->business_location, 'business_hour_exception' => 'XXX' ]) ."', parent_selector.calc_handle_id('XXX') );") }} @endif