55 lines
2.4 KiB
HTML
55 lines
2.4 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-total" ng-click="returnModal('total')">
|
||
<i class="material-icons md-24">arrow_back</i>
|
||
</button>
|
||
<h5 class="modal-title" style="padding-bottom: 12px;">Подробнее о заказе № {{ order.title }}</h5>
|
||
<div class="row">
|
||
<div class="col-xs-6 col-md-3">
|
||
<p class="text-muted m-b-0">Открыт</p>
|
||
<p class="m-b-0">{{ order.who_open }}</p>
|
||
<p class="m-b-0">{{ order.opened }}</p>
|
||
</div>
|
||
<div class="col-xs-6 col-md-3">
|
||
<div ng-if="getClosedDate(order.closed) == NOT_CLOSED">
|
||
<p class="text-muted m-b-0">{{NOT_CLOSED}}</p>
|
||
</div>
|
||
<div ng-if="getClosedDate(order.closed) != NOT_CLOSED">
|
||
<p class="text-muted m-b-0">Закрыт</p>
|
||
<p class="m-b-0">{{ order.who_close }}</p>
|
||
<p class="m-b-0">{{ order.closed }}</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</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 }} BYN</th>
|
||
</tr>
|
||
</thead>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div> |