private void PrepareInitialView() { BuildDropDownList(); #region Payable Info //if (CurrentACCPostPayableStatementEntity != null && CurrentACCPostPayableStatementEntity.PostPayableStatementID > 0) //{ // ACCPostPayableStatementEntity ent = CurrentACCPostPayableStatementEntity; // lblRef.Text = ent.Ref; // lblCreateDate.Text = ent.CreateDate.ToStringDefault(); // lblStartDate.Text = ent.StartDate.ToStringDefault(); // lblEndDate.Text = ent.EndDate.ToStringDefault(); //} #endregion #region Approval lvAPMemberFeedbackRemarks.DataSource = APRobot.GetMemberFeedbackRemarks_DetailedByApprovalProcessID(APApprovalProcessID); lvAPMemberFeedbackRemarks.DataBind(); EnableDisableApprovalButtons(); #endregion }
private void PrepareInitialView() { BuildDropDownList(); hypProjectID.Value = CurrentINVTransferEntity.TransferFromStoreID.ToString(); INVTransfer_DetailedEntity ent = CurrentINVTransferEntity; if (ent != null) { lblTRFNo.Text = ent.TRFNo.ToString(); lblRequestedDate.Text = ent.RequestDate.ToString(UIConstants.SHORT_DATE_FORMAT); lblFromStore.Text = ent.TransferFromStore.ToString(); lblToStore.Text = ent.TransferToStoreName.ToString(); } #region Approval lvAPMemberFeedbackRemarks.DataSource = APRobot.GetMemberFeedbackRemarks_DetailedByApprovalProcessID(APApprovalProcessID); lvAPMemberFeedbackRemarks.DataBind(); EnableDisableApprovalButtons(); #endregion }
private void PrepareInitialView() { BuildDropDownList(); BuildDropDownAPList(); BindList(); txtMRRNo.Text = String.Empty; txtMRRDate.Text = System.DateTime.Now.ToString("dd-MM-yyyy"); txtRemarks.Text = String.Empty; PRMMaterialReceiveItemMapList = new List <PRMMaterialReceiveItemMapEntity>(); UpdatedMappedPRMMaterialReceiveEntity = new List <PRMMaterialReceiveItemMapEntity>(); hypReport.NavigateUrl = UrlHelper.BuildSecureUrl("~/Reports/ReportViewer.aspx", string.Empty, "do", "MaterialReceiveReport", UrlConstants.OVERVIEW_MATERIAL_RECEIVE_ID, _MaterialReceiveID.ToString()).ToString(); hypReport.Target = "_blank"; #region Approval lvAPMemberFeedbackRemarks.DataSource = APRobot.GetMemberFeedbackRemarks_DetailedByApprovalProcessID(APApprovalProcessID); lvAPMemberFeedbackRemarks.DataBind(); //EnableDisableApprovalButtons(); #endregion btnSubmit.Text = "Add"; btnAddNew.Visible = false; }
private void PrepareInitialView() { BuildDropDownList(); BuildTotalValueLabel(); IsBankAmountOrCashAmount(); txtPaymentDate.Text = String.Empty; txtReference.Text = String.Empty; txtName.Text = String.Empty; txtMemo.Text = String.Empty; lblPreparedBy.Text = CurrentACBankAccountPayment_DetailedEntity.MemberFullName.ToString(); btnSubmit.Text = "Process Payment"; //btnAddNew.Visible = false; CurrentACBankAccountPaymentItemList = new List <ACBankAccountPaymentItem_DetailedEntity>(); hypReportLink.NavigateUrl = UrlHelper.BuildSecureUrl("~/Reports/ReportViewer.aspx", string.Empty, "do", ReportConstants.BANK_ACCOUNT_PAYMENT_REPORT, UrlConstants.OVERVIEW_BANK_ACCOUNT_PAYMENT_ID, OverviewBankAccountPaymentID.ToString()).ToString(); hypReportLink.Target = "_blank"; #region Approval lvAPMemberFeedbackRemarks.DataSource = APRobot.GetMemberFeedbackRemarks_DetailedByApprovalProcessID(APApprovalProcessID); lvAPMemberFeedbackRemarks.DataBind(); EnableDisableApprovalButtons(); #endregion }
private void PrepareInitialView() { BuildDropDownList(); lblWorkOrderNo.Text = CurrentWorkOrderEntity.WorkOrderNo.ToString(); BuildGrandTotalLabel(); #region Build Hyperlink if (CurrentWorkOrderEntity.WorkOrderStatusID == MasterDataConstants.WorkOrderStatus.APPROVED) { hypWorkOrder.NavigateUrl = String.Empty; hypWorkOrderItem.NavigateUrl = String.Empty; hypWorkOrderPaymentTerm.NavigateUrl = String.Empty; } else { hypWorkOrder.NavigateUrl = UrlHelper.BuildSecureUrl("~/PRM/PRMWorkOrder.aspx", string.Empty, UrlConstants.OVERVIEW_WORKORDER_ID, PRMWorkOrderID.ToString()).ToString();; hypWorkOrderItem.NavigateUrl = UrlHelper.BuildSecureUrl("~/PRM/PRMWorkOrderItemMap.aspx", string.Empty, UrlConstants.OVERVIEW_WORKORDER_ID, PRMWorkOrderID.ToString(), PRMWorkOrderEntity.FLD_NAME_WorkOrderNo, CurrentWorkOrderEntity.WorkOrderNo).ToString(); hypWorkOrderPaymentTerm.NavigateUrl = UrlHelper.BuildSecureUrl("~/PRM/PRMWorkOrderPaymentTerm.aspx", string.Empty, UrlConstants.OVERVIEW_WORKORDER_ID, PRMWorkOrderID.ToString(), PRMWorkOrderEntity.FLD_NAME_WorkOrderNo, CurrentWorkOrderEntity.WorkOrderNo).ToString(); } hypReport.NavigateUrl = UrlHelper.BuildSecureUrl("~/Reports/ReportViewer.aspx", string.Empty, "do", "WorkOrderReport", UrlConstants.OVERVIEW_WORKORDER_ID, PRMWorkOrderID.ToString()).ToString(); hypReport.Target = "_blank"; if (CurrentWorkOrderEntity.WorkOrderStatusID == MasterDataConstants.WorkOrderStatus.CANCELED || CurrentWorkOrderEntity.WorkOrderStatusID == MasterDataConstants.WorkOrderStatus.APPROVED || CurrentWorkOrderEntity.WorkOrderStatusID == MasterDataConstants.WorkOrderStatus.REJECTED) { btnCancelWO.Enabled = false; } #endregion #region Approval lvAPMemberFeedbackRemarks.DataSource = APRobot.GetMemberFeedbackRemarks_DetailedByApprovalProcessID(APApprovalProcessID); lvAPMemberFeedbackRemarks.DataBind(); EnableDisableApprovalButtons(); PrepareInitialViewPopup(); #endregion }
private void PrepareInitialView() { BuildDropDownList(); txtAgreementDate.Text = String.Empty; txtSignDate.Text = String.Empty; txtExecuteDate.Text = String.Empty; txtWizardRemarks.Text = String.Empty; hypAgreementVariableMap.NavigateUrl = UrlHelper.BuildSecureUrl("~/CRM/CRMAgreementVariableMap.aspx", String.Empty, UrlConstants.OVERVIEW_AGREEMENT_ID, OverviewAgreementID.ToString()).ToString(); hypAgreementVariableMap.Target = "_blank"; #region Approval lvAPMemberFeedbackRemarks.DataSource = APRobot.GetMemberFeedbackRemarks_DetailedByApprovalProcessID(APApprovalProcessID); lvAPMemberFeedbackRemarks.DataBind(); EnableDisableApprovalButtons(); #endregion }
private void PrepareInitialView() { BuildDropDownList(); txtApplicationDate.Text = String.Empty; txtRequestStartDate.Text = String.Empty; txtRequestEndDate.Text = String.Empty; txtTotalLeaveDays.Text = String.Empty; //txtDescription.Text = String.Empty; btnSubmit.Text = "Update"; #region Approval lvAPMemberFeedbackRemarks.DataSource = APRobot.GetMemberFeedbackRemarks_DetailedByApprovalProcessID(APApprovalProcessID); lvAPMemberFeedbackRemarks.DataBind(); EnableDisableApprovalButtons(); #endregion }
private void PrepareInitialView() { BuildDropDownList(); txtAppliedLoanAmount.Text = String.Empty; txtLoanPaymentStartDate.Text = String.Empty; txtLoanPaymentEndDate.Text = String.Empty; txtNumberOfInstallment.Text = String.Empty; txtDescription.Text = String.Empty; txtLoanRemarks.Text = String.Empty; #region Approval lvAPMemberFeedbackRemarks.DataSource = APRobot.GetMemberFeedbackRemarks_DetailedByApprovalProcessID(APApprovalProcessID); lvAPMemberFeedbackRemarks.DataBind(); EnableDisableApprovalButtons(); #endregion }
private void PrepareInitialView() { BuildDropDownList(); CMBill_DetailedEntity _cMBill_DetailedEntity = CurrentCMBillEntity; lblProject.Text = _cMBill_DetailedEntity.BDProjectProjectName; lblBillNo.Text = _cMBill_DetailedEntity.BillNo; lblVendor.Text = _cMBill_DetailedEntity.SupplierName; lblWorkOrder.Text = (_cMBill_DetailedEntity.WorkOrderID == MasterDataConstants.ItemDefaults.DEFAULT_WORKORDER) ? "N/A" : _cMBill_DetailedEntity.WorkOrderNo.ToString(); lblAmount.Text = _cMBill_DetailedEntity.Amount.ToString(); lblBillDate.Text = _cMBill_DetailedEntity.BillDate.ToString(UIConstants.SHORT_DATE_FORMAT); #region Approval lvAPMemberFeedbackRemarks.DataSource = APRobot.GetMemberFeedbackRemarks_DetailedByApprovalProcessID(APApprovalProcessID); lvAPMemberFeedbackRemarks.DataBind(); EnableDisableApprovalButtons(); #endregion }
private void PrepareInitialView() { BuildDropDownList(); BuildDropDownAPList(); txtTransferDate.Text = String.Empty; txtAmount.Text = String.Empty; txtBankCharge.Text = String.Empty; txtMemo.Text = String.Empty; txtBankAccountRemarks.Text = String.Empty; #region Approval lvAPMemberFeedbackRemarks.DataSource = APRobot.GetMemberFeedbackRemarks_DetailedByApprovalProcessID(APApprovalProcessID); lvAPMemberFeedbackRemarks.DataBind(); EnableDisableApprovalButtons(); #endregion btnSubmit.Text = "Update"; }