v.2.27
Fixed reports
This commit is contained in:
@@ -15,12 +15,13 @@
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr ng-click="getItems('guests', client)">
|
||||
<td class="text-right" style="width: 20%;">Заказ № {{ client.number }}</td>
|
||||
<td class="text-right" style="width: 30%;">Открыт {{ client.opened }}</td>
|
||||
<td class="text-right" style="width: 30%;">{{ client.closed }}</td>
|
||||
<td class="text-right" style="width: 20%;">{{ client.sum | curr }} BYN</td>
|
||||
<tbody ng-repeat="order in client.orders">
|
||||
<tr ng-click="getItems('guests', order)">
|
||||
<td class="text-right" style="width: 20%;">Заказ № {{ order.number }}</td>
|
||||
<td class="text-right" style="width: 30%;">Открыт {{ order.opened }}</td>
|
||||
<td ng-if="order.closed" class="text-right" style="width: 30%;">Закрыт {{ order.closed }}</td>
|
||||
<td ng-if="!order.closed" class="text-right" style="width: 30%;">Не закрыт</td>
|
||||
<td class="text-right" style="width: 20%;">{{ order.sum | curr }} BYN</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -31,4 +32,5 @@
|
||||
<div class="text-muted">Заказов от именованных гостей нет</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user