Files
PowerPME_maven/target/classes/Views/FactureFrs/FactureFrsAjouter.fxml
2025-10-30 13:23:53 +01:00

259 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.DatePicker?>
<?import javafx.scene.control.ProgressIndicator?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?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.shape.Line?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<AnchorPane id="AnchorPane" fx:id="PaneFactureFrsAjouter" 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:fx="http://javafx.com/fxml/1" fx:controller="Controllers.FactureFrs.FactureFrsAjouterController">
<children>
<Pane fx:id="TitrePane" layoutY="7.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="Facture">
<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="Achat / Facture / Ajouter">
<font>
<Font name="Arial" size="15.0" />
</font>
</Text>
</children>
</HBox>
</children>
</Pane>
<Button fx:id="ButtonFactureFrsAjouter" layoutX="10.0" layoutY="72.0" mnemonicParsing="false" prefHeight="35.0" prefWidth="230.0" styleClass="btn-success" text="Enregister La Facture" />
<ProgressIndicator fx:id="ProgressIndicatorSaveFactureFrs" layoutX="110.0" layoutY="75.0" prefHeight="30.0" prefWidth="30.0" styleClass="ProgressIndicator-Default" visible="false" />
<GridPane layoutX="249.0" layoutY="64.0" prefHeight="60.0" prefWidth="527.0" AnchorPane.rightAnchor="10.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Total Hors Tax Net" GridPane.columnIndex="9">
<font>
<Font name="Arial Bold" size="13.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Remise" GridPane.columnIndex="3">
<font>
<Font name="Arial Bold" size="13.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Total TVA" GridPane.columnIndex="5">
<font>
<Font name="Arial Bold" size="13.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Timbre" wrappingWidth="43.341796875" GridPane.columnIndex="7">
<font>
<Font name="Arial Bold" size="13.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Net A Payer" GridPane.columnIndex="1">
<font>
<Font name="Arial Bold" size="16.0" />
</font>
</Text>
<Text fx:id="NetAPayer" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
<font>
<Font name="Arial Bold" size="15.0" />
</font>
</Text>
<Text fx:id="Remise" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="3" GridPane.rowIndex="1">
<font>
<Font name="Arial" size="13.0" />
</font>
</Text>
<Text fx:id="TotalTVA" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="5" GridPane.rowIndex="1">
<font>
<Font name="Arial" size="13.0" />
</font>
</Text>
<Text fx:id="Timbre" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="7" GridPane.rowIndex="1">
<font>
<Font name="Arial" size="13.0" />
</font>
</Text>
<Text fx:id="TotalHTNet" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="9" GridPane.rowIndex="1">
<font>
<Font name="Arial" size="13.0" />
</font>
</Text>
</children>
<columnConstraints>
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" />
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="150.0" minWidth="10.0" prefWidth="147.0" />
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="100.0" minWidth="20.0" prefWidth="20.0" />
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="134.0" minWidth="0.0" prefWidth="53.0" />
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="100.0" minWidth="20.0" prefWidth="41.0" />
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="136.0" minWidth="10.0" prefWidth="83.0" />
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="100.0" minWidth="15.0" prefWidth="15.0" />
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="55.0" minWidth="50.0" prefWidth="55.0" />
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="100.0" minWidth="5.0" prefWidth="5.0" />
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="134.0" minWidth="10.0" prefWidth="128.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
</GridPane>
<AnchorPane layoutX="10.0" layoutY="132.0" prefHeight="160.0" prefWidth="770.0" styleClass="panel-default" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="132.0">
<children>
<AnchorPane prefHeight="30.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="14.0" layoutY="20.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Information Facture Fournisseur">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Text>
</children>
</AnchorPane>
<GridPane layoutX="11.0" layoutY="57.0" prefHeight="91.0" prefWidth="752.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="11.0" AnchorPane.rightAnchor="11.0" AnchorPane.topAnchor="57.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Numéro">
<font>
<Font name="Arial" size="12.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Fournissueur" GridPane.columnIndex="3">
<font>
<Font name="Arial" size="12.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Heur Réception" GridPane.columnIndex="3" GridPane.rowIndex="3">
<font>
<Font name="Arial" size="12.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Local Réception" GridPane.columnIndex="6">
<font>
<Font name="Arial" size="12.0" />
</font>
</Text>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date Réception" GridPane.rowIndex="3">
<font>
<Font name="Arial" size="12.0" />
</font>
</Text>
<AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="3">
<children>
<DatePicker fx:id="DatePickerDateReception" layoutX="-38.0" layoutY="2.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
</children>
</AnchorPane>
<TextField fx:id="TextFieldNumero" prefHeight="30.0" prefWidth="70.0" GridPane.columnIndex="1" />
<TextField fx:id="TextFieldHeur" prefHeight="30.0" prefWidth="70.0" promptText="00:00" GridPane.columnIndex="4" GridPane.rowIndex="3" />
<AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="7">
<children>
<ChoiceBox fx:id="ChoiceBoxLocalReception" prefWidth="150.0" styleClass="liste-select" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
</children>
</AnchorPane>
<Text fx:id="TextNumero" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
<font>
<Font name="Arial Bold" size="12.0" />
</font>
</Text>
<Text fx:id="TextFournisseur" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="4" GridPane.rowIndex="1">
<font>
<Font name="Arial Bold" size="12.0" />
</font>
</Text>
<Text fx:id="TextDateReception" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="4">
<font>
<Font name="Arial Bold" size="12.0" />
</font>
</Text>
<Text fx:id="TextHeur" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="4" GridPane.rowIndex="4">
<font>
<Font name="Arial Bold" size="12.0" />
</font>
</Text>
<Text fx:id="TextLocalReception" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="7" GridPane.rowIndex="4">
<font>
<Font name="Arial Bold" size="12.0" />
</font>
</Text>
<TextField fx:id="TextFieldFournisseur" prefHeight="30.0" prefWidth="70.0" GridPane.columnIndex="4" />
</children>
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="85.0" prefWidth="85.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="140.0" prefWidth="140.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="30.0" prefWidth="30.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="85.0" prefWidth="85.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="140.0" prefWidth="140.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="30.0" prefWidth="30.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="90.0" minWidth="90.0" prefWidth="90.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="150.0" prefWidth="150.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
</rowConstraints>
</GridPane>
</children>
</AnchorPane>
<StackPane layoutX="76.0" layoutY="332.0" prefHeight="35.0" prefWidth="665.0" AnchorPane.leftAnchor="76.0" AnchorPane.rightAnchor="76.0">
<children>
<Button fx:id="RechercheProduit" mnemonicParsing="false" onAction="#RechercheProduitButtonAction" prefHeight="35.0" prefWidth="180.0" styleClass="btn-black" text="Rechercher Produit" />
</children>
</StackPane>
<Button layoutX="14.0" layoutY="334.0" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onAction="#AddLigneButtonAction" prefHeight="30.0" prefWidth="30.0" styleClass="btn-black" text="+">
<font>
<Font size="13.0" />
</font>
</Button>
<AnchorPane id="AnchorPane" layoutX="10.0" layoutY="370.0" prefHeight="258.0" prefWidth="776.0" styleClass="panel-bleu" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="374.0">
<children>
<AnchorPane prefHeight="30.0" prefWidth="600.0" styleClass="panel-bleu-titre" AnchorPane.leftAnchor="1.0" AnchorPane.rightAnchor="0.0" 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">
<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="TableViewListeProduit" editable="true" layoutX="1.0" layoutY="30.0" prefHeight="212.0" prefWidth="573.0" style="-fx-border-color: #FFFFFF;" AnchorPane.bottomAnchor="2.0" AnchorPane.leftAnchor="1.0" AnchorPane.rightAnchor="1.0" AnchorPane.topAnchor="30.0">
<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="TabColDesignaton" 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" />
<TableColumn fx:id="TabColAddAction" maxWidth="180.0" minWidth="59.0" prefWidth="59.0" text="Action" />
</columns>
</TableView>
</children>
</AnchorPane>
</children>
</AnchorPane>