|
|
|
|
@ -12,6 +12,7 @@ import id.amigogroup.posterminal.model.DNotaTunai;
|
|
|
|
|
import id.amigogroup.posterminal.model.NoBarang;
|
|
|
|
|
import id.amigogroup.posterminal.util.AmigoPosCache;
|
|
|
|
|
import id.amigogroup.posterminal.util.AlertUtil;
|
|
|
|
|
import id.amigogroup.posterminal.util.ButtonUtility;
|
|
|
|
|
import id.amigogroup.posterminal.util.Fucout;
|
|
|
|
|
import io.reactivex.Observable;
|
|
|
|
|
import io.reactivex.Observer;
|
|
|
|
|
@ -90,7 +91,6 @@ public class FormTransaksiTunaiController implements Initializable {
|
|
|
|
|
final ObservableList<TabelBarangTunai> daftarTabelTransaksi = FXCollections.observableArrayList();
|
|
|
|
|
@FXML
|
|
|
|
|
private Text lblGrandTotal;
|
|
|
|
|
public static final ButtonType btnAction = new ButtonType("BATAL", ButtonBar.ButtonData.YES);
|
|
|
|
|
|
|
|
|
|
private String noNota = "";
|
|
|
|
|
private AmigoPosRx posRx = new AmigoPosRx();
|
|
|
|
|
@ -145,7 +145,7 @@ public class FormTransaksiTunaiController implements Initializable {
|
|
|
|
|
ComboBox<String> cbxPromo = new ComboBox<>(FXCollections.observableArrayList(promo));
|
|
|
|
|
cbxPromo.getSelectionModel().select("Ulang Tahun");
|
|
|
|
|
//Button
|
|
|
|
|
Button btnAction = new Button("BATAL");
|
|
|
|
|
Button btnAction = ButtonUtility.generateButton(ButtonUtility.CLOSE_ICON);
|
|
|
|
|
btnAction.setOnAction((t) -> {
|
|
|
|
|
Alert alert = AlertUtil.getAlertError(
|
|
|
|
|
AlertUtil.DIALOG_KONFIRMASI_MESSAGE,
|
|
|
|
|
@ -221,7 +221,7 @@ public class FormTransaksiTunaiController implements Initializable {
|
|
|
|
|
ComboBox<String> cbxPromo = new ComboBox<>(FXCollections.observableArrayList(promo));
|
|
|
|
|
cbxPromo.getSelectionModel().select("Ulang Tahun");
|
|
|
|
|
|
|
|
|
|
Button btnAction = new Button("BATAL");
|
|
|
|
|
Button btnAction = ButtonUtility.generateButton(ButtonUtility.CLOSE_ICON);
|
|
|
|
|
btnAction.setOnAction((t) -> {
|
|
|
|
|
Alert alert = AlertUtil.getAlertDialogKonfirmasi(
|
|
|
|
|
AlertUtil.DIALOG_KONFIRMASI_MESSAGE,
|
|
|
|
|
|