protected override void asignarValor(PlantillaCliente <LineaProducto> subPlantilla) { subPlantilla.select(Convert.ToDouble(campo.Cells[3].Value), Convert.ToDecimal(campo.Cells[4].Value)); campo.Cells[5].Value = subPlantilla.Campo.Producto.Subtotal; }
protected override void asignarValor(PlantillaCliente <LineaProducto> subPlantilla) { subPlantilla.select(Convert.ToInt32(campo.Cells[6].Value), Convert.ToDecimal(campo.Cells[5].Value)); campo.Cells[7].Value = subPlantilla.Campo.TotalProducto; }
private void defecto(PlantillaCliente <LineaProducto> subPlantilla) { subPlantilla.select(0, Convert.ToDecimal(campo.Cells[5].Value)); campo.Cells[7].Value = subPlantilla.Campo.TotalProducto; }
private void presentarData(PlantillaCliente <Factura> dato) { campo.Text = "Nota de Venta:\n\n" + " " + dato.Campo.Id; fecha.Text = "Fecha:\n\n" + " " + dato.Campo.Fecha; this.factura = dato.Campo; }