Menu

Commit [r341]  Maximize  Restore  History

-->routes.php: agregue una ruta para cuando los contratos no tiene observaciones se cree el pdf y se envie el correo

$route['acuseR_sinObservacion/(:num)'] = 'reporte/c_acuse_reciboPdf/sinObservaciones/$1';
-->c_acuse_reciboPdf.php: agregue una nueva funcion que crea el acuse sin observacion y envia correo (function sinObservaciones)
-->m_contrato.php: modifique la funcion de getContratosPorEmpresa2
agregue $id_pack = null;
-->v_index_contrato.php: cambie la ruta para que envie un correo y cree el acuse sin observaciones
setTimeout(window.open('<?php echo base_url().'acuseR_sinObservacion/'.$id_paquete;?>', '_blank'), 1000);

marc3la 2017-02-12

changed /application/config/routes.php
changed /application/controllers/reporte/c_acuse_reciboPdf.php
changed /application/models/m_contrato.php
changed /application/views/observaciones/v_index_contrato.php
/application/config/routes.php Diff Switch to side-by-side view
Loading...
/application/controllers/reporte/c_acuse_reciboPdf.php Diff Switch to side-by-side view
Loading...
/application/models/m_contrato.php Diff Switch to side-by-side view
Loading...
/application/views/observaciones/v_index_contrato.php Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB