Example #1
0
 async void RekListrikNavigateTo(Shared.Services.Table.CONTAINER_REKENING_LISTRIK_CHECKED rl)
 {
     await Navigation.PushAsync(new Shared.Modules.Pages.RekeningListrik.RekeningListrikDetail(
                                    rl.alamat,
                                    rl.tahun,
                                    rl.bulan,
                                    rl.pasar,
                                    rl.nmpasar,
                                    rl.nmped,
                                    rl.alamat,
                                    rl.daya,
                                    rl.awal,
                                    rl.akhir,
                                    rl.pakai,
                                    rl.biaya,
                                    rl.beban,
                                    rl.ttlb,
                                    rl.ppj,
                                    rl.jasa,
                                    rl.btu,
                                    rl.materai,
                                    rl.ppn,
                                    rl.total,
                                    rl.tglbayar,
                                    rl.uid,
                                    rl.uname
                                    ), true);
 }
Example #2
0
        async void RekListrikNavigateTo(Shared.Services.Table.CONTAINER_REKENING_LISTRIK_CHECKED rl)
        {
            var answer = await Shared.Settings.Panels.ActionSheet.Display("MENU : ", "Tambah", "Kurang", "Lihat Detail");

            if (answer == "Lihat Detail")
            {
                await Navigation.PushAsync(new Shared.Modules.Pages.RekeningListrik.RekeningListrikDetail(
                                               rl.alamat,
                                               rl.tahun,
                                               rl.bulan,
                                               rl.pasar,
                                               rl.nmpasar,
                                               rl.nmped,
                                               rl.alamat,
                                               rl.daya,
                                               rl.awal,
                                               rl.akhir,
                                               rl.pakai,
                                               rl.biaya,
                                               rl.beban,
                                               rl.ttlb,
                                               rl.ppj,
                                               rl.jasa,
                                               rl.btu,
                                               rl.materai,
                                               rl.ppn,
                                               rl.total,
                                               rl.tglbayar,
                                               rl.uid,
                                               rl.uname
                                               ), true);
            }
            else if (answer == "Tambah")
            {
                arrRL.akhir    = rl.akhir;
                arrRL.alamat   = rl.alamat;
                arrRL.awal     = rl.awal;
                arrRL.beban    = rl.beban;
                arrRL.biaya    = rl.biaya;
                arrRL.btu      = rl.btu;
                arrRL.bulan    = rl.bulan;
                arrRL.daya     = rl.daya;
                arrRL.jasa     = rl.jasa;
                arrRL.jns      = rl.jns;
                arrRL.materai  = rl.materai;
                arrRL.nmpasar  = rl.nmpasar;
                arrRL.nmped    = rl.nmped;
                arrRL.nomor    = rl.nomor;
                arrRL.nostand  = rl.nostand;
                arrRL.pakai    = rl.pakai;
                arrRL.pasar    = rl.pasar;
                arrRL.ppj      = rl.ppj;
                arrRL.ppn      = rl.ppn;
                arrRL.tahun    = rl.tahun;
                arrRL.tglbayar = rl.tglbayar;
                arrRL.total    = rl.total;
                arrRL.ttlb     = rl.ttlb;
                arrRL.uid      = rl.uid;
                arrRL.uname    = rl.uname;
                addToProcessRL(arrRL);
            }
            else if (answer == "Kurang")
            {
                arrRL.nostand = rl.nostand;
                removeFromProcessRL(arrRL);
            }
        }