%PDF- %PDF-
| Direktori : /var/www/pjc/storage/framework/views/ |
| Current File : /var/www/pjc/storage/framework/views/0b3154b271014151a7d39577db9afc62d02b61f9.php |
<?php $__env->startSection('content'); ?>
<!-- START BREADCRUMB -->
<ul class="breadcrumb">
<li><a href="">Home</a></li>
<li> Fatturazione</li>
<li class="active"> Elenco</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">Richieste di fatturazione</h1>
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table datatable">
<thead>
<tr>
<th>Commessa</th>
<th>Ragione Sociale</th>
<th>Descrizione</th>
<th>Importo Totale commessa</th>
<th>Importo Fattura richiesta</th>
<th>Tipologia</th>
<th>Stato</th>
<th>Azioni</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $dati['commesse']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><a href="<?php echo e(action('gestioneOre@vcommessa',$item->name)); ?>" target="_blank"><?php echo e($item->name); ?></a></td>
<td><?php echo e($dati['accounts'][$item->account_id]); ?></td>
<td><?php echo e($item->description); ?></td>
<td><?php echo e(number_format( $item->importo_c , 2, ',', '.')); ?> </td>
<td><?php echo e(number_format( $item->importo , 2, ',', '.')); ?></td>
<td>
<?php if($item->tipologia == 1): ?>
SALDO
<?php else: ?>
ACCONTO
<?php endif; ?>
</td>
<td> <?php if($item->fatturato): ?>
<i class="fa fa-check text-success"></i>
<?php else: ?>
<i class="fa fa-times text-danger"></i>
<?php endif; ?></td>
<td><a href="<?php echo e(action('Fatturazione@fattura',[$item->id])); ?>"><button class="btn btn-primary">Fatturata</button></a></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<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">Richieste fatturate</h1>
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table datatable">
<thead>
<tr>
<th>Commessa</th>
<th>Ragione Sociale</th>
<th>Descrizione</th>
<th>Importo Totale commessa</th>
<th>Importo Fattura richiesta</th>
<th>Stato</th>
<th>Azioni</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $dati['commesseFatturate']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><a href="<?php echo e(action('gestioneOre@vcommessa',$item->name)); ?>" target="_blank"><?php echo e($item->name); ?></a></td>
<td><?php echo e($dati['accounts'][$item->account_id]); ?></td>
<td><?php echo e($item->description); ?></td>
<td><?php echo e(number_format( $item->importo_c , 2, ',', '.')); ?> </td>
<td><?php echo e(number_format( $item->importo , 2, ',', '.')); ?></td>
<td> <?php if($item->fatturato): ?>
<i class="fa fa-check text-success"></i>
<?php else: ?>
<i class="fa fa-times text-danger"></i>
<?php endif; ?></td>
<td><a href="<?php echo e(action('Fatturazione@fattura',[$item->id])); ?>"><button class="btn btn-primary">Annulla fattura</button></a></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<?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/fatturazione/elenco.blade.php ENDPATH**/ ?>