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

<?import com.gluonhq.charm.glisten.control.ProgressBar?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.Group?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.DatePicker?>
<?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.HBox?>
<?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="AnchorPaneCaisseClt" minHeight="642.0" minWidth="796.0" prefHeight="642.0" prefWidth="796.0" 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="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="Controllers.Caisse.CaisseEntreController">
   <children>
      <Pane fx:id="TitrePane" layoutX="10.0" layoutY="10.0" prefHeight="52.0" prefWidth="796.0" styleClass="pane2hautdroit" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
         <children>
            <HBox alignment="BOTTOM_LEFT" layoutX="23.0" layoutY="13.1787109375">
               <children>
                  <Text fx:id="TitrePrincipale" layoutX="23.0" layoutY="34.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Caisse">
                     <font>
                        <Font name="Arial" size="23.0" />
                     </font>
                  </Text>
                  <Text layoutX="176.0" layoutY="31.0" strokeType="OUTSIDE" strokeWidth="0.0" text="  ">
                     <font>
                        <Font name="Arial" size="15.0" />
                     </font>
                  </Text>
                  <Text fx:id="TitreSecondaire" layoutX="163.0" layoutY="34.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Détaille des entrées">
                     <font>
                        <Font name="Arial" size="15.0" />
                     </font>
                  </Text>
               </children>
            </HBox>
         </children>
      </Pane>
      <StackPane layoutX="219.2" layoutY="125.0" prefHeight="35.0" prefWidth="468.0" AnchorPane.leftAnchor="219.2" AnchorPane.rightAnchor="109.60000000000014">
         <children>
            <Group>
               <StackPane.margin>
                  <Insets />
               </StackPane.margin>
            </Group>
            <Group>
               <children>
                  <CheckBox fx:id="CheckBoxEspace" mnemonicParsing="false" selected="true" text="Paiement Espèce" />
                  <CheckBox fx:id="CheckBoxChequeClt" layoutX="130.0" layoutY="1.0" mnemonicParsing="false" selected="true" text="Paiement Chèque" />
                  <CheckBox fx:id="CheckBoxCarteBancaire" layoutX="270.0" layoutY="2.0" mnemonicParsing="false" selected="true" text="Paiement Carte Bancaire" />
               </children>
            </Group>
         </children>
      </StackPane>
      <ProgressBar fx:id="ProgressBarCaisseEnterClt" layoutX="129.0" layoutY="165.0" prefHeight="5.0" prefWidth="200.0" scaleShape="false" visible="false" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="163.0" />
      <StackPane layoutX="244.0" layoutY="57.0" prefHeight="61.0" prefWidth="542.0" AnchorPane.leftAnchor="244.0" AnchorPane.rightAnchor="10.0">
         <children>
            <Group>
               <children>
                  <AnchorPane layoutY="0.2109375" prefHeight="51.0" prefWidth="210.0" style="-fx-background-color: #4F4F4F;">
                     <children>
                        <AnchorPane layoutY="3.0" prefHeight="62.0" prefWidth="62.0" style="-fx-background-color: #428BCA;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
                           <children>
                              <Text fill="WHITE" layoutX="18.0" layoutY="39.0" strokeType="OUTSIDE" strokeWidth="0.0" text="+">
                                 <font>
                                    <Font name="Arial Bold" size="40.0" />
                                 </font>
                              </Text>
                           </children>
                        </AnchorPane>
                        <Text fill="WHITE" layoutX="87.0" layoutY="44.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Total des entrées">
                           <font>
                              <Font name="Arial" size="13.0" />
                           </font>
                        </Text>
                        <StackPane layoutX="63.0" layoutY="2.0" prefHeight="26.0" prefWidth="149.0" AnchorPane.rightAnchor="0.0">
                           <children>
                              <Text fx:id="TotalEnter" fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="--">
                                 <font>
                                    <Font name="Arial Bold" size="16.0" />
                                 </font>
                              </Text>
                           </children>
                        </StackPane>
                     </children>
                  </AnchorPane>
               </children>
            </Group>
         </children>
      </StackPane>
      <Text layoutX="11.0" layoutY="80.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Date Début">
         <font>
            <Font name="Arial" size="14.0" />
         </font>
      </Text>
      <DatePicker fx:id="DatePickerDebut" layoutX="85.0" layoutY="61.0" prefHeight="28.0" prefWidth="132.0" />
      <Text layoutX="14.0" layoutY="115.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Date Fin">
         <font>
            <Font name="Arial" size="14.0" />
         </font>
      </Text>
      <DatePicker fx:id="DatePickerFin" layoutX="85.0" layoutY="98.0" prefHeight="28.0" prefWidth="132.0" />
      <Button fx:id="ButtonEnter" layoutX="11.0" layoutY="131.0" mnemonicParsing="false" prefHeight="29.0" prefWidth="129.0" styleClass="btn-success" text="Afficher" />
      <TabPane fx:id="TabPaneCommande" layoutX="10.0" layoutY="168.0" prefHeight="469.0" prefWidth="776.0" styleClass="Table-Pane" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="168.0">
         <tabs>
            <Tab text="Détail des Entées  (+)">
               <content>
                  <AnchorPane prefHeight="200.0" prefWidth="200.0">
                     <children>
                        <StackPane layoutX="10.0" layoutY="9.0" prefHeight="35.0" prefWidth="619.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="148.0">
                           <children>
                              <Group>
                                 <children>
                                    <CheckBox fx:id="CheckBoxVenteComptant" mnemonicParsing="false" selected="true" text="Vente Comptant " />
                                    <CheckBox fx:id="CheckBoxVenteFaciliteAvance" layoutX="132.0" mnemonicParsing="false" selected="true" text="Vente Facilité Avance" />
                                    <CheckBox fx:id="CheckBoxVenteCommandeAvance" layoutX="294.0" mnemonicParsing="false" selected="true" text="Vente Commande Avance" />
                                    <CheckBox fx:id="CheckBoxPaiementTraite" layoutX="477.0" mnemonicParsing="false" selected="true" text="Traite" />
                                    <CheckBox fx:id="CheckBoxVersementCheque" layoutX="550.0" mnemonicParsing="false" selected="true" text="Chèque" />
                                 </children>
                              </Group>
                           </children>
                        </StackPane>
                        <GridPane layoutX="646.0" layoutY="12.0" prefHeight="30.0" prefWidth="110.0" AnchorPane.rightAnchor="14.0">
                           <columnConstraints>
                              <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
                           </columnConstraints>
                           <rowConstraints>
                              <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                           </rowConstraints>
                           <children>
                              <Button fx:id="ButtonPrintCaisseEntre" mnemonicParsing="false" prefHeight="26.0" prefWidth="105.0" styleClass="btn-icon-Print" text="Imprimer" />
                           </children>
                        </GridPane>
                        <AnchorPane layoutY="58.0" minHeight="177.0" minWidth="751.0" prefHeight="372.0" prefWidth="754.0" styleClass="panel-bleu-titre" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="58.0">
                           <children>
                              <TableView fx:id="TableViewCaisseCltEnter" editable="true" layoutX="2.0" layoutY="-32.0" prefHeight="385.0" prefWidth="752.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="TabColIdCaisse" minWidth="20.0" prefWidth="20.0" text="Code" />
                                    <TableColumn fx:id="TabColType" minWidth="20.0" prefWidth="20.0" text="Type" />
                                    <TableColumn fx:id="TabColDate" minWidth="20.0" prefWidth="20.0" text="Date" />
                                    <TableColumn fx:id="TabColMontant" minWidth="20.0" prefWidth="20.0" text="Montant" />
                                    <TableColumn fx:id="TabColChequeClt" maxWidth="-1.0" minWidth="100.0" prefWidth="100.0" sortable="false" text="Chèque">
                                       <columns>
                                          <TableColumn fx:id="TabColChequeCltNumero" minWidth="20.0" prefWidth="20.0" text="Numéro" />
                                          <TableColumn fx:id="TabColChequeCltBanque" minWidth="30.0" prefWidth="30.0" text="Banque" />
                                       </columns>
                                    </TableColumn>
                                    <TableColumn fx:id="TabColEspace" prefWidth="75.0" sortable="false" text="Espèce">
                                       <columns>
                                          <TableColumn fx:id="TabColEspaceNom" minWidth="15.0" prefWidth="15.0" text="Nom" />
                                          <TableColumn fx:id="TabColEspacePrenom" minWidth="20.0" prefWidth="20.0" text="Prénom" />
                                       </columns>
                                    </TableColumn>
                                    <TableColumn fx:id="TabColCarteBancaire" maxWidth="-1.0" minWidth="100.0" prefWidth="100.0" sortable="false" text="Carte Bancaire">
                                       <columns>
                                          <TableColumn fx:id="TabColCateBancaireNumero" minWidth="20.0" prefWidth="20.0" text="Numéro" />
                                          <TableColumn fx:id="TabColCateBancaireBanque" minWidth="20.0" prefWidth="20.0" text="Banque" />
                                       </columns>
                                    </TableColumn>
                                 </columns>
                              </TableView>
                           </children>
                        </AnchorPane>
                     </children>
                  </AnchorPane>
               </content>
            </Tab>
         </tabs>
      </TabPane>
   </children>
</AnchorPane>
