2023-06-26 19:28:26 +02: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"/>
|
2023-07-11 13:53:41 +02:00
|
|
|
<h1 translate ng-show="reservation && event.amount !== 0">{{ 'app.admin.event_reservations.confirm_payment' }}</h1>
|
|
|
|
<h1 translate ng-show="reservation && event.amount === 0">{{ 'app.admin.event_reservations.confirm_present' }}</h1>
|
2023-06-26 19:28:26 +02:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2023-07-11 13:53:41 +02:00
|
|
|
<div ng-show="event.amount !== 0">
|
|
|
|
<div class="row" ng-show="!offered">
|
|
|
|
<wallet-info current-user="currentUser"
|
|
|
|
cart="cartItems"
|
|
|
|
price="price.price"
|
|
|
|
wallet="wallet"/>
|
|
|
|
</div>
|
|
|
|
<div class="row m-b">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="offerSlot" class="control-label m-r" translate>{{ 'app.admin.event_reservations.offer_this_reservation' }}</label>
|
|
|
|
<input bs-switch
|
|
|
|
ng-model="offered"
|
|
|
|
id="offerSlot"
|
|
|
|
type="checkbox"
|
|
|
|
class="form-control"
|
|
|
|
switch-on-text="{{ 'app.shared.buttons.yes' | translate }}"
|
|
|
|
switch-off-text="{{ 'app.shared.buttons.no' | translate }}"
|
|
|
|
switch-animate="true"
|
|
|
|
ng-change="computeEventAmount()"/>
|
|
|
|
</div>
|
2023-06-27 17:50:47 +02:00
|
|
|
</div>
|
|
|
|
|
2023-07-11 13:53:41 +02:00
|
|
|
<coupon show="true" coupon="coupon.applied" total="price.price_without_coupon" user-id="{{reservation.user_id}}"></coupon>
|
2023-06-27 17:50:47 +02:00
|
|
|
|
2023-07-11 13:53:41 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
<div class="checkbox-group">
|
|
|
|
<input type="checkbox"
|
|
|
|
name="paymentReceived"
|
|
|
|
id="paymentReceived"
|
|
|
|
ng-model="payment" />
|
|
|
|
<label for="paymentReceived" translate>{{ 'app.admin.event_reservations.i_have_received_the_payment' }}</label>
|
|
|
|
</div>
|
2023-06-27 17:50:47 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-07-11 13:53:41 +02:00
|
|
|
|
|
|
|
<div ng-if="event.amount === 0">
|
|
|
|
<p translate>{{ 'app.admin.event_reservations.confirm_present_info' }}</p>
|
|
|
|
</div>
|
2023-06-26 19:28:26 +02:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2023-07-11 13:53:41 +02:00
|
|
|
<button class="btn btn-info" ng-if="event.amount !== 0" ng-click="ok()" ng-disabled="attempting || !payment" ng-bind-html="validButtonName"></button>
|
|
|
|
<button class="btn btn-info" ng-if="event.amount === 0" ng-click="ok()" ng-disabled="attempting" ng-bind-html="validButtonName"></button>
|
2023-06-26 19:28:26 +02:00
|
|
|
<button class="btn btn-default" ng-click="cancel()" translate>{{ 'app.shared.buttons.cancel' }}</button>
|
|
|
|
</div>
|