2016-03-23 18:39:41 +01:00
|
|
|
<div class="modal-header">
|
|
|
|
<img ng-src="{{logoBlack.custom_asset_file_attributes.attachment_url}}" alt="{{logo.custom_asset_file_attributes.attachment}}" class="modal-logo"/>
|
|
|
|
<h1 translate>{{ 'change_the_reservation' }}</h1>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<p translate>{{ 'you_can_shift_this_reservation_on_the_following_slots' }}</p>
|
2016-08-29 15:43:47 +02:00
|
|
|
<select ng-model="reservation.reservable_id" class="form-control">
|
2016-03-23 18:39:41 +01:00
|
|
|
<option value="{{e.id}}" ng-repeat="e in event.recurrence_events" ng-if="e.nb_free_places >= (reservation.nb_reserve_places + reservation.nb_reserve_reduced_places)">{{e.start_date | amDateFormat:'L'}}</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button class="btn btn-info" ng-click="ok()" ng-disabled="attempting" translate>{{ 'confirm' }}</button>
|
|
|
|
<button class="btn btn-default" ng-click="cancel()" translate>{{ 'cancel' }}</button>
|
|
|
|
</div>
|