</form> </div> </div> <br><!--- --> <div class="row"> <div class="col-md-12"> <?php if (isset($_GET["sd"]) && isset($_GET["ed"])) { if ($_GET["sd"] != "" && $_GET["ed"] != "") { ?> <?php $operations = array(); if ($_GET["product_id"] == "") { $operations = OperationData::getAllByDateOfficial($_GET["sd"], $_GET["ed"]); } else { $operations = OperationData::getAllByDateOfficialBP($_GET["product_id"], $_GET["sd"], $_GET["ed"]); } ?> <?php if (count($operations) > 0) { ?> <table class="table table-bordered"> <thead> <th>Id</th> <th>Producto</th> <th>Cantidad</th> <th>Operacion</th> <th>Fecha</th>