Skip to content

Commit

Permalink
Merge pull request #6 from mauryparra/develop
Browse files Browse the repository at this point in the history
develop into master
  • Loading branch information
mauryparra authored Sep 22, 2017
2 parents a9e672f + 87e5d6f commit 7957657
Show file tree
Hide file tree
Showing 47 changed files with 33,119 additions and 1,011 deletions.
3 changes: 3 additions & 0 deletions SireCu/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
<setting name="CadenaConexion" serializeAs="String">
<value>Data Source = |DataDirectory|\DBSireCu.sdf</value>
</setting>
<setting name="CadenaSQL" serializeAs="String">
<value>server=localhost;database=prueba;user id=root;password=;</value>
</setting>
</SireCu.My.MySettings>
</userSettings>
</configuration>
51 changes: 26 additions & 25 deletions SireCu/Clases/Egreso.vb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Module Egreso
Principal.dataset.Tables(nombreDataSet).Clear()

'Creamos el query
Principal.command.CommandText = "SELECT TOP (500) E.id AS id,
Principal.command.CommandText = "SELECT E.id AS id,
E.nro_comprobante AS nro_comprobante,
E.tipo_comprobante_id AS tipo_comprobante_id,
Comp.nombre AS tipo_comprobante_nombre,
Expand Down Expand Up @@ -149,18 +149,18 @@ Module Egreso
dgv.Columns.Item(0).DataPropertyName = "id"
dgv.Columns.Item(1).DataPropertyName = "seleccionado"
dgv.Columns.Item(2).DataPropertyName = "nro_comprobante"
dgv.Columns.Item(3).DataPropertyName = "tipo_comprobante_id"
dgv.Columns.Item(4).DataPropertyName = "tipo_comprobante_nombre"
dgv.Columns.Item(5).DataPropertyName = "proveedor_id"
dgv.Columns.Item(6).DataPropertyName = "proveedor_nombre"
dgv.Columns.Item(7).DataPropertyName = "categoria_gasto_id"
dgv.Columns.Item(8).DataPropertyName = "categoria_nombre"
dgv.Columns.Item(9).DataPropertyName = "persona_id"
dgv.Columns.Item(10).DataPropertyName = "persona_nombre"
dgv.Columns.Item(11).DataPropertyName = "fecha"
dgv.Columns.Item(12).DataPropertyName = "seccional_id"
dgv.Columns.Item(13).DataPropertyName = "seccional_nombre"
dgv.Columns.Item(14).DataPropertyName = "mes_reintegro"
dgv.Columns.Item(3).DataPropertyName = "proveedor_id"
dgv.Columns.Item(4).DataPropertyName = "proveedor_nombre"
dgv.Columns.Item(5).DataPropertyName = "categoria_gasto_id"
dgv.Columns.Item(6).DataPropertyName = "categoria_nombre"
dgv.Columns.Item(7).DataPropertyName = "persona_id"
dgv.Columns.Item(8).DataPropertyName = "persona_nombre"
dgv.Columns.Item(9).DataPropertyName = "fecha"
dgv.Columns.Item(10).DataPropertyName = "tipo_comprobante_id"
dgv.Columns.Item(11).DataPropertyName = "tipo_comprobante_nombre"
dgv.Columns.Item(12).DataPropertyName = "mes_reintegro"
dgv.Columns.Item(13).DataPropertyName = "seccional_id"
dgv.Columns.Item(14).DataPropertyName = "seccional_nombre"
dgv.Columns.Item(15).DataPropertyName = "monto"
dgv.Columns.Item(16).DataPropertyName = "comentario"

Expand Down Expand Up @@ -194,20 +194,21 @@ Module Egreso
dgv.AutoGenerateColumns = False

dgv.Columns.Item(0).DataPropertyName = "id"
dgv.Columns("id").Visible = False
dgv.Columns.Item(1).DataPropertyName = "seleccionado"
dgv.Columns.Item(2).DataPropertyName = "nro_comprobante"
dgv.Columns.Item(3).DataPropertyName = "tipo_comprobante_id"
dgv.Columns.Item(4).DataPropertyName = "tipo_comprobante_nombre"
dgv.Columns.Item(5).DataPropertyName = "proveedor_id"
dgv.Columns.Item(6).DataPropertyName = "proveedor_nombre"
dgv.Columns.Item(7).DataPropertyName = "categoria_gasto_id"
dgv.Columns.Item(8).DataPropertyName = "categoria_nombre"
dgv.Columns.Item(9).DataPropertyName = "persona_id"
dgv.Columns.Item(10).DataPropertyName = "persona_nombre"
dgv.Columns.Item(11).DataPropertyName = "fecha"
dgv.Columns.Item(12).DataPropertyName = "seccional_id"
dgv.Columns.Item(13).DataPropertyName = "seccional_nombre"
dgv.Columns.Item(14).DataPropertyName = "mes_reintegro"
dgv.Columns.Item(3).DataPropertyName = "proveedor_id"
dgv.Columns.Item(4).DataPropertyName = "proveedor_nombre"
dgv.Columns.Item(5).DataPropertyName = "categoria_gasto_id"
dgv.Columns.Item(6).DataPropertyName = "categoria_nombre"
dgv.Columns.Item(7).DataPropertyName = "persona_id"
dgv.Columns.Item(8).DataPropertyName = "persona_nombre"
dgv.Columns.Item(9).DataPropertyName = "fecha"
dgv.Columns.Item(10).DataPropertyName = "tipo_comprobante_id"
dgv.Columns.Item(11).DataPropertyName = "tipo_comprobante_nombre"
dgv.Columns.Item(12).DataPropertyName = "mes_reintegro"
dgv.Columns.Item(13).DataPropertyName = "seccional_id"
dgv.Columns.Item(14).DataPropertyName = "seccional_nombre"
dgv.Columns.Item(15).DataPropertyName = "monto"
dgv.Columns.Item(16).DataPropertyName = "comentario"

Expand Down
24 changes: 0 additions & 24 deletions SireCu/Clases/Personas/Persona.vb

This file was deleted.

15 changes: 0 additions & 15 deletions SireCu/Clases/Personas/Usuarios/usuarioAdmin.vb

This file was deleted.

27 changes: 0 additions & 27 deletions SireCu/Clases/Personas/Usuarios/usuarioContador.vb

This file was deleted.

48 changes: 0 additions & 48 deletions SireCu/Clases/Personas/personaGastador.vb

This file was deleted.

44 changes: 0 additions & 44 deletions SireCu/Clases/Personas/personaProveedor.vb

This file was deleted.

36 changes: 0 additions & 36 deletions SireCu/Clases/Personas/personaUsuario.vb

This file was deleted.

Loading

0 comments on commit 7957657

Please sign in to comment.