Fungsi Mengambil data transaksi dari tabel nota tunai
parent
367c5bdd20
commit
e6be4cbbce
@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.pencarian;
|
||||
|
||||
import id.amigogroup.posterminal.model.Barang;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author ronal
|
||||
*/
|
||||
public class BarangCache {
|
||||
private static BarangCache instance;
|
||||
private Map<String, Barang> daftarBarang;
|
||||
|
||||
private BarangCache(){
|
||||
daftarBarang = new HashMap<>();
|
||||
}
|
||||
|
||||
public static BarangCache getInstance(){
|
||||
if(instance == null) instance = new BarangCache();
|
||||
return instance;
|
||||
}
|
||||
|
||||
public Map<String, Barang> getDaftarBarang(){
|
||||
return daftarBarang;
|
||||
}
|
||||
}
|
||||
@ -1,169 +1,166 @@
|
||||
/*
|
||||
* 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;
|
||||
import javafx.scene.control.ComboBox;
|
||||
import javafx.scene.control.TextField;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author AGNES
|
||||
*/
|
||||
public class TabelBarangRetur {
|
||||
|
||||
|
||||
|
||||
private SimpleStringProperty tcKodeRetur;
|
||||
private SimpleStringProperty tcNamaRetur;
|
||||
private SimpleStringProperty tcUkurRetur;
|
||||
private SimpleStringProperty tcJumlahRetur;
|
||||
private SimpleStringProperty tcHargaRetur;
|
||||
private SimpleStringProperty tcDisc1Retur;
|
||||
private SimpleStringProperty tcDisc2Retur;
|
||||
private SimpleStringProperty tcSubtotalRetur;
|
||||
private SimpleObjectProperty<TextField>tcPramuniagaRetur;
|
||||
|
||||
public TabelBarangRetur(String tcKodeRetur, String tcNamaRetur, String tcUkurRetur, String tcJumlahRetur, String tcHargaRetur, String tcDisc1Retur,
|
||||
String tcDisc2Retur, String tcSubtotalRetur, TextField tcPramuniagaRetur) {
|
||||
this.tcKodeRetur = new SimpleStringProperty(tcKodeRetur);
|
||||
this.tcNamaRetur = new SimpleStringProperty(tcNamaRetur);
|
||||
this.tcUkurRetur = new SimpleStringProperty(tcUkurRetur);
|
||||
this.tcJumlahRetur = new SimpleStringProperty(tcJumlahRetur);
|
||||
this.tcHargaRetur = new SimpleStringProperty(tcHargaRetur);
|
||||
this.tcDisc1Retur = new SimpleStringProperty(tcDisc1Retur);
|
||||
this.tcDisc2Retur = new SimpleStringProperty(tcDisc2Retur);
|
||||
this.tcSubtotalRetur = new SimpleStringProperty(tcSubtotalRetur);
|
||||
this.tcPramuniagaRetur = new SimpleObjectProperty<TextField>(tcPramuniagaRetur);
|
||||
}
|
||||
/**
|
||||
* @return the tcKode
|
||||
*/
|
||||
public String getTcKodeRetur() {
|
||||
return tcKodeRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcKode the tcKode to set
|
||||
*/
|
||||
public void setTcKodeRetur(String tcKodeRetur) {
|
||||
this.tcKodeRetur.set(tcKodeRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcNama
|
||||
*/
|
||||
public String getTcNamaRetur() {
|
||||
return tcNamaRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcNama the tcNama to set
|
||||
*/
|
||||
public void setTcNamaRetur(String tcNamaRetur) {
|
||||
this.tcNamaRetur.set(tcNamaRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcUkur
|
||||
*/
|
||||
public String getTcUkurRetur() {
|
||||
return tcUkurRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcUkur the tcUkur to set
|
||||
*/
|
||||
public void setTcUkurRetur(String tcUkurRetur) {
|
||||
this.tcUkurRetur.set(tcUkurRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcJumlah
|
||||
*/
|
||||
public String getTcJumlahRetur() {
|
||||
return tcJumlahRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcJumlah the tcJumlah to set
|
||||
*/
|
||||
public void setTcJumlahRetur(String tcJumlahRetur) {
|
||||
this.tcJumlahRetur.set(tcJumlahRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcHarga
|
||||
*/
|
||||
public String getTcHargaRetur() {
|
||||
return tcHargaRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcHarga the tcHarga to set
|
||||
*/
|
||||
public void setTcHargaRetur(String tcHargaRetur) {
|
||||
this.tcHargaRetur.set(tcHargaRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcDisc1
|
||||
*/
|
||||
public String getTcDisc1Retur() {
|
||||
return tcDisc1Retur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcDisc1 the tcDisc1 to set
|
||||
*/
|
||||
public void setTcDisc1Retur(String tcDisc1Retur) {
|
||||
this.tcDisc1Retur.set(tcDisc1Retur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcDisc2
|
||||
*/
|
||||
public String getTcDisc2Retur() {
|
||||
return tcDisc2Retur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcDisc2 the tcDisc2 to set
|
||||
*/
|
||||
public void setTcDisc2Retur(String tcDisc2Retur) {
|
||||
this.tcDisc2Retur.set(tcDisc2Retur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcSubtotal
|
||||
*/
|
||||
public String getTcSubtotalRetur() {
|
||||
return tcSubtotalRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcSubtotal the tcSubtotal to set
|
||||
*/
|
||||
public void setTcSubtotalRetur(String tcSubtotalRetur) {
|
||||
this.tcSubtotalRetur.set(tcSubtotalRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcPramuniaga
|
||||
*/
|
||||
public TextField getTcPramuniagaRetur() {
|
||||
return tcPramuniagaRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcPramuniaga the tcPramuniaga to set
|
||||
*/
|
||||
public void setTcPramuniagaRetur(TextField tcPramuniagaRetur) {
|
||||
this.tcPramuniagaRetur.set(tcPramuniagaRetur);
|
||||
}
|
||||
}
|
||||
/*
|
||||
* 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;
|
||||
import javafx.scene.control.ComboBox;
|
||||
import javafx.scene.control.TextField;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author AGNES
|
||||
*/
|
||||
public class TabelBarangRetur {
|
||||
private SimpleStringProperty tcKodeRetur;
|
||||
private SimpleStringProperty tcNamaRetur;
|
||||
private SimpleStringProperty tcUkurRetur;
|
||||
private SimpleStringProperty tcJumlahRetur;
|
||||
private SimpleStringProperty tcHargaRetur;
|
||||
private SimpleStringProperty tcDisc1Retur;
|
||||
private SimpleStringProperty tcDisc2Retur;
|
||||
private SimpleStringProperty tcSubtotalRetur;
|
||||
private SimpleObjectProperty<TextField>tcPramuniagaRetur;
|
||||
|
||||
public TabelBarangRetur(String tcKodeRetur, String tcNamaRetur, String tcUkurRetur, String tcJumlahRetur, String tcHargaRetur, String tcDisc1Retur,
|
||||
String tcDisc2Retur, String tcSubtotalRetur, TextField tcPramuniagaRetur) {
|
||||
this.tcKodeRetur = new SimpleStringProperty(tcKodeRetur);
|
||||
this.tcNamaRetur = new SimpleStringProperty(tcNamaRetur);
|
||||
this.tcUkurRetur = new SimpleStringProperty(tcUkurRetur);
|
||||
this.tcJumlahRetur = new SimpleStringProperty(tcJumlahRetur);
|
||||
this.tcHargaRetur = new SimpleStringProperty(tcHargaRetur);
|
||||
this.tcDisc1Retur = new SimpleStringProperty(tcDisc1Retur);
|
||||
this.tcDisc2Retur = new SimpleStringProperty(tcDisc2Retur);
|
||||
this.tcSubtotalRetur = new SimpleStringProperty(tcSubtotalRetur);
|
||||
this.tcPramuniagaRetur = new SimpleObjectProperty<TextField>(tcPramuniagaRetur);
|
||||
}
|
||||
/**
|
||||
* @return the tcKode
|
||||
*/
|
||||
public String getTcKodeRetur() {
|
||||
return tcKodeRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcKode the tcKode to set
|
||||
*/
|
||||
public void setTcKodeRetur(String tcKodeRetur) {
|
||||
this.tcKodeRetur.set(tcKodeRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcNama
|
||||
*/
|
||||
public String getTcNamaRetur() {
|
||||
return tcNamaRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcNama the tcNama to set
|
||||
*/
|
||||
public void setTcNamaRetur(String tcNamaRetur) {
|
||||
this.tcNamaRetur.set(tcNamaRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcUkur
|
||||
*/
|
||||
public String getTcUkurRetur() {
|
||||
return tcUkurRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcUkur the tcUkur to set
|
||||
*/
|
||||
public void setTcUkurRetur(String tcUkurRetur) {
|
||||
this.tcUkurRetur.set(tcUkurRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcJumlah
|
||||
*/
|
||||
public String getTcJumlahRetur() {
|
||||
return tcJumlahRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcJumlah the tcJumlah to set
|
||||
*/
|
||||
public void setTcJumlahRetur(String tcJumlahRetur) {
|
||||
this.tcJumlahRetur.set(tcJumlahRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcHarga
|
||||
*/
|
||||
public String getTcHargaRetur() {
|
||||
return tcHargaRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcHarga the tcHarga to set
|
||||
*/
|
||||
public void setTcHargaRetur(String tcHargaRetur) {
|
||||
this.tcHargaRetur.set(tcHargaRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcDisc1
|
||||
*/
|
||||
public String getTcDisc1Retur() {
|
||||
return tcDisc1Retur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcDisc1 the tcDisc1 to set
|
||||
*/
|
||||
public void setTcDisc1Retur(String tcDisc1Retur) {
|
||||
this.tcDisc1Retur.set(tcDisc1Retur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcDisc2
|
||||
*/
|
||||
public String getTcDisc2Retur() {
|
||||
return tcDisc2Retur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcDisc2 the tcDisc2 to set
|
||||
*/
|
||||
public void setTcDisc2Retur(String tcDisc2Retur) {
|
||||
this.tcDisc2Retur.set(tcDisc2Retur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcSubtotal
|
||||
*/
|
||||
public String getTcSubtotalRetur() {
|
||||
return tcSubtotalRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcSubtotal the tcSubtotal to set
|
||||
*/
|
||||
public void setTcSubtotalRetur(String tcSubtotalRetur) {
|
||||
this.tcSubtotalRetur.set(tcSubtotalRetur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcPramuniaga
|
||||
*/
|
||||
public TextField getTcPramuniagaRetur() {
|
||||
return tcPramuniagaRetur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcPramuniaga the tcPramuniaga to set
|
||||
*/
|
||||
public void setTcPramuniagaRetur(TextField tcPramuniagaRetur) {
|
||||
this.tcPramuniagaRetur.set(tcPramuniagaRetur);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,187 +1,184 @@
|
||||
/*
|
||||
* 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;
|
||||
import javafx.scene.control.ComboBox;
|
||||
import javafx.scene.control.TextField;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author AGNES
|
||||
*/
|
||||
public class TabelBarangTunai {
|
||||
|
||||
|
||||
|
||||
private SimpleStringProperty tcKode;
|
||||
private SimpleStringProperty tcNama;
|
||||
private SimpleStringProperty tcUkur;
|
||||
private SimpleStringProperty tcJumlah;
|
||||
private SimpleStringProperty tcHarga;
|
||||
private SimpleStringProperty tcDisc1;
|
||||
private SimpleStringProperty tcDisc2;
|
||||
private SimpleObjectProperty<ComboBox> tcPromo;
|
||||
private SimpleStringProperty tcSubtotal;
|
||||
private SimpleObjectProperty<TextField>tcPramuniaga;
|
||||
|
||||
public TabelBarangTunai(String tcKode, String tcNama, String tcUkur, String tcJumlah, String tcHarga, String tcDisc1,
|
||||
String tcDisc2, ComboBox tcPromo, String tcSubtotal, TextField tcPramuniaga) {
|
||||
this.tcKode = new SimpleStringProperty(tcKode);
|
||||
this.tcNama = new SimpleStringProperty(tcNama);
|
||||
this.tcUkur = new SimpleStringProperty(tcUkur);
|
||||
this.tcJumlah = new SimpleStringProperty(tcJumlah);
|
||||
this.tcHarga = new SimpleStringProperty(tcHarga);
|
||||
this.tcDisc1 = new SimpleStringProperty(tcDisc1);
|
||||
this.tcDisc2 = new SimpleStringProperty(tcDisc2);
|
||||
this.tcPromo = new SimpleObjectProperty<ComboBox>(tcPromo);
|
||||
this.tcSubtotal = new SimpleStringProperty(tcSubtotal);
|
||||
this.tcPramuniaga = new SimpleObjectProperty<TextField>(tcPramuniaga);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return the tcKode
|
||||
*/
|
||||
public String getTcKode() {
|
||||
return tcKode.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcKode the tcKode to set
|
||||
*/
|
||||
public void setTcKode(String tcKode) {
|
||||
this.tcKode.set(tcKode);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcNama
|
||||
*/
|
||||
public String getTcNama() {
|
||||
return tcNama.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcNama the tcNama to set
|
||||
*/
|
||||
public void setTcNama(String tcNama) {
|
||||
this.tcNama.set(tcNama);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcUkur
|
||||
*/
|
||||
public String getTcUkur() {
|
||||
return tcUkur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcUkur the tcUkur to set
|
||||
*/
|
||||
public void setTcUkur(String tcUkur) {
|
||||
this.tcUkur.set(tcUkur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcJumlah
|
||||
*/
|
||||
public String getTcJumlah() {
|
||||
return tcJumlah.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcJumlah the tcJumlah to set
|
||||
*/
|
||||
public void setTcJumlah(String tcJumlah) {
|
||||
this.tcJumlah.set(tcJumlah);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcHarga
|
||||
*/
|
||||
public String getTcHarga() {
|
||||
return tcHarga.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcHarga the tcHarga to set
|
||||
*/
|
||||
public void setTcHarga(String tcHarga) {
|
||||
this.tcHarga.set(tcHarga);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcDisc1
|
||||
*/
|
||||
public String getTcDisc1() {
|
||||
return tcDisc1.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcDisc1 the tcDisc1 to set
|
||||
*/
|
||||
public void setTcDisc1(String tcDisc1) {
|
||||
this.tcDisc1.set(tcDisc1);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcDisc2
|
||||
*/
|
||||
public String getTcDisc2() {
|
||||
return tcDisc2.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcDisc2 the tcDisc2 to set
|
||||
*/
|
||||
public void setTcDisc2(String tcDisc2) {
|
||||
this.tcDisc2.set(tcDisc2);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcPromo
|
||||
*/
|
||||
public ComboBox getTcPromo() {
|
||||
return tcPromo.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcPromo the tcPromo to set
|
||||
*/
|
||||
public void setTcPromo(ComboBox tcPromo) {
|
||||
this.tcPromo.set(tcPromo);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcSubtotal
|
||||
*/
|
||||
public String getTcSubtotal() {
|
||||
return tcSubtotal.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcSubtotal the tcSubtotal to set
|
||||
*/
|
||||
public void setTcSubtotal(String tcSubtotal) {
|
||||
this.tcSubtotal.set(tcSubtotal);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcPramuniaga
|
||||
*/
|
||||
public TextField getTcPramuniaga() {
|
||||
return tcPramuniaga.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tcPramuniaga the tcPramuniaga to set
|
||||
*/
|
||||
public void setTcPramuniaga(TextField tcPramuniaga) {
|
||||
this.tcPramuniaga.set(tcPramuniaga);
|
||||
}
|
||||
}
|
||||
/*
|
||||
* 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;
|
||||
import javafx.scene.control.ComboBox;
|
||||
import javafx.scene.control.TextField;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author AGNES
|
||||
*/
|
||||
public class TabelBarangTunai {
|
||||
private SimpleStringProperty kode;
|
||||
private SimpleStringProperty nama;
|
||||
private SimpleStringProperty ukur;
|
||||
private SimpleStringProperty jumlah;
|
||||
private SimpleStringProperty harga;
|
||||
private SimpleStringProperty disc1;
|
||||
private SimpleStringProperty disc2;
|
||||
private SimpleObjectProperty<ComboBox> cbxPromo;
|
||||
private SimpleStringProperty subTotal;
|
||||
private SimpleObjectProperty<TextField> fldPramuniaga;
|
||||
|
||||
public TabelBarangTunai(String kode, String nama, String ukur, String jumlah, String harga, String disc1,
|
||||
String disc2, ComboBox cbxPromo, String subTotal, TextField fldPramuniaga) {
|
||||
this.kode = new SimpleStringProperty(kode);
|
||||
this.nama = new SimpleStringProperty(nama);
|
||||
this.ukur = new SimpleStringProperty(ukur);
|
||||
this.jumlah = new SimpleStringProperty(jumlah);
|
||||
this.harga = new SimpleStringProperty(harga);
|
||||
this.disc1 = new SimpleStringProperty(disc1);
|
||||
this.disc2 = new SimpleStringProperty(disc2);
|
||||
this.cbxPromo = new SimpleObjectProperty<ComboBox>(cbxPromo);
|
||||
this.subTotal = new SimpleStringProperty(subTotal);
|
||||
this.fldPramuniaga = new SimpleObjectProperty<TextField>(fldPramuniaga);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return the kode
|
||||
*/
|
||||
public String getKode() {
|
||||
return kode.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param kode the kode to set
|
||||
*/
|
||||
public void setKode(String kode) {
|
||||
this.kode.set(kode);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcNama
|
||||
*/
|
||||
public String getNama() {
|
||||
return nama.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param nama the tcNama to set
|
||||
*/
|
||||
public void setNama(String nama) {
|
||||
this.nama.set(nama);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcUkur
|
||||
*/
|
||||
public String getUkur() {
|
||||
return ukur.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ukur the tcUkur to set
|
||||
*/
|
||||
public void setUkur(String ukur) {
|
||||
this.ukur.set(ukur);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcJumlah
|
||||
*/
|
||||
public String getJumlah() {
|
||||
return jumlah.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param jumlah the tcJumlah to set
|
||||
*/
|
||||
public void setJumlah(String jumlah) {
|
||||
this.jumlah.set(jumlah);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcHarga
|
||||
*/
|
||||
public String getHarga() {
|
||||
return harga.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param harga the tcHarga to set
|
||||
*/
|
||||
public void setHarga(String harga) {
|
||||
this.harga.set(harga);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcDisc1
|
||||
*/
|
||||
public String getDisc1() {
|
||||
return disc1.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param disc1 the tcDisc1 to set
|
||||
*/
|
||||
public void setDisc1(String disc1) {
|
||||
this.disc1.set(disc1);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcDisc2
|
||||
*/
|
||||
public String getDisc2() {
|
||||
return disc2.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param disc2 the tcDisc2 to set
|
||||
*/
|
||||
public void setDisc2(String disc2) {
|
||||
this.disc2.set(disc2);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcPromo
|
||||
*/
|
||||
public ComboBox getCbxPromo() {
|
||||
return cbxPromo.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param cbxPromo the tcPromo to set
|
||||
*/
|
||||
public void setCbxPromo(ComboBox cbxPromo) {
|
||||
this.cbxPromo.set(cbxPromo);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcSubtotal
|
||||
*/
|
||||
public String getSubTotal() {
|
||||
return subTotal.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param subTotal the tcSubtotal to set
|
||||
*/
|
||||
public void setSubTotal(String subTotal) {
|
||||
this.subTotal.set(subTotal);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tcPramuniaga
|
||||
*/
|
||||
public TextField getFldPramuniaga() {
|
||||
return fldPramuniaga.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param fldPramuniaga the tcPramuniaga to set
|
||||
*/
|
||||
public void setFldPramuniaga(TextField fldPramuniaga) {
|
||||
this.fldPramuniaga.set(fldPramuniaga);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue