Beispiel #1
0
        private void ViewFactura_TI_Click(object sender, EventArgs e)
        {
            if (FacturaActual == null)
            {
                return;
            }

            InputInvoiceViewForm form = new InputInvoiceViewForm(FacturaActual.Oid, FacturaActual.ETipoAcreedor, this);

            form.ShowDialog(this);
        }
        protected virtual void VerPendienteAction()
        {
            if (Pendientes_DGW.CurrentRow == null)
            {
                return;
            }

            InputInvoiceInfo factura = Pendientes_DGW.CurrentRow.DataBoundItem as InputInvoiceInfo;

            InputInvoiceViewForm form = new InputInvoiceViewForm(factura.Oid, factura.ETipoAcreedor, this);

            form.ShowDialog(this);
        }
Beispiel #3
0
        protected virtual void ViewConceptoCosteEAction()
        {
            if (!ControlsMng.IsCurrentItemValid(ConceptosCostes_DGW))
            {
                return;
            }

            InputInvoiceLineInfo line = ControlsMng.GetCurrentItem(ConceptosCostes_DGW) as InputInvoiceLineInfo;

            InputInvoiceViewForm form = new InputInvoiceViewForm(line.OidFactura, ETipoAcreedor.Proveedor, this);

            form.ShowDialog(this);
        }
Beispiel #4
0
        protected virtual void ViewFacturaCosteAction()
        {
            if (!ControlsMng.IsCurrentItemValid(FacturasCostes_DGW))
            {
                return;
            }

            InputInvoiceInfo invoice = ControlsMng.GetCurrentItem(FacturasCostes_DGW) as InputInvoiceInfo;

            InputInvoiceViewForm form = new InputInvoiceViewForm(invoice.Oid, invoice.ETipoAcreedor, this);

            form.ShowDialog(this);
        }
Beispiel #5
0
        protected virtual void ViewFGastoAction()
        {
            if (!ControlsMng.IsCurrentItemValid(ExpensesInvoices_DGW))
            {
                return;
            }

            InputInvoiceInfo fac = ControlsMng.GetCurrentItem(ExpensesInvoices_DGW) as InputInvoiceInfo;

            InputInvoiceViewForm form = new InputInvoiceViewForm(fac, this);

            form.ShowDialog(this);
        }