first commit

This commit is contained in:
2025-10-30 13:23:53 +01:00
commit 433e47e385
1619 changed files with 106327 additions and 0 deletions

View File

@@ -0,0 +1,240 @@
<?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.ComboBox?>
<?import javafx.scene.control.DatePicker?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ToggleButton?>
<?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.shape.Circle?>
<?import javafx.scene.shape.Line?>
<?import javafx.scene.shape.Rectangle?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<AnchorPane id="AnchorPane" fx:id="AnchorPaneBonSortie" 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/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="Controllers.Stock.BondeSortieController">
<children>
<Pane fx:id="TitrePane" 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="Stock">
<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="Bonde de sortie">
<font>
<Font name="Arial" size="15.0" />
</font>
</Text>
</children>
</HBox>
</children>
</Pane>
<ProgressBar fx:id="ProgressBarStockBonSortie" layoutY="52.0" prefHeight="5.0" prefWidth="796.0" scaleShape="false" visible="false" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" />
<GridPane layoutX="640.0" layoutY="64.0" prefHeight="30.0" prefWidth="139.0" AnchorPane.rightAnchor="17.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="100.0" minWidth="10.0" prefWidth="35.0" />
<ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" maxWidth="149.0" minWidth="104.0" prefWidth="104.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<ToggleButton fx:id="Activate" mnemonicParsing="false" prefHeight="26.0" prefWidth="23.0" text="A" textAlignment="RIGHT" GridPane.columnIndex="1" />
</children>
</GridPane>
<GridPane layoutX="15.0" layoutY="109.0" prefHeight="33.0" prefWidth="774.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="468.0" minWidth="10.0" prefWidth="133.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="25.0" prefWidth="25.0" />
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="468.0" minWidth="10.0" prefWidth="368.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="25.0" prefWidth="25.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="211.0" minWidth="10.0" prefWidth="198.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints />
</rowConstraints>
<children>
<Group GridPane.columnIndex="2">
<children>
<HBox layoutX="431.0" layoutY="248.0" spacing="11.0">
<children>
<Text fx:id="LocalEmetteur" layoutX="244.0" layoutY="272.0" lineSpacing="20.0" strokeType="OUTSIDE" strokeWidth="0.0" text="-----" translateY="1.0">
<font>
<Font name="Arial" size="21.0" />
</font>
<HBox.margin>
<Insets top="3.0" />
</HBox.margin>
</Text>
<Group layoutX="-203.0" layoutY="-262.0" translateY="1.0">
<children>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="4.0" layoutX="528.0" layoutY="523.0" rotate="30.0" stroke="TRANSPARENT" strokeType="INSIDE" width="19.0" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="4.0" layoutX="573.0" layoutY="523.0" rotate="30.0" stroke="TRANSPARENT" strokeType="INSIDE" width="19.0" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="4.0" layoutX="551.0" layoutY="522.0" rotate="30.0" stroke="TRANSPARENT" strokeType="INSIDE" width="19.0" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="4.0" layoutX="551.0" layoutY="532.0" rotate="-30.0" stroke="TRANSPARENT" strokeType="INSIDE" width="19.0" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="4.0" layoutX="528.0" layoutY="532.0" rotate="-30.0" stroke="TRANSPARENT" strokeType="INSIDE" width="19.0" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="4.0" layoutX="573.0" layoutY="532.0" rotate="-30.0" stroke="TRANSPARENT" strokeType="INSIDE" width="19.0" />
</children>
<HBox.margin>
<Insets top="4.0" />
</HBox.margin>
</Group>
<ComboBox fx:id="ComboLocale" layoutX="409.0" layoutY="251.0" prefHeight="32.0" prefWidth="130.0" styleClass="liste-select" />
</children>
</HBox>
</children>
</Group>
<HBox GridPane.columnIndex="4">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Transporteur" translateY="8.0" GridPane.columnIndex="2">
<font>
<Font name="Arial" size="15.0" />
</font>
</Text>
<TextField fx:id="SortieTransporteur" prefHeight="33.0" prefWidth="111.0" GridPane.columnIndex="2" />
</children>
</HBox>
<HBox>
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date" translateY="8.0">
<font>
<Font name="Arial" size="15.0" />
</font>
</Text>
<DatePicker fx:id="DateBS" prefHeight="32.0" prefWidth="106.0" />
</children>
</HBox>
</children>
</GridPane>
<Button layoutX="13.0" layoutY="60.0" mnemonicParsing="false" onAction="#CreerBonSortieButtonAction" prefHeight="35.0" prefWidth="171.0" styleClass="btn-success" text="Créer la bon de sortie" />
<SplitPane dividerPositions="0.5251046025104602" layoutX="182.0" layoutY="152.0" orientation="VERTICAL" prefHeight="480.0" prefWidth="786.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="152.0">
<items>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0" style="-fx-background-color: #FFFFFF;">
<children>
<AnchorPane prefHeight="250.0" prefWidth="776.0" style="-fx-background-color: #FFFFFF;" styleClass="panel-default" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="5.0">
<children>
<AnchorPane prefHeight="38.0" prefWidth="200.0" styleClass="panel-default-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<Text fontSmoothingType="LCD" layoutX="41.0" layoutY="24.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Filtre de recherche">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Text>
<Line layoutX="23.0" layoutY="25.0" rotate="35.0" startX="10.0" stroke="#555555" strokeWidth="2.0" />
<Circle fill="#ededed" layoutX="17.0" layoutY="18.0" radius="8.0" stroke="#555555" strokeType="INSIDE" strokeWidth="2.0" />
</children>
</AnchorPane>
<GridPane layoutX="14.0" layoutY="42.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Référence">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
<TextField fx:id="ReferenceBE" prefHeight="35.0" prefWidth="74.0" GridPane.rowIndex="1" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Code Barres" GridPane.columnIndex="2" />
<TextField fx:id="TextFieldCodeBarre" prefHeight="35.0" prefWidth="123.0" GridPane.columnIndex="2" GridPane.rowIndex="1" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Catégorie" GridPane.columnIndex="6" />
<TextField fx:id="TextFieldCategorie" prefHeight="35.0" prefWidth="126.0" GridPane.columnIndex="6" GridPane.rowIndex="1">
<font>
<Font name="Arial" size="12.0" />
</font>
</TextField>
<TextField fx:id="DesignatonBE" prefHeight="35.0" prefWidth="63.0" GridPane.columnIndex="4" GridPane.rowIndex="1" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Désignation" GridPane.columnIndex="4">
<font>
<Font name="Verdana" size="12.0" />
</font>
</Text>
</children>
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="80.0" prefWidth="80.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="80.0" prefWidth="80.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="80.0" prefWidth="80.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
</GridPane>
<TableView fx:id="TableViewListeProduitRechercher" editable="true" layoutX="-159.0" layoutY="95.0" prefHeight="137.0" prefWidth="742.0" style="-fx-border-color: DDDDDD;" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="95.0">
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy>
<columns>
<TableColumn fx:id="TabColRechReference" maxWidth="300.0" minWidth="100.0" prefWidth="100.0" text="Rédérence" />
<TableColumn fx:id="TabColRechDesignaton" maxWidth="400.0" minWidth="170.0" prefWidth="170.0" text="Désignation" />
<TableColumn fx:id="TabColRechMarque" maxWidth="300.0" minWidth="100.0" prefWidth="100.0" text="Marque" />
<TableColumn fx:id="TabColRechCategorie" maxWidth="300.0" minWidth="110.0" prefWidth="130.0" text="Catégorie" />
<TableColumn fx:id="TabColRechTVA" maxWidth="100.0" minWidth="63.0" prefWidth="63.0" text="TVA" />
<TableColumn fx:id="TabColRechPrixTTC" maxWidth="200.0" minWidth="79.0" prefWidth="86.0" text="Prix TTC" />
<TableColumn fx:id="TabColRechQuantite" maxWidth="101.0" minWidth="70.0" prefWidth="74.0" text="Quantité" />
<TableColumn fx:id="TabColRechAddAction" maxWidth="90.0" minWidth="60.0" prefWidth="60.0" text="Action" />
</columns>
</TableView>
</children>
</AnchorPane>
</children>
</AnchorPane>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0">
<children>
<AnchorPane id="AnchorPane" prefHeight="243.0" prefWidth="776.0" styleClass="panel-bleu" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="5.0">
<children>
<AnchorPane prefHeight="35.0" prefWidth="600.0" styleClass="panel-bleu-titre" AnchorPane.leftAnchor="0.1" AnchorPane.rightAnchor="0.1" AnchorPane.topAnchor="0.0">
<children>
<Text fill="WHITE" fontSmoothingType="LCD" layoutX="27.0" layoutY="22.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Liste des Produits ( Sortie )">
<font>
<Font name="Verdana Bold" size="12.0" />
</font>
</Text>
<Line endX="10.0" layoutX="10.0" layoutY="12.0" startX="-2.0" stroke="WHITE" strokeWidth="2.0" />
<Line endX="10.0" layoutX="10.0" layoutY="17.0" startX="-2.0" stroke="WHITE" strokeWidth="2.0" />
<Line endX="10.0" layoutX="10.0" layoutY="22.0" startX="-2.0" stroke="WHITE" strokeWidth="2.0" />
</children>
</AnchorPane>
<TableView fx:id="TableViewListeProduitBE" editable="true" layoutX="1.0" layoutY="37.0" prefHeight="178.0" prefWidth="576.0" style="-fx-border-color: #FFFFFF;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="36.0">
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy>
<columns>
<TableColumn fx:id="TabColBEReference" maxWidth="300.0" minWidth="100.0" prefWidth="100.0" text="Référence" />
<TableColumn fx:id="TabColBEDesignaton" maxWidth="400.0" minWidth="170.0" prefWidth="170.0" text="Désignation" />
<TableColumn fx:id="TabColBEMarque" maxWidth="300.0" minWidth="100.0" prefWidth="100.0" text="Marque" />
<TableColumn fx:id="TabColBECategorie" maxWidth="300.0" minWidth="110.0" prefWidth="130.0" text="Catégorie" />
<TableColumn fx:id="TabColBETVA" maxWidth="100.0" minWidth="63.0" prefWidth="63.0" text="TVA" />
<TableColumn fx:id="TabColBEPrixTTC" maxWidth="200.0" minWidth="79.0" prefWidth="86.0" text="Prix TTC" />
<TableColumn fx:id="TabColBEQuantiteTTC" maxWidth="101.0" minWidth="70.0" prefWidth="74.0" text="Quantité" />
<TableColumn fx:id="TabColBEAddAction" maxWidth="90.0" minWidth="60.0" prefWidth="60.0" text="Action" />
</columns>
</TableView>
</children>
</AnchorPane>
</children>
</AnchorPane>
</items>
</SplitPane>
</children>
</AnchorPane>