<?php if (Core\User::caccess() == 'edit') { ?> <div class="toolbar no-padding"> <div class="btn-group"> <a title="Разослать" href="#" class="btn btn-lg text-success bs-tooltip btn-save"><i class="fa-check"></i> <span class="hidden-xx">Разослать</span></a> </div> </div> <?php } ?> <script> $('.toolbar').on('click', '.btn-save', function(e){ e.preventDefault(); $('form#myForm input[type="submit"]').click(); }); </script>
<p class="info-block">Заказ не оплачен</p> <?php } ?> <input class="btn btn-primary print_order_tickets" type="submit" value="Печать" <?php echo (Core\User::info()->role_id == 2 or $obj->created_at > time() - Core\Config::get('reserved_days') * 24 * 60 * 60 and $obj->status == 'success') ? null : 'disabled'; ?> /> </div> </form> </div> </div> <?php if (Core\User::info()->role_id == 2) { ?> <div class="widget box"> <div class="widgetHeader"> <div class="widgetTitle"><i class="fa-eraser"></i>Сбросить историю печати</div> </div> <div class="widgetContent"> <p class="info-block">Используйте если кассиру нужно перепечатать билеты. <br>Для сброса истории печати билетов - отметьте необходимые билеты и нажмите Сбросить</p> <form action="" autocomplete="off" id="reset_seats"> <div class="form-group"> <?php $seats = array_filter(explode(',', $obj->seats_keys)); ?> <?php if (count($seats)) {
</div> <input class="button btn-primary" style="display: inline-block;" type="submit" name="send" value="Поиск"> <a href="/backend/afisha/index" style="display: inline-block;"> <i class="fa-refresh"></i> <span class="">Сбросить</span> </a> </form> </div> </div> <div class="widget"> <div class="widgetContent"> <div class="widget"> <div class="widgetContent"> <div class="dd pageList" <?php echo Core\User::caccess() == 'edit' ? 'id="myNest"' : null; ?> > <ol class="dd-list"> <?php echo Core\View::tpl(array('result' => $result, 'tpl_folder' => $tpl_folder, 'cur' => 0), $tpl_folder . '/Menu'); ?> </ol> </div> <span id="parameters" data-table="<?php echo $tablename; ?> "></span> <input type="hidden" id="myNestJson"> <?php echo $pager;
echo $value->id; ?> " <?php echo $_GET['event'] == $value->id ? 'selected' : ''; ?> ><?php echo $value->name; ?> </option> <?php } ?> </select> </div> <?php if (count($creators) && (Core\User::info()->role_id == 2 or Core\User::info()->see_all_cashier_stat == 1)) { ?> <div style="display: inline-block;"> <label class="control-label" style="display: block;">Менеджер</label> <select name="creator_id"> <option value="0">Все</option> <?php foreach ($creators as $key => $value) { ?> <option value="<?php echo $value->id; ?> " <?php echo $_GET['creator_id'] == $value->id ? 'selected' : ''; ?> ><?php
} ?> <?php if (\Core\User::god() || isset($access['contacts']) && $access['contacts'] != 'no') { ?> <?php echo Core\Widgets::get('headerContacts'); ?> <?php } ?> <li class="dropdown dropdownMenuHidden"> <a class="dropdownToggle" href="#"> <i class="fa-male"></i> <span class="navText username"><?php echo Core\User::info()->name; ?> </span> <i class="fa-caret-down small"></i> </a> <ul class="dropdownMenu pull-right"> <li> <a href="/backend/auth/edit"> <i class="fa-user"></i> Профиль </a> </li> <li class="divider"></li> <li> <a href="/backend/auth/logout"> <i class="fa-key"></i>
<i class="fa-bullhorn"></i> </div> <div class="title"> Новости </div> <div class="value"> <?php echo $count_news; ?> </div> <a href="/backend/news/index" class="more">Подробнее <i class="pull-right fa-angle-right"></i></a> </div> </div> </div> --> <?php if (Core\User::get_access_for_controller('banners') != 'no') { ?> <div class="col-sm-6 col-md-3"> <div class="statbox widget box box-shadow"> <div class="widgetContent"> <div class="visual orange"> <i class="fa-puzzle-piece"></i> </div> <div class="title"> Банера </div> <div class="value"> <?php echo $count_banners; ?> </div>
<div class="rowSection"> <div class="col-md-12"> <div class="widget"> <div class="widgetContent"> <?php echo Core\View::tpl(array('creators' => $creators, 'events' => $events), 'Cassier/Filter'); ?> <?php if (Core\User::info()->role_id == 2 or Core\User::info()->see_all_cashier_stat == 1) { ?> <div class="rowSection"> <!-- Total orders count--> <div class="col-md-6"> <div class="widget box"> <div class="widgetHeader"> <div class="widgetTitle"> <i class="fa-reorder"></i> Заказы всех менеджеров </div> </div> <div class="widgetContent"> <div id="totalOrders" data-json='<?php echo $jsonOrders; ?> '></div> </div> </div> </div> <!-- Total prices --> <div class="col-md-6">