288 lines
20 KiB
XML
288 lines
20 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.scene.shape.*?>
|
|
<?import javafx.scene.image.*?>
|
|
<?import javafx.scene.text.*?>
|
|
<?import java.lang.*?>
|
|
<?import java.util.*?>
|
|
<?import javafx.scene.*?>
|
|
<?import javafx.scene.control.*?>
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
<AnchorPane fx:id="AnchorPrincipal" minHeight="642.0" minWidth="796.0" prefHeight="642.0" prefWidth="796.0" style="-fx-background-color: rgba(0,0,0,0.6);" 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/13" xmlns:fx="http://javafx.com/fxml/1">
|
|
<children>
|
|
<StackPane prefHeight="150.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<AnchorPane maxHeight="642.0" maxWidth="796.0" minHeight="642.0" minWidth="796.0" prefHeight="642.0" prefWidth="796.0" style="-fx-background-radius: 10 10 0 0; -fx-border-color: #000000; -fx-border-radius: 10 10 0 0;" styleClass="AnchorPane-Default">
|
|
<children>
|
|
<Pane maxHeight="30.0" maxWidth="796.0" minHeight="30.0" minWidth="796.0" prefHeight="30.0" prefWidth="796.0" style="-fx-background-color: linear-gradient(to bottom, #585858, #333333); -fx-background-radius: 10 10 0 0;">
|
|
<children>
|
|
<Text fill="WHITE" layoutX="22.0" layoutY="21.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Dialog de confirmation">
|
|
<font>
|
|
<Font name="Arial Bold" size="14.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</Pane>
|
|
<ImageView layoutX="29.0" layoutY="39.0">
|
|
<image>
|
|
<Image url="@../../Public/icon/dialoginform.png" />
|
|
</image>
|
|
</ImageView>
|
|
<Text layoutX="91.0" layoutY="57.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Création d'un devis">
|
|
<font>
|
|
<Font name="Arial Bold" size="17.0" />
|
|
</font>
|
|
</Text>
|
|
<Text layoutX="91.0" layoutY="82.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Êtes-vous sûr de vouloir enregistrer la devis">
|
|
<font>
|
|
<Font name="Arial" size="15.0" />
|
|
</font>
|
|
</Text>
|
|
<AnchorPane layoutX="15.0" layoutY="97.0" prefHeight="109.0" prefWidth="766.0" style="-fx-border-color: #000000; -fx-border-radius: 10 10 0 0;">
|
|
<children>
|
|
<AnchorPane layoutX="2.0" layoutY="1.0" prefHeight="30.0" prefWidth="764.0" style="-fx-background-color: linear-gradient(to bottom, #585858, #333333); -fx-background-radius: 10 10 0 0;" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<Text fill="WHITE" fontSmoothingType="LCD" layoutX="39.0" layoutY="20.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Information Devis">
|
|
<font>
|
|
<Font name="System Bold" size="14.0" />
|
|
</font>
|
|
</Text>
|
|
<ImageView fitHeight="18.0" fitWidth="18.0" layoutX="13.0" layoutY="7.0">
|
|
<image>
|
|
<Image url="@../../Public/icon/iconedit.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
</AnchorPane>
|
|
<GridPane layoutX="12.0" layoutY="34.0" prefHeight="59.0" prefWidth="744.0" AnchorPane.leftAnchor="11.0" AnchorPane.rightAnchor="11.0" AnchorPane.topAnchor="33.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date Création:" GridPane.columnIndex="3">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Fin Validité:" GridPane.columnIndex="6">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Règlement:">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="3" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="6" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisReglement" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="1">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisDateCreation" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="4">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisFinValidite" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="7">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Net A Payer:" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Total Hors Tax Net:" GridPane.columnIndex="3" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Total TVA:" GridPane.columnIndex="6" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisNetAPayer" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisTotalHorsTaxNet" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="4" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisTotalTVA" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="7" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="81.0" minWidth="55.0" prefWidth="81.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="139.0" minWidth="100.0" prefWidth="118.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="25.0" prefWidth="25.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="126.0" minWidth="55.0" prefWidth="126.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="133.0" minWidth="99.0" prefWidth="110.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="25.0" prefWidth="25.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="75.0" minWidth="55.0" prefWidth="75.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="125.0" minWidth="100.0" prefWidth="118.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints minHeight="35.0" prefHeight="35.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="45.0" minHeight="35.0" prefHeight="45.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
</GridPane>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane id="AnchorPane" layoutX="15.0" layoutY="362.0" prefHeight="222.0" prefWidth="766.0" styleClass="panel-bleu">
|
|
<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="20.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="10.0" startX="-2.0" stroke="WHITE" strokeWidth="2.0" />
|
|
<Line endX="10.0" layoutX="10.0" layoutY="15.0" startX="-2.0" stroke="WHITE" strokeWidth="2.0" />
|
|
<Line endX="10.0" layoutX="10.0" layoutY="20.0" startX="-2.0" stroke="WHITE" strokeWidth="2.0" />
|
|
</children>
|
|
</AnchorPane>
|
|
<TableView fx:id="TableViewListeProduitDevis" 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="TabColDevisReference" maxWidth="330.0" minWidth="110.0" prefWidth="110.0" text="Référence" />
|
|
<TableColumn fx:id="TabColDevisDesignaton" maxWidth="489.0" minWidth="163.0" prefWidth="163.0" text="Désignation" />
|
|
<TableColumn fx:id="TabColDevisQuantite" maxWidth="225.0" minWidth="75.0" prefWidth="75.0" text="Quantité" />
|
|
<TableColumn fx:id="TabColDevisPrixHT" maxWidth="222.0" minWidth="74.0" prefWidth="74.0" text="P.U.H.T" />
|
|
<TableColumn fx:id="TabColDevisRemise" maxWidth="264.0" minWidth="88.0" prefWidth="88.0" text="Remise(%)" />
|
|
<TableColumn fx:id="TabColDevisTotalHT" maxWidth="210.0" minWidth="70.0" prefWidth="70.0" text="Total H.T" />
|
|
<TableColumn fx:id="TabColDevisTVA" maxWidth="132.0" minWidth="44.0" prefWidth="44.0" text="TVA" />
|
|
<TableColumn fx:id="TabColDevisTotalTTC" maxWidth="261.0" minWidth="87.0" prefWidth="87.0" text="Total TTC" />
|
|
</columns>
|
|
</TableView>
|
|
</children>
|
|
</AnchorPane>
|
|
<Button fx:id="DevisEnregister" layoutX="673.0" layoutY="596.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="110.0" styleClass="btn-success" text="Enregister" />
|
|
<Button layoutX="581.0" layoutY="603.0" mnemonicParsing="false" onAction="#ExitButtonAction" prefHeight="30.0" prefWidth="72.0" styleClass="btn-simple" text="Annuler" />
|
|
<AnchorPane layoutX="14.0" layoutY="227.0" prefHeight="119.0" prefWidth="766.0" style="-fx-border-color: #35aa47;" styleClass="panel-default">
|
|
<children>
|
|
<AnchorPane layoutX="2.0" layoutY="2.0" prefHeight="30.0" prefWidth="764.0" style="-fx-background-color: #35aa47;" styleClass="panel-default-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<Text fill="WHITE" fontSmoothingType="LCD" layoutX="60.0" layoutY="20.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Information client">
|
|
<font>
|
|
<Font name="System Bold" size="14.0" />
|
|
</font>
|
|
</Text>
|
|
<ImageView fitHeight="19.0" fitWidth="30.0" layoutX="12.0" layoutY="6.0">
|
|
<image>
|
|
<Image url="@../../Public/icon/Client.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
</AnchorPane>
|
|
<GridPane layoutX="12.0" layoutY="34.0" prefHeight="59.0" prefWidth="744.0" AnchorPane.leftAnchor="11.0" AnchorPane.rightAnchor="11.0" AnchorPane.topAnchor="33.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom:" GridPane.columnIndex="3">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisTextPrenom" strokeType="OUTSIDE" strokeWidth="0.0" text="Prénom:" GridPane.columnIndex="6">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Adresse:" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Télé 1:" GridPane.columnIndex="3" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Télé 2:" GridPane.columnIndex="6" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Type Client:">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisTypeClt" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="1">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisAdresse" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisNom" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="4">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisTELE1" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="4" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisPrenom" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="7">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisTELE2" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="7" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="DevisTextMatricule" strokeType="OUTSIDE" strokeWidth="0.0" text="Matricule:" visible="false" GridPane.columnIndex="6">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="76.0" minWidth="55.0" prefWidth="76.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="139.0" minWidth="100.0" prefWidth="123.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="25.0" prefWidth="25.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="25.0" prefWidth="25.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="62.0" minWidth="55.0" prefWidth="62.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="100.0" prefWidth="100.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints minHeight="35.0" prefHeight="35.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="45.0" minHeight="35.0" prefHeight="45.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
</GridPane>
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
</StackPane>
|
|
</children>
|
|
</AnchorPane>
|