diff --git a/App_Code/ClsContabilidad.vb b/App_Code/ClsContabilidad.vb
index 23f649d54..bde65432e 100644
--- a/App_Code/ClsContabilidad.vb
+++ b/App_Code/ClsContabilidad.vb
@@ -4543,7 +4543,7 @@ Public Class ClsContabilidad
Public Function UpdateCuenta(CveCuenta As Integer, Nombre As String, Tipo As String, CtaMayor As Integer, CveMoneda As Integer, Optional DigAgrupador As Integer = -1,
Optional CveAgrupadorSAT As Integer = -1, Optional NomIdioma As String = "", Optional CveConceptoAdmin As Integer = -1, Optional CveProveedor As Integer = -1,
Optional CveCliente As Integer = -1, Optional CveClasificacion As Integer = -1, Optional PorcentajeImpuesto As Decimal = -1,
- Optional CveBancoCuenta As Integer = -1, Optional CveAlmacen As Integer = -1) As Boolean
+ Optional CveBancoCuenta As Integer = -1, Optional CveAlmacen As Integer = -1, Optional Afectable As Integer = -1) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Conta_UpdateCuentas")
@@ -4564,6 +4564,7 @@ Public Class ClsContabilidad
.Add("@PorcentajeImpuesto", SqlDbType.Money).Value = PorcentajeImpuesto
.Add("@CveBancoCuenta", SqlDbType.Int).Value = CveBancoCuenta
.Add("@CveAlmacen", SqlDbType.Int).Value = CveAlmacen
+ .Add("@Afectable", SqlDbType.Int).Value = Afectable
End With
Try
@@ -6398,5 +6399,26 @@ Public Class ClsContabilidad
#End Region
+ Public Function UpdateTraspasoPrepoliza(CveEmpresa As Integer, CveCuenta As Integer, CveCuentaNueva As Integer) As Boolean
+ Dim Retorno = False
+
+ DataAdapter("PA_Conta_Traspaso_Prepolizas")
+
+ With SqlAdapter.SelectCommand.Parameters
+ .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
+ .Add("@CveCuenta", SqlDbType.Int).Value = CveCuenta
+ .Add("@CveCuentaNueva", SqlDbType.Int).Value = CveCuentaNueva
+
+ End With
+ Try
+ SqlAdapter.Fill(Data)
+ Retorno = True
+ Catch ex As Exception
+ Me.OnError("Ocurrió un error al obtener traspasar las Prepolizas", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
+ End Try
+
+ Return Retorno
+ End Function
+
End Class
\ No newline at end of file
diff --git a/App_Code/ClsPaginas.vb b/App_Code/ClsPaginas.vb
index 544e6e34a..b3d91f4c4 100644
--- a/App_Code/ClsPaginas.vb
+++ b/App_Code/ClsPaginas.vb
@@ -4680,6 +4680,8 @@ Public Class ClsPaginas
PaginaDict.Add("/Inventarios/RepTraspasoAlmacen.aspx".ToUpper(), 688)
PaginaDict.Add("/Inventarios/EntregasPorRealizar.aspx".ToUpper(), 728)
PaginaDict.Add("/Inventarios/CatAlmacenClasificacionSecciones.aspx".ToUpper(), 764)
+ PaginaDict.Add("/Inventarios/ReconstruirCostos.aspx".ToUpper(), 764)
+
#End Region
#Region "MF"
diff --git a/Bancos/DepositosCaja.aspx b/Bancos/DepositosCaja.aspx
index 1569f6be1..05ca350a2 100644
--- a/Bancos/DepositosCaja.aspx
+++ b/Bancos/DepositosCaja.aspx
@@ -125,15 +125,14 @@
+
+
+ Importe seleccionado: $00.00
+
+
-
-
-
- Importe seleccionado: $00.00
-
-
-
+
diff --git a/Compras/ReembolsosComprobaciones.aspx.vb b/Compras/ReembolsosComprobaciones.aspx.vb
index 9c1333df2..8dcb566a5 100644
--- a/Compras/ReembolsosComprobaciones.aspx.vb
+++ b/Compras/ReembolsosComprobaciones.aspx.vb
@@ -431,6 +431,10 @@ Partial Class Compras_ReembolsosComprobaciones
Next
+ 'rmf. codigo temporal
+ If UsuarioActual.CveEmpresa.Contiene(13, 83) Then
+ ValFechaDocumento = False
+ End If
If ValFechaDocumento Then
Alert(FoliosFechasValFechaDocumento.ToString, TipoMensaje.MsgAdvertencia)
diff --git a/Contabilidad2/CatCuentas.aspx b/Contabilidad2/CatCuentas.aspx
index 24cf2ec21..9f026eb56 100644
--- a/Contabilidad2/CatCuentas.aspx
+++ b/Contabilidad2/CatCuentas.aspx
@@ -225,7 +225,7 @@
-
+
diff --git a/Contabilidad2/CatCuentas.aspx.vb b/Contabilidad2/CatCuentas.aspx.vb
index c8c3f3b34..4c55dd786 100644
--- a/Contabilidad2/CatCuentas.aspx.vb
+++ b/Contabilidad2/CatCuentas.aspx.vb
@@ -31,6 +31,24 @@ Partial Class Contabilidad2_CatCuentas
ViewState("idsel") = value
End Set
End Property
+
+ Private Property CvePadre As Integer
+ Get
+ Return ViewState("CvePadre").ToString.ToEntero()
+ End Get
+ Set(value As Integer)
+ ViewState("CvePadre") = value
+ End Set
+ End Property
+
+ Private Property Afectable As Boolean
+ Get
+ Return ViewState("Afectable").ToString
+ End Get
+ Set(value As Boolean)
+ ViewState("Afectable") = value
+ End Set
+ End Property
#Region "Contabilidadnew"
Private Property CveProveedor As Integer
Get
@@ -168,6 +186,7 @@ Partial Class Contabilidad2_CatCuentas
Protected Sub agregar_Click(sender As Object, e As EventArgs) Handles ArbolCuentas.addclick
LimpiarCampos()
Dim dt As New DataTable
+
'IDSelected = HdnID.Value.ToEntero() "ul" + itempadre.Cve;
Dim obj As ADServerControl.DragableItem = DirectCast(sender, ADServerControl.DragableItem)
IDSelected = obj.Cve
@@ -182,6 +201,12 @@ Partial Class Contabilidad2_CatCuentas
DTcuenta.SelectedValue = dr("Tipo").ToString()
DcuentaMayor.SelectedValue = dr("CtaMayor").ToString
LblSubCuenta.Text = dr("Nombre").ToString
+ Afectable = dr("Afectable").ToString
+ CvePadre = dr("CvePadre").ToString.ToEntero
+ End If
+
+ If Afectable Then
+ Alert("Se va crear una subcuenta en una cuenta afectable", TipoMensaje.MsgAdvertencia)
End If
TxtCuenta.Enabled = True
@@ -298,7 +323,6 @@ Partial Class Contabilidad2_CatCuentas
Dim CveAlmacen As Integer = DdlAlmacen.SelectedValue.ToEntero()
If DdlAgrupadorSAT.SelectedValue.ToEntero > 0 Then
-
If ObjConta.UpdateCuenta(IDSelected.ToEntero, Tnombre.Text, DTcuenta.SelectedValue.ToString, DcuentaMayor.SelectedValue.ToString.ToEntero, DdlMoneda.SelectedValue.ToEntero,
TxtDigAgrup.Text.ToString.ToEntero, DdlAgrupadorSAT.SelectedValue.ToEntero, TxtNomIngles.Text.ToString, CveConceptoAdmin:=CveConceptoAdmin,
CveProveedor:=CveProveedor, CveCliente:=CveCliente, CveClasificacion:=CveClasificacion, PorcentajeImpuesto:=PorcentajeImpuesto,
@@ -372,18 +396,66 @@ Partial Class Contabilidad2_CatCuentas
'Dim ObjConta As New ClsContPAQi(UsuarioActual.Empresa)
Dim ObjConta As New ClsContabilidad
-
- Dim ObjConta2 As ClsContPAQi
-
-
Dim CuentaEfectivo As Integer = 0
Dim Afectable As Integer = 1 'If(DcuentaMayor.SelectedValue <> 2, 0, 1) ' cuando sea tipo 2, va a ser afectable
Tcuenta.Text.Replace("-", "")
Dim idnew As Integer = 0
+ Dim CveConceptoContable As Integer = DdlConcepto.SelectedValue.ToEntero()
+ Dim row As DataRow = Nothing
+ Dim CveTipoSaldo As Integer = 0
+ Dim PorcentajeIVA As Decimal = -1
+ Dim drt As DataRow
+ Dim CveConceptoAdmin As Integer = -1
+ Dim CveProveedor As Integer = -1
+ Dim CveCliente As Integer = -1
+ Dim CveClasificacion As Integer = -1
+ Dim PorcentajeImpuesto As Decimal = -1
+ Dim CveBancoCuenta As Integer = -1
+ Dim CveAlmacen As Integer = -1
+ Dim CvePersonal As Integer = -1
+
If DdlAgrupadorSAT.SelectedValue.ToEntero > 0 Then
- idnew = ObjConta.AddCuenta(IDSelected, TxtCuenta.Text.Replace("-", ""), Tnombre.Text, DTcuenta.SelectedValue.ToString, DcuentaMayor.SelectedValue.ToString.ToEntero,
- DdlMoneda.SelectedValue.ToEntero, TxtDigAgrup.Text.ToEntero, DdlAgrupadorSAT.SelectedValue.ToEntero, TxtNomIngles.Text.ToString)
+
+ If CveConceptoContable > 0 Then
+ row = DtConceptosconta.FiltroPrimero(String.Format("CveConceptoContable={0}", CveConceptoContable))
+ CveTipoSaldo = row("CveTipoSaldo").ToString.ToEntero()
+ End If
+ If Not IsNothing(row) Then
+ If CveTipoSaldo = 3 Then
+ PorcentajeIVA = TxtPorcentaje.ToEntero / 100
+ End If
+ End If
+
+ If Afectable Then
+ If ObjConta.GetCuentas(IDSelected, "-1", -1, UsuarioActual.CveEmpresa) Then
+ drt = ObjConta.DtResultados.FiltroPrimero(String.Format("CveCuenta={0}", IDSelected))
+ CveConceptoAdmin = IIf(drt("CveConceptoAdmin").ToString.ToEntero = 0, -1, drt("CveConceptoAdmin").ToString.ToEntero)
+ CveProveedor = IIf(drt("CveProveedor").ToString.ToEntero = 0, -1, drt("CveProveedor").ToString.ToEntero)
+ CveCliente = IIf(drt("CveCliente").ToString.ToEntero = 0, -1, drt("CveCliente").ToString.ToEntero)
+ CveClasificacion = IIf(drt("CveClasificacion").ToString.ToEntero = 0, -1, drt("CveClasificacion").ToString.ToEntero)
+ PorcentajeImpuesto = IIf(drt("PorcentajeImpuesto").ToString.ToEntero = 0, -1, drt("PorcentajeImpuesto").ToString.ToEntero)
+ CveBancoCuenta = IIf(drt("CveBancoCuenta").ToString.ToEntero = 0, -1, drt("CveBancoCuenta").ToString.ToEntero)
+ 'CveAlmacen = IIf(drt("CveAlmacen").ToString.ToEntero = 0, -1, drt("CveAlmacen").ToString.ToEntero)
+ 'CvePersonal = IIf(drt("CvePersonal").ToString.ToEntero = 0, -1, drt("CvePersonal").ToString.ToEntero)
+ End If
+
+ idnew = ObjConta.AddCuenta(CvePadre, TxtCuenta.Text.Replace("-", ""), Tnombre.Text, DTcuenta.SelectedValue.ToString, DcuentaMayor.SelectedValue.ToString.ToEntero,
+ DdlMoneda.SelectedValue.ToEntero, TxtDigAgrup.Text.ToEntero, DdlAgrupadorSAT.SelectedValue.ToEntero, TxtNomIngles.Text.ToString, CveConceptoAdmin:=CveConceptoAdmin, CveProveedor:=CveProveedor, CveCliente:=CveCliente,
+ CveClasificacion:=CveClasificacion, PorcentajeImpuesto:=PorcentajeImpuesto, CveBancoCuenta:=CveBancoCuenta)
+ If idnew > 0 Then
+ If ObjConta.UpdateTraspasoPrepoliza(UsuarioActual.CveEmpresa, IDSelected, idnew) Then
+ ObjConta.RollBack()
+ ObjConta.Dispose()
+ Exit Sub
+ End If
+ End If
+
+ Else
+ idnew = ObjConta.AddCuenta(IDSelected, TxtCuenta.Text.Replace("-", ""), Tnombre.Text, DTcuenta.SelectedValue.ToString, DcuentaMayor.SelectedValue.ToString.ToEntero,
+ DdlMoneda.SelectedValue.ToEntero, TxtDigAgrup.Text.ToEntero, DdlAgrupadorSAT.SelectedValue.ToEntero, TxtNomIngles.Text.ToString, PorcentajeImpuesto:=PorcentajeIVA)
+ End If
+
Else
Alert("Es necesario agregar el campo 'Agrupador SAT'", TipoMensaje.MsgError)
End If
@@ -401,14 +473,12 @@ Partial Class Contabilidad2_CatCuentas
End If
- Dim codigoPadre As String = DtDatos.FiltroPrimeroValor("Codigo", $"CveCuenta={IDSelected}") 'Tsubcuenta.Text
+ codigoPadre = DtDatos.FiltroPrimeroValor("Codigo", $"CveCuenta={IDSelected}") 'Tsubcuenta.Text
If UsuarioActual.Empresa.TipoContabilidad = 2 Then
ObjConta2 = New ClsContPAQi(UsuarioActual.Empresa)
If ObjConta2.GetCuentas(-1, "-1", -1) Then
- Dim IdPadre As Integer = ObjConta2.DtResultados.FiltroPrimeroValor("Id", $"Codigo='{codigoPadre}'").ToEntero
- Dim IdAgrupador As Integer
-
+ IdPadre = ObjConta2.DtResultados.FiltroPrimeroValor("Id", $"Codigo='{codigoPadre}'").ToEntero
If ObjConta2.GetAgrupadoresSAT() Then
IdAgrupador = ObjConta2.DtResultados.FiltroPrimeroValor("Id", $"CodigoNombre='{DdlAgrupadorSAT.SelectedItem.Text}'").ToEntero
End If
@@ -453,17 +523,20 @@ Partial Class Contabilidad2_CatCuentas
End If
ArbolCuentas.additem(objul, idnew, IDSelected, String.Format("{0} - {1}", TxtCuenta.Text, Tnombre.Text))
- LimpiarCampos()
- updatos.Update()
+
CargaDatos()
- Alert("La cuenta se guardo correctamente")
End If
+ If ObjConta2 IsNot Nothing Then ObjConta2.Dispose()
+
End If
+ LimpiarCampos()
+ updatos.Update()
+ Alert("La cuenta se guardo correctamente")
+
End If
ObjConta.Dispose()
- If ObjConta2 IsNot Nothing Then ObjConta2.Dispose()
End Sub
@@ -564,6 +637,7 @@ Partial Class Contabilidad2_CatCuentas
Case 2
pnlOpcion2.Visible = True
Case 3
+ pnlOpcion2.Visible = True
pnlOpcion3.Visible = True
If DdlClasificacion.Items.Count < 2 Then
DdlClasificacion.DataSource = GlobalDTClasificaciones(UsuarioActual.CveEmpresa, UsoClasificacion:=1)
diff --git a/Inventarios/AjustesSeccionAlmacen.aspx b/Inventarios/AjustesSeccionAlmacen.aspx
index 054cd4912..de1c2cc0a 100644
--- a/Inventarios/AjustesSeccionAlmacen.aspx
+++ b/Inventarios/AjustesSeccionAlmacen.aspx
@@ -88,7 +88,7 @@
<%----%>
-
+
diff --git a/Inventarios/AjustesSeccionAlmacen.aspx.vb b/Inventarios/AjustesSeccionAlmacen.aspx.vb
index 11eaa4b15..45bd0b5fa 100644
--- a/Inventarios/AjustesSeccionAlmacen.aspx.vb
+++ b/Inventarios/AjustesSeccionAlmacen.aspx.vb
@@ -212,11 +212,11 @@ Partial Class Inventarios_AjustesSeccionAlmacen
Next
'inserto la prepoliza
- If CveMovimientoEntrada > 0 AndAlso CveMovimientoSalida > 0 Then
+ If Not ErrorMovInv AndAlso CveMovimientoEntrada > 0 AndAlso CveMovimientoSalida > 0 Then
Dim Concepto As String = "Ajuste Sección"
Dim IdCtaContableOrigen As Integer = 0
Dim CvePrePoliza As Integer = ObjConta.AddPrePolizas("Inventario/AjusteAlmacen", 53, 0, 0, 1, Fecha, Concepto, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
- Dim importe As Decimal = resultado.SUMD("Total").RoundAD
+ Dim importe As Decimal = resultado.SUMD("Total").RoundSQL
Dim contabilizable As Boolean = False
If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, True, importe, Concepto, 68, Concepto, Fecha, IdCtaContableOrigen, -1, CveMovimientoAlmacen:=CveMovimientoSalida, Contabilizable:=contabilizable, ImporteMX:=importe) Then
ErrorMovInv = True
diff --git a/Inventarios/EntradasSalidas.aspx.vb b/Inventarios/EntradasSalidas.aspx.vb
index c6c92e476..fb992b66b 100644
--- a/Inventarios/EntradasSalidas.aspx.vb
+++ b/Inventarios/EntradasSalidas.aspx.vb
@@ -4581,6 +4581,7 @@ Partial Class Inventarios_EntradasSalidas
NumRow = 0
Dim RowNoEncontrados As String = ""
Dim NumAgregados As Integer = 0
+ Dim PSTemp As DataTable = GlobalDTPS(UsuarioActual.CveEmpresa)
For Each Row As DataRow In dt.Rows
Dim Cantidad As Decimal = Row("Cantidad").ToString.ToDecimal
@@ -4596,6 +4597,7 @@ Partial Class Inventarios_EntradasSalidas
Dim CvePS As Integer = 0
Dim CveUM As Integer = 0
+ Dim DataTemp As DataTable
NumRow = NumRow + 1
@@ -4607,36 +4609,48 @@ Partial Class Inventarios_EntradasSalidas
If Codigo <> "" Then
- Dim StrArray() As String = GetPS("Codigo", Codigo).Split("|"c)
- If StrArray.Length > 0 Then
- If CBool(StrArray(0)) = True Then
- CvePS = StrArray(1).ToEntero
- Else
- RowNoEncontrados &= StrArray(1) & "<\BR>"
- End If
- End If
- 'ElseIf CodigoBarras <> "" Then
- ' Dim StrArray() As String = GetPS("CodigoBarras", CodigoBarras).Split("|"c)
- ' If StrArray.Length > 0 Then
- ' If CBool(StrArray(0)) = True Then
- ' CvePS = StrArray(1).ToEntero
- ' Else
- ' RowNoEncontrados &= StrArray(1) & "<\BR>"
- ' End If
- ' End If
- ElseIf ProductoServicio <> "" Then
- Dim StrArray() As String = GetPS("PS", ProductoServicio).Split("|"c)
- If StrArray.Length > 0 Then
- If CBool(StrArray(0)) = True Then
- CvePS = StrArray(1).ToEntero
- Else
- RowNoEncontrados &= StrArray(1) & "<\BR>"
- End If
+ DataTemp = PSTemp.FiltraParametros(String.Format("Codigo = '{0}'", Codigo))
+ CvePS = DataTemp.FiltroPrimeroValor("CvePS", "").ToEntero
+ DataTemp.Dispose()
+ If CvePS = 0 Then
+ RowNoEncontrados &= Codigo & "<\BR>"
End If
Else
RowNoEncontrados &= "<\BR> - En la fila " & NumRow & " no se especificó código, código de barras ó descripción."
End If
+
+ 'If Codigo <> "" Then
+ ' Dim StrArray() As String = GetPS("Codigo", Codigo).Split("|"c)
+ ' If StrArray.Length > 0 Then
+ ' If CBool(StrArray(0)) = True Then
+ ' CvePS = StrArray(1).ToEntero
+ ' Else
+ ' RowNoEncontrados &= StrArray(1) & "<\BR>"
+ ' End If
+ ' End If
+ ' 'ElseIf CodigoBarras <> "" Then
+ ' ' Dim StrArray() As String = GetPS("CodigoBarras", CodigoBarras).Split("|"c)
+ ' ' If StrArray.Length > 0 Then
+ ' ' If CBool(StrArray(0)) = True Then
+ ' ' CvePS = StrArray(1).ToEntero
+ ' ' Else
+ ' ' RowNoEncontrados &= StrArray(1) & "<\BR>"
+ ' ' End If
+ ' ' End If
+ 'ElseIf ProductoServicio <> "" Then
+ ' Dim StrArray() As String = GetPS("PS", ProductoServicio).Split("|"c)
+ ' If StrArray.Length > 0 Then
+ ' If CBool(StrArray(0)) = True Then
+ ' CvePS = StrArray(1).ToEntero
+ ' Else
+ ' RowNoEncontrados &= StrArray(1) & "<\BR>"
+ ' End If
+ ' End If
+ 'Else
+ ' RowNoEncontrados &= "<\BR> - En la fila " & NumRow & " no se especificó código, código de barras ó descripción."
+ 'End If
+
If CvePS > 0 Then
Dim DrPS As DataRow = GlobalDTPS(UsuarioActual.CveEmpresa, CvePS:=CvePS).Rows(0)
@@ -4644,7 +4658,6 @@ Partial Class Inventarios_EntradasSalidas
CveUM = DrPS("CveUnidadMedida").ToString().ToEntero()
UM = GlobalDTUnidadesMedida(UsuarioActual.CveEmpresa).FiltroPrimeroValor("UnidadMedida", $"CveUnidadMedida={CveUM}")
End If
-
AddNew(CvePS, ProductoServicio, CveUM, UM, Cantidad, PrecioUnitario, Serie.Replace(" ", String.Empty), "", "-1", "-1", "",
Lote, Caducidad.ToDate, CveSeccionAlmacen, SeccionAlmacen, CargarGV:=False)
diff --git a/Nomina/Nomina2.aspx b/Nomina/Nomina2.aspx
index 220284e94..cc836c276 100644
--- a/Nomina/Nomina2.aspx
+++ b/Nomina/Nomina2.aspx
@@ -145,7 +145,10 @@
Registrar provisión
diff --git a/RH/Personal.aspx.vb b/RH/Personal.aspx.vb
index 0989f8ad6..4617e3a44 100644
--- a/RH/Personal.aspx.vb
+++ b/RH/Personal.aspx.vb
@@ -4455,15 +4455,17 @@ Partial Class RH_Personal
End Sub
Protected Sub BtnSolicitarVacaciones_Click(sender As Object, e As EventArgs) Handles BtnSolicitarVacaciones.Click
- Dim fInicio As Date = TxtFechaInicioVac.Text.ToDate
- Dim fFin As Date = TxtFechaFinVac.Text.ToDate
+ Dim fInicio As Date = TxtFechaInicioVac.Text.ToDate()
+ Dim fFin As Date = TxtFechaFinVac.Text.ToDate()
+ Dim fechapago As String = TxtFechaPago.Text.ToDate().ToString("yyyy/MM/dd")
+ Dim diasinhabil As Integer = Txtdiasinabiles.Text.ToEntero()
'Dim motivoVacaciones As String = TxtMotivoVacaciones.Text
If fInicio <= fFin Then
VacFolioActual = VacFolioActual + 1
Dim objRH As New ClsRH
'Dim continuar As Boolean = objRH.SolicitudVacacionesAdd(CvePersonal, fInicio, fFin, 0, UsuarioActual.CveUsuario, VacCveSupervisor, VacFolioActual, motivoVacaciones)
- Dim continuar As Boolean = objRH.SolicitudVacacionesAdd(CvePersonal, fInicio, fFin, 0, UsuarioActual.CveUsuario, VacCveSupervisor, VacFolioActual)
+ Dim continuar As Boolean = objRH.SolicitudVacacionesAdd(CvePersonal, fInicio, fFin, 0, UsuarioActual.CveUsuario, VacCveSupervisor, VacFolioActual, FechaPago:=fechapago, diasinabiles:=diasinhabil)
If objRH.DtResultados.Rows.Count > 0 Then
Dim ShowError As String = objRH.DtResultados.Rows(0)("ShowError").ToString()
If ShowError.Length > 0 Then
diff --git a/Scripts/custom.js b/Scripts/custom.js
index 74eac68b9..28dd940bc 100644
--- a/Scripts/custom.js
+++ b/Scripts/custom.js
@@ -1086,7 +1086,7 @@ function ADDropzone(txtid) {
document.getElementById(txtid + '-paste').onpaste = function (event) {
var __This = myDropzone;
var objfiles = JSON.parse(TxtField.val());
- if (objfiles.length < maxFile) {
+ if ((maxFile != null) || (maxFile < 1) || objfiles.length < maxFile) {
// use event.originalEvent.clipboard for newer chrome versions
var items = (event.clipboardData || event.originalEvent.clipboardData).items;
//console.log(JSON.stringify(items)); // will give you the mime types
diff --git a/vwd.webinfo b/vwd.webinfo
index 450c2d100..67035e8a8 100644
--- a/vwd.webinfo
+++ b/vwd.webinfo
@@ -212,6 +212,10 @@
+
+
+
+