Menu Principal Inicio

Totales($_SESSION["idsucursal"]); while ($reg_Global= $query_Global->fetch_object()) { $moneda=$reg_Global->moneda; $totalingreso=$reg_Global->totalingreso; $totalcontado=$reg_Global->totalcontado; $totalcredito=$reg_Global->totalcredito; $texto9=$reg_Global->texto9; $texto10=$reg_Global->texto10; } require_once "model/Grafico.php"; $objGlobal = new Grafico(); $query_Global = $objGlobal->Totales($_SESSION["idsucursal"]); while ($reg_Global= $query_Global->fetch_object()) { $moneda=$reg_Global->moneda; $texto1=$reg_Global->texto1; $texto2=$reg_Global->texto2; $texto3=$reg_Global->texto3; $texto4=$reg_Global->texto4; $texto5=$reg_Global->texto5; $texto6=$reg_Global->texto6; $texto7=$reg_Global->texto7; $texto8=$reg_Global->texto8; $texto9=$reg_Global->texto9; $texto10=$reg_Global->texto10; $texto11=$reg_Global->texto11; $texto12=$reg_Global->texto12; $totalingreso=$reg_Global->totalingreso; $totalcontado=$reg_Global->totalcontado; $totalcredito=$reg_Global->totalcredito; $total3=$reg_Global->totalstock; $totalgastos=$reg_Global->totalgastos; $totalconserial=$reg_Global->totalconserial; $totalsinserialextra=$reg_Global->totalsinserial; $totalsininventario=$reg_Global->totalsininventario; $totalsinserial=$totalsinserialextra+$totalsininventario; $totalinicial=$reg_Global->totalinicial; $totalservicio=$reg_Global->totalservicio; $totalcaja=$totalsinserial+$totalconserial+$totalservicio+$totalinicial-$totalgastos; } $idsucursal=$_SESSION["idsucursal"]; $acumulado=0; include('dbcon.php'); $caja_query=mysqli_query($con,"select * from caja where estado='abierto' and idsucursal='$idsucursal' ")or die(mysqli_error()); $i=0; while($row_caja=mysqli_fetch_array($caja_query)){ $acumulado=$row_caja['monto']; } ?>

(Control-Orden-Trabajo)

Acceder

Gestion OT

(Gestiona y clasifica tus OT)

Acceder
ComprasMesSucursal($_SESSION["idsucursal"]); $query_ComprasMesSucursal2 = $obj->ComprasMesSucursal($_SESSION["idsucursal"]); $query_VentasMesSucursal = $obj->VentasMesSucursal($_SESSION["idsucursal"]); $query_VentasMesSucursal2 = $obj->VentasMesSucursal($_SESSION["idsucursal"]); $query_VentasDiasSucursal = $obj->VentasDiasSucursal($_SESSION["idsucursal"]); $query_VentasDiasSucursal2 = $obj->VentasDiasSucursal($_SESSION["idsucursal"]); $query_ProductosVendidosAno = $obj->ProductosVendidosAno($_SESSION["idsucursal"]); $query_ProductosVendidosAno2 = $obj->ProductosVendidosAno($_SESSION["idsucursal"]); ?>