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

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ProgressIndicator?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?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.Pane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

<AnchorPane fx:id="AnchorPrincipal" minHeight="642.0" minWidth="796.0" prefHeight="642.0" prefWidth="796.0" style="-fx-background-color: rgba(0,0,0,0.6);" styleClass="AnchorPane-Default" stylesheets="@../../Public/CSS/StylePrincipal.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"  xmlns:fx="http://javafx.com/fxml/1">
    <children>
      <StackPane prefHeight="150.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
         <children>
            <AnchorPane maxHeight="642.0" maxWidth="796.0" minHeight="642.0" minWidth="796.0" prefHeight="642.0" prefWidth="796.0" style="-fx-background-radius: 10 10 0 0; -fx-border-color: #000000; -fx-border-radius: 10 10 0 0;" styleClass="AnchorPane-Default">
               <children>
                  <Pane maxHeight="30.0" maxWidth="796.0" minHeight="30.0" minWidth="796.0" prefHeight="30.0" prefWidth="796.0" style="-fx-background-color: linear-gradient(to bottom, #585858, #333333); -fx-background-radius: 10 10 0 0;" />
                  <ProgressIndicator fx:id="ProgressReglement" layoutX="246.0" layoutY="237.0" prefHeight="202.0" prefWidth="315.0" AnchorPane.bottomAnchor="150.0" AnchorPane.leftAnchor="240.0" AnchorPane.rightAnchor="240.0" AnchorPane.topAnchor="150.0" />
                  <AnchorPane fx:id="PaneDetailReglement" layoutY="30.0" minWidth="796.0" prefHeight="561.0" prefWidth="796.0" visible="false">
                     <children>
                        <GridPane layoutX="12.0" layoutY="30.0" prefHeight="74.0" prefWidth="766.0">
                           <children>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Type Paiement:" GridPane.columnIndex="3" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Mode Paiement:" GridPane.columnIndex="6" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Profile:" GridPane.rowIndex="2">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextCodeReglement" strokeType="OUTSIDE" strokeWidth="0.0" text="vvv" GridPane.columnIndex="1" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextTypePaiement" strokeType="OUTSIDE" strokeWidth="0.0" text="vvv" GridPane.columnIndex="4" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextModePaiement" strokeType="OUTSIDE" strokeWidth="0.0" text="vvvx" GridPane.columnIndex="7" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                              <Text fill="#478fca" strokeType="OUTSIDE" strokeWidth="0.0" text="Information Règlement">
                                 <font>
                                    <Font name="Arial" size="18.0" />
                                 </font>
                              </Text>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Code Réglement:" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date Création:" GridPane.columnIndex="6" GridPane.rowIndex="2">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Total Réglement:" GridPane.columnIndex="3" GridPane.rowIndex="2">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextProfile" strokeType="OUTSIDE" strokeWidth="0.0" text="vvv" GridPane.columnIndex="1" GridPane.rowIndex="2">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextTotalReglement" strokeType="OUTSIDE" strokeWidth="0.0" text="vvv" GridPane.columnIndex="4" GridPane.rowIndex="2">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextDateCreation" strokeType="OUTSIDE" strokeWidth="0.0" text="vvv" GridPane.columnIndex="7" GridPane.rowIndex="2">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                           </children>
                           <columnConstraints>
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="120.0" minWidth="120.0" prefWidth="120.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="80.0" prefWidth="80.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="20.0" prefWidth="20.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="120.0" minWidth="120.0" prefWidth="120.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="60.0" prefWidth="60.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="20.0" prefWidth="20.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="110.0" minWidth="110.0" prefWidth="110.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="90.0" prefWidth="90.0" />
                           </columnConstraints>
                           <rowConstraints>
                              <RowConstraints minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
                              <RowConstraints minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
                              <RowConstraints minHeight="35.0" prefHeight="35.0" vgrow="SOMETIMES" />
                           </rowConstraints>
                        </GridPane>
                        <GridPane layoutX="14.0" layoutY="147.0" prefHeight="58.0" prefWidth="756.0">
                           <children>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom:" GridPane.columnIndex="3" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Télé 1:" GridPane.columnIndex="6" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextCodeFrs" strokeType="OUTSIDE" strokeWidth="0.0" text="vvv" GridPane.columnIndex="1" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextNomFrs" strokeType="OUTSIDE" strokeWidth="0.0" text="vvv" GridPane.columnIndex="4" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                              <Text fill="#478fca" strokeType="OUTSIDE" strokeWidth="0.0" text="Information Fournisseur">
                                 <font>
                                    <Font name="Arial" size="18.0" />
                                 </font>
                              </Text>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Code:" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Télé 2:" GridPane.columnIndex="9" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextTele1Frs" strokeType="OUTSIDE" strokeWidth="0.0" text="vvv" GridPane.columnIndex="7" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                              <Text fx:id="TextTele2Frs" strokeType="OUTSIDE" strokeWidth="0.0" text="vvv" GridPane.columnIndex="10" GridPane.rowIndex="1">
                                 <font>
                                    <Font name="Arial Bold" size="15.0" />
                                 </font>
                              </Text>
                           </children>
                           <columnConstraints>
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="50.0" minWidth="50.0" prefWidth="50.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="50.0" prefWidth="50.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="20.0" prefWidth="20.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="50.0" minWidth="50.0" prefWidth="50.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="100.0" prefWidth="100.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="20.0" prefWidth="20.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="60.0" minWidth="60.0" prefWidth="60.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="80.0" prefWidth="80.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="20.0" prefWidth="20.0" />
                              <ColumnConstraints hgrow="SOMETIMES" maxWidth="60.0" minWidth="60.0" prefWidth="60.0" />
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="80.0" prefWidth="80.0" />
                           </columnConstraints>
                           <rowConstraints>
                              <RowConstraints minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
                              <RowConstraints minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
                           </rowConstraints>
                        </GridPane>
                        <TabPane fx:id="TabPaneCommande" layoutX="20.0" layoutY="249.0" prefHeight="298.0" prefWidth="756.0" styleClass="Table-Pane" tabClosingPolicy="UNAVAILABLE">
                           <tabs>
                              <Tab text="Détail Paiement">
                                 <content>
                                    <AnchorPane prefHeight="200.0" prefWidth="200.0">
                                       <children>
                                          <AnchorPane layoutX="27.0" minHeight="146.0" minWidth="734.0" prefHeight="146.0" prefWidth="734.0" style="-fx-border-color: #428BCA; -fx-border-radius: 5px 5px 0px 0px;" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0">
                                             <children>
                                                <TableView fx:id="TableViewListeCheque" layoutX="3.0" layoutY="3.0" prefHeight="228.0" prefWidth="556.0" style="-fx-border-color: #FFFFFF;" visible="false" AnchorPane.bottomAnchor="1.0" AnchorPane.leftAnchor="2.0" AnchorPane.rightAnchor="2.0" AnchorPane.topAnchor="2.0">
                                                   <columnResizePolicy>
                                                      <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
                                                   </columnResizePolicy>
                                                   <columns>
                                                      <TableColumn fx:id="TabColDateCheque" maxWidth="330.0" minWidth="110.0" prefWidth="110.0" text="Date" />
                                                      <TableColumn fx:id="TabColNumeroCheque" maxWidth="489.0" minWidth="163.0" prefWidth="163.0" text="Numéro Chéque" />
                                                      <TableColumn fx:id="TabColBanqueCheque" maxWidth="330.0" minWidth="110.0" prefWidth="110.0" text="Banque" />
                                                      <TableColumn fx:id="TabColMontantCheque" maxWidth="489.0" minWidth="163.0" prefWidth="163.0" text="Montant" />
                                                   </columns>
                                                </TableView>
                                                <TableView fx:id="TableViewListeTraite" layoutX="3.0" layoutY="3.0" prefHeight="148.0" prefWidth="506.0" style="-fx-border-color: #FFFFFF;" visible="false" AnchorPane.bottomAnchor="2.0" AnchorPane.leftAnchor="2.0" AnchorPane.topAnchor="2.0">
                                                   <columnResizePolicy>
                                                      <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
                                                   </columnResizePolicy>
                                                   <columns>
                                                      <TableColumn fx:id="TabColDateTraite" maxWidth="330.0" minWidth="110.0" prefWidth="110.0" text="Date" />
                                                      <TableColumn fx:id="TabColMontantTraite" maxWidth="489.0" minWidth="163.0" prefWidth="163.0" text="Montant" />
                                                   </columns>
                                                </TableView>
                                                <GridPane fx:id="GridPaneCheque" layoutX="14.0" layoutY="3.0" prefHeight="119.0" prefWidth="548.0" visible="false" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="10.0">
                                                   <children>
                                                      <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom Banque">
                                                         <font>
                                                            <Font name="Arial" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Numéro Chéque" GridPane.rowIndex="1">
                                                         <font>
                                                            <Font name="Arial" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom Complé" GridPane.rowIndex="2">
                                                         <font>
                                                            <Font name="Arial" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date Chéque" GridPane.rowIndex="3">
                                                         <font>
                                                            <Font name="Arial" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text fx:id="TextChequeNomBanque" strokeType="OUTSIDE" strokeWidth="0.0" text="Nom Banque" GridPane.columnIndex="1">
                                                         <font>
                                                            <Font name="Arial Bold" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text fx:id="TextChequeNumero" strokeType="OUTSIDE" strokeWidth="0.0" text="Nom Banque" GridPane.columnIndex="1" GridPane.rowIndex="1">
                                                         <font>
                                                            <Font name="Arial Bold" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text fx:id="TextChequeNomComple" strokeType="OUTSIDE" strokeWidth="0.0" text="Nom Banque" GridPane.columnIndex="1" GridPane.rowIndex="2">
                                                         <font>
                                                            <Font name="Arial Bold" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text fx:id="TextChequeDate" strokeType="OUTSIDE" strokeWidth="0.0" text="Nom Banque" GridPane.columnIndex="1" GridPane.rowIndex="3">
                                                         <font>
                                                            <Font name="Arial Bold" size="16.0" />
                                                         </font>
                                                      </Text>
                                                   </children>
                                                   <columnConstraints>
                                                      <ColumnConstraints hgrow="SOMETIMES" maxWidth="132.0" minWidth="10.0" prefWidth="126.0" />
                                                      <ColumnConstraints hgrow="SOMETIMES" maxWidth="500.0" minWidth="250.0" prefWidth="250.0" />
                                                   </columnConstraints>
                                                   <rowConstraints>
                                                      <RowConstraints maxHeight="70.0" minHeight="30.0" vgrow="SOMETIMES" />
                                                      <RowConstraints maxHeight="70.0" minHeight="30.0" vgrow="SOMETIMES" />
                                                      <RowConstraints maxHeight="70.0" minHeight="30.0" vgrow="SOMETIMES" />
                                                      <RowConstraints maxHeight="70.0" minHeight="30.0" vgrow="SOMETIMES" />
                                                   </rowConstraints>
                                                </GridPane>
                                                <GridPane fx:id="GridPaneCarte" prefHeight="119.0" prefWidth="533.0" visible="false" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="10.0">
                                                   <children>
                                                      <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom Banque:">
                                                         <font>
                                                            <Font name="Arial" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Numéro Carte:" GridPane.rowIndex="1">
                                                         <font>
                                                            <Font name="Arial" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Numéro Transaction:" GridPane.rowIndex="2">
                                                         <font>
                                                            <Font name="Arial" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date Heur Transaction:" GridPane.rowIndex="3">
                                                         <font>
                                                            <Font name="Arial" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text fx:id="TextCartNomBanque" strokeType="OUTSIDE" strokeWidth="0.0" text="Nom Banque:" GridPane.columnIndex="1">
                                                         <font>
                                                            <Font name="Arial Bold" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text fx:id="TextCartNumeroCart" strokeType="OUTSIDE" strokeWidth="0.0" text="Nom Banque:" GridPane.columnIndex="1" GridPane.rowIndex="1">
                                                         <font>
                                                            <Font name="Arial Bold" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text fx:id="TextCartNumeroTransaction" strokeType="OUTSIDE" strokeWidth="0.0" text="Nom Banque:" GridPane.columnIndex="1" GridPane.rowIndex="2">
                                                         <font>
                                                            <Font name="Arial Bold" size="16.0" />
                                                         </font>
                                                      </Text>
                                                      <Text fx:id="TextCartDateHeurTransaction" strokeType="OUTSIDE" strokeWidth="0.0" text="Nom Banque:" GridPane.columnIndex="1" GridPane.rowIndex="3">
                                                         <font>
                                                            <Font name="Arial Bold" size="16.0" />
                                                         </font>
                                                      </Text>
                                                   </children>
                                                   <columnConstraints>
                                                      <ColumnConstraints hgrow="SOMETIMES" maxWidth="170.0" minWidth="10.0" prefWidth="170.0" />
                                                      <ColumnConstraints hgrow="SOMETIMES" maxWidth="500.0" minWidth="200.0" prefWidth="219.0" />
                                                   </columnConstraints>
                                                   <rowConstraints>
                                                      <RowConstraints maxHeight="70.0" minHeight="30.0" vgrow="SOMETIMES" />
                                                      <RowConstraints maxHeight="70.0" minHeight="30.0" vgrow="SOMETIMES" />
                                                      <RowConstraints maxHeight="70.0" minHeight="30.0" vgrow="SOMETIMES" />
                                                      <RowConstraints maxHeight="70.0" minHeight="30.0" vgrow="SOMETIMES" />
                                                   </rowConstraints>
                                                </GridPane>
                                             </children>
                                          </AnchorPane>
                                       </children>
                                    </AnchorPane>
                                 </content>
                              </Tab>
                              <Tab text="Liste des Factures">
                                 <content>
                                    <AnchorPane fx:id="AnchorPaneModierProduit" prefHeight="200.0" prefWidth="200.0">
                                       <children>
                                          <AnchorPane id="AnchorPane" layoutY="7.0" prefHeight="155.0" prefWidth="734.0" styleClass="panel-bleu" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="7.0">
                                             <children>
                                                <TableView fx:id="TableViewFactureFrs" editable="true" prefHeight="266.0" prefWidth="764.0" style="-fx-border-color: #FFFFFF;" AnchorPane.bottomAnchor="1.0" AnchorPane.leftAnchor="1.0" AnchorPane.rightAnchor="1.0" AnchorPane.topAnchor="1.0">
                                                   <columnResizePolicy>
                                                      <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
                                                   </columnResizePolicy>
                                                   <columns>
                                                      <TableColumn fx:id="TabColNumeroFact" maxWidth="300.0" minWidth="100.0" prefWidth="100.0" text="Numéro" />
                                                      <TableColumn fx:id="TabColProfile" maxWidth="400.0" minWidth="120.0" prefWidth="120.0" text="Profile" />
                                                      <TableColumn fx:id="TabColLocalReception" maxWidth="400.0" minWidth="120.0" prefWidth="120.0" text="Local Réception" />
                                                      <TableColumn fx:id="TabColDate" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" text="Date" />
                                                      <TableColumn fx:id="TabColHeur" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" text="Heur" />
                                                      <TableColumn fx:id="TabColNetPayer" maxWidth="300.0" minWidth="120.0" prefWidth="120.0" text="Net A Payer" />
                                                   </columns>
                                                </TableView>
                                             </children>
                                          </AnchorPane>
                                       </children>
                                    </AnchorPane>
                                 </content>
                              </Tab>
                           </tabs>
                        </TabPane>
                     </children>
                  </AnchorPane>
                  <Button layoutX="701.0" layoutY="598.0" mnemonicParsing="false" onAction="#ExitButtonAction" prefHeight="30.0" prefWidth="72.0" styleClass="btn-simple" text="Annuler" />
               </children>
            </AnchorPane>
         </children>
      </StackPane>
   </children>
</AnchorPane>
