Ir al punto de venta si es remision en bdh
This commit is contained in:
@@ -269,6 +269,9 @@
|
||||
function Ir(v) {
|
||||
gotourl('/Ventas/Ventas.aspx?CveVenta=' + v);
|
||||
}
|
||||
function IrPV(v) {
|
||||
gotourl('/Ventas/PV.aspx?CveVenta=' + v);
|
||||
}
|
||||
Sys.Application.add_load(function (s, e) {
|
||||
|
||||
});
|
||||
|
||||
@@ -159,6 +159,10 @@ Partial Class PopUpBuscarFolio
|
||||
e.Row.Cells(4).HorizontalAlign = HorizontalAlign.Right
|
||||
|
||||
Dim Liga As String = String.Format("<a class='Texto' href='javascript:Ir(""{0}"");'>", e.Row.DBCampo("CveVenta"))
|
||||
If UsuarioActual.CveEmpresa = 140 AndAlso e.Row.DBCampo("TipoDocto").Contiene("Rem") Then
|
||||
Liga = String.Format("<a class='Texto' href='javascript:IrPV(""{0}"");'>", e.Row.DBCampo("CveVenta"))
|
||||
End If
|
||||
|
||||
e.Row.FCLiteral("LtlTipo").Text = String.Format("<div class='truncate' style='width:27px;'>{0}{1}</a></div>", Liga, e.Row.DBCampo("TipoDocto"))
|
||||
e.Row.FCLiteral("LtlFolio").Text = String.Format("<div class='truncate' style='width:56px;'>{0}{1}</a></div>", Liga, e.Row.DBCampo("Folio"))
|
||||
e.Row.FCLiteral("LtlFecha").Text = String.Format("<div class='truncate' style='width:64px;'>{0}{1}</a></div>", Liga, e.Row.DBCampo("Fecha").ToDate.ToShortDateString)
|
||||
|
||||
Reference in New Issue
Block a user