41 lines
1.7 KiB
HTML
41 lines
1.7 KiB
HTML
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-toggle="modal" data-target="#items-staff" ng-click="returnModal('staff')">
|
|
<i class="material-icons md-24">arrow_back</i>
|
|
</button>
|
|
<h5 class="modal-title">{{ order.title }}</h5>
|
|
<p class="text-muted m-b-0">Открыл: {{ order.who_open }}</p>
|
|
<p class="text-muted m-b-0" ng-if="!order.hasOwnProperty('who_close')">{{NOT_CLOSED}}</p>
|
|
<p class="text-muted m-b-0" ng-if="order.hasOwnProperty('who_close')">Закрыл: {{ order.who_close }}</p>
|
|
</div>
|
|
<div class="modal-body p-lg">
|
|
<div class="table-responsive">
|
|
<table class="table m-a-0">
|
|
<thead>
|
|
<tr>
|
|
<th>Блюдо</th>
|
|
<th>Количество</th>
|
|
<th class="text-right">Сумма, BYN</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr ng-repeat="item in order.items">
|
|
<td>{{ item.name }}</td>
|
|
<td>{{ item.count }}</td>
|
|
<td class="text-right">{{ item.sale_price | curr }}</td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
<thead>
|
|
<tr>
|
|
<th colspan="2"></th>
|
|
<th class="text-right">Итого: {{ order.total | curr }}</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |