%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pjc/storage/framework/views/
Upload File :
Create Path :
Current File : /var/www/pjc/storage/framework/views/5a50d89d29cf33230910789821e39deb262eca7b.php

<?php
use App\Utility;

?>
 <?php $__env->startSection('content'); ?>

<!-- START BREADCRUMB -->
<ul class="breadcrumb">
	<li><a href="">Home</a></li>
	<li class="active">Planning</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">
			<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">Scegliere mese</h1>

			</div>

			<div class="panel-body">
				<div class="row">
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(1,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
                                                   href="<?php echo e(action('Planning@create',[1,date('y')])); ?>">Gennaio<br>
							<?php echo e(Utility::oreCaricoMeseTot(1,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(1,date('y'),Session::get('idUtente'),1)); ?>

                                                   </a>
						<?php else: ?> <a class="tile tile-danger"
                                                         href="<?php echo e(action('Planning@create',[1,date('y')])); ?>">Gennaio<br>
							<?php echo e(Utility::oreCaricoMeseTot(1,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(1,date('y'),Session::get('idUtente'),1)); ?>

                                           </a>
						<?php endif; ?>



					</div>
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(2,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
                                                   href="<?php echo e(action('Planning@create',[2,date('y')])); ?>">Febbraio<br>
                                                    <?php echo e(Utility::oreCaricoMeseTot(2,date('y'),Session::get('idUtente'))); ?><br>
                                                    <?php echo e(Utility::oreCaricoMeseTot(2,date('y'),Session::get('idUtente'),1)); ?>


                                                </a>
						<?php else: ?> <a class="tile tile-danger"
							href="<?php echo e(action('Planning@create',[2,date('y')])); ?>">Febbraio
							<?php echo e(Utility::oreCaricoMeseTot(2,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(2,date('y'),Session::get('idUtente'),1)); ?>

                                                    </a>
						<?php endif; ?>
					</div>
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(3,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
							href="<?php echo e(action('Planning@create',[3,date('y')])); ?>">Marzo <br>
                                                    <?php echo e(Utility::oreCaricoMeseTot(3,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(3,date('y'),Session::get('idUtente'),1)); ?>

						</a> <?php else: ?> <a class="tile tile-danger"
							href="<?php echo e(action('Planning@create',[3,date('y')])); ?>">Marzo <br>
                                                    <?php echo e(Utility::oreCaricoMeseTot(3,date('y'),Session::get('idUtente'))); ?><br>
                                                    <?php echo e(Utility::oreCaricoMeseTot(3,date('y'),Session::get('idUtente'),1)); ?>

						</a> <?php endif; ?>
					</div>
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(4,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
							href="<?php echo e(action('Planning@create',[4,date('y')])); ?>">Aprile <br>
							<?php echo e(Utility::oreCaricoMeseTot(4,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(4,date('y'),Session::get('idUtente'),1)); ?>

						</a> <?php else: ?> <a class="tile tile-danger"
							href="<?php echo e(action('Planning@create',[4,date('y')])); ?>">Aprile <br>
							<?php echo e(Utility::oreCaricoMeseTot(4,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(4,date('y'),Session::get('idUtente'),1)); ?>

						</a> <?php endif; ?>
					</div>
				</div>

				<div class="row">
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(5,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
							href="<?php echo e(action('Planning@create',[5,date('y')])); ?>">Maggio
							<?php echo e(Utility::oreCaricoMeseTot(5,date('y'),Session::get('idUtente'))); ?>

                                                <br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(5,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php else: ?> <a class="tile tile-danger"
							href="<?php echo e(action('Planning@create',[5,date('y')])); ?>">Maggio
							<?php echo e(Utility::oreCaricoMeseTot(5,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(5,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php endif; ?>
					</div>
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(6,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
							href="<?php echo e(action('Planning@create',[6,date('y')])); ?>">Giugno
							<?php echo e(Utility::oreCaricoMeseTot(6,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(6,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php else: ?> <a class="tile tile-danger"
							href="<?php echo e(action('Planning@create',[6,date('y')])); ?>">Giugno
							<?php echo e(Utility::oreCaricoMeseTot(6,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(6,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php endif; ?>
					</div>
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(7,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
							href="<?php echo e(action('Planning@create',[7,date('y')])); ?>">Luglio<br>
							<?php echo e(Utility::oreCaricoMeseTot(7,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(7,date('y'),Session::get('idUtente'),1)); ?>

						</a> <?php else: ?> <a class="tile tile-danger"
							href="<?php echo e(action('Planning@create',[7,date('y')])); ?>">Luglio<br>
							<?php echo e(Utility::oreCaricoMeseTot(7,date('y'),Session::get('idUtente'))); ?>

                                                        <br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(7,date('y'),Session::get('idUtente'),1)); ?>

						</a> <?php endif; ?>
					</div>
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(8,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
							href="<?php echo e(action('Planning@create',[8,date('y')])); ?>">Agosto<br>
							<?php echo e(Utility::oreCaricoMeseTot(8,date('y'),Session::get('idUtente'))); ?>

                                                        <br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(8,date('y'),Session::get('idUtente'),1)); ?>

						</a> <?php else: ?> <a class="tile tile-danger"
							href="<?php echo e(action('Planning@create',[8,date('y')])); ?>">Agosto<br>
							<?php echo e(Utility::oreCaricoMeseTot(8,15,Session::get('idUtente'))); ?>

						</a> <?php endif; ?>
					</div>
				</div>

				<div class="row">
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(9,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
							href="<?php echo e(action('Planning@create',[9,date('y')])); ?>">Settembre
							<?php echo e(Utility::oreCaricoMeseTot(9,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(9,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php else: ?> <a class="tile tile-danger"
							href="<?php echo e(action('Planning@create',[9,date('y')])); ?>">Settembre
							<?php echo e(Utility::oreCaricoMeseTot(9,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(9,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php endif; ?>
					</div>
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(10,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
							href="<?php echo e(action('Planning@create',[10,date('y')])); ?>">Ottobre
							<?php echo e(Utility::oreCaricoMeseTot(10,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(10,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php else: ?> <a class="tile tile-danger"
							href="<?php echo e(action('Planning@create',[10,date('y')])); ?>">Ottobre
							<?php echo e(Utility::oreCaricoMeseTot(10,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(10,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php endif; ?>
					</div>
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(11,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
							href="<?php echo e(action('Planning@create',[11,date('y')])); ?>">Novembre
							<?php echo e(Utility::oreCaricoMeseTot(11,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(11,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php else: ?> <a class="tile tile-danger"
							href="<?php echo e(action('Planning@create',[11,date('y')])); ?>">Novembre
							<?php echo e(Utility::oreCaricoMeseTot(11,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(11,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php endif; ?>
					</div>
					<div class="col-md-3">
						<?php if(count(Utility::oreCaricoMese(12,date('y'),Session::get('idUtente')))): ?>
						<a class="tile tile-warning"
							href="<?php echo e(action('Planning@create',[12,date('y')])); ?>">Dicembre
							<?php echo e(Utility::oreCaricoMeseTot(12,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(12,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php else: ?> <a class="tile tile-danger"
							href="<?php echo e(action('Planning@create',[12,date('y')])); ?>">Dicembre
							<?php echo e(Utility::oreCaricoMeseTot(12,date('y'),Session::get('idUtente'))); ?><br>
                                                        <?php echo e(Utility::oreCaricoMeseTot(12,date('y'),Session::get('idUtente'),1)); ?></a>
						<?php endif; ?>
					</div>
				</div>

			</div>
		</div>
	</div>
</div>
<div class="row">
    <div class="col-md-12">
        <table class="table table-bordered">

            <thead>
                <tr>
                    <th>Mese</th>
                    <th>Valore Assegnato</th>
                    <th>Valore Residuo</th>
                </tr>
            </thead>
            <tbody>

                <?php
                $scalare= $importototale;
                $assegnato= 0;
                ?>

                <?php $__currentLoopData = $orecarico; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item => $key): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php $scalare= $scalare - ($key * 62.5); $assegnato = $assegnato + ($key * 62.5); ?>
                <tr>
                    <td><?php echo e($mesi[$item]); ?></td>
                    <td><?php echo e(number_format( $key * 62.5, 2, ',', '.')); ?></td>
                    <td><?php echo e(number_format( $scalare, 2, ',', '.')); ?></td>
                </tr>

                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  <thead>
                <tr>
                    <th></th>
                    <th>Totale Assegnato</th>
                    <th>Totale Settore</th>
                </tr>
            </thead>
              <tr>
                    <td></td>
                    <td><?php echo e(number_format( $assegnato, 2, ',', '.')); ?></td>
                    <td><?php echo e(number_format( $importototale, 2, ',', '.')); ?></td>
                </tr>
            </tbody>
        </table>

    </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/planning/index.blade.php ENDPATH**/ ?>

Zerion Mini Shell 1.0