Ñò F0Tc@sddkTddkTddkTddkTddkTddkTddkTddkTddklZddkTddk Z ddk l Z ddk Tddk lZddkTddklZddklZlZddklZdd klZdd klZlZlZddkTd „Zd „Zdd klZlZlZed dƒd„ƒZed dƒd„ƒZ ed dƒd„ƒZ!ed dƒd„ƒZ"ed dƒd„ƒZ#ed dƒd„ƒZ$ddk%l&Z&e&d„ƒZ'd„Z(dS(iÿÿÿÿ(t*(tUserN(t serializers(tmessages(tTemplateResponse(t format_htmltformat_html_join(tQ(tformats(t Paginatort EmptyPagetPageNotAnIntegercCsÉtiiddddƒ}tƒ}tdh|d6|d6dd 6d d 6d d 6d d 6d d6d d6d d6d d6d d6d d6d d6d d6d d6d d6d d6d d6d d6d d6dt|ƒƒS(Ntexpediente__estatus__iditexpediente__fototsprincipal_tecnico.htmltdatostformtactivet principaltclosedtRevisiontactivot no_activotMedicot PsicologiatconfiguracionestSocialt Pedagogiat Nutriciont PreregistrotRegistrotJuridicot parentescotCanalizatEgresotFototcontext_instance(tMovimientoMenortobjectstfiltert BusquedaFormtrender_to_responsetRequestContext(trequesttmenoresR((s2/opt/public_html/NoBorrar/albergue/revisa/views.pytprincipal_tecnicos cCs tiiddddƒ}tiiƒidƒ}tiiƒidƒ}tiidd!ƒ}td h|d 6|d 6|d 6d d6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6d t |ƒƒS("NR iR Rs-idtestatus__id__iniisprincipal_coordinacion.htmlt documentotptmedicosRRRRRRRRRRRRRRRR R!R"R#R$(ii( R%R&R't Documentotalltorder_byt ParentescoRR)R*(R+R,R/R0tmedicoAtrasados((s2/opt/public_html/NoBorrar/albergue/revisa/views.pytprincipal_coordinacion,st login_urls/loginc Csë|idjo©t|iƒ}|iƒo‰|id}|id}|id}|id}|idƒ}ytiitd|ƒtd|ƒBtd|ƒBtd|ƒBdd1ƒ}|i ƒ}|d jo?tiitd|d ƒtd|d ƒtdd2ƒƒ}n|i ƒ} | d jo?tiitd|d ƒtd|d ƒtdd3ƒƒ}nt |d h|d 6ƒSWqµt j o } t i |dƒtdƒSXqÂn tƒ}tiidd4ƒ} |iidƒo|iidƒnd} | djoC| itd| ƒtd| ƒBtd| ƒBtd| ƒBƒ} n|iidƒot|iidƒƒnd} t| | ƒ}|iidƒo|iidƒnd }y|i|ƒ}WnFtj o|id ƒ}n&tj o|i|iƒ}nXtdh|d6| d6| d6|d6|d6|d6dd6dd6dd6dd6d d!6d d"6d d#6d d$6d d%6d d&6d d'6d d(6d d#6d d)6d d*6d d+6d d,6d d-6d d.6d d/6d0t|ƒƒS(5NtPOSTt expedientet tnumerotmenor__nombre__icontainst"menor__apellido_paterno__icontainst"menor__apellido_materno__icontainsR.iiisconsulta_revision.htmlt encontradossNo existe el expedientes/revisa/busqueda/tbscrRtnumero__icontainstrppi tpagesbusqueda_revision_form.htmltcontactsRRtrevsBuscar ExpedientetareatunoRRRRRRRRRRRRRRR R!R"R#R$(ii(ii(ii(ii(tmethodR(R9tis_validtsplitt ExpedienteR&R'RtcountRt ExceptionRterrortHttpResponseRedirecttGETtgettintR RDR R t num_pagesR)R*(R+RR<tnombretapellido_paternotapellido_maternotnombre1tcanalizatvalortvalor2teR,RARCt paginatorRDRE((s2/opt/public_html/NoBorrar/albergue/revisa/views.pytbusqueda_expediente<sd      &    &   & , C2,c Cst|idjo¯t|i|iƒ}|iƒo‰|id}|id}|id}|id}|idƒ}ytiit d|ƒt d|ƒBt d|ƒBt d|ƒBdd ƒ}|i ƒ}|d jo?tiit d|d ƒt d|d ƒt dd ƒƒ}n|i ƒ} | d jo?tiit d|d ƒt d|d ƒt dd ƒƒ}nt |d h|d 6ƒSWq»t j o } t i|dƒtdƒSXqÈn tƒ}tdh|d6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd 6dd!6dd"6dd#6dd$6d%d&6dd'6d(t|ƒƒS()NR9R:R;R<R=R>R?t estatus__idiiisconsultarExpediente.htmlR@sNo existe el expedientes/revisa/busca_egreso/snutricion_form.htmlRtregresosBuscar ExpedienteRGRHRRRRRRRRRRRRRR R!RR"R#R$(RIR(R9tFILESRJRKRLR&R'RRMRRNRRORPR)R*( R+RR<RURVRWRXRYRZR[R\((s2/opt/public_html/NoBorrar/albergue/revisa/views.pytbusqueda_egresoysF      &    &   & ,cCsytiid|ƒ}|idjoŒt|iƒ}|iƒol|id}tiid|ƒ}|idtƒ}||_ |iƒt i |dƒt d|i iƒSn|}tƒ}tdh|d6|d 6|i id 6d d 6d d 6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6d t|ƒƒS(!NtidR9tmenor_idtcommitsLa observacion ha sido agregadas/expediente/consultarMenor/%s/snutricion_form.htmlRR:tmenortobssAgregar ObservacionesRGRRRRRRRRRRRRRRR R!R"R#R$(R!R&RRRItObservacionesFormR9RJtsavetFalseRYRtsuccessRPR:RcR)R*(R+t canaliza_idRYRt canalizaIDt observacion((s2/opt/public_html/NoBorrar/albergue/revisa/views.pytadd_observaciones¦s*     +cCsƒtiid|ƒ}tiid|iiƒ}|idjo:t|iƒ}t |iƒ}|GH|i ƒo|i ƒoùt |idƒ}t iid|ƒ}|i ƒ}|i dtƒ} |ii} tiid| ƒ} || _|| _|| _| | _|| _| i ƒtiid|iƒ} tiiddƒ} | | _| i ƒti|dƒtdƒSn^tƒ}t d hd d 6ƒ}tiid d ƒ|id_tiidd ƒ|id_tdh|d6dd6dd6|d6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd 6dd!6dd"6dd#6dd$6d%d&6dd'6d(d(6d)t |ƒƒS(*NRcR9ttipo_movimientoRetuseris$Se ha registrado el Egreso del menors/revisa/busca_egreso/tinitialt27testadot estado__idit municipiotmunicipio__estado__idt localidadsmovimiento_form.htmlRsEgreso del MenorRGRRt formDomicilioRRRRRRRRRRRR R!RR"R#tegresoR$(!RLR&RRtMenorRfRcRItMovimientoMenorForm2R9tDomicilioForm2RJRStCatalogoTipoMovimientoRiRjRqtEmpleadoR:Rptempleadot domiciliotEstatustestatusRRkRPt MunicipioR'tfieldstquerysett LocalidadR)R*(R+t expediente_idR:RfRRyttipoRpRt movimientotusuarioR€texpedienteActivoRƒ((s2/opt/public_html/NoBorrar/albergue/revisa/views.pytmovimiento_egresarÇsH           c Csê|idjo¯t|i|iƒ}|iƒo‰|id}|id}|id}|id}|idƒ}ytiit d|ƒt d|ƒBt d|ƒBt d|ƒBdd ƒ}|i ƒ}|d jo?tiit d|d ƒt d|d ƒt dd ƒƒ}n|i ƒ} | d jo?tiit d|d ƒt d|d ƒt dd ƒƒ}nt |d h|d 6ƒSWq»t j o } t i|dƒtdƒSXqÈn tƒ}tiidd ƒ} |iidƒo|iidƒnd} | djoC| it d| ƒt d| ƒBt d| ƒBt d| ƒBƒ} n|iidƒot|iidƒƒnd} t| | ƒ}|iidƒo|iidƒnd }y|i|ƒ}WnFtj o|id ƒ}n&tj o|i|iƒ}nXtdh|d6| d6| d6|d6|d6|d6dd6dd6dd6dd 6dd!6dd"6dd#6dd$6dd%6dd&6dd'6dd"6dd(6dd)6dd*6dd+6dd,6dd-6dd.6d/t|ƒƒS(0NR9R:R;R<R=R>R?R_iiisconsulta_presidencia.htmlR@sNo existe el expedientes/revisa/busquedapresidencia/RARRBRCi RDspresidencia_busca.htmlRERRsBuscar ExpedienteRGRHRRRRRRRRRRRRRRR R!R"R#R$(RIR(R9RaRJRKRLR&R'RRMRRNRRORPRQRRRSR RDR R RTR)R*(R+RR<RURVRWRXRYRZR[R\R,RARCR]RDRE((s2/opt/public_html/NoBorrar/albergue/revisa/views.pytbusqueda_expediente_presidenciaósb      &    &   & , C2,*c Cs~y tiid|ƒ}|otiid|ƒ}tiid|ƒ}tiid|ƒ}tiid|ƒ}tiid|ƒ}t iid|ƒ}t iid|ƒ} tiid|i i ƒ} t dh|d6|d6|d6|d 6|d 6|d 6| d 6| d 6dt|ƒƒSWnWtj oK} ti|dƒtiid|ƒ} t dh| d 6dt|ƒƒSXdS(Ntexpediente__idR:RYRfsdatos_consulta_presidencia.htmlRt psicologiat pedagogiatmedicotsocialtjuridicot nutriciont historialR$sEl menor no ha sido canalizado(R!R&RRR%RR'RRRRRR:RfR)R*RNRRO( R+RlRYRŠRR‘R’R“R”R•R–R\((s2/opt/public_html/NoBorrar/albergue/revisa/views.pytmenor_encontrado/s&#(t csrf_exemptcCs•|iƒox|idjo d}q…|idjoJ|id}t|ƒ}tidtiiƒi d|ƒdd ƒ}q…nt |d d ƒS( NRQseste se envio via getR9t id_organismotjsont organismo__idR…RcRUtmimetypesapplication/javascript(sidsnombre( tis_ajaxRIR9RSRt serializetAreaR&R3R't HttpResponse(R+trespuestR™tpartidas((s2/opt/public_html/NoBorrar/albergue/revisa/views.pyt consultarAreaHs    5cCs>tiidtƒiddƒ}h|d6}t|d|ƒS(Nt is_activetusernametdgtictusuariosscontrol_usuarios.html(RR&R'tTruetexcludetrender(R+R§tcontext((s2/opt/public_html/NoBorrar/albergue/revisa/views.pytmostrar_usuariosTs! ()texpediente.modelstexpediente.formst django.httptdjango.template.responsetdjango.contrib.authtdjango.contrib.auth.decoratorstdjango.shortcutstdjango.contrib.auth.modelsRRšt django.coreRtdatetimetdjango.contribRtdjango.db.modelsRtdjango.utils.htmlRRRt django.utilsRtdjango.core.paginatorR R R R-R7tpure_paginationtlogin_requiredR^RbRoRRŽR—tdjango.views.decorators.csrfR˜R£R¬(((s2/opt/public_html/NoBorrar/albergue/revisa/views.pyts@              =-!,<