This commit is contained in:
2021-12-02 19:57:12 -07:00
4 changed files with 310 additions and 171 deletions

View File

@@ -40,7 +40,7 @@ Partial Class Acarreos_CatChoferes
Private Sub CargaDatos() Private Sub CargaDatos()
Dim ObjAcar As New ClsAcarreos() Dim ObjAcar As New ClsAcarreos()
If ObjAcar.GetChofer(-1, UsuarioActual.CveEmpresa, -1,-1) Then If ObjAcar.GetChofer(-1, UsuarioActual.CveEmpresa, -1, -1) Then
GvChofer.DataSource = ObjAcar.DtResultados GvChofer.DataSource = ObjAcar.DtResultados
GvChofer.DataBind() GvChofer.DataBind()
End If End If

View File

@@ -848,7 +848,7 @@ Partial Class Bancos_PolizaCheque
Next Next
If Not ValidaConcepto30 Then If Not ValidaConcepto30 Then
Alert("El importe no coicide con el concepto de bancos.", TipoMensaje.MsgAdvertencia) Alert("El importe no coincide con el concepto de bancos.", TipoMensaje.MsgAdvertencia)
Exit Sub Exit Sub
End If End If

View File

@@ -933,6 +933,13 @@ Partial Class PopUpVerFactura
Dim NumPermiso As String = "" Dim NumPermiso As String = ""
Dim Aseguradora As String = "" Dim Aseguradora As String = ""
Dim NumPolizaSeguro As String = "" Dim NumPolizaSeguro As String = ""
Dim NombreAseguradoraMedioAmbiente As String = ""
Dim NumPolizaSeguroMedioAmbiente As String = ""
Dim NombreAseguradoraCarga As String = ""
Dim NumPolizaSeguroCarga As String = ""
Dim PlacaVM As String = "" Dim PlacaVM As String = ""
Dim AnioModeloVM As String = "" Dim AnioModeloVM As String = ""
'TIMBRADO 'TIMBRADO
@@ -1064,6 +1071,14 @@ Partial Class PopUpVerFactura
NumPermiso = ValorXML(nodeAutotransporteFederal, "NumPermisoSCT", "") NumPermiso = ValorXML(nodeAutotransporteFederal, "NumPermisoSCT", "")
Aseguradora = ValorXML(nodeAutotransporteFederal, "NombreAseg", "") Aseguradora = ValorXML(nodeAutotransporteFederal, "NombreAseg", "")
NumPolizaSeguro = ValorXML(nodeAutotransporteFederal, "NumPolizaSeguro", "") NumPolizaSeguro = ValorXML(nodeAutotransporteFederal, "NumPolizaSeguro", "")
'Por Definir de donde sale
'NombreAseguradoraMedioAmbiente = ValorXML(nodeAutotransporteFederal, "", "")
'NumPolizaSeguroMedioAmbiente = ValorXML(nodeAutotransporteFederal, "", "")
'NombreAseguradoraCarga = ValorXML(nodeAutotransporteFederal, "", "")
'NumPolizaSeguroCarga = ValorXML(nodeAutotransporteFederal, "", "")
End If End If
Dim nodeIdentificacionVehicular As XmlNode = nodeComp.SelectSingleNode(String.Format("//{0}:IdentificacionVehicular", "cartaporte"), namespaces) Dim nodeIdentificacionVehicular As XmlNode = nodeComp.SelectSingleNode(String.Format("//{0}:IdentificacionVehicular", "cartaporte"), namespaces)
@@ -1181,8 +1196,16 @@ Partial Class PopUpVerFactura
params.Add(New ReportParameter("TransporteInternacional", TransporteInternacional)) params.Add(New ReportParameter("TransporteInternacional", TransporteInternacional))
params.Add(New ReportParameter("PermisoSTCC", PermisoSTCC)) params.Add(New ReportParameter("PermisoSTCC", PermisoSTCC))
params.Add(New ReportParameter("NumPermiso", NumPermiso)) params.Add(New ReportParameter("NumPermiso", NumPermiso))
params.Add(New ReportParameter("Aseguradora", Aseguradora)) params.Add(New ReportParameter("Aseguradora", Aseguradora))
params.Add(New ReportParameter("NumPoliza", NumPolizaSeguro)) params.Add(New ReportParameter("NumPoliza", NumPolizaSeguro))
params.Add(New ReportParameter("NombreAseguradoraMedioAmbiente", NombreAseguradoraMedioAmbiente))
params.Add(New ReportParameter("NumPolizaSeguroMedioAmbiente", NumPolizaSeguroMedioAmbiente))
params.Add(New ReportParameter("NombreAseguradoraCarga", NombreAseguradoraCarga))
params.Add(New ReportParameter("NumPolizaSeguroCarga", NumPolizaSeguroCarga))
params.Add(New ReportParameter("PlacaVM", PlacaVM)) params.Add(New ReportParameter("PlacaVM", PlacaVM))
params.Add(New ReportParameter("AnioVM", AnioModeloVM)) params.Add(New ReportParameter("AnioVM", AnioModeloVM))
'TIMBRADO 'TIMBRADO

