Beispiel #1
0
 public ComprobanteDelivery(long id) : this(new DeliveryServicio(), new ArticuloServicio(), new EmpleadoServicio(), new ClienteServicio())
 {
     InitializeComponent();
     comprobante = _deliveryServicio.ObtenerPorId(id);
     _edicion    = true;
     ActualizarGrilla();
 }
 public FormaPagoDelivery(long comprobanteId) : this(new CuentaCorrienteServicio(), new FormaPagoServicio(), new DetalleCajaServicio(), new DeliveryServicio())
 {
     _comprobante = _deliveryServicio.ObtenerPorId(comprobanteId);
     SetTotal(_comprobante.Total);
 }
 public ComprobanteEnvio(long comprobanteId) : this(new EmpresaServicio(), new ClienteServicio(), new DeliveryServicio())
 {
     comprobante = _deliveryServicio.ObtenerPorId(comprobanteId);
     cliente     = _clienteServicio.ObtenerPorId(comprobante.ClienteId);
     empresa     = _empresaServicio.Obtener();
 }