2016-03-23 18:39:41 +01:00
|
|
|
<div>
|
|
|
|
|
|
|
|
<section class="heading b-b">
|
|
|
|
<div class="row no-gutter">
|
|
|
|
<div class="col-xs-2 col-sm-2 col-md-1">
|
|
|
|
<section class="heading-btn">
|
2022-01-11 11:03:27 +01:00
|
|
|
<a ng-click="backPrevLocation($event)"><i class="fas fa-long-arrow-alt-left "></i></a>
|
2016-03-23 18:39:41 +01:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-10 col-sm-10 col-md-8 b-l">
|
|
|
|
<section class="heading-title">
|
2019-12-17 18:06:56 +01:00
|
|
|
<h1>{{ 'app.logged.machines_reserve.machine_planning' | translate }} : {{machine.name}}</h1>
|
2016-03-23 18:39:41 +01:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row no-gutter machine-reserve">
|
|
|
|
<div class="col-sm-12 col-md-12 col-lg-9">
|
|
|
|
<div ui-calendar="calendarConfig" ng-model="eventSources" calendar="calendar" class="wrapper-lg" ng-show="!plansAreShown"></div>
|
2020-11-02 13:18:31 +01:00
|
|
|
<ng-include ng-if="$root.modules.plans" src="'/plans/_plan.html'"></ng-include>
|
2016-03-23 18:39:41 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-12 col-md-12 col-lg-3">
|
|
|
|
|
2020-04-27 12:12:29 +02:00
|
|
|
<div ng-if="isAuthorized(['admin', 'manager'])">
|
2016-06-14 09:57:39 +02:00
|
|
|
<select-member></select-member>
|
2016-03-23 18:39:41 +01:00
|
|
|
</div>
|
|
|
|
|
2021-06-29 15:59:57 +02:00
|
|
|
<packs-summary item="machine"
|
|
|
|
item-type="'Machine'"
|
|
|
|
customer="ctrl.member"
|
|
|
|
operator="currentUser"
|
|
|
|
on-error="onError"
|
2021-06-30 10:53:05 +02:00
|
|
|
on-success="onSuccess"
|
|
|
|
refresh="afterPaymentPromise">
|
2021-06-29 15:59:57 +02:00
|
|
|
</packs-summary>
|
|
|
|
|
2017-02-16 17:57:14 +01:00
|
|
|
<cart slot="selectedEvent"
|
2017-02-20 15:07:14 +01:00
|
|
|
slot-selection-time="selectionTime"
|
2017-02-21 13:42:12 +01:00
|
|
|
events="events"
|
2017-02-21 14:48:59 +01:00
|
|
|
user="ctrl.member"
|
|
|
|
mode-plans="plansAreShown"
|
|
|
|
plan="selectedPlan"
|
|
|
|
plan-selection-time="planSelectionTime"
|
|
|
|
settings="settings"
|
2020-02-07 17:37:00 +01:00
|
|
|
plans="plans"
|
|
|
|
groups="groups"
|
2017-02-21 13:42:12 +01:00
|
|
|
on-slot-added-to-cart="markSlotAsAdded"
|
|
|
|
on-slot-removed-from-cart="markSlotAsRemoved"
|
|
|
|
on-slot-start-to-modify="markSlotAsModifying"
|
|
|
|
on-slot-modify-success="modifyMachineSlot"
|
|
|
|
on-slot-modify-cancel="cancelModifyMachineSlot"
|
|
|
|
on-slot-modify-unselect="changeModifyMachineSlot"
|
2017-02-22 17:45:22 +01:00
|
|
|
on-slot-cancel-success="slotCancelled"
|
2017-02-21 16:41:53 +01:00
|
|
|
after-payment="afterPayment"
|
|
|
|
reservable-id="{{machine.id}}"
|
2017-02-21 17:26:54 +01:00
|
|
|
reservable-type="Machine"
|
|
|
|
reservable-name="{{machine.name}}"></cart>
|
2016-03-23 18:39:41 +01:00
|
|
|
|
|
|
|
<uib-alert type="warning m">
|
|
|
|
<p class="text-sm">
|
|
|
|
<i class="fa fa-lightbulb-o"></i>
|
|
|
|
<span ng-bind-html="machineExplicationsAlert"></span>
|
|
|
|
</p>
|
|
|
|
</uib-alert>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|