%PDF- %PDF-
| Direktori : /var/www/pjc/storage/framework/views/ |
| Current File : /var/www/pjc/storage/framework/views/fd141c6bdb193222365e1940b24334e127c3ca75.php |
<?php
$fasi=array('Draft' => 'Aperta','In Review'=>'Chiusa e fatturata','Published'=>'Chiusa in attesa di fatture');
?>
<?php $__env->startSection('content'); ?>
<!-- START BREADCRUMB -->
<ul class="breadcrumb">
<li><a href="">Home</a></li>
<li> Fatturazione</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>
<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 class="table datatable">
<thead>
<tr>
<th>Nome</th>
<th>Ragione Sociale</th>
<th>Descrizione</th>
<th>Importo</th>
<th>Acconti/Saldo</th>
<th>Stato</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( $dati['saldi'][$item->name] , 2, ',', '.')); ?></td>
<td><?php if(($item->importo_c - $dati['saldi'][$item->name]) == 0): ?> Totalmente pagato
<?php else: ?>
<?php if($dati['saldi'][$item->name] == 0): ?>
<?php else: ?>
Parzialmente pagato
<?php endif; ?>
<?php endif; ?></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</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/index.blade.php ENDPATH**/ ?>