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;
        }
 public Modul_Barang_Data()
 {
     InitializeComponent();
     obj = new Stock();
 }
 public Modul_Barang_Data(MainForm mf)
 {
     InitializeComponent();
     obj = new Stock();
     this.mf = mf;
 }