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 fx:id="PaneAjouter" 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.CommandeClt.CommandeCltDetail">
|
|
<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="Commande">
|
|
<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="Passer Commande / Détail">
|
|
<font>
|
|
<Font name="Arial" size="15.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
</Pane>
|
|
<AnchorPane fx:id="AnchorPaneCommandeCltDetail" prefHeight="200.0" prefWidth="200.0" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="52.0">
|
|
<children>
|
|
<AnchorPane fx:id="AnchorPaneSucces" layoutY="6.0" minWidth="796.0" prefHeight="52.0" prefWidth="796.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
|
|
<children>
|
|
<AnchorPane prefHeight="52.0" prefWidth="614.0" style="-fx-background-color: #d0f8d5;" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="172.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 layoutX="14.0" layoutY="11.0" prefHeight="30.0" prefWidth="42.0" style="-fx-background-color: #35aa47; -fx-background-radius: 5; -fx-border-color: #2ECC71; -fx-border-radius: 5;" AnchorPane.leftAnchor="14.0">
|
|
<children>
|
|
<ImageView fitHeight="26.0" fitWidth="33.0" layoutX="5.0" layoutY="3.0">
|
|
<image>
|
|
<Image url="@../../Public/icon/icon-success.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
</AnchorPane>
|
|
<Text fill="#197926" layoutX="68.0" layoutY="33.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Succès:">
|
|
<font>
|
|
<Font name="Arial" size="22.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="TextDescSucces" fill="#0e5416" layoutX="156.0" layoutY="23.0" strokeType="OUTSIDE" strokeWidth="0.0" text="La commande à été créer avec succées avec les paramétres suivant:" wrappingWidth="450.45635986328125">
|
|
<font>
|
|
<Font name="Arial Bold" size="15.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</AnchorPane>
|
|
<GridPane layoutX="624.0" layoutY="4.0" prefHeight="40.0" prefWidth="167.0" AnchorPane.rightAnchor="4.7999999999999545">
|
|
<columnConstraints>
|
|
<ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" minWidth="10.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
<children>
|
|
<Button fx:id="ButtonCreationBonLivraison" mnemonicParsing="false" prefHeight="35.0" prefWidth="154.0" styleClass="btn-black" text="Créer bon livraison" />
|
|
</children>
|
|
</GridPane>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane fx:id="AnchorPaneInfoCommandeClt" minHeight="521.0" prefHeight="521.0" prefWidth="776.0" style="-fx-border-color: #337ab7; -fx-border-radius: 10 10 0 0;" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="59.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 Commande">
|
|
<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="Règlement:" GridPane.columnIndex="3" 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="Reglement" 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="DateCreation" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="4">
|
|
<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 TVA:" GridPane.columnIndex="6">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="NetAPayer" 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="TotalTVA" 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="Code Devis" GridPane.columnIndex="6" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Code Commande" />
|
|
<Text fx:id="CodeCommande" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="1">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="CodeDevis" 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="95.0" minWidth="95.0" prefWidth="95.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="Commande">
|
|
<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="TextPrenom" 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="TypeClt" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="1">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="Adresse" 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="Nom" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="4">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="TELE1" 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="Prenom" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" GridPane.columnIndex="7">
|
|
<font>
|
|
<Font name="Arial Bold" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="TELE2" 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="TextMatricule" 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="80.0" minWidth="80.0" prefWidth="80.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="160.0" prefWidth="160.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="30.0" minWidth="30.0" prefWidth="30.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="50.0" minWidth="50.0" prefWidth="50.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="160.0" prefWidth="160.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="30.0" minWidth="30.0" prefWidth="30.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="75.0" minWidth="75.0" prefWidth="75.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="160.0" prefWidth="160.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="TableViewListeProduit" 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="TabColReference" maxWidth="330.0" minWidth="110.0" prefWidth="110.0" text="Référence" />
|
|
<TableColumn fx:id="TabColDesignation" 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" />
|
|
</columns>
|
|
</TableView>
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane fx:id="AnchorPaneLoadingCommandeDetail" 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="52.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>
|