コード例 #1
0
<div class="row">
	<div class="col-md-12">
<a href="" class="btn btn-default pull-right btn-lg">Sin Factura</a>

<h1><?php 
    echo $product->name;
    ?>
 <small>Operaciones con factura</small></h1>
	</div>
	</div>

<div class="row">
	<div class="col-md-4">
	<?php 
    $total = OperationData::GetQ($product->id, $cut->id);
    $no_oficial = OperationData::GetQNoF($product->id, $cut->id);
    $oficial = OperationData::GetQYesF($product->id, $cut->id);
    $nof100 = 0;
    $of100 = 0;
    if ($no_oficial > 0) {
        $nof100 = $no_oficial / $total;
    }
    if ($oficial > 0) {
        $of100 = $oficial / $total;
    }
    ?>
	<h1 class="pull-right"><?php 
    echo $total;
    ?>
</h1>
	<h2>General</h2>
コード例 #2
0
	<h2>Entradas</h2>
	<h1><?php 
    echo $itotal;
    ?>
</h1>
</center>
</div>

<br>
<?php 
    ?>

</div>
	<div class="col-md-4">
	<?php 
    $total = OperationData::GetQNoF($product->id, $_GET["cutid"]);
    ?>
<div class="jumbotron">
<center>
	<h2>Disponible</h2>
	<h1><?php 
    echo $total;
    ?>
</h1>
</center>
</div>
<div class="clearfix"></div>
<br>
<?php 
    ?>
コード例 #3
0
	<h2>Entradas</h2>
	<h1><?php 
    echo $itotal;
    ?>
</h1>
</center>
</div>

<br>
<?php 
    ?>

</div>
	<div class="col-md-4">
	<?php 
    $total = OperationData::GetQNoF($product->id, $cut->id);
    ?>
<div class="jumbotron">
<center>
	<h2>Disponible</h2>
	<h1><?php 
    echo $total;
    ?>
</h1>
</center>
</div>
<div class="clearfix"></div>
<br>
<?php 
    ?>