254 lines
18 KiB
XML
254 lines
18 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import com.gluonhq.charm.glisten.control.ProgressBar?>
|
|
<?import javafx.scene.Group?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.ChoiceBox?>
|
|
<?import javafx.scene.control.ComboBox?>
|
|
<?import javafx.scene.control.DatePicker?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?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.Circle?>
|
|
<?import javafx.scene.shape.Line?>
|
|
<?import javafx.scene.shape.Rectangle?>
|
|
<?import javafx.scene.text.Font?>
|
|
<?import javafx.scene.text.Text?>
|
|
|
|
<AnchorPane fx:id="PaneGestionFrais" 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.FraisGestionController">
|
|
<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="Gestion">
|
|
<font>
|
|
<Font name="Arial" size="15.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
</Pane>
|
|
<ProgressBar fx:id="ProgressBarFraisGestion" layoutY="52.0" minWidth="796.0" prefHeight="5.0" prefWidth="796.0" visible="false" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" />
|
|
<Button layoutX="14.0" layoutY="60.0" mnemonicParsing="false" onAction="#AjouterFraisButtonAction" prefHeight="35.0" prefWidth="144.0" styleClass="btn-black" text="Ajouter un Frais" />
|
|
<AnchorPane prefHeight="129.0" prefWidth="766.0" styleClass="panel-default" AnchorPane.leftAnchor="15.0" AnchorPane.rightAnchor="15.0" AnchorPane.topAnchor="108.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>
|
|
<Button fx:id="ButtonSearchFraisGestion" mnemonicParsing="false" prefHeight="30.0" prefWidth="162.0" styleClass="btn-icon-search" text="Filtre de recherche" />
|
|
</children>
|
|
</AnchorPane>
|
|
<GridPane layoutX="10.0" layoutY="45.0" prefHeight="30.0" prefWidth="748.0" AnchorPane.leftAnchor="9.0" AnchorPane.rightAnchor="9.0" AnchorPane.topAnchor="44.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Code Frais">
|
|
<font>
|
|
<Font name="Arial" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="TextFieldCodeFrais" prefHeight="30.0" prefWidth="70.0" GridPane.columnIndex="1" />
|
|
<AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="4">
|
|
<children>
|
|
<ComboBox fx:id="ComboBoxLocale" layoutX="-24.0" layoutY="-9.0" prefHeight="32.0" prefWidth="209.0" styleClass="liste-select" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
</children>
|
|
</AnchorPane>
|
|
<ComboBox fx:id="ComboBoxPaiement" prefHeight="30.0" prefWidth="209.0" styleClass="liste-select" GridPane.columnIndex="7" />
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Paiement" GridPane.columnIndex="6">
|
|
<font>
|
|
<Font name="Arial" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date Création" GridPane.columnIndex="9">
|
|
<font>
|
|
<Font name="Arial" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Local" GridPane.columnIndex="3">
|
|
<font>
|
|
<Font name="Arial" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="10">
|
|
<children>
|
|
<DatePicker fx:id="DatePickerCreate" layoutX="14.0" layoutY="-7.0" minHeight="30.0" prefHeight="30.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
<columnConstraints>
|
|
<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="40.0" minWidth="40.0" prefWidth="40.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="100.0" prefWidth="100.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="20.0" prefWidth="20.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="55.0" minWidth="55.0" prefWidth="55.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="100.0" prefWidth="100.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="20.0" prefWidth="20.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="80.0" prefWidth="80.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="100.0" prefWidth="100.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
</GridPane>
|
|
<GridPane layoutX="9.0" layoutY="87.0" prefHeight="30.0" prefWidth="748.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Object">
|
|
<font>
|
|
<Font name="Arial" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Personne" GridPane.columnIndex="3">
|
|
<font>
|
|
<Font name="Arial" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="TextFieldObject" prefHeight="30.0" prefWidth="70.0" GridPane.columnIndex="1" />
|
|
<TextField fx:id="TextFieldPresonne" prefHeight="30.0" prefWidth="70.0" GridPane.columnIndex="4" />
|
|
</children>
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="40.0" minWidth="40.0" prefWidth="40.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="130.0" prefWidth="130.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="5.0" prefWidth="5.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="55.0" minWidth="55.0" prefWidth="55.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="120.0" prefWidth="120.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="5.0" prefWidth="5.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
</GridPane>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane id="AnchorPane" prefHeight="377.0" prefWidth="766.0" styleClass="panel-success" AnchorPane.bottomAnchor="15.0" AnchorPane.leftAnchor="15.0" AnchorPane.rightAnchor="15.0" AnchorPane.topAnchor="250.0">
|
|
<children>
|
|
<AnchorPane prefHeight="35.0" prefWidth="600.0" styleClass="panel-success-titre" AnchorPane.leftAnchor="0.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 Frais">
|
|
<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="TableViewFrais" editable="true" layoutX="2.0" layoutY="42.0" prefHeight="295.0" prefWidth="764.0" style="-fx-border-color: #FFFFFF;" AnchorPane.bottomAnchor="41.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="35.0">
|
|
<columnResizePolicy>
|
|
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
|
</columnResizePolicy>
|
|
<columns>
|
|
<TableColumn fx:id="TabColIdFrais" maxWidth="200.0" minWidth="30.0" prefWidth="30.0" text="Code" />
|
|
<TableColumn fx:id="TabColObject" maxWidth="500.0" minWidth="90.0" prefWidth="90.0" text="Object" />
|
|
<TableColumn fx:id="TabColPaiement" maxWidth="300.0" minWidth="60.0" prefWidth="60.0" text="Paiement" />
|
|
<TableColumn fx:id="TabColMontant" maxWidth="300.0" minWidth="50.0" prefWidth="50.0" text="Montant" />
|
|
<TableColumn fx:id="TabColProfile" maxWidth="300.0" minWidth="80.0" text="Profile" />
|
|
<TableColumn fx:id="TabColDateCreation" maxWidth="400.0" minWidth="35.0" prefWidth="35.0" text="Date" />
|
|
<TableColumn fx:id="TabColLocalNom" maxWidth="300.0" minWidth="80.0" prefWidth="102.0" text="Local" />
|
|
<TableColumn fx:id="TabColDetail" maxWidth="50.0" minWidth="50.0" prefWidth="50.0" text="Détail" />
|
|
</columns>
|
|
</TableView>
|
|
<Group AnchorPane.bottomAnchor="7.0">
|
|
<children>
|
|
<Label fx:id="LabelCount" layoutX="80.0" layoutY="334.0" style="-fx-background-color: #2dcb73; -fx-background-radius: 2; -fx-padding: 5;" text="0" textFill="WHITE">
|
|
<font>
|
|
<Font name="Verdana Bold" size="11.0" />
|
|
</font>
|
|
</Label>
|
|
<Text layoutX="14.0" layoutY="349.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Total Count" AnchorPane.bottomAnchor="12.0" />
|
|
</children>
|
|
</Group>
|
|
<StackPane layoutX="102.0" layoutY="297.0" prefHeight="41.0" prefWidth="664.0" AnchorPane.bottomAnchor="1.0" AnchorPane.leftAnchor="100.0" AnchorPane.rightAnchor="100.0">
|
|
<children>
|
|
<Group>
|
|
<children>
|
|
<Text layoutX="134.0" layoutY="26.0" strokeType="OUTSIDE" strokeWidth="0.0" text="|">
|
|
<font>
|
|
<Font name="Arial" size="17.0" />
|
|
</font>
|
|
</Text>
|
|
<Group fx:id="avancergroupe" layoutX="254.0" layoutY="20.0">
|
|
<children>
|
|
<Circle fill="WHITE" radius="11.0" stroke="#80808f" strokeDashOffset="3.0" strokeType="INSIDE" strokeWidth="0.5" styleClass="cerclenextlast" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-2.0" layoutY="-1.0" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-2.0" layoutY="-6.0" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="4.0" layoutY="-0.5" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="4.0" layoutY="-5.5" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
</children>
|
|
</Group>
|
|
<HBox layoutX="150.0" layoutY="13.0" spacing="5.0">
|
|
<children>
|
|
<Text fx:id="ActuellePage" layoutX="149.0" layoutY="26.0" strokeType="OUTSIDE" strokeWidth="0.0" text="0">
|
|
<font>
|
|
<Font name="Arial" size="15.0" />
|
|
</font>
|
|
</Text>
|
|
<Text layoutX="165.0" layoutY="26.0" strokeType="OUTSIDE" strokeWidth="0.0" text="/">
|
|
<font>
|
|
<Font name="Arial" size="15.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="NbrPage" layoutX="177.0" layoutY="26.0" strokeType="OUTSIDE" strokeWidth="0.0" text="0">
|
|
<font>
|
|
<Font name="Arial" size="15.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</HBox>
|
|
<Group fx:id="nextgroupe" layoutX="224.0" layoutY="20.0">
|
|
<children>
|
|
<Circle fx:id="nextcercle" fill="WHITE" radius="11.0" stroke="#81818f" strokeType="INSIDE" strokeWidth="0.5" styleClass="cerclenextlast" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutY="-1.0" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutY="-6.0" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
</children>
|
|
</Group>
|
|
<Text layoutX="196.0" layoutY="26.0" strokeType="OUTSIDE" strokeWidth="0.0" text="|">
|
|
<font>
|
|
<Font name="Arial" size="17.0" />
|
|
</font>
|
|
</Text>
|
|
<Group fx:id="retourgroupe" layoutX="80.0" layoutY="20.0">
|
|
<children>
|
|
<Circle fill="WHITE" radius="11.0" stroke="#81818f" strokeType="INSIDE" strokeWidth="0.5" styleClass="cerclenextlast" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-4.0" layoutY="-5.0" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-4.0" layoutY="-1.0" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="2.0" layoutY="-5.0" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="2.0" layoutY="-1.0" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
</children>
|
|
</Group>
|
|
<Group fx:id="lastgroupe" layoutX="112.0" layoutY="20.0">
|
|
<children>
|
|
<Circle fill="WHITE" radius="11.0" stroke="#81818f" strokeType="INSIDE" strokeWidth="0.5" styleClass="cerclenextlast" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-1.0" layoutY="-1.0" rotate="-50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
<Rectangle arcHeight="5.0" fill="#80808f" height="7.0" layoutX="-1.0" layoutY="-5.0" rotate="50.0" stroke="BLACK" strokeType="INSIDE" width="0.5" />
|
|
</children>
|
|
</Group>
|
|
<ChoiceBox fx:id="NbrLigne" layoutX="280.0" layoutY="8.0" prefHeight="25.0" prefWidth="41.0" style="-fx-background-color: #FFFFFFFF;" />
|
|
</children>
|
|
</Group>
|
|
</children>
|
|
</StackPane>
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
</AnchorPane>
|