| @@ -38,21 +38,21 @@ public class DialogCariBarangController extends Dialog<String> implements Initia | |||
| AnchorPane apContent; | |||
| @FXML | |||
| private TableView<TabelBarang> tbvBarang; | |||
| private TableView<TabelBarangCari> tbvBarang; | |||
| @FXML | |||
| private TableColumn<TabelBarang, Integer> tcNo; | |||
| private TableColumn<TabelBarangCari, Integer> tcNo; | |||
| @FXML | |||
| private TableColumn<TabelBarang, String> tcKode; | |||
| private TableColumn<TabelBarangCari, String> tcKode; | |||
| @FXML | |||
| private TableColumn<TabelBarang, String> tcNama; | |||
| private TableColumn<TabelBarangCari, String> tcNama; | |||
| @FXML | |||
| private TableColumn<TabelBarang, String> tcUkur; | |||
| private TableColumn<TabelBarangCari, String> tcUkur; | |||
| @FXML | |||
| private TableColumn<TabelBarang, String> tcHarga; | |||
| private TableColumn<TabelBarangCari, String> tcHarga; | |||
| @FXML | |||
| private TableColumn<TabelBarang, Button> tcBtnTambah; | |||
| private TableColumn<TabelBarangCari, Button> tcBtnTambah; | |||
| final ObservableList<TabelBarang> daftarTabelBarang = FXCollections.observableArrayList(); | |||
| final ObservableList<TabelBarangCari> daftarTabelBarang = FXCollections.observableArrayList(); | |||
| // String str = "Halo"; | |||
| /** | |||
| @@ -60,7 +60,7 @@ public class DialogCariBarangController extends Dialog<String> implements Initia | |||
| */ | |||
| @Override | |||
| public void initialize(URL url, ResourceBundle rb) { | |||
| tcNo.setCellValueFactory((TableColumn.CellDataFeatures<TabelBarang, Integer> cell) -> { | |||
| tcNo.setCellValueFactory((TableColumn.CellDataFeatures<TabelBarangCari, Integer> cell) -> { | |||
| return new ReadOnlyObjectWrapper(tbvBarang.getItems().indexOf(cell.getValue()) + 1); | |||
| }); | |||
| tcKode.setCellValueFactory(new PropertyValueFactory<>("kode")); | |||
| @@ -94,13 +94,13 @@ public class DialogCariBarangController extends Dialog<String> implements Initia | |||
| } | |||
| } | |||
| public void fillTable(List<TabelBarang> daftarBarang) { | |||
| public void fillTable(List<TabelBarangCari> daftarBarang) { | |||
| //STATIC FUNCTION, hilangkan jika sudah tidak dipakai | |||
| Button btnTambah = new Button("Tambah"); | |||
| btnTambah.setOnAction((event) -> { | |||
| setResult("Barang x"); | |||
| this.close(); | |||
| }); | |||
| daftarTabelBarang.add(new TabelBarang("AACOBA001ABCDXL", "Barang x", "XL","79.900", btnTambah)); | |||
| daftarTabelBarang.add(new TabelBarangCari("AACOBA001ABCDXL", "Barang x", "XL","79.900", btnTambah)); | |||
| } | |||
| } | |||
| @@ -13,14 +13,14 @@ import javafx.scene.control.Button; | |||
| * | |||
| * @author ronal | |||
| */ | |||
| public class TabelBarang { | |||
| public class TabelBarangCari { | |||
| private final SimpleStringProperty kode; | |||
| private final SimpleStringProperty nama; | |||
| private final SimpleStringProperty ukur; | |||
| private final SimpleStringProperty harga; | |||
| private final SimpleObjectProperty<Button> btnTambah; | |||
| public TabelBarang(String kode, String nama, String ukur,String harga,Button btnTambah) { | |||
| public TabelBarangCari(String kode, String nama, String ukur,String harga,Button btnTambah) { | |||
| this.kode = new SimpleStringProperty(kode); | |||
| this.nama = new SimpleStringProperty(nama); | |||
| this.ukur = new SimpleStringProperty(ukur); | |||
| @@ -0,0 +1,182 @@ | |||
| /* | |||
| * To change this license header, choose License Headers in Project Properties. | |||
| * To change this template file, choose Tools | Templates | |||
| * and open the template in the editor. | |||
| */ | |||
| package id.amigogroup.posterminal.transaksi; | |||
| import javafx.beans.property.SimpleObjectProperty; | |||
| import javafx.beans.property.SimpleStringProperty; | |||
| import javafx.scene.control.Button; | |||
| /** | |||
| * | |||
| * @author AGNES | |||
| */ | |||
| public class TabelBarang { | |||
| /** | |||
| * @return the kodeBarang | |||
| */ | |||
| private SimpleStringProperty kodeBarang; | |||
| private SimpleStringProperty namaBarang; | |||
| private SimpleStringProperty ukur; | |||
| private SimpleStringProperty qty; | |||
| private SimpleStringProperty harga; | |||
| private SimpleStringProperty disc1; | |||
| private SimpleStringProperty disc2; | |||
| private SimpleStringProperty promo; | |||
| private SimpleStringProperty subTotal; | |||
| private SimpleStringProperty pramuniaga; | |||
| public TabelBarang(String kodeBarang, String namaBarang, String ukur, String qty, String harga, String disc1, | |||
| String disc2, String promo, String subTotal, String pramuniaga) { | |||
| this.kodeBarang = new SimpleStringProperty(kodeBarang); | |||
| this.namaBarang = new SimpleStringProperty(namaBarang); | |||
| this.ukur = new SimpleStringProperty(ukur); | |||
| this.qty = new SimpleStringProperty(qty); | |||
| this.harga = new SimpleStringProperty(harga); | |||
| this.disc1 = new SimpleStringProperty(disc1); | |||
| this.disc2 = new SimpleStringProperty(disc2); | |||
| this.promo = new SimpleStringProperty(promo); | |||
| this.subTotal = new SimpleStringProperty(subTotal); | |||
| this.pramuniaga = new SimpleStringProperty(pramuniaga); | |||
| } | |||
| public SimpleStringProperty getKodeBarang() { | |||
| return kodeBarang; | |||
| } | |||
| /** | |||
| * @param kodeBarang the kodeBarang to set | |||
| */ | |||
| public void setKodeBarang(SimpleStringProperty kodeBarang) { | |||
| this.kodeBarang = kodeBarang; | |||
| } | |||
| /** | |||
| * @return the namaBarang | |||
| */ | |||
| public SimpleStringProperty getNamaBarang() { | |||
| return namaBarang; | |||
| } | |||
| /** | |||
| * @param namaBarang the namaBarang to set | |||
| */ | |||
| public void setNamaBarang(SimpleStringProperty namaBarang) { | |||
| this.namaBarang = namaBarang; | |||
| } | |||
| /** | |||
| * @return the ukur | |||
| */ | |||
| public SimpleStringProperty getUkur() { | |||
| return ukur; | |||
| } | |||
| /** | |||
| * @param ukur the ukur to set | |||
| */ | |||
| public void setUkur(SimpleStringProperty ukur) { | |||
| this.ukur = ukur; | |||
| } | |||
| /** | |||
| * @return the qty | |||
| */ | |||
| public SimpleStringProperty getQty() { | |||
| return qty; | |||
| } | |||
| /** | |||
| * @param qty the qty to set | |||
| */ | |||
| public void setQty(SimpleStringProperty qty) { | |||
| this.qty = qty; | |||
| } | |||
| /** | |||
| * @return the harga | |||
| */ | |||
| public SimpleStringProperty getHarga() { | |||
| return harga; | |||
| } | |||
| /** | |||
| * @param harga the harga to set | |||
| */ | |||
| public void setHarga(SimpleStringProperty harga) { | |||
| this.harga = harga; | |||
| } | |||
| /** | |||
| * @return the disc1 | |||
| */ | |||
| public SimpleStringProperty getDisc1() { | |||
| return disc1; | |||
| } | |||
| /** | |||
| * @param disc1 the disc1 to set | |||
| */ | |||
| public void setDisc1(SimpleStringProperty disc1) { | |||
| this.disc1 = disc1; | |||
| } | |||
| /** | |||
| * @return the disc2 | |||
| */ | |||
| public SimpleStringProperty getDisc2() { | |||
| return disc2; | |||
| } | |||
| /** | |||
| * @param disc2 the disc2 to set | |||
| */ | |||
| public void setDisc2(SimpleStringProperty disc2) { | |||
| this.disc2 = disc2; | |||
| } | |||
| /** | |||
| * @return the promo | |||
| */ | |||
| public SimpleStringProperty getPromo() { | |||
| return promo; | |||
| } | |||
| /** | |||
| * @param promo the promo to set | |||
| */ | |||
| public void setPromo(SimpleStringProperty promo) { | |||
| this.promo = promo; | |||
| } | |||
| /** | |||
| * @return the subTotal | |||
| */ | |||
| public SimpleStringProperty getSubTotal() { | |||
| return subTotal; | |||
| } | |||
| /** | |||
| * @param subTotal the subTotal to set | |||
| */ | |||
| public void setSubTotal(SimpleStringProperty subTotal) { | |||
| this.subTotal = subTotal; | |||
| } | |||
| /** | |||
| * @return the pramuniaga | |||
| */ | |||
| public SimpleStringProperty getPramuniaga() { | |||
| return pramuniaga; | |||
| } | |||
| /** | |||
| * @param pramuniaga the pramuniaga to set | |||
| */ | |||
| public void setPramuniaga(SimpleStringProperty pramuniaga) { | |||
| this.pramuniaga = pramuniaga; | |||
| } | |||
| } | |||
| @@ -13,7 +13,7 @@ | |||
| <?import javafx.scene.layout.RowConstraints?> | |||
| <?import javafx.scene.text.Font?> | |||
| <AnchorPane id="AnchorPane" minHeight="-Infinity" minWidth="-Infinity" prefHeight="450.0" prefWidth="800.0" stylesheets="@../styles/pos_styles.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="id.amigogroup.posterminal.transaksi.FormTransaksiReturController"> | |||
| <AnchorPane id="AnchorPane" minHeight="-Infinity" minWidth="-Infinity" prefHeight="450.0" prefWidth="750.0" stylesheets="@../styles/pos_styles.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="id.amigogroup.posterminal.transaksi.FormTransaksiReturController"> | |||
| <children> | |||
| <Label text="Transaksi Retur" AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="14.0"> | |||
| <font> | |||
| @@ -6,8 +6,6 @@ | |||
| <?import javafx.scene.control.TableColumn?> | |||
| <?import javafx.scene.control.TableView?> | |||
| <?import javafx.scene.control.TextField?> | |||
| <?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?> | |||
| @@ -17,7 +15,7 @@ | |||
| <?import javafx.scene.text.Font?> | |||
| <?import javafx.scene.text.Text?> | |||
| <AnchorPane id="AnchorPane" minHeight="-Infinity" minWidth="-Infinity" prefHeight="450.0" prefWidth="800.0" stylesheets="@../styles/pos_styles.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="id.amigogroup.posterminal.transaksi.FormTransaksiTunaiController"> | |||
| <AnchorPane id="AnchorPane" minHeight="-Infinity" minWidth="-Infinity" prefHeight="450.0" prefWidth="750.0" stylesheets="@../styles/pos_styles.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="id.amigogroup.posterminal.transaksi.FormTransaksiTunaiController"> | |||
| <children> | |||
| <Label text="Transaksi Tunai" AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="14.0"> | |||
| <font> | |||
| @@ -95,104 +93,20 @@ | |||
| </HBox> | |||
| </children> | |||
| </GridPane> | |||
| <Separator layoutY="113.0" prefWidth="200.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="113.0" /> | |||
| <Label layoutX="14.0" layoutY="119.0" text="Pelanggan" AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="119.0"> | |||
| <font> | |||
| <Font name="System Bold" size="16.0" /> | |||
| </font> | |||
| </Label> | |||
| <HBox alignment="CENTER" layoutX="14.0" layoutY="144.0" prefHeight="80.0" prefWidth="80.0" AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="144.0"> | |||
| <children> | |||
| <ImageView fitHeight="80.0" fitWidth="80.0" pickOnBounds="true" preserveRatio="true"> | |||
| <image> | |||
| <Image url="@../assets/account-circle-gray.png" /> | |||
| </image> | |||
| </ImageView> | |||
| </children> | |||
| </HBox> | |||
| <GridPane layoutX="94.0" layoutY="144.0" prefHeight="80.0" AnchorPane.leftAnchor="94.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="144.0"> | |||
| <columnConstraints> | |||
| <ColumnConstraints hgrow="NEVER" prefWidth="120.0" /> | |||
| <ColumnConstraints hgrow="ALWAYS" maxWidth="250.0" /> | |||
| <ColumnConstraints hgrow="NEVER" prefWidth="120.0" /> | |||
| <ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" /> | |||
| </columnConstraints> | |||
| <rowConstraints> | |||
| <RowConstraints /> | |||
| <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> | |||
| <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> | |||
| </rowConstraints> | |||
| <children> | |||
| <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text="No Member" wrapText="true" GridPane.rowIndex="1"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.0" left="14.0" top="2.0" /> | |||
| </GridPane.margin> | |||
| <font> | |||
| <Font size="14.0" /> | |||
| </font> | |||
| </Label> | |||
| <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text=": -" GridPane.columnIndex="1" GridPane.rowIndex="1"> | |||
| <font> | |||
| <Font size="14.0" /> | |||
| </font> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.0" top="2.0" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text="Nama Member" wrapText="true" GridPane.rowIndex="2"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.0" left="14.0" top="2.0" /> | |||
| </GridPane.margin> | |||
| <font> | |||
| <Font size="14.0" /> | |||
| </font> | |||
| </Label> | |||
| <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text=": -" GridPane.columnIndex="1" GridPane.rowIndex="2"> | |||
| <font> | |||
| <Font size="14.0" /> | |||
| </font> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.0" top="2.0" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text="Tanggal Lahir" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="1"> | |||
| <GridPane.margin> | |||
| <Insets left="5.0" /> | |||
| </GridPane.margin> | |||
| <font> | |||
| <Font size="14.0" /> | |||
| </font> | |||
| </Label> | |||
| <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text=": -" GridPane.columnIndex="3" GridPane.rowIndex="1"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.0" top="2.0" /> | |||
| </GridPane.margin> | |||
| <font> | |||
| <Font size="14.0" /> | |||
| </font> | |||
| </Label> | |||
| <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text="Alamat" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="2"> | |||
| <GridPane.margin> | |||
| <Insets left="5.0" /> | |||
| </GridPane.margin> | |||
| <font> | |||
| <Font size="14.0" /> | |||
| </font> | |||
| </Label> | |||
| <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text=": -" GridPane.columnIndex="3" GridPane.rowIndex="2"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.0" top="2.0" /> | |||
| </GridPane.margin> | |||
| <font> | |||
| <Font size="14.0" /> | |||
| </font> | |||
| </Label> | |||
| </children> | |||
| </GridPane> | |||
| <TableView layoutY="224.0" prefHeight="170.0" prefWidth="800.0" tableMenuButtonVisible="true" AnchorPane.bottomAnchor="55.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="224.0"> | |||
| <Separator layoutY="116.0" prefHeight="0.0" prefWidth="800.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="116.0" /> | |||
| <TableView layoutY="150.0" prefHeight="245.0" prefWidth="800.0" AnchorPane.bottomAnchor="55.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="150.0"> | |||
| <columns> | |||
| <TableColumn maxWidth="30.0" minWidth="30.0" prefWidth="30.0" resizable="false" text="No" /> | |||
| <TableColumn prefWidth="75.0" text="Kode Barang" /> | |||
| <TableColumn prefWidth="133.5999755859375" text="Kode Barang" /> | |||
| <TableColumn minWidth="0.0" prefWidth="88.0" text="Nama Barang" /> | |||
| <TableColumn minWidth="0.0" prefWidth="61.5999755859375" resizable="false" text="Ukur" /> | |||
| <TableColumn minWidth="52.0" prefWidth="84.0" text="Jumlah" /> | |||
| <TableColumn prefWidth="75.0" text="Harga" /> | |||
| <TableColumn prefWidth="75.0" text="Disc1" /> | |||
| <TableColumn prefWidth="75.0" text="Disc2" /> | |||
| <TableColumn prefWidth="75.0" text="Promo" /> | |||
| <TableColumn prefWidth="75.0" text="Sub Total" /> | |||
| <TableColumn prefWidth="75.0" text="Pramuniaga" /> | |||
| </columns> | |||
| <columnResizePolicy> | |||
| <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> | |||
| @@ -14,141 +14,12 @@ | |||
| <?import javafx.scene.layout.GridPane?> | |||
| <?import javafx.scene.layout.HBox?> | |||
| <?import javafx.scene.layout.RowConstraints?> | |||
| <?import javafx.scene.layout.StackPane?> | |||
| <?import javafx.scene.layout.VBox?> | |||
| <?import javafx.scene.text.Font?> | |||
| <BorderPane fx:id="bpMain" prefHeight="600.0" prefWidth="1000.0" stylesheets="@../styles/pos_styles.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="id.amigogroup.posterminal.FormUtamaController"> | |||
| <top> | |||
| <AnchorPane id="header" prefHeight="100.0" prefWidth="750.0"> | |||
| <children> | |||
| <VBox alignment="CENTER" layoutX="14.0" layoutY="22.0" prefWidth="150.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0"> | |||
| <children> | |||
| <ImageView fitHeight="90.0" fitWidth="140.0" pickOnBounds="true" preserveRatio="true"> | |||
| <image> | |||
| <Image url="@../assets/logo.png" /> | |||
| </image> | |||
| </ImageView> | |||
| </children> | |||
| </VBox> | |||
| <GridPane id="shortcut-box" layoutX="153.0" layoutY="5.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="150.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> | |||
| <columnConstraints> | |||
| <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="20.0" /> | |||
| <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> | |||
| <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> | |||
| <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> | |||
| <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> | |||
| </columnConstraints> | |||
| <rowConstraints> | |||
| <RowConstraints minHeight="10.0" vgrow="SOMETIMES" /> | |||
| <RowConstraints minHeight="10.0" vgrow="SOMETIMES" /> | |||
| <RowConstraints minHeight="10.0" vgrow="SOMETIMES" /> | |||
| <RowConstraints minHeight="10.0" vgrow="SOMETIMES" /> | |||
| </rowConstraints> | |||
| <children> | |||
| <StackPane id="shortcut-background" prefHeight="150.0" prefWidth="200.0" GridPane.columnSpan="5" GridPane.rowSpan="4" /> | |||
| <Label maxWidth="1.7976931348623157E308" text="F1: NOTA SEBELUM"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="5.0" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="F6: CARI PELANGGAN" GridPane.rowIndex="1"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="F11: CARI NOTA BAWA" GridPane.rowIndex="2"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="CTRL+F: CARI NOTA TUNAI" GridPane.rowIndex="3"> | |||
| <GridPane.margin> | |||
| <Insets bottom="5.0" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="F2: NOTA SETELAH" GridPane.columnIndex="1"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="5.0" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="F7: FORM TUNDA" GridPane.columnIndex="1" GridPane.rowIndex="1"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="F12: CARI NOTA RETUR" GridPane.columnIndex="1" GridPane.rowIndex="2"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="CTRL+P: CETAK ULANG" GridPane.columnIndex="1" GridPane.rowIndex="3"> | |||
| <GridPane.margin> | |||
| <Insets bottom="5.0" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="F3: ?" GridPane.columnIndex="2"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="5.0" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="F8: CHECK OUT" GridPane.columnIndex="2" GridPane.rowIndex="1"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="CTRL+E: UN/EDIT ITEM" GridPane.columnIndex="2" GridPane.rowIndex="2"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="CTRL+I: KOMISI PER PERIODE" GridPane.columnIndex="2" GridPane.rowIndex="3"> | |||
| <GridPane.margin> | |||
| <Insets bottom="5.0" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="F4: ?" GridPane.columnIndex="3"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="5.0" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="F9: BON" GridPane.columnIndex="3" GridPane.rowIndex="1"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="CTRL+T: TUNDA TRANSAKSI" GridPane.columnIndex="3" GridPane.rowIndex="2"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="CTRL+L: LOGOUT" GridPane.columnIndex="3" GridPane.rowIndex="3"> | |||
| <GridPane.margin> | |||
| <Insets bottom="5.0" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="F5: CARI BARANG" GridPane.columnIndex="4"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="5.0" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="F10: CETAK NOTA" GridPane.columnIndex="4" GridPane.rowIndex="1"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| </Label> | |||
| <Label maxWidth="1.7976931348623157E308" text="CTRL+Q: TAMBAH TAS" GridPane.columnIndex="4" GridPane.rowIndex="2"> | |||
| <GridPane.margin> | |||
| <Insets bottom="2.5" left="5.0" right="5.0" top="2.5" /> | |||
| </GridPane.margin> | |||
| <font> | |||
| <Font name="System Bold" size="12.0" /> | |||
| </font> | |||
| </Label> | |||
| </children> | |||
| </GridPane> | |||
| </children> | |||
| </AnchorPane> | |||
| <AnchorPane id="header" prefHeight="0.0" prefWidth="1000.0" /> | |||
| </top> | |||
| <center> | |||
| <ScrollPane fx:id="spMainContent" fitToHeight="true" fitToWidth="true" style="-fx-background-color: transparent;" /> | |||
| @@ -210,6 +81,11 @@ | |||
| <content> | |||
| <VBox fx:id="vbNavigasi" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" spacing="5.0" style="-fx-border-style: none;"> | |||
| <children> | |||
| <ImageView fitHeight="90.0" fitWidth="140.0" pickOnBounds="true" preserveRatio="true"> | |||
| <image> | |||
| <Image url="@../assets/logo.png" /> | |||
| </image> | |||
| </ImageView> | |||
| <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#btnTambahNotaOnAction" text="Tambah"> | |||
| <VBox.margin> | |||
| <Insets bottom="9.0" right="5.0" top="14.0" /> | |||