Cambios a documentos
This commit is contained in:
@ -8,9 +8,9 @@
|
||||
Transparencia
|
||||
</h4>
|
||||
<div class="ui list">
|
||||
@include('admin.documento', ['descripcion' => 'Balances Anuales', 'link' => 'balances_anuales'])
|
||||
@include('admin.documento', ['descripcion' => 'Interés y Patrimonio', 'link' => 'intereses_y_patrimonio'])
|
||||
@include('admin.documento', ['descripcion' => 'Informes Fiscalía', 'link' => 'informes_fiscalia'])
|
||||
@include('admin.documento', ['descripcion' => 'Balances Anuales', 'link' => 'balances_anuales', 'mod' => 'fecha'])
|
||||
@include('admin.documento', ['descripcion' => 'Interés y Patrimonio', 'link' => 'intereses_y_patrimonio', 'mod' => 'fecha'])
|
||||
@include('admin.documento', ['descripcion' => 'Informes Fiscalía', 'link' => 'informes_fiscalia', 'mod' => 'fecha'])
|
||||
@include('admin.documento', ['descripcion' => 'Valores', 'link' => 'valores'])
|
||||
</div>
|
||||
<div class="ui toggle checkbox" id="transparencia">
|
||||
@ -59,10 +59,12 @@
|
||||
cache: false,
|
||||
processData: false,
|
||||
success: function(data) {
|
||||
if (data.estado != true) {
|
||||
if (data.estado == true) {
|
||||
$('#doc_form').find('.header').html('')
|
||||
$('#doc_form').find('form').find("[name='filename']").val('')
|
||||
$('#doc_form').modal('hide')
|
||||
$('#documento_message').html('')
|
||||
$('#documento_message').hide()
|
||||
} else {
|
||||
$('#documento_message').html('Error al subir el archivo.')
|
||||
$('#documento_message').show()
|
||||
|
Reference in New Issue
Block a user