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

<?import javafx.scene.Group?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ProgressIndicator?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<?import javafx.scene.text.TextFlow?>

<AnchorPane id="AnchorPane" fx:id="AnchorPrincipal" minHeight="662.0" minWidth="816.0" prefHeight="662.0" prefWidth="816.0" style="-fx-background-color: rgba(0,0,0,0.6);" styleClass="AnchorPane-Default" stylesheets="@../../Public/CSS/StylePrincipal.css" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1">
   <children>
      <StackPane prefHeight="593.0" prefWidth="757.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
         <children>
            <AnchorPane prefHeight="200.0" prefWidth="200.0" stylesheets="@../../Public/CSS/StyleSheetPrint.css" visible="false">
               <children>
                  <TableView fx:id="TableViewListeProduitTempo" editable="true" prefHeight="514.0" prefWidth="487.0">
                     <columns>
                        <TableColumn fx:id="TabColReferenceTempo" prefWidth="48.0" text="Code" />
                        <TableColumn fx:id="TabColDesignationTempo" maxWidth="164.0" minWidth="164.0" prefWidth="164.0" sortType="DESCENDING" text="Désignation" />
                        <TableColumn fx:id="TabColQuantiteTempo" prefWidth="40.0" text="Qté" />
                        <TableColumn fx:id="TabColPrixHTTempo" prefWidth="43.0" text="P.U.H.T " />
                        <TableColumn fx:id="TabColRemiseTempo" prefWidth="46.0" text="Remise" />
                        <TableColumn fx:id="TabColTotalHTTempo" prefWidth="52.0" text="Total H.T" />
                        <TableColumn fx:id="TabColTVATempo" prefWidth="34.0" text="TVA" />
                        <TableColumn fx:id="TabColTotalTTCTempo" prefWidth="56.0" text="Total TTC" />
                     </columns>
                  </TableView>
               </children>
            </AnchorPane>
            <AnchorPane maxHeight="662.0" maxWidth="816.0" minHeight="662.0" minWidth="816.0" prefHeight="662.0" prefWidth="816.0" style="-fx-background-color: #FFFFFF;">
               <children>
                  <AnchorPane fx:id="AnchorSecondaire" prefHeight="662.0" prefWidth="816.0" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                     <children>
                        <StackPane layoutX="-8.0" layoutY="-1.0" prefHeight="48.0" prefWidth="200.0" AnchorPane.leftAnchor="-8.0" AnchorPane.rightAnchor="8.0">
                           <children>
                              <Group>
                                 <children>
                                    <Text fx:id="TextIdBonLivraison" fill="#478fca" layoutX="268.0" layoutY="77.0" strokeType="OUTSIDE" strokeWidth="0.0" text="125">
                                       <font>
                                          <Font name="Arial Bold" size="22.0" />
                                       </font>
                                    </Text>
                                    <Text fx:id="Monprofilenomprenom1" fill="#478fca" layoutX="125.0" layoutY="77.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Bon livraison N°">
                                       <font>
                                          <Font name="Arial" size="20.0" />
                                       </font>
                                    </Text>
                                 </children>
                              </Group>
                           </children>
                        </StackPane>
                        <AnchorPane layoutX="424.0" layoutY="54.0" prefHeight="133.0" prefWidth="370.0" styleClass="panel-default">
                           <children>
                              <AnchorPane layoutX="2.0" layoutY="2.0" prefHeight="25.0" prefWidth="265.0" styleClass="panel-default-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                                 <children>
                                    <Text fontSmoothingType="LCD" layoutX="140.0" layoutY="19.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Détail client">
                                       <font>
                                          <Font name="Arial" size="17.0" />
                                       </font>
                                    </Text>
                                 </children>
                              </AnchorPane>
                              <GridPane layoutX="13.0" layoutY="31.0" prefHeight="97.0" prefWidth="356.0" AnchorPane.bottomAnchor="6.0" AnchorPane.leftAnchor="12.0" AnchorPane.rightAnchor="2.0">
                                <columnConstraints>
                                  <ColumnConstraints hgrow="SOMETIMES" maxWidth="170.0" minWidth="10.0" prefWidth="65.0" />
                                  <ColumnConstraints hgrow="SOMETIMES" maxWidth="290.0" minWidth="10.0" prefWidth="290.0" />
                                </columnConstraints>
                                <rowConstraints>
                                  <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                                  <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                                  <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                                    <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                                </rowConstraints>
                                 <children>
                                    <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Client:">
                                       <font>
                                          <Font name="Arial" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom:" GridPane.rowIndex="1">
                                       <font>
                                          <Font name="Arial" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Prénom:" GridPane.rowIndex="2">
                                       <font>
                                          <Font name="Arial" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Adresse:" GridPane.rowIndex="3">
                                       <font>
                                          <Font name="Arial" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text fx:id="TextTypeClt" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:" GridPane.columnIndex="1">
                                       <font>
                                          <Font name="Arial Bold" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text fx:id="TextNom" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:" GridPane.columnIndex="1" GridPane.rowIndex="1">
                                       <font>
                                          <Font name="Arial Bold" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text fx:id="TextPrenom" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:" GridPane.columnIndex="1" GridPane.rowIndex="2">
                                       <font>
                                          <Font name="Arial Bold" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text fx:id="TextAdressClt" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:" GridPane.columnIndex="1" GridPane.rowIndex="3">
                                       <font>
                                          <Font name="Arial Bold" size="15.0" />
                                       </font>
                                    </Text>
                                 </children>
                              </GridPane>
                           </children>
                        </AnchorPane>
                        <AnchorPane layoutX="39.0" layoutY="54.0" prefHeight="133.0" prefWidth="267.0" styleClass="panel-default">
                           <children>
                              <AnchorPane layoutX="2.0" layoutY="1.0" prefHeight="25.0" prefWidth="265.0" styleClass="panel-default-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                                 <children>
                                    <Text fontSmoothingType="LCD" layoutX="78.0" layoutY="18.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Détail création">
                                       <font>
                                          <Font name="Arial" size="17.0" />
                                       </font>
                                    </Text>
                                 </children>
                              </AnchorPane>
                              <GridPane layoutX="13.0" layoutY="29.0" prefHeight="96.0" prefWidth="253.0" AnchorPane.bottomAnchor="16.0" AnchorPane.leftAnchor="12.0" AnchorPane.rightAnchor="2.0" AnchorPane.topAnchor="28.0">
                                <columnConstraints>
                                  <ColumnConstraints hgrow="SOMETIMES" maxWidth="123.0" minWidth="10.0" prefWidth="98.0" />
                                  <ColumnConstraints halignment="LEFT" hgrow="NEVER" maxWidth="158.0" minWidth="10.0" prefWidth="157.0" />
                                </columnConstraints>
                                <rowConstraints>
                                  <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                                  <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                                  <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                                </rowConstraints>
                                 <children>
                                    <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:">
                                       <font>
                                          <Font name="Arial" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Locale:" GridPane.rowIndex="1">
                                       <font>
                                          <Font name="Arial" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Créer par:" GridPane.rowIndex="2">
                                       <font>
                                          <Font name="Arial" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text fx:id="TextDateCreation" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:" GridPane.columnIndex="1">
                                       <font>
                                          <Font name="Arial Bold" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text fx:id="TextLocale" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:" GridPane.columnIndex="1" GridPane.rowIndex="1">
                                       <font>
                                          <Font name="Arial Bold" size="15.0" />
                                       </font>
                                    </Text>
                                    <Text fx:id="TextNomPrenomProfile" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:" GridPane.columnIndex="1" GridPane.rowIndex="2">
                                       <font>
                                          <Font name="Arial Bold" size="15.0" />
                                       </font>
                                    </Text>
                                 </children>
                              </GridPane>
                           </children>
                        </AnchorPane>
                        <Text fx:id="Monprofilenomprenom12" fill="#478fca" layoutX="39.0" layoutY="268.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Détail de livraison">
                           <font>
                              <Font name="Arial" size="19.0" />
                           </font>
                        </Text>
                        <GridPane layoutX="39.0" layoutY="276.0" prefHeight="56.0" prefWidth="753.0">
                          <columnConstraints>
                            <ColumnConstraints hgrow="SOMETIMES" maxWidth="147.0" minWidth="101.0" prefWidth="118.0" />
                            <ColumnConstraints hgrow="SOMETIMES" maxWidth="274.0" minWidth="89.0" prefWidth="269.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="288.0" minWidth="108.0" prefWidth="119.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="246.0" minWidth="130.0" prefWidth="239.0" />
                          </columnConstraints>
                          <rowConstraints>
                            <RowConstraints vgrow="SOMETIMES" />
                            <RowConstraints vgrow="SOMETIMES" />
                          </rowConstraints>
                           <children>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Heur de livraison:">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date de livraison:" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Transporteur:" GridPane.columnIndex="2">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Frais de livraison:" GridPane.columnIndex="2" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextHeurLivraison" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:" GridPane.columnIndex="1">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextDateLivraison" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:" GridPane.columnIndex="1" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextTransporteur" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:" GridPane.columnIndex="3">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextFraisLivraison" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:" GridPane.columnIndex="3" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                           </children>
                        </GridPane>
                        <TableView fx:id="TableViewListeProduit" layoutX="39.0" layoutY="409.0" prefHeight="193.0" prefWidth="753.0" style="-fx-border-color: #35aa47;">
                           <columnResizePolicy>
                              <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
                           </columnResizePolicy>
                           <columns>
                              <TableColumn fx:id="TabColReference" maxWidth="330.0" minWidth="110.0" prefWidth="110.0" text="Référence" />
                              <TableColumn fx:id="TabColDesignation" maxWidth="489.0" minWidth="163.0" prefWidth="163.0" text="Désignation" />
                              <TableColumn fx:id="TabColQuantite" maxWidth="225.0" minWidth="75.0" prefWidth="75.0" text="Quantité" />
                              <TableColumn fx:id="TabColPrixHT" maxWidth="222.0" minWidth="74.0" prefWidth="74.0" text="P.U.H.T" />
                              <TableColumn fx:id="TabColRemise" maxWidth="264.0" minWidth="88.0" prefWidth="88.0" text="Remise(%)" />
                              <TableColumn fx:id="TabColTotalHT" maxWidth="210.0" minWidth="70.0" prefWidth="70.0" text="Total H.T" />
                              <TableColumn fx:id="TabColTVA" maxWidth="132.0" minWidth="44.0" prefWidth="44.0" text="TVA" />
                              <TableColumn fx:id="TabColTotalTTC" maxWidth="261.0" minWidth="87.0" prefWidth="87.0" text="Total TTC" />
                           </columns>
                        </TableView>
                        <Text layoutX="39.0" layoutY="354.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Adresse de livraison:">
                           <font>
                              <Font name="Arial" size="15.0" />
                           </font>
                        </Text>
                        <Text fx:id="Monprofilenomprenom121" fill="#478fca" layoutX="39.0" layoutY="397.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Liste des produits">
                           <font>
                              <Font name="Arial" size="19.0" />
                           </font>
                        </Text>
                        <StackPane layoutX="42.0" layoutY="606.0" prefHeight="48.0" prefWidth="663.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
                           <children>
                              <Button mnemonicParsing="false" onAction="#ExitButtonAction" prefHeight="31.0" prefWidth="116.0" styleClass="btn-default" text="Quiter" />
                           </children>
                        </StackPane>
                        <TextFlow layoutX="185.0" layoutY="340.0" prefHeight="40.0" prefWidth="448.0">
                           <children>
                              <Text fx:id="TextAdressLivraison" strokeType="OUTSIDE" strokeWidth="0.0" text="Date création:">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                           </children>
                        </TextFlow>
                        <GridPane fx:id="GridPaneBonLivraion" layoutX="102.0" layoutY="200.0" prefHeight="30.0" prefWidth="700.0" AnchorPane.leftAnchor="102.0" AnchorPane.rightAnchor="14.0">
                           <children>
                              <Button alignment="CENTER_RIGHT" mnemonicParsing="false" onAction="#PDFBonLivraisonCltButtonAction" prefHeight="30.0" prefWidth="120.0" styleClass="btn-icon-PDF" text="Exporter PDF" />
                              <Button alignment="CENTER_RIGHT" graphicTextGap="10.0" mnemonicParsing="false" prefHeight="30.0" prefWidth="120.0" styleClass="btn-icon-Excel" text="Exporter Exel" textAlignment="CENTER" visible="false" GridPane.columnIndex="1" />
                              <Button mnemonicParsing="false" onAction="#PrintBonLivraisonCltButtonAction" prefHeight="33.0" prefWidth="105.0" styleClass="btn-icon-Print" text="Imprimer" GridPane.columnIndex="2" />
                           </children>
                           <columnConstraints>
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
                           </columnConstraints>
                           <rowConstraints>
                              <RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
                           </rowConstraints>
                        </GridPane>
                     </children>
                  </AnchorPane>
                  <ProgressIndicator fx:id="ProgressBonLivraion" layoutX="353.0" layoutY="276.0" prefHeight="110.0" prefWidth="110.0" />
               </children></AnchorPane>
         </children>
      </StackPane>
   </children>
</AnchorPane>
