<?php $__env->startSection('content'); ?>
<style type="text/css">
.filterable {
margin-top: 15px;
}
.filterable .panel-heading .pull-right {
margin-top: -20px;
}
.filterable .filters input[disabled] {
background-color: transparent;
border: none;
cursor: auto;
box-shadow: none;
padding: 0;
height: auto;
}
.filterable .filters input[disabled]::-webkit-input-placeholder {
color: #333;
}
.filterable .filters input[disabled]::-moz-placeholder {
color: #333;
}
.filterable .filters input[disabled]:-ms-input-placeholder {
color: #333;
}
</style>
<div id="page-content">
<div class="content-header">
<div class="header-section">
<h1>
<i class="fa fa-recycle"></i>Reporteador<br><small>Recolectora Metropolitana</small>
</h1>
</div>
</div>
<div class="block">
<div class="block-title">
<h2><strong>Reporte Cliente: </strong></h2>
</div>
<form id="form-actor" method="post" target="_blank" class="form-horizontal form-bordered" action="<?php echo e(URL::To('/').'/report/pdfReport'); ?>">
<input type="hidden" name="_token" id="csrf-token" value="<?php echo e(csrf_token()); ?>" />
<div class="form-group">
<label class="col-md-4 control-label" for="clientes-select">Cliente</label>
<div class="col-md-6">
<select id="clientes-select" name="clientes-select" class="select-chosen" data-placeholder="Selecciona el Cliente o clientes" style="width: 250px; display: none;" >
<?php if(isset($clientes)): ?>
<?php foreach($clientes as $cliente): ?>
<option value="<?php echo $cliente->id; ?>"><?php echo $cliente->nombre_comercial; ?></option>
<?php endforeach; ?>
<?php endif; ?>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label" for="clientes-select">Tipo de Reporte</label>
<div class="col-md-6">
<select class="form-control" id="tipo-select" name="tipo-select" >
<option value="">Selecciona</option>
<option value="1">Manifiesto de Residuos no Peligrosos</option>
<option value="2">Manifiesto de Reciclable</option>
<option value="3">Pago de Reciclable</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label" for="year-select">Año</label>
<div class="col-md-6">
<select id="year-select" name="year-select" class="form-control" onchange="Peso.getMonths(this)">
<?php if(isset($years)): ?>
<?php foreach($years as $year): ?>
<option value="<?php echo $year->year; ?>"><?php echo e($year->year); ?></option>
<?php endforeach; ?>
<?php endif; ?>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label" for="month-select">Mes</label>
<div class="col-md-6">
<select id="month-select" name="month-select" class="form-control">
<?php if(isset($months)): ?>
<?php foreach($months as $month): ?>
<option value="<?php echo $month->mes; ?>"><?php echo Helper::month($month->mes); ?></option>
<?php endforeach; ?>
<?php endif; ?>
</select>
</div>
</div>
<div class="form-group form-actions">
<div class="col-md-9 col-md-offset-5">
<button id="send-button" type="submit" class="btn btn-sm btn-danger" ><i class="fa fa-file-pdf-o"></i> PDF </button>
</div>
</div>
</form>
</div>
</div>
<?php echo Html::script("/js/report_js/report.js"); ?>
<script src="<?php echo e(URL::To('/js/catalogo_js/peso.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>