mirror of
https://github.com/KeymonSoft/Durakelo.git
synced 2026-04-19 20:29:16 +00:00
-VERSION 5.06.05
- Cambio al nuevo servidor - Envio de informacion a tmp_drop al cargar dia
This commit is contained in:
@@ -858,7 +858,7 @@ Sub traePromo(promo As String, cliente As String) As Map
|
||||
promoMap.Put("prodsFijosPiezas", prodsFijosPiezas)
|
||||
promoMap.Put("prodsVariablesCant", prodsVariables.Size)
|
||||
promoMap.Put("prodsVariablesPrecios", prodsVariablesPrecios)
|
||||
Log("-------> |" & c.GetString("CAT_PA_VIGENCIA_FIN") & "|")
|
||||
Log("ooo -------> |" & c.GetString("CAT_PA_VIGENCIA_FIN") & "|")
|
||||
' promoMap.Put("vigencia", c.GetString("CAT_PA_VIGENCIA_FIN").SubString2(0, c.GetString("CAT_PA_VIGENCIA_FIN").IndexOf(" ")))
|
||||
Private fVigencia As String = fechaMenosUnDia(c.GetString("CAT_PA_VIGENCIA_FIN").SubString2(0, c.GetString("CAT_PA_VIGENCIA_FIN").IndexOf(" ")))
|
||||
promoMap.Put("vigencia", fVigencia) ' La vigencia de la preventa debe de ser la especificada MENOS un dia.
|
||||
@@ -1505,7 +1505,7 @@ Sub revisaFechaVigenciaPromo(pm As Map) As Boolean
|
||||
DateTime.DateFormat = "yyyyMMdd"
|
||||
If Starter.tipov = "PREVENTA" Or Starter.tipov = "ABORDO" Then
|
||||
Private vigencia As String = pm.Get("vigencia").As(String).Replace("-", "")
|
||||
' Log("|" & vigencia & "|")
|
||||
Log("-------> |" & vigencia & "|")
|
||||
If vigencia >= DateTime.Date(DateTime.Now) Then vigente = True
|
||||
Else if Starter.tipov = "VENTA" Then
|
||||
Private vigencia As String = pm.Get("vigencia_abordo").As(String).Replace("-", "")
|
||||
|
||||
Reference in New Issue
Block a user