gest366/modules/ordini/controller_top.php

41 lines
788 B
PHP

<?php
include_once(__DIR__."/../../core.php");
if (sizeof($records) < 1){
$class = 'info';
$disabled = 'disabled';
}else{
$class = 'primary';
$disabled = '';
}
$disabled = '';
?>
<div class="panel panel-info">
<div class="clearfix"></div>
<br>
<div class="col-md-4">
<div class="pull-left">
<button type="button" onclick="window.open('<?php echo $rootdir ?>/templates/pdfgen.php?ptype=prt_ordini&search_tipo=<?php echo $search_tipo; ?>');" <?php echo $disabled; ?> class="btn btn-<?php echo $class; ?> btn-block"><i class="fa fa-print"></i> Stampa Ordini</button>
</div>
</div>
<div class="col-md-4">
<div class="pull-right">
</div>
</div>
<div class="col-md-4">
</div>
<div class="clearfix"></div>
<br>
</div>