2016-08-04 12:08:33 +02:00
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2017-02-14 14:58:16 +01:00
|
|
|
<th style="width:20%" translate>{{ 'pricing.trainings' }}</th>
|
2016-08-04 12:08:33 +02:00
|
|
|
<th style="width:20%" ng-repeat="group in groups">
|
|
|
|
<span class="text-u-c text-sm">{{group.name}}</span>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="training in trainings">
|
|
|
|
<td>
|
|
|
|
{{ training.name }}
|
|
|
|
</td>
|
2017-10-05 17:54:44 +02:00
|
|
|
<td ng-repeat="group in enabledGroups">
|
2016-08-04 12:08:33 +02:00
|
|
|
<span editable-number="findTrainingsPricing(trainingsPricings, training.id, group.id).amount"
|
|
|
|
onbeforesave="updateTrainingsPricing($data, findTrainingsPricing(trainingsPricings, training.id, group.id))">
|
|
|
|
{{ findTrainingsPricing(trainingsPricings, training.id, group.id).amount | currency}}
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|