public Modul_Kas_Besar(MainForm mf) { InitializeComponent(); allFunc = new AllFunc("Kas besar", mf); obj = new JurnalUmum(); subObj = new SubJurnalUmum(); kas = new Kas(); dbo = new DbObject(); }
public Modul_Kas_Kecil() { InitializeComponent(); allFunc = new AllFunc("Kas kecil", null); obj = new JurnalUmum(); subObj = new SubJurnalUmum(); kas = new Kas(); dbo = new DbObject(); }
public Modul_Pembelian() { InitializeComponent(); allFunc = new AllFunc(); beli = new Beli(); subBeli = new SubBeli(); dbo = new DbObject(); obj = new JurnalUmum(); subObj = new SubJurnalUmum(); kas = new Kas(); utang = new Utang(); //stock = new Stock(); //terimaBarng = new TerimaBarang(); //subTerimaBarang = new SubTerimaBarang(); }
public Modul_Pembayaran() { InitializeComponent(); allfunc = new AllFunc(); dbo = new DbObject(); kas = new Kas(); obj = new JurnalUmum(); subObj = new SubJurnalUmum(); piutang = new Piutang(); stock = new Stock(); stockGudang = new StockGudang(); noBon = new NoBon(); jual = new Jual(); subjual = new SubJual(); returJual = new RetJual(); returSubJual = new RetSubJual(); racikan = new Racikan(); jasa = new Jasa(); label15.Visible = false; }
public Modul_Pembayaran(Modul_POS modulPos,Login login) { InitializeComponent(); this.modulPos = modulPos; allfunc = new AllFunc(); string[] custDataArr = modulPos.getCustomer(); if (custDataArr[0].CompareTo("") == 0) { kodePelangganTxt.Text = "TUNAI"; namaKodePelangganTxt.Text = "TUNAI"; namaPasienTxt.Text = "TUNAI"; alamatPasienTxt.Text = ""; alamatTxt.Text = ""; } else { kodePelangganTxt.Text = custDataArr[0]; namaKodePelangganTxt.Text = custDataArr[1]; namaPasienTxt.Text = custDataArr[1]; alamatPasienTxt.Text = custDataArr[2]; alamatTxt.Text = custDataArr[2]; } this.jumlahPenjualan = modulPos.jumlahPenjualan; this.jumlahDiskon = modulPos.jumlahDiskon; this.jumlahPenjualanBruto = modulPos.jumlahPenjualanBruto; nettoTxt.Text = allfunc.digit_separated(Convert.ToString(this.jumlahPenjualan)); discountRPTxt.Text = allfunc.digit_separated(Convert.ToString(modulPos.jumlahDiskon)); dbo = new DbObject(); kas = new Kas(); obj = new JurnalUmum(); subObj = new SubJurnalUmum(); piutang = new Piutang(); stock = new Stock(); stockGudang = new StockGudang(); noBon = new NoBon(); jual = new Jual(); subjual = new SubJual(); returJual = new RetJual(); returSubJual = new RetSubJual(); racikan = new Racikan(); jasa = new Jasa(); this.login = login; label15.Visible = false; kasir = login.username; }