mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-30 11:24:21 +01:00
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
<div class="alert alert-warning m-t">
|
|
{{ 'app.admin.pricing.these_prices_match_machine_hours_rates_' | translate:{DURATION:slotDuration} }} <span class="font-bold" translate>{{ 'app.admin.pricing._without_subscriptions' }}</span>.
|
|
</div>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th style="width:20%" translate>{{ 'app.admin.pricing.machines' }}</th>
|
|
<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="machine in enabledMachines">
|
|
<td>
|
|
{{ machine.name }}
|
|
</td>
|
|
<td ng-repeat="group in enabledGroups">
|
|
<span editable-number="findPriceBy(machinesPrices, machine.id, group.id).amount"
|
|
e-step="any"
|
|
onbeforesave="updatePrice($data, findPriceBy(machinesPrices, machine.id, group.id))">
|
|
{{ findPriceBy(machinesPrices, machine.id, group.id).amount | currency}}
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|