2023-12-29 02:31:42 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<?import javafx.scene.control.*?>
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
<?import javafx.scene.text.Text?>
|
|
|
|
<?import javafx.scene.text.TextFlow?>
|
2024-01-04 17:58:51 +00:00
|
|
|
<?import com.andrewlalis.perfin.view.component.PropertiesPane?>
|
2023-12-29 02:31:42 +00:00
|
|
|
<BorderPane xmlns="http://javafx.com/javafx"
|
|
|
|
xmlns:fx="http://javafx.com/fxml"
|
|
|
|
fx:controller="com.andrewlalis.perfin.control.TransactionViewController"
|
|
|
|
>
|
2023-12-31 14:37:16 +00:00
|
|
|
<top>
|
|
|
|
<HBox styleClass="std-padding,std-spacing">
|
|
|
|
<Label fx:id="titleLabel" styleClass="large-text,bold-text"/>
|
|
|
|
</HBox>
|
|
|
|
</top>
|
2023-12-29 02:31:42 +00:00
|
|
|
<center>
|
2023-12-29 17:06:43 +00:00
|
|
|
<ScrollPane fitToHeight="true" fitToWidth="true">
|
|
|
|
<VBox styleClass="std-padding,std-spacing">
|
2024-01-04 17:58:51 +00:00
|
|
|
<PropertiesPane vgap="5" hgap="5">
|
|
|
|
<columnConstraints>
|
|
|
|
<ColumnConstraints minWidth="100" halignment="LEFT" hgrow="NEVER"/>
|
|
|
|
<ColumnConstraints hgrow="ALWAYS" halignment="LEFT"/>
|
|
|
|
</columnConstraints>
|
|
|
|
<Label text="Amount" styleClass="bold-text" style="-fx-min-width: 100px;"/>
|
2023-12-29 17:06:43 +00:00
|
|
|
<Label fx:id="amountLabel" styleClass="mono-font"/>
|
2024-01-04 17:58:51 +00:00
|
|
|
|
2023-12-29 17:06:43 +00:00
|
|
|
<Label text="Timestamp" styleClass="bold-text"/>
|
|
|
|
<Label fx:id="timestampLabel" styleClass="mono-font"/>
|
2024-01-04 17:58:51 +00:00
|
|
|
|
2023-12-29 17:06:43 +00:00
|
|
|
<Label text="Description" styleClass="bold-text"/>
|
|
|
|
<Label fx:id="descriptionLabel" wrapText="true" style="-fx-min-height: 100px;" alignment="TOP_LEFT"/>
|
2024-01-04 17:58:51 +00:00
|
|
|
</PropertiesPane>
|
2023-12-29 17:06:43 +00:00
|
|
|
<VBox>
|
|
|
|
<TextFlow>
|
|
|
|
<Text text="Debited to"/>
|
|
|
|
<Hyperlink fx:id="debitAccountLink"/>
|
|
|
|
</TextFlow>
|
|
|
|
<TextFlow>
|
|
|
|
<Text text="Credited from"/>
|
|
|
|
<Hyperlink fx:id="creditAccountLink"/>
|
|
|
|
</TextFlow>
|
|
|
|
</VBox>
|
|
|
|
<VBox fx:id="attachmentsContainer">
|
|
|
|
<Label text="Attachments" styleClass="bold-text"/>
|
|
|
|
<ScrollPane fitToWidth="true" fitToHeight="true">
|
|
|
|
<HBox fx:id="attachmentsHBox" styleClass="std-padding,std-spacing"/>
|
|
|
|
</ScrollPane>
|
|
|
|
</VBox>
|
|
|
|
<FlowPane styleClass="std-padding, std-spacing">
|
2023-12-31 16:48:59 +00:00
|
|
|
<Button text="Delete this transaction" onAction="#deleteTransaction"/>
|
2023-12-29 17:06:43 +00:00
|
|
|
</FlowPane>
|
2023-12-29 02:31:42 +00:00
|
|
|
</VBox>
|
2023-12-29 17:06:43 +00:00
|
|
|
</ScrollPane>
|
2023-12-29 02:31:42 +00:00
|
|
|
</center>
|
|
|
|
</BorderPane>
|