2017-02-14 15:25:28 +01:00
|
|
|
<div class="alert alert-warning m-t">
|
2020-05-06 16:55:26 +02:00
|
|
|
<p ng-bind-html="'app.admin.pricing.these_prices_match_space_hours_rates_html' | translate"></p>
|
|
|
|
<p ng-bind-html="'app.admin.pricing.prices_calculated_on_hourly_rate_html' | translate:{ DURATION:slotDuration, RATE: examplePrice('hourly_rate'), PRICE: examplePrice('final_price') }"></p>
|
|
|
|
<p translate>{{ 'app.admin.pricing.you_can_override' }}</p>
|
2017-02-14 15:25:28 +01:00
|
|
|
</div>
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2019-12-17 12:40:36 +01:00
|
|
|
<th style="width:20%" translate>{{ 'app.admin.pricing.spaces' }}</th>
|
2017-10-10 15:44:17 +02:00
|
|
|
<th style="width:20%" ng-repeat="group in enabledGroups">
|
2017-02-14 15:25:28 +01:00
|
|
|
<span class="text-u-c text-sm">{{group.name}}</span>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2017-10-11 15:50:18 +02:00
|
|
|
<tr ng-repeat="space in enabledSpaces">
|
2017-02-14 15:25:28 +01:00
|
|
|
<td>
|
|
|
|
{{ space.name }}
|
|
|
|
</td>
|
2017-10-05 17:54:44 +02:00
|
|
|
<td ng-repeat="group in enabledGroups">
|
2017-02-14 15:25:28 +01:00
|
|
|
<span editable-number="findPriceBy(spacesPrices, space.id, group.id).amount"
|
2017-11-02 15:33:56 +01:00
|
|
|
e-step="any"
|
2017-02-14 15:25:28 +01:00
|
|
|
onbeforesave="updatePrice($data, findPriceBy(spacesPrices, space.id, group.id))">
|
|
|
|
{{ findPriceBy(spacesPrices, space.id, group.id).amount | currency}}
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
2019-12-09 10:27:50 +01:00
|
|
|
</table>
|