View File

@@ -382,7 +382,7 @@
<RepeatColumnHeaders>true</RepeatColumnHeaders> <RepeatColumnHeaders>true</RepeatColumnHeaders>
<FixedColumnHeaders>true</FixedColumnHeaders> <FixedColumnHeaders>true</FixedColumnHeaders>
<DataSetName>DataSet3</DataSetName> <DataSetName>DataSet3</DataSetName>
<Top>5.56865cm</Top> <Top>6.39415cm</Top>
<Left>0.38395cm</Left> <Left>0.38395cm</Left>
<Height>1.12062cm</Height> <Height>1.12062cm</Height>
<Width>19.11271cm</Width> <Width>19.11271cm</Width>
@@ -521,7 +521,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName> <rd:DefaultName>Textbox3</rd:DefaultName>
<Top>4.97857cm</Top> <Top>5.80407cm</Top>
<Left>0.1841in</Left> <Left>0.1841in</Left>
<Height>0.5cm</Height> <Height>0.5cm</Height>
<Width>7.52776in</Width> <Width>7.52776in</Width>
@@ -1001,7 +1001,7 @@
<RepeatColumnHeaders>true</RepeatColumnHeaders> <RepeatColumnHeaders>true</RepeatColumnHeaders>
<FixedColumnHeaders>true</FixedColumnHeaders> <FixedColumnHeaders>true</FixedColumnHeaders>
<DataSetName>DataSet2</DataSetName> <DataSetName>DataSet2</DataSetName>
<Top>7.3763cm</Top> <Top>8.2018cm</Top>
<Left>0.42363cm</Left> <Left>0.42363cm</Left>
<Height>1.12062cm</Height> <Height>1.12062cm</Height>
<Width>19.10097cm</Width> <Width>19.10097cm</Width>
@@ -1033,7 +1033,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName> <rd:DefaultName>Textbox3</rd:DefaultName>
<Top>6.78622cm</Top> <Top>7.61172cm</Top>
<Left>0.19973in</Left> <Left>0.19973in</Left>
<Height>0.5cm</Height> <Height>0.5cm</Height>
<Width>7.52776in</Width> <Width>7.52776in</Width>
@@ -1346,7 +1346,7 @@
<RepeatColumnHeaders>true</RepeatColumnHeaders> <RepeatColumnHeaders>true</RepeatColumnHeaders>
<FixedColumnHeaders>true</FixedColumnHeaders> <FixedColumnHeaders>true</FixedColumnHeaders>
<DataSetName>DataSet4</DataSetName> <DataSetName>DataSet4</DataSetName>
<Top>9.18605cm</Top> <Top>10.01155cm</Top>
<Left>0.42363cm</Left> <Left>0.42363cm</Left>
<Height>1.12062cm</Height> <Height>1.12062cm</Height>
<Width>19.10097cm</Width> <Width>19.10097cm</Width>
@@ -1378,7 +1378,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName> <rd:DefaultName>Textbox3</rd:DefaultName>
<Top>8.59597cm</Top> <Top>9.42147cm</Top>
<Left>0.19972in</Left> <Left>0.19972in</Left>
<Height>0.5cm</Height> <Height>0.5cm</Height>
<Width>7.52776in</Width> <Width>7.52776in</Width>
@@ -1482,7 +1482,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox45</rd:DefaultName> <rd:DefaultName>Textbox45</rd:DefaultName>
<Top>5.82267in</Top> <Top>6.14767in</Top>
<Left>0.41187cm</Left> <Left>0.41187cm</Left>
<Height>3.03416cm</Height> <Height>3.03416cm</Height>
<Width>15.44579cm</Width> <Width>15.44579cm</Width>
@@ -1501,7 +1501,7 @@
<Source>External</Source> <Source>External</Source>
<Value>=Parameters!QR.Value</Value> <Value>=Parameters!QR.Value</Value>
<Sizing>FitProportional</Sizing> <Sizing>FitProportional</Sizing>
<Top>5.71082in</Top> <Top>6.03582in</Top>
<Left>6.18415in</Left> <Left>6.18415in</Left>
<Height>1.2939in</Height> <Height>1.2939in</Height>
<Width>1.53682in</Width> <Width>1.53682in</Width>
@@ -1636,7 +1636,7 @@
<rd:DefaultName>Textbox2</rd:DefaultName> <rd:DefaultName>Textbox2</rd:DefaultName>
<Top>1.13111in</Top> <Top>1.13111in</Top>
<Left>0.38395cm</Left> <Left>0.38395cm</Left>
<Height>0.76862in</Height> <Height>1.08451in</Height>
<Width>3.73231in</Width> <Width>3.73231in</Width>
<ZIndex>9</ZIndex> <ZIndex>9</ZIndex>
<Style> <Style>
@@ -1696,10 +1696,10 @@
<Paragraph> <Paragraph>
<TextRuns> <TextRuns>
<TextRun> <TextRun>
<Value>Aseguradora: </Value> <Value>Aseguradora Responsabilidad Civil: </Value>
<Style> <Style>
<FontFamily>Myriad Pro</FontFamily> <FontFamily>Myriad Pro</FontFamily>
<FontSize>8pt</FontSize> <FontSize>7pt</FontSize>
<FontWeight>SemiBold</FontWeight> <FontWeight>SemiBold</FontWeight>
</Style> </Style>
</TextRun> </TextRun>
@@ -1707,7 +1707,7 @@
<Value>=Parameters!Aseguradora.Value</Value> <Value>=Parameters!Aseguradora.Value</Value>
<Style> <Style>
<FontFamily>Myriad Pro</FontFamily> <FontFamily>Myriad Pro</FontFamily>
<FontSize>8pt</FontSize> <FontSize>7pt</FontSize>
<FontWeight>Normal</FontWeight> <FontWeight>Normal</FontWeight>
</Style> </Style>
</TextRun> </TextRun>
@@ -1722,7 +1722,7 @@
<Value>Número de Póliza:</Value> <Value>Número de Póliza:</Value>
<Style> <Style>
<FontFamily>Myriad Pro</FontFamily> <FontFamily>Myriad Pro</FontFamily>
<FontSize>8pt</FontSize> <FontSize>7pt</FontSize>
<FontWeight>SemiBold</FontWeight> <FontWeight>SemiBold</FontWeight>
</Style> </Style>
</TextRun> </TextRun>
@@ -1730,7 +1730,99 @@
<Value>=Parameters!NumPoliza.Value</Value> <Value>=Parameters!NumPoliza.Value</Value>
<Style> <Style>
<FontFamily>Myriad Pro</FontFamily> <FontFamily>Myriad Pro</FontFamily>
<FontSize>8pt</FontSize> <FontSize>7pt</FontSize>
<FontWeight>Normal</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Aseguradora Medio Ambiente:</Value>
<Style>
<FontFamily>Myriad Pro</FontFamily>
<FontSize>7pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
<TextRun>
<Value>=Parameters!NombreAseguradoraMedioAmbiente.Value</Value>
<Style>
<FontFamily>Myriad Pro</FontFamily>
<FontSize>7pt</FontSize>
<FontWeight>Normal</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Número de Póliza:</Value>
<Style>
<FontFamily>Myriad Pro</FontFamily>
<FontSize>7pt</FontSize>
<FontWeight>SemiBold</FontWeight>
</Style>
</TextRun>
<TextRun>
<Value>=Parameters!NumPolizaSeguroMedioAmbiente.Value</Value>
<Style>
<FontFamily>Myriad Pro</FontFamily>
<FontSize>7pt</FontSize>
<FontWeight>Normal</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Aseguradora Carga:</Value>
<Style>
<FontFamily>Myriad Pro</FontFamily>
<FontSize>7pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
<TextRun>
<Value>=Parameters!NombreAseguradoraCarga.Value</Value>
<Style>
<FontFamily>Myriad Pro</FontFamily>
<FontSize>7pt</FontSize>
<FontWeight>Normal</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Número de Póliza:</Value>
<Style>
<FontFamily>Myriad Pro</FontFamily>
<FontSize>7pt</FontSize>
<FontWeight>SemiBold</FontWeight>
</Style>
</TextRun>
<TextRun>
<Value>=Parameters!NumPolizaSeguroCarga.Value</Value>
<Style>
<FontFamily>Myriad Pro</FontFamily>
<FontSize>7pt</FontSize>
<FontWeight>Normal</FontWeight> <FontWeight>Normal</FontWeight>
</Style> </Style>
</TextRun> </TextRun>
@@ -1745,7 +1837,7 @@
<Value>Placa:</Value> <Value>Placa:</Value>
<Style> <Style>
<FontFamily>Myriad Pro</FontFamily> <FontFamily>Myriad Pro</FontFamily>
<FontSize>8pt</FontSize> <FontSize>7pt</FontSize>
<FontWeight>SemiBold</FontWeight> <FontWeight>SemiBold</FontWeight>
</Style> </Style>
</TextRun> </TextRun>
@@ -1753,7 +1845,7 @@
<Value>=Parameters!PlacaVM.Value</Value> <Value>=Parameters!PlacaVM.Value</Value>
<Style> <Style>
<FontFamily>Myriad Pro</FontFamily> <FontFamily>Myriad Pro</FontFamily>
<FontSize>8pt</FontSize> <FontSize>7pt</FontSize>
<FontWeight>Normal</FontWeight> <FontWeight>Normal</FontWeight>
</Style> </Style>
</TextRun> </TextRun>
@@ -1768,7 +1860,7 @@
<Value>Año:</Value> <Value>Año:</Value>
<Style> <Style>
<FontFamily>Myriad Pro</FontFamily> <FontFamily>Myriad Pro</FontFamily>
<FontSize>8pt</FontSize> <FontSize>7pt</FontSize>
<FontWeight>SemiBold</FontWeight> <FontWeight>SemiBold</FontWeight>
</Style> </Style>
</TextRun> </TextRun>
@@ -1776,7 +1868,7 @@
<Value>=Parameters!AnioVM.Value</Value> <Value>=Parameters!AnioVM.Value</Value>
<Style> <Style>
<FontFamily>Myriad Pro</FontFamily> <FontFamily>Myriad Pro</FontFamily>
<FontSize>8pt</FontSize> <FontSize>7pt</FontSize>
<FontWeight>Normal</FontWeight> <FontWeight>Normal</FontWeight>
</Style> </Style>
</TextRun> </TextRun>
@@ -1784,7 +1876,7 @@
<Value xml:space="preserve"> </Value> <Value xml:space="preserve"> </Value>
<Style> <Style>
<FontFamily>Myriad Pro</FontFamily> <FontFamily>Myriad Pro</FontFamily>
<FontSize>8pt</FontSize> <FontSize>7pt</FontSize>
<FontWeight>Normal</FontWeight> <FontWeight>Normal</FontWeight>
</Style> </Style>
</TextRun> </TextRun>
@@ -1797,7 +1889,7 @@
<rd:DefaultName>Textbox2</rd:DefaultName> <rd:DefaultName>Textbox2</rd:DefaultName>
<Top>1.13111in</Top> <Top>1.13111in</Top>
<Left>9.86403cm</Left> <Left>9.86403cm</Left>
<Height>0.76862in</Height> <Height>1.08451in</Height>
<Width>3.78138in</Width> <Width>3.78138in</Width>
<ZIndex>11</ZIndex> <ZIndex>11</ZIndex>
<Style> <Style>
@@ -2315,7 +2407,7 @@
<RepeatColumnHeaders>true</RepeatColumnHeaders> <RepeatColumnHeaders>true</RepeatColumnHeaders>
<FixedColumnHeaders>true</FixedColumnHeaders> <FixedColumnHeaders>true</FixedColumnHeaders>
<DataSetName>DataSet1</DataSetName> <DataSetName>DataSet1</DataSetName>
<Top>11.01962cm</Top> <Top>11.84512cm</Top>
<Left>0.33883cm</Left> <Left>0.33883cm</Left>
<Height>1.12062cm</Height> <Height>1.12062cm</Height>
<Width>19.09433cm</Width> <Width>19.09433cm</Width>
@@ -2347,7 +2439,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName> <rd:DefaultName>Textbox3</rd:DefaultName>
<Top>10.42954cm</Top> <Top>11.25504cm</Top>
<Left>0.16633in</Left> <Left>0.16633in</Left>
<Height>0.5cm</Height> <Height>0.5cm</Height>
<Width>7.52776in</Width> <Width>7.52776in</Width>
@@ -2384,7 +2476,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName> <rd:DefaultName>Textbox3</rd:DefaultName>
<Top>4.896in</Top> <Top>5.221in</Top>
<Left>6.37477in</Left> <Left>6.37477in</Left>
<Height>0.60856cm</Height> <Height>0.60856cm</Height>
<Width>1.30108in</Width> <Width>1.30108in</Width>
@@ -2423,7 +2515,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName> <rd:DefaultName>Textbox3</rd:DefaultName>
<Top>12.43583cm</Top> <Top>13.26133cm</Top>
<Left>5.24863in</Left> <Left>5.24863in</Left>
<Height>0.60856cm</Height> <Height>0.60856cm</Height>
<Width>1.12683in</Width> <Width>1.12683in</Width>
@@ -2461,7 +2553,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName> <rd:DefaultName>Textbox3</rd:DefaultName>
<Top>5.13559in</Top> <Top>5.46059in</Top>
<Left>6.37685in</Left> <Left>6.37685in</Left>
<Height>0.60856cm</Height> <Height>0.60856cm</Height>
<Width>1.30108in</Width> <Width>1.30108in</Width>
@@ -2503,7 +2595,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName> <rd:DefaultName>Textbox3</rd:DefaultName>
<Top>13.04438cm</Top> <Top>13.86988cm</Top>
<Left>5.25071in</Left> <Left>5.25071in</Left>
<Height>0.60856cm</Height> <Height>0.60856cm</Height>
<Width>1.12683in</Width> <Width>1.12683in</Width>
@@ -2541,7 +2633,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName> <rd:DefaultName>Textbox3</rd:DefaultName>
<Top>5.37518in</Top> <Top>5.70018in</Top>
<Left>6.37893in</Left> <Left>6.37893in</Left>
<Height>0.60856cm</Height> <Height>0.60856cm</Height>
<Width>1.30108in</Width> <Width>1.30108in</Width>
@@ -2580,7 +2672,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName> <rd:DefaultName>Textbox3</rd:DefaultName>
<Top>13.65293cm</Top> <Top>14.47843cm</Top>
<Left>5.25279in</Left> <Left>5.25279in</Left>
<Height>0.60856cm</Height> <Height>0.60856cm</Height>
<Width>1.12614in</Width> <Width>1.12614in</Width>
@@ -2739,7 +2831,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox25</rd:DefaultName> <rd:DefaultName>Textbox25</rd:DefaultName>
<Top>12.43583cm</Top> <Top>13.26133cm</Top>
<Left>0.42248cm</Left> <Left>0.42248cm</Left>
<Height>2.35375cm</Height> <Height>2.35375cm</Height>
<Width>12.73266cm</Width> <Width>12.73266cm</Width>
@@ -2755,7 +2847,7 @@
</Style> </Style>
</Textbox> </Textbox>
</ReportItems> </ReportItems>
<Height>7.02116in</Height> <Height>7.34222in</Height>
<Style /> <Style />
</Body> </Body>
<Width>7.82749in</Width> <Width>7.82749in</Width>
@@ -3574,6 +3666,30 @@
<Nullable>true</Nullable> <Nullable>true</Nullable>
<Prompt>ReportParameter1</Prompt> <Prompt>ReportParameter1</Prompt>
</ReportParameter> </ReportParameter>
<ReportParameter Name="NombreAseguradoraMedioAmbiente">
<DataType>String</DataType>
<Nullable>true</Nullable>
<AllowBlank>true</AllowBlank>
<Prompt>ReportParameter1</Prompt>
</ReportParameter>
<ReportParameter Name="NumPolizaSeguroMedioAmbiente">
<DataType>String</DataType>
<Nullable>true</Nullable>
<AllowBlank>true</AllowBlank>
<Prompt>ReportParameter1</Prompt>
</ReportParameter>
<ReportParameter Name="NombreAseguradoraCarga">
<DataType>String</DataType>
<Nullable>true</Nullable>
<AllowBlank>true</AllowBlank>
<Prompt>ReportParameter1</Prompt>
</ReportParameter>
<ReportParameter Name="NumPolizaSeguroCarga">
<DataType>String</DataType>
<Nullable>true</Nullable>
<AllowBlank>true</AllowBlank>
<Prompt>ReportParameter1</Prompt>
</ReportParameter>
</ReportParameters> </ReportParameters>
<Language>es-MX</Language> <Language>es-MX</Language>
<rd:ReportUnitType>Cm</rd:ReportUnitType> <rd:ReportUnitType>Cm</rd:ReportUnitType>