323 lines
21 KiB
XML
323 lines
21 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.scene.Group?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.ProgressIndicator?>
|
|
<?import javafx.scene.control.TableColumn?>
|
|
<?import javafx.scene.control.TableView?>
|
|
<?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 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/13" xmlns:fx="http://javafx.com/fxml/1" fx:controller="Controllers.DevisClt.DevisDetailController">
|
|
<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="Devis">
|
|
<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="Devis / Détail">
|
|
<font>
|
|
<Font name="Arial" size="15.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
</Pane>
|
|
<AnchorPane fx:id="AnchorPaneDevisDetail" layoutY="57.0" prefHeight="583.0" prefWidth="796.0" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="57.19999999999993">
|
|
<children>
|
|
<AnchorPane layoutX="6.0" layoutY="8.0" prefHeight="58.0" prefWidth="712.0" style="-fx-background-color: #d0f8d5;" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="75.0">
|
|
<children>
|
|
<Pane layoutY="-7.0" prefHeight="91.0" prefWidth="5.0" style="-fx-background-color: #35aa47;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
<AnchorPane fx:id="AnchorPaneSucces" layoutX="15.0" layoutY="6.0" prefHeight="40.0" prefWidth="47.0" style="-fx-background-color: #35aa47; -fx-background-radius: 5; -fx-border-color: #2ECC71; -fx-border-radius: 5;" AnchorPane.leftAnchor="15.0">
|
|
<children>
|
|
<ImageView fitHeight="29.0" fitWidth="35.0" layoutX="7.0" layoutY="4.0">
|
|
<image>
|
|
<Image url="@../../Public/icon/icon-success.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
</AnchorPane>
|
|
<Text fx:id="TextSucces" fill="#197926" layoutX="72.0" layoutY="35.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Succès:">
|
|
<font>
|
|
<Font name="Arial" size="29.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="TextDescSucces" fill="#0e5416" layoutX="184.0" layoutY="33.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Le devis à été créer avec succées avec les paramétres suivant:" wrappingWidth="490.65625">
|
|
<font>
|
|
<Font name="Arial Bold" size="16.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</AnchorPane>
|
|
<GridPane layoutX="735.0" layoutY="11.0" prefHeight="52.0" prefWidth="53.0" AnchorPane.rightAnchor="10.0">
|
|
<children>
|
|
<Button mnemonicParsing="false" onAction="#DevisPrintButtonAction" prefHeight="47.0" prefWidth="47.0" styleClass="icon-Print" />
|
|
</children>
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="69.0" minWidth="44.0" prefWidth="51.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
</GridPane>
|
|
<AnchorPane layoutY="76.0" prefHeight="502.0" prefWidth="776.0" style="-fx-border-color: #337ab7; -fx-border-radius: 10 10 0 0;" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="75.0">
|
|
<children>
|
|
<AnchorPane layoutX="2.0" layoutY="1.0" prefHeight="30.0" prefWidth="764.0" style="-fx-background-color: #337ab7; -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="Détail Information">
|
|
<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="24.0" layoutY="62.0" prefHeight="75.0" prefWidth="730.0" AnchorPane.leftAnchor="24.0" AnchorPane.rightAnchor="24.0" AnchorPane.topAnchor="62.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:" GridPane.columnIndex="6" GridPane.rowIndex="1">
|
|
<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="7" GridPane.rowIndex="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="16.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="Code Devis">
|
|
<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="19.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="DevisCode" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="1">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="105.0" minWidth="105.0" prefWidth="105.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="139.0" prefWidth="139.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="25.0" prefWidth="25.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="126.0" minWidth="126.0" prefWidth="126.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="110.0" prefWidth="110.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="25.0" prefWidth="25.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="75.0" minWidth="75.0" prefWidth="75.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="139.0" prefWidth="139.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>
|
|
<Text fill="#0665ae" layoutX="14.0" layoutY="59.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Devis">
|
|
<font>
|
|
<Font name="Arial Bold" size="16.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fill="#0665ae" layoutX="12.0" layoutY="170.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Client">
|
|
<font>
|
|
<Font name="Arial Bold" size="16.0" />
|
|
</font>
|
|
</Text>
|
|
<GridPane layoutX="12.0" layoutY="178.0" prefHeight="59.0" prefWidth="744.0" AnchorPane.leftAnchor="12.0" AnchorPane.rightAnchor="12.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="81.0" minWidth="81.0" prefWidth="81.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="139.0" prefWidth="139.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="25.0" prefWidth="25.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="126.0" minWidth="126.0" prefWidth="126.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="100.0" prefWidth="100.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="25.0" prefWidth="25.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="75.0" minWidth="75.0" prefWidth="75.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="139.0" prefWidth="139.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>
|
|
<AnchorPane id="AnchorPane" layoutX="15.0" layoutY="274.0" prefHeight="188.0" prefWidth="748.0" style="-fx-border-color: #35aa47;" styleClass="panel-bleu" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="273.0">
|
|
<children>
|
|
<TableView fx:id="TableViewListeProduitDevis" prefHeight="212.0" prefWidth="573.0" style="-fx-border-color: #FFFFFF;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.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>
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane fx:id="AnchorPaneLoadingDevisDetail" layoutX="10.0" layoutY="60.0" minHeight="592.0" minWidth="796.0" prefHeight="592.0" prefWidth="796.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="57.0">
|
|
<children>
|
|
<StackPane layoutX="299.0" layoutY="202.0" prefHeight="79.0" prefWidth="198.0" AnchorPane.bottomAnchor="306.4" AnchorPane.leftAnchor="299.0" AnchorPane.rightAnchor="299.8" AnchorPane.topAnchor="202.0">
|
|
<children>
|
|
<Group />
|
|
<ProgressIndicator fx:id="ProgressCheque" prefHeight="78.0" prefWidth="68.0" />
|
|
</children>
|
|
</StackPane>
|
|
<StackPane layoutX="299.0" layoutY="270.0" prefHeight="46.0" prefWidth="198.0" AnchorPane.bottomAnchor="270.79999999999995" AnchorPane.leftAnchor="299.0" AnchorPane.rightAnchor="298.8" AnchorPane.topAnchor="270.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="chargement en cours ...">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</StackPane>
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
</AnchorPane>
|