protected void btnSubCategoryMaster_click(object sender, EventArgs e)
 {
     checkRights(128);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/Admin/View/ViewSubCategoryMaster.aspx", false);
     }
     else
     {
         ModalPopupMsg.Show();
         return;
     }
 }
Esempio n. 2
0
 protected void btnAnnexureV_click(object sender, EventArgs e)
 {
     checkRights(127);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/RoportForms/VIEW/ViewAnnexureVGST.aspx", false);
     }
     else
     {
         ModalPopupMsg.Show();
         return;
     }
 }
 protected void btnCurrencyMaster_click(object sender, EventArgs e)
 {
     checkRights(8);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/Admin/View/ViewCurrancyMaster.aspx", false);
     }
     else
     {
         ModalPopupMsg.Show();
         return;
         // Response.Write("<script> alert('You Have No Rights To View.');</script>");
     }
 }
Esempio n. 4
0
 protected void btnSalesOrderPendingStatus_click(object sender, EventArgs e)
 {
     //checkRights(109);
     checkRights(90);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/RoportForms/VIEW/ViewSalesPendingOrderStatus.aspx", false);
     }
     else
     {
         ModalPopupMsg.Show();
         return;
     }
 }
Esempio n. 5
0
 protected void btnSelfSealingCertificate(object sender, EventArgs e)
 {
     checkRights(93);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/RoportForms/VIEW/ViewSelfSealingCertificateReport.aspx", false);
     }
     else
     {
         //Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
Esempio n. 6
0
 protected void btnTrayDeliveryChallanRegister(object sender, EventArgs e)
 {
     checkRights(78);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/RoportForms/VIEW/DeliveryChallanRegisterTray.aspx", false);
     }
     else
     {
         //Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
 protected void btnMaterialRequisitionMISReport_Click(object sender, EventArgs e)
 {
     checkRights(62);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/RoportForms/VIEW/ViewMaterialRequisition_MIS.aspx", false);
     }
     else
     {
         //Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
Esempio n. 8
0
 protected void btnMaterialRequisition_click(object sender, EventArgs e)
 {
     checkRights(105);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/Transactions/VIEW/ViewExciseCreditEntry.aspx", false);
     }
     else
     {
         //Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
Esempio n. 9
0
 protected void btnGSTBillPassingPenReport_click(object sender, EventArgs e)
 {
     checkRights(124);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/RoportForms/VIEW/GINPendingForBillPassing.aspx", false);
     }
     else
     {
         //Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
 protected void btnProCode_click(object sender, EventArgs e)
 {
     checkRights(112);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/Masters/VIEW/ViewProjectCodeMaster.aspx", false);
     }
     else
     {
         //Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
Esempio n. 11
0
 protected void btnDailyRegister_click(object sender, EventArgs e)
 {
     checkRights(109);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/RoportForms/VIEW/ViewDailyStockAccDetail.aspx", false);
     }
     else
     {
         //Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
Esempio n. 12
0
 protected void btnVCM_click(object sender, EventArgs e)
 {
     checkRights(67);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("../../Utility/ADD/CreateVCM.aspx", false);
     }
     else
     {
         Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
 protected void btnPurRej_click(object sender, EventArgs e)
 {
     checkRights(68);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/Transactions/VIEW/ViewPurchaseRejection.aspx", false);
     }
     else
     {
         Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
 protected void btnDispatchToSubReport_click(object sender, EventArgs e)
 {
     checkRights(21);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/RoportForms/VIEW/ViewDispatchtoSubcontractor.aspx", false);
     }
     else
     {
         Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
 protected void btnWithoutPOInward_click(object sender, EventArgs e)
 {
     checkRights(39);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/Transactions/VIEW/ViewMaterialInwardExcludeSPO.aspx", false);
     }
     else
     {
         //Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
Esempio n. 16
0
 protected void btnTallyMaster_click(object sender, EventArgs e)
 {
     checkRights(32);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/Admin/View/ViewTallyMaster.aspx", false);
     }
     else
     {
         ModalPopupMsg.TargetControlID = "comp2";
         popUpPanel5.Visible           = true;
         ModalPopupMsg.Show();
         //Response.Write("<script> alert('You Have No Rights To View.');</script>");
     }
 }
Esempio n. 17
0
 protected void btnTallyPurchase_click(object sender, EventArgs e)
 {
     checkRights(67);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         //Response.Redirect("../../Utility/VIEW/ViewTallyTransferPurchase.aspx", false);
         Response.Redirect("../../Utility/ADD/TallyTransferPurchase.aspx?c_name=INSERT", false);
     }
     else
     {
         Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
 protected void btnProcess_click(object sender, EventArgs e)
 {
     checkRights(88);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         string type = "purchase";
         Response.Redirect("~/Admin/VIEW/ViewProcessMaster.aspx?c_name=" + type + "", false);
     }
     else
     {
         // Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
Esempio n. 19
0
 protected void btnUnlockRecords_click(object sender, EventArgs e)
 {
     checkRights(4);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/Admin/Add/RemoveModifyLock.aspx", false);
     }
     else
     {
         // Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.TargetControlID = "comp3";
         popUpPanel5.Visible           = true;
         ModalPopupMsg.Show();
     }
 }
Esempio n. 20
0
 protected void btnMasterReport_click(object sender, EventArgs e)
 {
     checkRights(117);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         string type = "purchase";
         Response.Redirect("~/RoportForms/ADD/AllMasterReport.aspx", false);
     }
     else
     {
         // Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }
Esempio n. 21
0
 protected void btnItemCategory_click(object sender, EventArgs e)
 {
     checkRights(9);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         Response.Redirect("~/Masters/VIEW/ViewItemCategoryMaster.aspx", false);
     }
     else
     {
         //popUpPanel5.Visible = true;
         //ModalPopupMsg.TargetControlID = "l1";
         ModalPopupMsg.Show();
         return;
         //Response.Write("<script> alert('You Have No Rights To View.');</script>");
     }
 }
Esempio n. 22
0
 protected void SuppliInvoice_click(object sender, EventArgs e)
 {
     checkRights(66);
     if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu"))
     {
         //Response.Redirect("../../Utility/VIEW/ViewTallyTransferSales.aspx", false);
         // Hiten
         // Direct Shows Tally Transfer Screen
         string type = "INSERT";
         Response.Redirect("~/Utility/ADD/SuppliementoryInvoice.aspx?c_name=" + type, false);
     }
     else
     {
         Response.Write("<script> alert('You Have No Rights To View.');</script>");
         ModalPopupMsg.Show();
         return;
     }
 }