%PDF- %PDF-
| Direktori : /var/www/pjc/storage/framework/views/ |
| Current File : /var/www/pjc/storage/framework/views/98e38efa18cac8f079869cf36704e388fd916a0b.php |
<?php
$fasi=array('Draft' => 'Aperta','In Review'=>'Chiusa e fatturata','Published'=>'Chiusa in attesa di fatture','apertamafatturata' => 'Aperta ma fatturata');
?>
<?php $__env->startSection('content'); ?>
<!-- START BREADCRUMB -->
<ul class="breadcrumb">
<li><a href="">Home</a></li>
<li> Gestione Ore</li>
<li class="active"> Commesse</li>
</ul>
<!-- END BREADCRUMB -->
<div class="row">
<div class="col-md-12">
<?php if(Session::has('message')): ?>
<div class="alert alert-success" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<?php echo e(Session::get('message')); ?>.
</div>
<?php endif; ?>
<div class="panel panel-colorful">
<div class="panel-heading ui-draggable-handle">
<h1 class="panel-title">Filtro</h1>
</div>
<div class="panel-body">
<a href="<?php echo e(action('gestioneOre@commesse',[1])); ?>"><button type="button" class="<?php if($dati['id'] == 1): ?> btn btn-success <?php else: ?> btn btn-primary <?php endif; ?> ">Sicurezza</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[2])); ?>"><button type="button" class="<?php if($dati['id'] == 2): ?> btn btn-success <?php else: ?> btn btn-primary <?php endif; ?> ">Termico</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[3])); ?>"><button type="button" class="<?php if($dati['id'] == 3): ?> btn btn-success <?php else: ?> btn btn-primary <?php endif; ?>">Elettrico</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[4])); ?>"><button type="button" class="<?php if($dati['id'] == 4): ?> btn btn-success <?php else: ?> btn btn-primary <?php endif; ?> ">Antincendio</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[5])); ?>"><button type="button" class="<?php if($dati['id'] == 5): ?> btn btn-success <?php else: ?> btn btn-primary <?php endif; ?> ">Formazione</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[6])); ?>"><button type="button" class="<?php if($dati['id'] == 6): ?> btn btn-success <?php else: ?> btn btn-primary <?php endif; ?> ">Ambiente</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[7])); ?>"><button type="button" class="<?php if($dati['id'] == 7): ?> btn btn-success <?php else: ?> btn btn-primary <?php endif; ?> ">Alimentare</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[8])); ?>"><button type="button" class="<?php if($dati['id'] == 8): ?> btn btn-success <?php else: ?> btn btn-primary <?php endif; ?> ">Altro</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[9])); ?>"><button type="button" class="<?php if($dati['id'] == 9): ?> btn btn-success <?php else: ?> btn btn-primary <?php endif; ?> ">Assistenza Sicurezza</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[10])); ?>"><button type="button" class="<?php if($dati['id'] == 10): ?> btn btn-success <?php else: ?> btn btn-primary <?php endif; ?> ">Assistenza Ambiente</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[11])); ?>"><button type="button" class="<?php if($dati['id'] == 11): ?> btn btn-success <?php else: ?> btn btn-primary <?php endif; ?> ">Assistenza Alimetare</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[12])); ?>"><button type="button" class="<?php if($dati['id'] == 12): ?> btn btn-success <?php else: ?> btn btn-warning <?php endif; ?> ">Visualizza Commissioni chiuse</button></a>
<a href="<?php echo e(action('gestioneOre@commesse',[13])); ?>"><button type="button" class="<?php if($dati['id'] == 13): ?> btn btn-success <?php else: ?> btn btn-warning <?php endif; ?> ">Visualizza Tutte le commissioni</button></a>
</div>
</div>
<div class="panel panel-colorful">
<div class="panel-heading ui-draggable-handle">
<h1 class="panel-title">Commesse</h1>
</div>
<div class="panel-body">
<div class="table-responsive">
<table id="commesse-table" class="table">
<thead>
<tr>
<th>Nome</th>
<th>Ragione Sociale</th>
<th>Descrizione</th>
<th>Data inizio</th>
<th>Stato</th>
<th>Ore</th>
<th>Completamento</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script type='text/javascript'>
$('#commesse-table').DataTable({
'processing': true,
'serverSide': true,
'ajax': 'a/gestioneore/commesseSubList?id=<?php echo e($dati['id']); ?>&id_type=' + <?php echo e($dati['id']); ?>,
"columns": [
{"data": 0},
{"data": 1},
{"data": 2},
{"data": 3},
{"data": 4},
{
"data": 5,
"defaultContent": "",
"orderable": false
},
{
"data": 6,
"defaultContent": "",
"orderable": true
}
]
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/pjc/resources/views/gestioneOre/commesse.blade.php ENDPATH**/ ?>