1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/app/assets/templates/admin/pricing/trainings.html.erb

24 lines
850 B
Plaintext
Raw Normal View History

<table class="table">
<thead>
<tr>
<th style="width:20%" translate>{{ 'pricing.trainings' }}</th>
2017-10-10 15:44:17 +02:00
<th style="width:20%" ng-repeat="group in enabledGroups">
<span class="text-u-c text-sm">{{group.name}}</span>
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="training in trainings">
<td>
{{ training.name }}
</td>
<td ng-repeat="group in enabledGroups">
<span editable-number="findTrainingsPricing(trainingsPricings, training.id, group.id).amount"
2017-11-02 15:33:56 +01:00
e-step="any"
onbeforesave="updateTrainingsPricing($data, findTrainingsPricing(trainingsPricings, training.id, group.id))">
{{ findTrainingsPricing(trainingsPricings, training.id, group.id).amount | currency}}
</span>
</td>
</tr>
</tbody>
</table>