--
This commit is contained in:
@@ -89,22 +89,22 @@ Partial Class ListadoBoletos
|
||||
Dim dtResult As New DataTable()
|
||||
Dim GvRow As GridViewRow = DirectCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
|
||||
|
||||
Dim params As New List(Of ReportParameter)
|
||||
Dim params As New List(Of ReportParameter) From {
|
||||
New ReportParameter("Ruta", Ruta),
|
||||
New ReportParameter("Origen", GvRow.DataKey("Partida")),
|
||||
New ReportParameter("Destino", GvRow.DataKey("Destino")),
|
||||
New ReportParameter("FechaSalida", "2024-01-03"),
|
||||
New ReportParameter("HoraSalida", "17:00"),
|
||||
New ReportParameter("Nombre", GvRow.DataKey("Nombre")),
|
||||
New ReportParameter("Visa", GvRow.DataKey("Visa")),
|
||||
New ReportParameter("Celular", GvRow.DataKey("Celular")),
|
||||
New ReportParameter("Importe", GvRow.DataKey("Importe")),
|
||||
New ReportParameter("TipoBoleto", "Tipo Boleto"),
|
||||
New ReportParameter("Agencia", "Agencia"),
|
||||
New ReportParameter("TelefonoAgencia", "Telefono Agencia")
|
||||
}
|
||||
|
||||
params.Add(New ReportParameter("Ruta", Ruta))
|
||||
params.Add(New ReportParameter("Origen", GvRow.DataKey("Partida")))
|
||||
params.Add(New ReportParameter("Destino", GvRow.DataKey("Destino")))
|
||||
params.Add(New ReportParameter("FechaSalida", "2024-01-03"))
|
||||
params.Add(New ReportParameter("HoraSalida", "17:00"))
|
||||
params.Add(New ReportParameter("Nombre", GvRow.DataKey("Nombre")))
|
||||
params.Add(New ReportParameter("Visa", GvRow.DataKey("Visa")))
|
||||
params.Add(New ReportParameter("Celular", GvRow.DataKey("Celular")))
|
||||
params.Add(New ReportParameter("Importe", GvRow.DataKey("Importe")))
|
||||
params.Add(New ReportParameter("TipoBoleto", "Tipo Boleto"))
|
||||
params.Add(New ReportParameter("Agencia", "Agencia"))
|
||||
params.Add(New ReportParameter("TelefonoAgencia", "Telefono Agencia"))
|
||||
|
||||
ImprimirPDFStimul("Empresas/188/Formatos/Boleto.mrt", dtResult, params, NombreArchivo:="Boleto")
|
||||
ImprimirPDFStimul($"{UsuarioActual.Empresa.Ruta}Formatos/Boleto.mrt", dtResult, params, NombreArchivo:="Boleto")
|
||||
|
||||
'Empresas/Grales/Formatos/EntradaSalida.mrt
|
||||
'Empresas/188/Formatos/Boleto.mrt
|
||||
|
||||
Reference in New Issue
Block a user