v2.5
Update RestoreShift frontend
This commit is contained in:
29
web/views/clients/edit_client.html
Normal file
29
web/views/clients/edit_client.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Редактирование клиента</h5>
|
||||
</div>
|
||||
<div class="modal-body p-lg">
|
||||
<form role="form" class="ng-pristine ng-valid container">
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-12">
|
||||
<span>Группа: </span>
|
||||
<select name="group" class="form-control input-c" ng-options="opt.id as opt.name for opt in groups" ng-model="currentGroup"></select>
|
||||
<span>Имя: </span><input class="form-control" placeholder="Название" type="text" ng-model="contextElement.name">
|
||||
<span>Телефон: </span><input class="form-control" type="text" ng-model="contextElement.phone" ui-mask="+375 (99) 999-99-99">
|
||||
<span>Адрес: </span><input class="form-control" placeholder="Введите email" type="text" ng-model="contextElement.address">
|
||||
<span>Email: </span><input class="form-control" placeholder="Введите адрес" type="text" ng-model="contextElement.email">
|
||||
<span>Штрих код: </span><input class="form-control" placeholder="Введите штрих код" type="text" ng-model="contextElement.barcode">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn danger p-x-md pull-left" data-toggle="modal" data-target="#client-confirm-delete"><i class="material-icons"></i></button>
|
||||
|
||||
<button type="button" class="btn dark-white p-x-md" data-dismiss="modal">Отмена</button>
|
||||
<button type="button" class="btn success p-x-md" ng-click="updateClient()">Сохранить</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
21
web/views/clients/edit_group.html
Normal file
21
web/views/clients/edit_group.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Редактирование группы</h5>
|
||||
</div>
|
||||
<div class="modal-body p-lg">
|
||||
<form role="form" class="ng-pristine ng-valid container">
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-12"><input class="form-control" placeholder="Название" type="text" ng-model="contextElement.name"></div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn danger p-x-md pull-left" data-toggle="modal" data-target="#group-confirm-delete"><i class="material-icons"></i></button>
|
||||
|
||||
<button type="button" class="btn dark-white p-x-md" data-dismiss="modal">Отмена</button>
|
||||
<button type="button" class="btn success p-x-md" ng-click="updateGroup()">Сохранить</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
330
web/views/clients/index.html
Normal file
330
web/views/clients/index.html
Normal file
@@ -0,0 +1,330 @@
|
||||
<div id="container-floating">
|
||||
<div class="nd1 nds" data-toggle="tooltip" data-placement="left" title="Сформировать файл" ng-click="createClientFile()" style="background-color: #3c80f6" onmouseenter="$(this).tooltip('show')">
|
||||
<i class="material-icons">cloud_download</i>
|
||||
</div>
|
||||
<div id="floating-button" data-toggle="tooltip" data-placement="left" title="Действия" onmouseenter="$(this).tooltip('show')">
|
||||
<p class="plus"><i class="material-icons"></i></p>
|
||||
<p class="edit"><i class="material-icons"></i></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="app-body-inner">
|
||||
<div class="row-col row-col-xs b-b">
|
||||
|
||||
<div class="col-sm-3 b-r">
|
||||
<div class="row-col">
|
||||
<div class="row-row">
|
||||
<div class="row-body scrollable hover">
|
||||
<div class="row-inner">
|
||||
<div class="nav nav-pills nav-stacked m-t-sm menus">
|
||||
<a class="nav-link no_selection" ng-repeat="group in groups" sglclick="openGroup(group)" ios-dblclick="editGroup(group)"
|
||||
ng-class="group.id == currentGroup ? 'bold-line' : ''">
|
||||
<span ng-class="group.id == currentGroup ? 'bold' : ''">{{ group.name }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-a text-center">
|
||||
<a class="btn btn-md btn-outline rounded b-info text-info" ng-click="openFormCreateGroup()">
|
||||
<i class="fa fa-plus fa-fw m-r-xs"></i>Группа
|
||||
</a>
|
||||
<p></p>
|
||||
<a class="btn btn-md btn-outline rounded b-info text-info" ng-click="openFormCreateBarcode()">
|
||||
<i class="fa fa-plus fa-fw m-r-xs"></i>Дисконтные карты
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-3 light bg b-r">
|
||||
<div class="row-col">
|
||||
<div class="p-a-xs b-b">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon no-border no-bg">
|
||||
<i class="fa fa-search"></i>
|
||||
</span>
|
||||
<input type="text" class="form-control no-border no-bg" placeholder="Поиск гостей..." ng-keyup="clientsSearch()"
|
||||
ng-model="search.query">
|
||||
<span class="input-group-addon no-border no-bg search-clear" ng-click="clearSearchInput()">
|
||||
<i class="fa fa-times"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row-row">
|
||||
<div class="row-body scrollable hover">
|
||||
<div class="row-inner">
|
||||
<div class="list">
|
||||
<div class="list-item pointer no_selection" ng-repeat="client in clients"
|
||||
sglclick="openClientInfo(client)" ios-dblclick="editClient(client, currentGroup)"
|
||||
ng-class="client.id == currentClientId ? 'active' : ''">
|
||||
<div class="list-left">
|
||||
<span class="w-30">
|
||||
<i class="material-icons" style="font-size: 30px;">person</i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="list-body">
|
||||
{{client.name}}
|
||||
<small class="block text-muted">{{ client.phone }}</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-a text-center">
|
||||
<div class="btn-group" role="group">
|
||||
<a class="btn btn-md btn-outline rounded b-info text-info" ng-class="{disabled:currentPage === 1}" ng-click="pager(currentPage=currentPage-1)"><</a>
|
||||
<a class="btn btn-md btn-outline rounded b-info text-info" ng-class="{disabled:currentPage}">{{currentPage}}/{{pages}}</a>
|
||||
<a class="btn btn-md btn-outline rounded b-info text-info" ng-class="{disabled:currentPage === pages}" ng-click="pager(currentPage=currentPage+1)">></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<a class="btn btn-md btn-outline rounded b-info text-info" ng-click="openFormCreateClient()">
|
||||
<i class="fa fa-plus fa-fw m-r-xs"></i>Гость
|
||||
</a>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-7">
|
||||
<div class="padding" ng-if="currentClientId > 0">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h2 class="text-center">{{currentClient.name}}</h2>
|
||||
<h3 class="text-muted m-t">
|
||||
<div class="col-sm-4 text-center">{{currentClient.info.address}}</div>
|
||||
<div class="col-sm-4 text-center">{{currentClient.info.phone}}</div>
|
||||
<div class="col-sm-4 text-center">{{currentClient.info.email}}</div>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="box-body b-t m-t">
|
||||
{{currentClient.info.order_count}} заказов на сумму {{currentClient.info.order_sum}}
|
||||
<hr>
|
||||
<div class="table-responsive" ng-if="orders.length > 0">
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Открыт</th>
|
||||
<th>Закрыт</th>
|
||||
<th class="text-right">Сумма заказа</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="order in orders" ng-click="getItems(order)">
|
||||
<td>{{ order.opened }}</td>
|
||||
<td>{{ order.closed }}</td>
|
||||
<td class="text-right">{{ order.sum }} BYN</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="padding" ng-if="isCreateNewGroup">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3>Создание новой группы</h3>
|
||||
</div>
|
||||
|
||||
<div class="box-tool">
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-sm white" ng-click="closeCard()">
|
||||
<i class="material-icons">clear</i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form name="createGroupForm" ng-submit="createGroup()">
|
||||
<div class="box-body">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 form-control-label">Название</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" ng-model="newGroup.name" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dker p-a">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<button type="submit" class="btn success p-x-md pull-right" ng-disabled="createGroupForm.$invalid">Создать</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="padding" ng-if="isCreateNewBarcode">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3>Создание дисконтных карт</h3>
|
||||
</div>
|
||||
|
||||
<div class="box-tool">
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-sm white" ng-click="closeCard()">
|
||||
<i class="material-icons">clear</i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form name="createBarcodeForm" ng-submit="createBarcode()">
|
||||
<div class="box-body">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 form-control-label">Выберите группу</label>
|
||||
<div class="col-sm-9">
|
||||
<select ng-model="newBarcode.group_id" class="form-control" ng-required="true">
|
||||
<option ng-repeat="group in groups" value="{{ group.id }}">{{group.name}}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 form-control-label">Первый штрих код</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" ng-model="newBarcode.start" placeholder="200000000001" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 form-control-label">Последний штрих код</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" ng-model="newBarcode.end" placeholder="200000000999" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dker p-a">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<button type="submit" class="btn success p-x-md pull-right" ng-disabled="createBarcodeForm.$invalid">Создать</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="padding" ng-if="isCreateNewClient">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3>Создание нового гостя</h3>
|
||||
</div>
|
||||
|
||||
<div class="box-tool">
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-sm white" ng-click="">
|
||||
<i class="material-icons">clear</i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form name="createClientForm" ng-submit="createClient()">
|
||||
<div class="box-body">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 form-control-label">Имя</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" ng-model="newClient.name" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 form-control-label">Телефон</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" ng-model="newClient.phone" ui-mask="+375 (99) 999-99-99">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 form-control-label">Адрес</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" ng-model="newClient.address">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 form-control-label">Email</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" ng-model="newClient.email">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 form-control-label">Штрих код</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" ng-model="newClient.barcode">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-inline row">
|
||||
<label class="col-sm-3 form-group-label" for="specialPriceCheck">Скидка по себестоимости </label>
|
||||
<div class="col-sm-9">
|
||||
<input class="form-group-input" type="checkbox" value="" id="specialPriceCheck" ng-model="newClient.special_price">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dker p-a">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<button type="submit" class="btn success p-x-md pull-right" ng-disabled="createClientForm.$invalid">Создать</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="edit-client" data-backdrop="true" ng-if="!readonlyMode">
|
||||
<div ui-include="'../views/clients/edit_client.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="edit-group" data-backdrop="true" ng-if="!readonlyMode">
|
||||
<div ui-include="'../views/clients/edit_group.html'"></div>
|
||||
</div>
|
||||
|
||||
<div id="group-confirm-delete" class="modal confirm-box" data-backdrop="true" style="z-index: 1052">
|
||||
<div class="bottom white b-b" style="height: 90px">
|
||||
<div class="confirm-box-body p-lg">
|
||||
<p>Вы действительно хотите удалить группу?</p>
|
||||
</div>
|
||||
|
||||
<div class="confirm-box-footer">
|
||||
<button type="button" class="btn dark-white p-x-md" data-dismiss="modal">Нет</button>
|
||||
<button type="button" class="btn danger p-x-md" ng-click="removeGroup()">Да</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="client-confirm-delete" class="modal confirm-box" data-backdrop="true" style="z-index: 1052">
|
||||
<div class="bottom white b-b" style="height: 90px">
|
||||
<div class="confirm-box-body p-lg">
|
||||
<p>Вы действительно хотите удалить клиента?</p>
|
||||
</div>
|
||||
|
||||
<div class="confirm-box-footer">
|
||||
<button type="button" class="btn dark-white p-x-md" data-dismiss="modal">Нет</button>
|
||||
<button type="button" class="btn danger p-x-md" ng-click="removeClient()">Да</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="order" data-backdrop="true">
|
||||
<div ui-include="'../views/clients/order.html'"></div>
|
||||
</div>
|
||||
36
web/views/clients/order.html
Normal file
36
web/views/clients/order.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h5 class="modal-title">История заказа</h5>
|
||||
<span class="text-muted">{{order.opened}} - {{order.closed}}</span>
|
||||
</div>
|
||||
<div class="modal-body p-lg">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered">
|
||||
<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.amount}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2"></th>
|
||||
<th class="text-right">Итого: {{ order.amount | curr }} BYN</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
148
web/views/reports/index.html
Normal file
148
web/views/reports/index.html
Normal file
@@ -0,0 +1,148 @@
|
||||
<div class="padding">
|
||||
<div class="box">
|
||||
<div class="padding">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
<label for="single">Отчет</label>
|
||||
<select id="single" class="form-control select2" ui-jp="select2" ui-options="{theme: 'bootstrap'}" ng-model="report_id">
|
||||
<optgroup label="Основные">
|
||||
<option value="statistics">По статистике</option>
|
||||
<option value="realisation">По реализации</option>
|
||||
<option value="deleted">По удалениям</option>
|
||||
<option value="pay">По отделам и видам оплат</option>
|
||||
<option value="staff">По персоналу</option>
|
||||
<option value="out">По внешним заказам</option>
|
||||
</optgroup>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>С</label>
|
||||
<div class='input-group date' ui-jp="datetimepicker" ui-options="{
|
||||
format: 'DD.MM.YYYY',
|
||||
icons: {
|
||||
time: 'fa fa-clock-o',
|
||||
date: 'fa fa-calendar',
|
||||
up: 'fa fa-chevron-up',
|
||||
down: 'fa fa-chevron-down',
|
||||
previous: 'fa fa-chevron-left',
|
||||
next: 'fa fa-chevron-right',
|
||||
today: 'fa fa-screenshot',
|
||||
clear: 'fa fa-trash',
|
||||
close: 'fa fa-remove'
|
||||
}
|
||||
}">
|
||||
<input type='text' class="form-control" ng-model="start_date" />
|
||||
<span class="input-group-addon">
|
||||
<i class="material-icons"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>По</label>
|
||||
<div class='input-group date' ui-jp="datetimepicker" ui-options="{
|
||||
format: 'DD.MM.YYYY',
|
||||
icons: {
|
||||
time: 'fa fa-clock-o',
|
||||
date: 'fa fa-calendar',
|
||||
up: 'fa fa-chevron-up',
|
||||
down: 'fa fa-chevron-down',
|
||||
previous: 'fa fa-chevron-left',
|
||||
next: 'fa fa-chevron-right',
|
||||
today: 'fa fa-screenshot',
|
||||
clear: 'fa fa-trash',
|
||||
close: 'fa fa-remove'
|
||||
}
|
||||
}">
|
||||
<input type='text' class="form-control" ng-model="end_date" />
|
||||
<span class="input-group-addon">
|
||||
<i class="material-icons"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<button class="btn info btn-block" ng-click="createReport()">Создать отчет
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<div class="padding">
|
||||
<h4>История</h4>
|
||||
|
||||
<hr/>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered m-a-0">
|
||||
<thead>
|
||||
<th>Отчет</th>
|
||||
<th>С</th>
|
||||
<th>По</th>
|
||||
<th style="width: 70px">
|
||||
<i class="material-icons"></i>
|
||||
</th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr ng-repeat="report in history">
|
||||
<td>{{ report.name }}</td>
|
||||
<td>{{ report.start_date }}</td>
|
||||
<td>{{ report.end_date }}</td>
|
||||
<td>
|
||||
<button class="btn btn-sm white" ng-click="archiveReport(report.type, report.start_date, report.end_date)">
|
||||
<i class="material-icons"></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-delete" data-backdrop="true">
|
||||
<div ui-include="'../views/reports/items/deleted.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-realisation" data-backdrop="true">
|
||||
<div ui-include="'../views/reports/items/realisation.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-statistic" data-backdrop="true">
|
||||
<div ui-include="'../views/reports/items/statistic.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-staff" data-backdrop="true">
|
||||
<div ui-include="'../views/reports/items/staff.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-payment" data-backdrop="true">
|
||||
<div ui-include="'../views/reports/items/payment.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-out" data-backdrop="true">
|
||||
<div ui-include="'../views/out.html'"></div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="/libs/js/moment/locale/ru.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('.date').on('dp.change', function () {
|
||||
$(this).find('input').trigger('change');
|
||||
});
|
||||
</script>
|
||||
65
web/views/reports/items/deleted.html
Normal file
65
web/views/reports/items/deleted.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content" id="reportDeleted">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<button class="btn btn-icon white" ng-click="printElem('#reportDeleted')">
|
||||
<i class="fa fa-print"></i>
|
||||
</button>
|
||||
<h4 class="modal-title">{{globals.currentUser.organization.name}}</h4>
|
||||
<h5 class="modal-title">Отчет по удалениям</h5>
|
||||
<span class="text-muted">{{start_date}} - {{end_date}}</span>
|
||||
</div>
|
||||
<div class="modal-body p-lg">
|
||||
<div class="table-responsive" ng-if="report_delete.length > 0">
|
||||
<table class="table table-bordered" ng-repeat="report in report_delete">
|
||||
<thead>
|
||||
<th>Смена#{{ report.shift_id }} Заказ #{{ report.order_code }}. {{ report.time }}</th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr ng-repeat="item in report.items">
|
||||
<td>
|
||||
<h6>{{ item.dish_name }}
|
||||
<small>
|
||||
(<strong>{{ item.count }}</strong> на сумму
|
||||
<strong>{{ item.sum | curr }} BYN</strong>)
|
||||
</small>
|
||||
</h6>
|
||||
|
||||
<p>
|
||||
Удалил:
|
||||
<strong>{{ item.who }}</strong>
|
||||
<br/> Подтвердил:
|
||||
<strong>{{ item.approved }}</strong>
|
||||
<br/> Причина:
|
||||
<strong>{{ item.reason }}</strong>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<hr/>
|
||||
|
||||
<table class="table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Итого</strong>
|
||||
</td>
|
||||
<td style="text-align: right">
|
||||
<strong>{{ report_delete.total_count }}</strong> удалений</td>
|
||||
<td style="text-align: right">на сумму
|
||||
<strong>{{ report_delete.total_sum | curr }} BYN</strong>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div ng-if="report_delete.length == 0">
|
||||
<p>Удаления отсутствуют</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
46
web/views/reports/items/payment.html
Normal file
46
web/views/reports/items/payment.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content" id="reportPayment">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<button class="btn btn-icon white" ng-click="printElem('#reportPayment')">
|
||||
<i class="fa fa-print"></i>
|
||||
</button>
|
||||
<h4 class="modal-title">{{globals.currentUser.organization.name}}</h4>
|
||||
<h5 class="modal-title">Отчет по отделам и видам оплат</h5>
|
||||
<span class="text-muted">{{start_date}} - {{end_date}}</span>
|
||||
</div>
|
||||
<div class="modal-body p-lg">
|
||||
<div class="col-md-6" ng-repeat="printer in printers">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-border">
|
||||
<thead>
|
||||
<th colspan="2">{{printer.name}}</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-if="printer.cash > 0">
|
||||
<td>Наличный расчет:</td>
|
||||
<td class="text-right">{{printer.cash | curr}}</td>
|
||||
</tr>
|
||||
<tr ng-if="printer.credit > 0">
|
||||
<td>Кредитными картами:</td>
|
||||
<td class="text-right">{{printer.credit | curr}}</td>
|
||||
</tr>
|
||||
<tr ng-if="printer.clearing > 0">
|
||||
<td>Безналичный расчет: </td>
|
||||
<td class="text-right">{{printer.clearing | curr}}</td>
|
||||
</tr>
|
||||
<tr ng-if="printer.self_pay > 0">
|
||||
<td>По ранее полученному авансу: </td>
|
||||
<td class="text-right"> {{printer.self_pay | curr}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<thead>
|
||||
<th colspan="2">Итого: {{printer.total | curr}} BYN</th>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
72
web/views/reports/items/realisation.html
Normal file
72
web/views/reports/items/realisation.html
Normal file
@@ -0,0 +1,72 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content" id="reportRealisation">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<button class="btn btn-icon white" ng-click="printElem('#reportRealisation')">
|
||||
<i class="fa fa-print"></i>
|
||||
</button>
|
||||
<h4 class="modal-title">{{globals.currentUser.organization.name}}</h4>
|
||||
<h5 class="modal-title">Отчет по реализации</h5>
|
||||
<span class="text-muted">{{start_date}} - {{end_date}}</span>
|
||||
</div>
|
||||
<div class="modal-body p-lg">
|
||||
<div class="table-responsive" ng-if="report_realisation.length > 0">
|
||||
<table class="table table-bordered" ng-repeat="printer in report_realisation">
|
||||
<thead>
|
||||
<th style="width: 70%">{{ printer.name }}</th>
|
||||
<th style="width: 10%; text-align: right">{{ printer.count }}</th>
|
||||
<th style="width: 20%; text-align: right">{{ printer.sum | curr}} BYN</th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr ng-repeat="item in printer.items">
|
||||
<td>{{ item.name }}</td>
|
||||
<td style="text-align: right">{{ item.count }}</td>
|
||||
<td style="text-align: right">{{ item.sum | curr}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div ng-if="return_printers.length > 0">
|
||||
<hr>
|
||||
<table class="table table-bordered" ng-repeat="ret_print in return_printers">
|
||||
<thead>
|
||||
<th style="width: 70%">{{ ret_print.name }} (возврат)</th>
|
||||
<th style="width: 10%; text-align: right">-{{ ret_print.count }}</th>
|
||||
<th style="width: 20%; text-align: right">{{ ret_print.sum | curr }} BYN</th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr ng-repeat="item in ret_print.items">
|
||||
<td>{{ item.name }}</td>
|
||||
<td style="text-align: right">-{{ item.count }}</td>
|
||||
<td style="text-align: right">{{ item.sum | curr}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<table class="table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Итого</strong>
|
||||
</td>
|
||||
<td style="text-align: right">
|
||||
<strong>{{ report_realisation.total_count }}</strong> позиций</td>
|
||||
<td style="text-align: right">на сумму
|
||||
<strong>{{ report_realisation.total_sum | curr}} BYN</strong>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div ng-if="report_realisation.length == 0">
|
||||
<p>Реализация отсутсвует</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
50
web/views/reports/items/staff.html
Normal file
50
web/views/reports/items/staff.html
Normal file
@@ -0,0 +1,50 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content" id="reportStaff">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<button class="btn btn-icon white" ng-click="printElem('#reportStaff')">
|
||||
<i class="fa fa-print"></i>
|
||||
</button>
|
||||
<h4 class="modal-title">{{globals.currentUser.organization.name}}</h4>
|
||||
<h5 class="modal-title">Отчет по персоналу</h5>
|
||||
<span class="text-muted">{{start_date}} - {{end_date}}</span>
|
||||
</div>
|
||||
<div class="modal-body p-lg">
|
||||
<div class="col-md-6" ng-repeat="staff in staffs">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-border">
|
||||
<thead>
|
||||
<th>{{ staff.name }}</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-if="staff.input_count > 0">
|
||||
<td>{{staff.input_count}} внесений в кассу на сумму {{staff.input_sum | curr}} BYN</td>
|
||||
</tr>
|
||||
<tr ng-if="staff.output_count > 0">
|
||||
<td>{{staff.output_count}} выдач из кассы на сумму {{staff.output_sum | curr}} BYN</td>
|
||||
</tr>
|
||||
<tr ng-if="staff.payment_count > 0">
|
||||
<td>{{staff.payment_count}} платежных документов на сумму {{staff.payment_sum | curr}} BYN</td>
|
||||
</tr>
|
||||
<tr ng-if="staff.opened_count > 0">
|
||||
<td>Открыто {{staff.opened_count}} документов на сумму {{staff.opened_sum | curr}} BYN</td>
|
||||
</tr>
|
||||
<tr ng-if="staff.input_presale_count > 0">
|
||||
<td>Внесено {{staff.input_presale_count}} авансов на сумму {{staff.input_presale_sum | curr} BYN</td>
|
||||
</tr>
|
||||
<tr ng-if="staff.output_presale_count > 0">
|
||||
<td>Выдано {{staff.output_presale_count}} авансов на сумму {{staff.output_presale_sum | curr}} BYN</td>
|
||||
</tr>
|
||||
<tr ng-if="staff.correct_count > 0">
|
||||
<td>Внесено {{staff.correct_count}} корекций на сумму {{staff.correct_sum | curr}} BYN</td>
|
||||
</tr>
|
||||
<tr ng-if="staff.return_count > 0">
|
||||
<td>{{staff.return_count}} возвратов на сумму {{staff.return_sum | curr}} BYN</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
136
web/views/reports/items/statistic.html
Normal file
136
web/views/reports/items/statistic.html
Normal file
@@ -0,0 +1,136 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content" id="reportStatistic">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<button class="btn btn-icon white" ng-click="printElem('#reportStatistic')">
|
||||
<i class="fa fa-print"></i>
|
||||
</button>
|
||||
<h4 class="modal-title">{{globals.currentUser.organization.name}}</h4>
|
||||
<h5 class="modal-title">Отчет по Статистике</h5>
|
||||
<span class="text-muted">{{start_date}} - {{end_date}}</span>
|
||||
</div>
|
||||
<div class="modal-body p-lg">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<strong>Реализация</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Количество заказов</td>
|
||||
<td style="text-align: right">{{ statistic.orders_count }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Сумма заказов (без скидки) <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.total_sum | curr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Скидка <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.discount_sum | curr}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Итоговоя сумма <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.orders_sum | curr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Отложенных заказы</td>
|
||||
<td style="text-align: right">{{ statistic.wait_count }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Отложено на сумму <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.wait_sum | curr}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<strong>Возвраты</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Количество возвратов</td>
|
||||
<td style="text-align: right">{{ statistic.return_count }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Сумма возвратов <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.return_sum | curr }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<strong>Статистика</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Количество гостей</td>
|
||||
<td style="text-align: right">{{ statistic.clients_count }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Средний чек <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.avg_order_sum | curr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Средний чек на 1-го гостя <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.avg_order_client_sum | curr}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<strong>Авансы</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Количество авансов полученных</td>
|
||||
<td style="text-align: right">{{ statistic.in_presale_count }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Сумма авансов полученных <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.in_presale_sum | curr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Количество авансов возвращенных</td>
|
||||
<td style="text-align: right">{{ statistic.out_presale_count }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Сумма авансов возвращенных <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.out_presale_sum | curr}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<strong>Формы оплаты</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Наличный расчет <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.cash | curr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Наличный расчет (отложенные) <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.wait_sum | curr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Безналичный расчет <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.clearing | curr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Кредитными картами <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.credit | curr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Питание штата <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.self | curr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>По ранее полученному авансу <strong>BYN</strong></td>
|
||||
<td style="text-align: right">{{ statistic.presale | curr}}</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
119
web/views/shifts/index.html
Normal file
119
web/views/shifts/index.html
Normal file
@@ -0,0 +1,119 @@
|
||||
|
||||
<div id="container-floating">
|
||||
<div class="nd3 nds" data-toggle="tooltip" data-placement="left" title="Повторно выгрузить" ng-click="add()" style="background-color: #3c80f6" onmouseenter="$(this).tooltip('show')">
|
||||
<i class="material-icons"></i>
|
||||
</div>
|
||||
|
||||
<div class="nd1 nds" data-toggle="tooltip" data-placement="left" title="Обновить" ng-click="update()" style="background-color: #d3a411"
|
||||
onmouseenter="$(this).tooltip('show')">
|
||||
<i class="material-icons"></i>
|
||||
</div>
|
||||
|
||||
<div id="floating-button" data-toggle="tooltip" data-placement="left" title="Действия" onmouseenter="$(this).tooltip('show')">
|
||||
<p class="plus">
|
||||
<i class="material-icons"></i>
|
||||
</p>
|
||||
<p class="edit">
|
||||
<i class="material-icons"></i>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="padding">
|
||||
<div class="box">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered m-a-0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Открыта</th>
|
||||
<th>Закрыта</th>
|
||||
<th>Выручка, BYN</th>
|
||||
<th style="width: 80px">
|
||||
<i class="material-icons"></i>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="(index, shift) in shifts">
|
||||
<td>{{ shift.id }}</td>
|
||||
<td>
|
||||
{{ shift.opened }} <br>
|
||||
<small class="text-muted">{{ shift.open }}</small>
|
||||
</td>
|
||||
<td>
|
||||
{{ shift.closed }} <br>
|
||||
<small class="text-muted">{{ shift.close }}</small>
|
||||
</td>
|
||||
<td>{{ shift.sum | curr}}</td>
|
||||
<td>
|
||||
<div class="dropdown inline" style="margin-top: -5px; position: absolute;">
|
||||
<button class="btn white dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="padding: 0.2rem 0.4rem">
|
||||
<i class="material-icons"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu pull-right dropdown-menu-scale">
|
||||
<a class="dropdown-item" ng-click="reportStatistic(shift)">По статистике</a>
|
||||
<a class="dropdown-item" ng-click="reportRealisation(shift)">По реализации</a>
|
||||
<a class="dropdown-item" ng-click="reportDelete(shift)">По удалениям</a>
|
||||
<a class="dropdown-item" ng-click="reportStaff(shift)">По персоналу</a>
|
||||
<a class="dropdown-item" ng-click="reportPay(shift)">По отделам</a>
|
||||
<a class="dropdown-item" ng-click="reportOut(shift)">По внешним заказам</a>
|
||||
<a class="dropdown-item" ng-click="restoreShift(shift)">Восстановить смену</a>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<footer class="dker p-a">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<ul class="pagination pagination-sm m-a-0">
|
||||
<li>
|
||||
<a ng-click="prevPage()" ng-class="currentPage == 1 ? 'disabled' : ''">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li ng-class="page == currentPage ? 'active' : ''" ng-repeat="page in pages" ng-click="showPage(page)">
|
||||
<a href>{{ page }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a ng-click="nextPage()" ng-class="currentPage == countOfPages ? 'disabled' : ''">
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-delete" data-backdrop="true">
|
||||
<div ui-include="'../views/reports/items/deleted.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-realisation" data-backdrop="true">
|
||||
<div ui-include="'../views/reports/items/realisation.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-statistic" data-backdrop="true">
|
||||
<div ui-include="'../views/reports/items/statistic.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-staff" data-backdrop="true">
|
||||
<div ui-include="'../views/reports/items/staff.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-payment" data-backdrop="true">
|
||||
<div ui-include="'../views/reports/items/payment.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="report-out" data-backdrop="true">
|
||||
<div ui-include="'../views/out.html'"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="reImport" data-backdrop="true">
|
||||
<div ui-include="'../views/shifts/reimport.html'"></div>
|
||||
</div>
|
||||
65
web/views/shifts/reimport.html
Normal file
65
web/views/shifts/reimport.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Выберите диапазон дат для повторной выгрузки файлов реализаций</h5>
|
||||
</div>
|
||||
<div class="modal-body text-center p-lg" style="height: 366px">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>С</label>
|
||||
<div class='input-group date' ui-jp="datetimepicker" ui-options="{
|
||||
format: 'DD.MM.YYYY',
|
||||
icons: {
|
||||
time: 'fa fa-clock-o',
|
||||
date: 'fa fa-calendar',
|
||||
up: 'fa fa-chevron-up',
|
||||
down: 'fa fa-chevron-down',
|
||||
previous: 'fa fa-chevron-left',
|
||||
next: 'fa fa-chevron-right',
|
||||
today: 'fa fa-screenshot',
|
||||
clear: 'fa fa-trash',
|
||||
close: 'fa fa-remove'
|
||||
}
|
||||
}">
|
||||
<input type='text' class="form-control" ng-model="start_date" />
|
||||
<span class="input-group-addon">
|
||||
<i class="material-icons"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>По</label>
|
||||
<div class='input-group date' ui-jp="datetimepicker" ui-options="{
|
||||
format: 'DD.MM.YYYY',
|
||||
icons: {
|
||||
time: 'fa fa-clock-o',
|
||||
date: 'fa fa-calendar',
|
||||
up: 'fa fa-chevron-up',
|
||||
down: 'fa fa-chevron-down',
|
||||
previous: 'fa fa-chevron-left',
|
||||
next: 'fa fa-chevron-right',
|
||||
today: 'fa fa-screenshot',
|
||||
clear: 'fa fa-trash',
|
||||
close: 'fa fa-remove'
|
||||
}
|
||||
}">
|
||||
<input type='text' class="form-control" ng-model="end_date" />
|
||||
<span class="input-group-addon">
|
||||
<i class="material-icons"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn dark-white p-x-md" data-dismiss="modal">Отмена</button>
|
||||
<button type="button" class="btn success p-x-md" ng-click="create()">Создать запрос</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user