256 lines
16 KiB
XML
256 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.scene.Group?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.DatePicker?>
|
|
<?import javafx.scene.control.ProgressIndicator?>
|
|
<?import javafx.scene.control.RadioButton?>
|
|
<?import javafx.scene.control.TextArea?>
|
|
<?import javafx.scene.control.TextField?>
|
|
<?import javafx.scene.control.ToggleGroup?>
|
|
<?import javafx.scene.image.Image?>
|
|
<?import javafx.scene.image.ImageView?>
|
|
<?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="PaneAjouterFrais" 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/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="Controllers.Caisse.FraisAjouterController">
|
|
<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="Frais">
|
|
<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="Ajouter un Frais">
|
|
<font>
|
|
<Font name="Arial" size="15.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
</Pane>
|
|
<AnchorPane fx:id="AnchorPaneFrais" layoutY="52.0" prefHeight="590.0" prefWidth="796.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="50.0">
|
|
<children>
|
|
<AnchorPane layoutX="10.0" layoutY="28.0" prefHeight="179.0" prefWidth="766.0" styleClass="panel-default" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0">
|
|
<children>
|
|
<Text layoutX="25.0" layoutY="33.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Montant">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="TextFieldMontant" layoutX="91.0" layoutY="13.0" prefHeight="30.0" prefWidth="151.0" />
|
|
<Text fx:id="ErreurMontant" fill="#f20606" layoutX="250.0" layoutY="32.0" strokeType="OUTSIDE" strokeWidth="0.0">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text layoutX="25.0" layoutY="77.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Payer En:">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<HBox layoutX="99.0" layoutY="64.0" spacing="25.0">
|
|
<children>
|
|
<RadioButton fx:id="RadioEspace" mnemonicParsing="false" selected="true" text="Espèce">
|
|
<toggleGroup>
|
|
<ToggleGroup fx:id="TypePaiement" />
|
|
</toggleGroup>
|
|
</RadioButton>
|
|
<RadioButton fx:id="RadioCheque" mnemonicParsing="false" text="Chèque" toggleGroup="$TypePaiement" />
|
|
<RadioButton fx:id="RadioCarte" mnemonicParsing="false" text="Carte Bancaire" toggleGroup="$TypePaiement" />
|
|
</children>
|
|
</HBox>
|
|
<GridPane fx:id="GridPaneCheque" layoutX="29.0" layoutY="118.0" prefHeight="52.0" prefWidth="727.0" visible="false" AnchorPane.leftAnchor="28.0" AnchorPane.rightAnchor="21.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Numéro">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurNomComplet11" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="2">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="TextFieldNumeroCheque" prefHeight="30.0" prefWidth="151.0" GridPane.columnIndex="1" />
|
|
<DatePicker fx:id="DatePickerDateCheque" prefHeight="30.0" GridPane.columnIndex="7" />
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date Chèque" GridPane.columnIndex="6">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Banque" GridPane.columnIndex="3">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="TextFieldBanqueCheque" prefHeight="30.0" prefWidth="122.0" GridPane.columnIndex="4" />
|
|
<Text fx:id="ErreurNumeroCheque" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurBanqueCheque" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="4" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurDateCheque" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="7" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="66.0" minWidth="10.0" prefWidth="66.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="95.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="300.0" minWidth="70.0" prefWidth="70.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="80.0" prefWidth="80.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="138.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="300.0" minWidth="70.0" prefWidth="70.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="80.0" prefWidth="80.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="123.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" valignment="TOP" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="23.0" minHeight="1.0" prefHeight="23.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
</GridPane>
|
|
<GridPane fx:id="GridPaneCarte" layoutX="39.0" layoutY="128.0" prefHeight="52.0" prefWidth="727.0" visible="false" AnchorPane.leftAnchor="28.0" AnchorPane.rightAnchor="20.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Numéro Transaction">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="TextFieldNumeroTransation" prefHeight="30.0" prefWidth="151.0" GridPane.columnIndex="1" />
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Banque" GridPane.columnIndex="3">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="TextFieldBanqueCarte" prefHeight="30.0" prefWidth="122.0" GridPane.columnIndex="4" />
|
|
<Text fx:id="ErreurTransaction" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurBanqueCart" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="4" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="130.0" minWidth="130.0" prefWidth="130.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="95.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="300.0" minWidth="70.0" prefWidth="70.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="80.0" prefWidth="80.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="138.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" valignment="TOP" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="23.0" minHeight="1.0" prefHeight="23.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
</GridPane>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane layoutX="10.0" layoutY="232.0" prefHeight="311.0" prefWidth="776.0" styleClass="panel-default" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="232.0">
|
|
<children>
|
|
<GridPane layoutX="12.0" layoutY="25.0" prefHeight="41.0" prefWidth="754.0" AnchorPane.leftAnchor="15.0" AnchorPane.rightAnchor="15.0" AnchorPane.topAnchor="24.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Object">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="TextFieldObject" prefHeight="30.0" prefWidth="264.0" GridPane.columnIndex="1" />
|
|
<Text fx:id="ErreurObject" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="TextFieldPersonne" prefHeight="30.0" prefWidth="151.0" GridPane.columnIndex="4" />
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Personne " GridPane.columnIndex="3">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurObject" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="60.0" minWidth="60.0" prefWidth="60.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="314.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="100.0" prefWidth="100.0" />
|
|
<ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" maxWidth="80.0" minWidth="80.0" prefWidth="80.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="200.0" prefWidth="200.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" valignment="TOP" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
</GridPane>
|
|
<TextArea fx:id="TextAreaContenu" layoutX="15.0" layoutY="111.0" prefHeight="164.0" prefWidth="753.0" AnchorPane.leftAnchor="15.0" AnchorPane.rightAnchor="15.0">
|
|
<font>
|
|
<Font name="Arial" size="12.0" />
|
|
</font>
|
|
</TextArea>
|
|
<Text layoutX="14.0" layoutY="100.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Contenu ">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</AnchorPane>
|
|
<StackPane layoutX="10.0" layoutY="556.0" prefHeight="30.0" prefWidth="776.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="556.0">
|
|
<children>
|
|
<Button fx:id="ButtonAjouterFrais" mnemonicParsing="false" onAction="#AjouterFraisButtonAction" prefHeight="38.0" prefWidth="122.0" styleClass="btn-primary" text="Valider" />
|
|
<ProgressIndicator fx:id="ProgrssLoading" maxHeight="32.0" maxWidth="32.0" minHeight="32.0" minWidth="32.0" prefHeight="32.0" prefWidth="32.0" styleClass="ProgressIndicator-Default" visible="false" />
|
|
</children>
|
|
</StackPane>
|
|
</children>
|
|
</AnchorPane>
|
|
<StackPane fx:id="StackPaneSucces" layoutX="78.0" layoutY="105.0" prefHeight="390.0" prefWidth="641.0" visible="false" AnchorPane.bottomAnchor="147.0" AnchorPane.leftAnchor="70.0" AnchorPane.rightAnchor="70.0" AnchorPane.topAnchor="105.0">
|
|
<children>
|
|
<Group>
|
|
<children>
|
|
<ImageView layoutX="93.0">
|
|
<image>
|
|
<Image url="@../../Public/icon/successfully.png" />
|
|
</image>
|
|
</ImageView>
|
|
<Text layoutY="167.0" strokeType="OUTSIDE" strokeWidth="0.0" text="l'ajouter a été effectuée avec succès">
|
|
<font>
|
|
<Font name="Arial" size="20.0" />
|
|
</font>
|
|
</Text>
|
|
<Button layoutX="136.0" layoutY="202.0" mnemonicParsing="false" onAction="#AfficherAjouterFraisButtonAction" prefHeight="30.0" prefWidth="62.0" styleClass="btn-primary" text="ok" />
|
|
</children>
|
|
</Group>
|
|
</children>
|
|
</StackPane>
|
|
</children>
|
|
</AnchorPane>
|