You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
233 lines
14 KiB
233 lines
14 KiB
<div class="BO_view">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
<div class="loader-container">
|
|
<div class="page-loader2" style="">
|
|
<div class="loader2">
|
|
<span class="export-text">Loading...</span>
|
|
<span class="dot dot_1"></span>
|
|
<span class="dot dot_2"></span>
|
|
<span class="dot dot_3"></span>
|
|
<span class="dot dot_4"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="no_show_grid">
|
|
<div class="col-md-12">
|
|
<div class="container-fluid">
|
|
<div class="attendance_stat row">
|
|
<div class="col-sm-12 col-md-3 no_padding">
|
|
<table class="table table-condensed noshow_header">
|
|
<thead>
|
|
<tr>
|
|
<!-- <td colspan="2"> </td> -->
|
|
<th></th>
|
|
<th>Nbre</th>
|
|
</tr> </thead>
|
|
<tbody>
|
|
<tr>
|
|
<th>Nombre Total de places offertes</th>
|
|
<td class="offertes_total">0</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Nombre de place restantes</th>
|
|
<td class="restantes_total">0</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="col-sm-12 col-md-6">
|
|
<table class="table table-condensed noshow_header">
|
|
<thead>
|
|
<tr>
|
|
<!-- <td> </td> -->
|
|
<th></th>
|
|
<th>Attendus</th>
|
|
<th>Liste d'attente</th>
|
|
<th>Présents</th>
|
|
<th>Absents</th>
|
|
<!-- <td> </td> -->
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<!-- <td> </td> -->
|
|
<th>Nombre total d'abonnés :</th>
|
|
<td class="abonnes_attendus">0</td>
|
|
<td class="abonnes_waiting">0</td>
|
|
<td class="abonnes_presents">0</td>
|
|
<td class="abonnes_absents">0</td>
|
|
<!-- <td> </td> -->
|
|
</tr>
|
|
<tr>
|
|
<!-- <td> </td> -->
|
|
<th>Nombre total d'invités :</th>
|
|
<td class="invites_attendus">0</td>
|
|
<td class="invites_waiting">0</td>
|
|
<td class="invites_presents">0</td>
|
|
<td class="invites_absents">0</td>
|
|
<!-- <td> </td> -->
|
|
</tr>
|
|
<tr>
|
|
<!-- <td> </td> -->
|
|
<th>Nombre total de personnes :</th>
|
|
<td class="personnes_attendus">0</td>
|
|
<td class="personnes_waiting">0</td>
|
|
<td class="personnes_presents">0</td>
|
|
<td class="personnes_absents">0</td>
|
|
<!-- <td> </td> -->
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="col-sm-12 col-md-3 no_padding">
|
|
<table class="table table-condensed noshow_header">
|
|
<thead>
|
|
<tr>
|
|
<!-- <td colspan="2"> </td> -->
|
|
<th></th>
|
|
<th>Nbre</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<th>Nbre de No Show Complet :</th>
|
|
<td class="complet_nshow_total">0</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Nbre de No Show Partiel :</th>
|
|
<td class="partiel_nshow_total">0</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- <div class="col-md-6">-->
|
|
<!-- <span class="switch switch-lg">-->
|
|
<!-- <input type="checkbox" class="switch2" id="switch2" >-->
|
|
<!-- <label for="switch2">No Show Activé pour cet événement</label>-->
|
|
<!-- </span>-->
|
|
<!-- </div>-->
|
|
<div class="col-md-12 buttons-noshow">
|
|
<span class="switch switch-lg pull-left">
|
|
<input
|
|
<?php if (!in_array(PRIVS[PAGE_CODE['noshow']]['toggle'], USER_PRIVS[$logged_in['role_id']][PAGE_CODE['noshow']])):?>
|
|
disabled
|
|
<?php endif; ?>
|
|
type="checkbox" class="switch2" id="switch2" name="noshow_status">
|
|
<label for="switch2">No Show Activé pour cet événement</label>
|
|
<i title="Le fait d'activer le noShow permet d'inclure la comptabilisation des absences (no show complet et partiel) pour chaque abonnées. Ces données seront alors prisent en compte dans le système de modération." class="no_show_tooltip fa fa-question-circle"></i>
|
|
</span>
|
|
|
|
<?php if (in_array(PRIVS[PAGE_CODE['noshow']]['import'], USER_PRIVS[$logged_in['role_id']][PAGE_CODE['noshow']])):?>
|
|
<a href="javascript:;" onclick="Attendance.Import_modal(event)"; style="padding: 7px;"
|
|
class="btn btn-primary btn-xs mr-xs">
|
|
<span class="glyphicon glyphicon-import"></span> <small>Import</small>
|
|
</a>
|
|
<?php endif; ?>
|
|
|
|
<?php if (in_array(PRIVS[PAGE_CODE['noshow']]['export'], USER_PRIVS[$logged_in['role_id']][PAGE_CODE['noshow']])):?>
|
|
<a onclick="Attendance.Export_message(eventId,eventScheduleId)" style="padding: 7px;"
|
|
class="btn btn-primary btn-xs mr-xs">
|
|
<span class="glyphicon glyphicon-export"></span> <small>Export</small>
|
|
</a>
|
|
<?php endif; ?>
|
|
|
|
<?php if (in_array(PRIVS[PAGE_CODE['noshow']]['add_walk_in'], USER_PRIVS[$logged_in['role_id']][PAGE_CODE['noshow']])):?>
|
|
<a onclick="Attendance.add_walk_in(eventId,eventScheduleId)" style="padding: 7px;"
|
|
class="btn btn-primary btn-xs mr-xs">
|
|
<span class="glyphicon glyphicon-plus"></span><small> <?=$this->lang->line("Add_walk_in")?></small>
|
|
</a>
|
|
<?php endif; ?>
|
|
</div>
|
|
<br>
|
|
<div class="col-md-12 table-holder">
|
|
<table id="no_show_list" class="table-responsive table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th class="align-middle">user_id</th>
|
|
<th class="align-middle">registration_id</th>
|
|
<th class="align-middle">civility</th>
|
|
<th class="align-middle">email_address</th>
|
|
<th class="align-middle">comment</th>
|
|
<th class="align-middle">#</th>
|
|
<!-- <th class="align-middle"><?=$this->lang->line('event_title')?></th>
|
|
<th class="align-middle"><?=$this->lang->line('reserve_date')?></th> -->
|
|
<!-- <th class="align-middle"><?=$this->lang->line("user")?></th> -->
|
|
<th class="align-middle"><?=$this->lang->line("last_name")?></th>
|
|
<th class="align-middle"><?=$this->lang->line("first_name")?></th>
|
|
<th width="56px !important" class="align-middle"><?=$this->lang->line("type")?></th>
|
|
|
|
<th width="56px" class="align-middle col-md-2"><?=$this->lang->line("no_of_place")?></th>
|
|
<th class="align-middle noshow_button_column">Présence</th>
|
|
<!-- <th class="align-middle"><?=$this->lang->line("comment")?></th> -->
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<!-- <tr><td>Processing data...</td></tr> -->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
<!-- <a href="javascript:;" id="no_show_upload_button" style="padding: 7px;" class="btn btn-primary btn-m mr-xs">
|
|
<span class="glyphicon glyphicon-save"></span>
|
|
<?=$this->lang->line("GridUpdate")?>
|
|
</a> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- Upload template -->
|
|
<form id="formAttendance" enctype="multipart/form-data" name="formAttendance">
|
|
<!-- Assign email templates for event or event schedules-->
|
|
<div class="modal fade " id="UploadModalAttendance">
|
|
<div class="modal-dialog modal-md import-noshow-modal">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
<h4 class="modal-title"><?=$this->lang->line("GridUploadTitle")?></h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p class="text-ellipsis">
|
|
Sélectionner un fichier Excel No-Show à importer:
|
|
<input type="file" name="AttendanceUpload" id="AttendanceUpload" class="filestyle" data-buttonText="Parcourir" accept="application/vnd.ms-excel,.xlsx,.xls">
|
|
</p>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" onclick="buttonImportAttendance" id="buttonImportAttendance" class="btn btn-default"><?=$this->lang->line("GridUploadStartButton")?></button>
|
|
</div>
|
|
</div><!-- /.modal-content -->
|
|
</div><!-- /.modal-dialog -->
|
|
</div><!-- event schedule -->
|
|
</form>
|
|
|
|
<!-- Warning subscribers modal -->
|
|
<div class="modal fade " id="SubscriberModalWarning">
|
|
<div class="modal-dialog modal-md">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
<h4 class="modal-title"><?=$this->lang->line("GridSubscriberWarning")?></h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<b><?=$this->lang->line("GridSubscriberWarningMessage")?></b>
|
|
<br><br>
|
|
<span class="subscribersFailed"></span>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" data-dismiss="modal" class="btn btn-default"><?=$this->lang->line("GridSubscriberWarningBtnClose")?></button>
|
|
</div>
|
|
</div><!-- /.modal-content -->
|
|
</div><!-- /.modal-dialog -->
|
|
</div><!-- event schedule -->
|
|
|
|
<?php $this->load->view('backoffice/noshow/walk_in_form.php')?>
|
|
|