2016-08-04 12:08:33 +02:00
|
|
|
<div class="alert alert-warning m-t">
|
2017-02-14 14:58:16 +01:00
|
|
|
{{ 'pricing.these_prices_match_machine_hours_rates_' | translate }} <span class="font-bold" translate>{{ 'pricing._without_subscriptions' }}</span>.
|
2016-08-04 12:08:33 +02:00
|
|
|
</div>
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2017-02-14 14:58:16 +01:00
|
|
|
<th style="width:20%" translate>{{ 'pricing.machines' }}</th>
|
2017-10-10 15:44:17 +02:00
|
|
|
<th style="width:20%" ng-repeat="group in enabledGroups">
|
2016-08-04 12:08:33 +02:00
|
|
|
<span class="text-u-c text-sm">{{group.name}}</span>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2017-10-11 14:48:03 +02:00
|
|
|
<tr ng-repeat="machine in enabledMachines">
|
2016-08-04 12:08:33 +02:00
|
|
|
<td>
|
|
|
|
{{ machine.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="findPriceBy(machinesPrices, machine.id, group.id).amount"
|
2017-11-02 15:33:56 +01:00
|
|
|
e-step="any"
|
2016-08-04 12:08:33 +02:00
|
|
|
onbeforesave="updatePrice($data, findPriceBy(machinesPrices, machine.id, group.id))">
|
|
|
|
{{ findPriceBy(machinesPrices, machine.id, group.id).amount | currency}}
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|