Admin Dash
Admin Dash
Admin Dash
import app.pos.view.controller.MenuController;
import app.pos.view.controller.VentasController;
import com.dao.DAOLog;
import com.dao.DAOLoginAndSessions;
import com.dao.DAOProductos;
import com.model.db.DBProducto;
import com.tools.Session;
import de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.io.IOException;
import java.net.URL;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Optional;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;
import javafx.application.Platform;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.ButtonType;
import javafx.scene.control.Label;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.TextField;
import javafx.scene.image.ImageView;
import javafx.scene.input.KeyEvent;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.HBox;
import javafx.stage.Modality;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
/**
*
* @author KROKSYSTEM RAMON
*/
public class AdminDash implements Initializable {
@FXML
public ScrollPane body;
@FXML
private TextField tfBuscar;
@FXML
private FontAwesomeIcon faiMenu = new FontAwesomeIcon();
@FXML
private FontAwesomeIcon faExit = new FontAwesomeIcon();
@FXML
private FontAwesomeIcon faBuscar = new FontAwesomeIcon();
@FXML
private HBox hbUtilidades;
@FXML
private HBox hbOperacionesInventario;
@FXML
private HBox hbListarTodo;
@FXML
private HBox hbAgregarProducto;
@FXML
private HBox hbActualizarProducto;
@FXML
private HBox hbFamiliasProveedores;
@FXML
private HBox hbClientes;
@FXML
private HBox hbUsuarios;
@FXML
private HBox hbPedidos;
@FXML
private HBox hbTicket;
@FXML
private HBox hbPaquetes;
@FXML
private HBox hbLog;
@FXML
private HBox hbInventarioMinimo = new HBox();
@FXML
private HBox hbInventarioMaximo = new HBox();
@FXML
private Label labelInventarioMinimo = new Label();
@FXML
private Label labelInventarioMaximo = new Label();
@FXML
private ImageView imgInventarioMin = new ImageView();
@FXML
private ImageView imgInventarioMax = new ImageView();