-- nombre descarga vista previa
-- SMS, activación de fecha cx, en cotización
This commit is contained in:
@@ -16868,7 +16868,18 @@ Partial Class Ventas
|
|||||||
CartaPorte.Parametros.Add(New ReportParameter($"TieneCartaPorte", "False"))
|
CartaPorte.Parametros.Add(New ReportParameter($"TieneCartaPorte", "False"))
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ImprimirbytesPDF(PdfFactura(ObjFactura, Guardar:=False, SubReportData:=CartaPorte), "Factura", "PDF")
|
Dim tNombreSugerido As String = "Vista Previa - Factura"
|
||||||
|
Select Case DdlTipoComprobante.SelectedValue
|
||||||
|
Case "Cot"
|
||||||
|
tNombreSugerido = "Vista Previa - Cotización"
|
||||||
|
Case "Egs"
|
||||||
|
tNombreSugerido = "Vista Previa - Egreso"
|
||||||
|
Case "Ant"
|
||||||
|
tNombreSugerido = "Vista Previa - Anticipo"
|
||||||
|
End Select
|
||||||
|
tNombreSugerido = tNombreSugerido & " - " & LblSerie.Text & "-" & TxtFolio.Text
|
||||||
|
|
||||||
|
ImprimirbytesPDF(PdfFactura(ObjFactura, Guardar:=False, SubReportData:=CartaPorte), tNombreSugerido, "PDF")
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -38493,11 +38504,11 @@ Partial Class Ventas
|
|||||||
item.Text = $"  {item.Text}"
|
item.Text = $"  {item.Text}"
|
||||||
Next
|
Next
|
||||||
|
|
||||||
If Opcion <> "Cot" Then
|
If Opcion = "Cot" Then
|
||||||
RegistraScript("$('#DvModalTipoVenta').modal({ backdrop: 'static', keyboard: false });")
|
'TrVentasMedicas2.Visible = False
|
||||||
Else
|
|
||||||
TrVentasMedicas2.Visible = False
|
|
||||||
TrVentasMedicas3.Visible = False
|
TrVentasMedicas3.Visible = False
|
||||||
|
Else
|
||||||
|
RegistraScript("$('#DvModalTipoVenta').modal({ backdrop: 'static', keyboard: false });")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Reference in New Issue
Block a user