<?xml version="1.0" encoding="UTF-8"?>

<?import java.net.URL?>
<?import javafx.scene.control.Accordion?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.paint.Color?>
<?import javafx.scene.shape.Circle?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<?scenebuilder-stylesheet ../Public/CSS/StylePrincipal.css?>

<AnchorPane fx:id="Content" prefHeight="690.0" prefWidth="1024.0" stylesheets="@../Public/CSS/StylePrincipal.css" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="Controllers.PrincipalController">
  <children>
      <AnchorPane prefHeight="48.0" prefWidth="229.0" styleClass="pane2hautdroit" AnchorPane.topAnchor="0.0">
         <children>
            <ImageView fx:id="ImageViewLogoPrincipal" pickOnBounds="true" preserveRatio="true" />
         </children>
      </AnchorPane>
    <Pane prefHeight="94.0" prefWidth="228.0" styleClass="PaneProfilGauche" stylesheets="@../Public/CSS/StyleSheetProfile.css" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="48.0">
      <children>
        <Label fx:id="UsernomprenomBlad" layoutX="62.0" layoutY="11.0" text="Maher Ben Tili" textFill="WHITE">
          <font>
            <Font name="Vrinda Bold" size="17.0" />
          </font>
        </Label>
        <HBox id="HBox" alignment="CENTER" layoutX="59.0" layoutY="40.0" spacing="5.0">
          <children>
            <Circle radius="6.51953125" stroke="BLACK" strokeType="INSIDE">
              <fill>
                <Color red="0.000" green="0.800" blue="0.128" fx:id="x1" />
              </fill>
            </Circle>
            <Text fill="$x1" strokeType="OUTSIDE" strokeWidth="0.0" text="Online" />
          </children>
        </HBox>
        <ImageView id="Usericon" fx:id="ImageViewProfile" layoutX="10.0" layoutY="23.0" pickOnBounds="true">
          <image>
            <Image preserveRatio="true" smooth="true" url="@../Public/icon/Usericon.png" />
          </image>
        </ImageView>
            <Label fx:id="LabelDefaultLocal" layoutX="62.0" layoutY="65.0" text="----------" textFill="WHITE">
               <font>
                  <Font name="Arial" size="13.0" />
               </font>
            </Label>
      </children>
    </Pane>
    <Pane layoutX="-1.0" layoutY="141.2" prefHeight="549.0" prefWidth="229.0" styleClass="PaneAccordion" AnchorPane.bottomAnchor="0.0" AnchorPane.topAnchor="141.0">
      <children>
        <Accordion fx:id="accord" layoutX="0.0" layoutY="0.0" prefHeight="481.0" prefWidth="228.0">
          <panes>
            <TitledPane fx:id="TitledPaneAccueil" animated="false" styleClass="dashboard" text="Accueil">
              <content>
                <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" styleClass="AnchorPane">
                  <children>
                    <Button layoutX="0.0" layoutY="0.0" mnemonicParsing="false" onAction="#DashbordButtonAction" prefHeight="30.3037109375" prefWidth="220.0" styleClass="ButtonAnchorPane" text="Tableau de bord">
                      <textFill>
                        <Color red="0.345" green="0.345" blue="0.353" fx:id="x7" />
                      </textFill>
                    </Button>
                    <Button layoutX="0.0" layoutY="31.0" mnemonicParsing="false" onAction="#AideButtonAction" prefHeight="30.3037109375" prefWidth="220.0" styleClass="ButtonAnchorPane" text="Aide et assistance" textFill="$x7" />
                              <Button layoutY="132.0" mnemonicParsing="false" onAction="#ContactButtonAction" prefHeight="30.3037109375" prefWidth="220.0" styleClass="ButtonAnchorPane" text="Contactez nous" textFill="$x7" visible="false" />
                              <Button layoutY="99.0" mnemonicParsing="false" onAction="#LogicielButtonAction" prefHeight="30.3037109375" prefWidth="220.0" styleClass="ButtonAnchorPane" text="Détail logiciel" textFill="$x7" />
                              <Button layoutY="67.0" mnemonicParsing="false" onAction="#MentionsButtonAction" prefHeight="30.3037109375" prefWidth="220.0" styleClass="ButtonAnchorPane" text="Mentions légales">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x77" />
                                 </textFill>
                              </Button>
                  </children>
                </AnchorPane>
              </content>
            </TitledPane>
            <TitledPane fx:id="TitledPaneAchat" animated="false" prefHeight="300.0" prefWidth="228.0" styleClass="achat" text="Achat">
              <content>
                <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="192.0" prefWidth="224.0" styleClass="AnchorPane">
                           <children>
                              <Button layoutY="66.0" mnemonicParsing="false" onAction="#FactureFrsButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Facture" textFill="$x7" />
                              <Button layoutY="2.0" mnemonicParsing="false" onAction="#FournisseurButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Fournisseur">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x75" />
                                 </textFill>
                              </Button>
                              <Button layoutY="34.0" mnemonicParsing="false" onAction="#BonReceptionButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Bon réception">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x751" />
                                 </textFill>
                              </Button>
                              <Button layoutY="98.0" mnemonicParsing="false" onAction="#ReglementButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Réglement">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x7511" />
                                 </textFill>
                              </Button>
                           </children></AnchorPane>
              </content>
            </TitledPane>
            <TitledPane id="x2" fx:id="TitledPaneVente" styleClass="vente" text="Vente">
              <content>
                <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="404.0" prefWidth="199.9998779296875" styleClass="AnchorPane">
                           <children>
                              <Button layoutX="2.0" layoutY="32.0" mnemonicParsing="false" onAction="#PasserCommandeCltButtonAction" prefHeight="30.3037109375" prefWidth="224.0" styleClass="ButtonAnchorPane" text="Commande">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x71" />
                                 </textFill>
                              </Button>
                              <Button layoutX="2.0" layoutY="64.0" mnemonicParsing="false" onAction="#BonLivraisonCltButtonAction" prefHeight="30.3037109375" prefWidth="224.0" styleClass="ButtonAnchorPane" text="Bon livraison">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x72" />
                                 </textFill>
                              </Button>
                              <Button layoutX="2.0" layoutY="127.0" mnemonicParsing="false" onAction="#DevisCltButtonAction" prefHeight="30.3037109375" prefWidth="224.0" styleClass="ButtonAnchorPane" text="Devis">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x73" />
                                 </textFill>
                              </Button>
                              <Button layoutX="2.0" layoutY="95.0" mnemonicParsing="false" onAction="#FactureCltButtonAction" prefHeight="30.3037109375" prefWidth="224.0" styleClass="ButtonAnchorPane" text="Facture">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x74" />
                                 </textFill>
                              </Button>
                              <Button layoutX="2.0" layoutY="158.0" mnemonicParsing="false" onAction="#MenuClientButtonAction" prefHeight="30.3037109375" prefWidth="224.0" styleClass="ButtonAnchorPane" text="Client">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x731" />
                                 </textFill>
                              </Button>
                              <Button layoutX="2.0" layoutY="2.0" mnemonicParsing="false" onAction="#VenteRapideCltButtonAction" prefHeight="30.3037109375" prefWidth="224.0" styleClass="ButtonAnchorPane" text="Vente Rapide">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x711" />
                                 </textFill>
                              </Button>
                              <Button layoutX="2.0" layoutY="189.0" mnemonicParsing="false" onAction="#TraiteCltButtonAction" prefHeight="30.3037109375" prefWidth="224.0" styleClass="ButtonAnchorPane" text="Traite">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x7311" />
                                 </textFill>
                              </Button>
                           </children></AnchorPane>
              </content>
            </TitledPane>
            <TitledPane fx:id="TitledPaneStock" animated="false" styleClass="stock" text="Stock">
              <content>
                <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" styleClass="AnchorPane">
                           <children>
                              <Button mnemonicParsing="false" prefHeight="30.3037109375" prefWidth="220.0" styleClass="ButtonAnchorPane" text="Facture">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x751111" />
                                 </textFill>
                              </Button>
                              <Button mnemonicParsing="false" prefHeight="30.3037109375" prefWidth="220.0" styleClass="ButtonAnchorPane" text="Devis">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x75112" />
                                 </textFill>
                              </Button>
                              <Button mnemonicParsing="false" prefHeight="30.3037109375" prefWidth="220.0" styleClass="ButtonAnchorPane" text="Traite">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x7512" />
                                 </textFill>
                              </Button>
                              <Button mnemonicParsing="false" prefHeight="30.3037109375" prefWidth="220.0" styleClass="ButtonAnchorPane" text="Vente">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x752" />
                                 </textFill>
                              </Button>
                              <Button mnemonicParsing="false" onAction="#BondeEntrerButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Bon d'entrée" textFill="$x7" />
                              <Button layoutX="1.0" layoutY="30.0" mnemonicParsing="false" onAction="#BondeSortieButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Bon de sortie" textFill="$x7" />
                              <Button layoutY="61.0" mnemonicParsing="false" onAction="#EtatStockButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Etat de stock" textFill="$x7" />
                              <Button layoutY="88.0" mnemonicParsing="false" onAction="#GestionProduitButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Produit" textFill="$x7" />
                           </children></AnchorPane>
              </content>
            </TitledPane>
            <TitledPane fx:id="TitledPaneDiver" animated="false" prefHeight="250.0" prefWidth="228.0" styleClass="outil" text="Diver">
              <content>
                <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" styleClass="AnchorPane">
                           <children>
                              <Button layoutY="1.0" mnemonicParsing="false" onAction="#CaisseEntreButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Caisse Entrée">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x761" />
                                 </textFill>
                              </Button>
                              <Button layoutY="91.0" mnemonicParsing="false" onAction="#ChequeCltButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Chèque">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x76" />
                                 </textFill>
                              </Button>
                              <Button layoutY="31.0" mnemonicParsing="false" onAction="#CaisseSortieButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Caisse Sortie">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x7611" />
                                 </textFill>
                              </Button>
                              <Button layoutY="61.0" mnemonicParsing="false" onAction="#FraisButtonAction" prefHeight="30.3037109375" prefWidth="229.0" styleClass="ButtonAnchorPane" text="Frais">
                                 <textFill>
                                    <Color red="0.345" green="0.345" blue="0.353" fx:id="x76111" />
                                 </textFill>
                              </Button>
                           </children></AnchorPane>
              </content>
            </TitledPane>
          </panes>
          <stylesheets>
            <URL value="@../Public/CSS/StyleSheetAccordion.css" />
          </stylesheets>
        </Accordion>
      </children>
      <stylesheets>
        <URL value="@../Public/CSS/StyleSheetAccordion.css" />
      </stylesheets>
    </Pane>
      <AnchorPane fx:id="window" layoutX="228.0" layoutY="48.0" prefHeight="690.0" prefWidth="796.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="228.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
  </children>
</AnchorPane>
