formato.php 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. <?php
  2. /**
  3. * @var \yii\web\View $this
  4. * @var \v1\models\Solicitud $solicitud
  5. * @var \v1\models\RecursoRevision $recurso
  6. * @var \v1\models\Usuario $usuario
  7. */
  8. setlocale(LC_ALL, 'es_ES');
  9. $basePath = \Yii::getAlias('@app') . "/web/";
  10. $media = $solicitud->media;
  11. $solicitante = $solicitud->usuario;
  12. $modalidadEntrega = [
  13. ["id" => 1, "label" => "Portal ISTAI"],
  14. ["id" => 2, "label" => "CD-ROM (con costo)"],
  15. ["id" => 3, "label" => "Consulta Directa"],
  16. ["id" => 4, "label" => "Copias Certificadas (con costo)"],
  17. ["id" => 5, "label" => "Copias Simples (con costo)"],
  18. ["id" => 6, "label" => "Copia Digitalizada"],
  19. ["id" => 7, "label" => "Otro"],
  20. ];
  21. $camposTabla = 30;
  22. ?>
  23. <div class="container">
  24. <table class="table-acuse">
  25. <tr>
  26. <td class="col-table-12 td-border td-center">
  27. <strong>
  28. SUJETO OBLIGADO
  29. </strong>
  30. </td>
  31. </tr>
  32. </table>
  33. <table class="table-acuse td-border td-center" style="margin-top:12px">
  34. <tr>
  35. <td class="col-table-12">
  36. <strong>
  37. <?= $solicitud->sujetoObligado->nombre ?>
  38. <!-- Instituto Sonorense de Transparencia, Acceso a la Información Pública y Datos Personales -->
  39. </strong>
  40. </td>
  41. </tr>
  42. </table>
  43. <div class="clearfix"><br /></div>
  44. <table class="table-acuse">
  45. <tr>
  46. <td class="col-table-4">
  47. <strong>Fecha de Recepción:</strong>
  48. </td>
  49. <td class="col-table-3 td-subrayado td-center">
  50. <?php
  51. $date = '';
  52. if ($solicitud->recepcion) {
  53. $tz = new DateTimeZone('America/Hermosillo');
  54. $date = new DateTime($solicitud->recepcion);
  55. $date->setTimezone($tz);
  56. $date = $date->format('d-m-Y');
  57. }
  58. echo $date;
  59. ?>
  60. </td>
  61. <td class="col-table-2">
  62. <strong>Hora:</strong>
  63. </td>
  64. <td class="col-table-3 td-subrayado td-center">
  65. <?php
  66. $hora = '';
  67. if ($solicitud->recepcion) {
  68. $tz = new DateTimeZone('America/Hermosillo');
  69. $hora = new DateTime($solicitud->recepcion);
  70. $hora->setTimezone($tz);
  71. $hora = $hora->format('H:i:s');
  72. }
  73. echo $hora
  74. ?>
  75. </td>
  76. </tr>
  77. </table>
  78. <div class="clearfix"><br /></div>
  79. <table class="table-acuse">
  80. <tr>
  81. <td class="col-table-12 td-border td-center">
  82. <strong>
  83. DATOS DEL SOLICITANTE
  84. </strong>
  85. </td>
  86. </tr>
  87. </table>
  88. <table class="table-acuse td-border td-center" style="margin-top:12px">
  89. <tr>
  90. <td class="col-table-12">
  91. <strong>
  92. <?= $solicitud->nombre ? $solicitud->nombre : 'No Proporcionado' ?>
  93. <!-- Instituto Sonorense de Transparencia, Acceso a la Información Pública y Datos Personales -->
  94. </strong>
  95. </td>
  96. </tr>
  97. </table>
  98. <div class="clearfix"><br /></div>
  99. <table class="table-acuse">
  100. <tr>
  101. <td class="col-table-3 td-border td-center">
  102. <strong>
  103. DOMICILIO
  104. </strong>
  105. </td>
  106. <td class="col-table-9 td-center">
  107. </td>
  108. </tr>
  109. </table>
  110. <table class="table-acuse td-border td-padding">
  111. <tr>
  112. <td class="col-table-3">
  113. <strong>
  114. PAíS:
  115. </strong>
  116. </td>
  117. <td class="col-table-3 td-center td-subrayado ">
  118. No Proporcionado
  119. </td>
  120. <td class="col-table-3 td-center">
  121. </td>
  122. <td class="col-table-3 td-center">
  123. </td>
  124. </tr>
  125. <tr>
  126. <td class="col-table-3">
  127. <strong>
  128. DOMICILIO:
  129. </strong>
  130. </td>
  131. <td colspan="3" class="col-table-9 td-subrayado ">
  132. No Proporcionado
  133. </td>
  134. </tr>
  135. <tr>
  136. <td class="col-table-3">
  137. <strong>
  138. CORREO ELECTRÓNICO:
  139. </strong>
  140. </td>
  141. <td class="col-table-3 td-subrayado ">
  142. <?= $solicitud->correo ?>
  143. </td>
  144. <td class="col-table-3">
  145. <strong>
  146. TELÉFONO (Opcional):
  147. </strong>
  148. </td>
  149. <td class="col-table-3 td-center td-subrayado">
  150. <?= $solicitud->telefono ?>
  151. </td>
  152. </tr>
  153. </table>
  154. <div class="clearfix"><br /></div>
  155. <table class="table-acuse ">
  156. <tr>
  157. <td class="col-table-7">
  158. <strong style="color:red">Número de Folio de la Solicitud:</strong>
  159. </td>
  160. <td class="col-table-5">
  161. <strong style="color:red"><?= $solicitud->folio ?></strong>
  162. </td>
  163. </tr>
  164. <?php if ($recurso !== null) : ?>
  165. <tr>
  166. <td class="col-table-7">
  167. <strong style="color:red">Número de Folio de Recurso de Revisión:</strong>
  168. </td>
  169. <td class="col-table-5">
  170. <strong style="color:red">
  171. <?= $recurso->folio ?>
  172. </strong>
  173. </td>
  174. </tr>
  175. <?php endif ?>
  176. </table>
  177. <div class="clearfix"><br /></div>
  178. <table class="table-acuse">
  179. <tr>
  180. <td class="col-table-12" style="border: 1px solid black">
  181. Solicitud de información del instituto de transparencia
  182. </td>
  183. </tr>
  184. <tr>
  185. <td class="col-table-12">
  186. <?= $solicitud->descripcion ?>
  187. </td>
  188. </tr>
  189. </table>
  190. <div class="clearfix"><br /></div>
  191. <table class="table-acuse">
  192. <tr>
  193. <td class="col-table-8 td-border" colspan="2">
  194. <strong>MODALIDAD DE ENTREGA</strong>
  195. </td>
  196. <td class="col-table-4"></td>
  197. </tr>
  198. </table>
  199. <table class="table-acuse td-border td-padding">
  200. <?php
  201. $contador = 0;
  202. foreach ($modalidadEntrega as $entrega) {
  203. if ($contador % 3 == 0) {
  204. echo '<tr>';
  205. }
  206. if ($entrega['id'] === $solicitud->idModalidadEntrega) {
  207. echo '<td class="col-table-4"><span style="background-color: #D9B5E5"><input type="checkbox" value="'.$entrega['id'].'" checked="checked" />' . $entrega['label'] . '</span></td>';
  208. } else {
  209. echo '<td class="col-table-4"><span><input type="checkbox" value="'.$entrega['id'].'" />' . $entrega['label'] . '</td>';
  210. }
  211. if ($contador % 3 == 2) {
  212. echo '</tr>';
  213. }
  214. $contador++;
  215. }
  216. if ($contador % 3 != 0) {
  217. echo '</tr>';
  218. }
  219. if ($solicitud->idModalidadEntrega === 6) {
  220. ?>
  221. <tr>
  222. <td class="col-table-4">
  223. Especificar:
  224. </td>
  225. <td class="col-table-4">
  226. <?= $solicitud->otroModalidadEntrega ?>
  227. </td>
  228. </tr>
  229. <?php
  230. }
  231. ?>
  232. <!-- <tr>
  233. <td class="col-table-4">
  234. A través del SAIMEX
  235. </td>
  236. <td class="col-table-4">
  237. Copias Simples(con costo)
  238. </td>
  239. <td class="col-table-4">
  240. Consulta Directa(sin costo)
  241. </td>
  242. </tr>
  243. <tr>
  244. <td class="col-table-4">
  245. CD-ROM(con costo)
  246. </td>
  247. <td class="col-table-4">
  248. Copias Certificadas(con costo)
  249. </td>
  250. <td class="col-table-4">
  251. Disquete 3.5(con costo)
  252. </td>
  253. </tr>
  254. <tr>
  255. <td>
  256. OTRO TIPO DE MEDIO (Especificar):
  257. </td>
  258. <td colspan="2">
  259. </td>
  260. </tr> -->
  261. </table>
  262. <div class="clearfix"><br /></div>
  263. <table class="table-acuse">
  264. <tr>
  265. <td class="col-table-12 td-border td-center">
  266. <strong>
  267. DOCUMENTOS ANEXOS
  268. </strong>
  269. </td>
  270. </tr>
  271. </table>
  272. <table class="table-acuse td-border">
  273. <tr>
  274. <td class="col-table-12">
  275. <ul>
  276. <?php
  277. foreach ($media as $archivo) :
  278. ?>
  279. <li>
  280. <a href="<?= $archivo->ruta ?>" target="_blank">
  281. <?= $archivo->nombre ?>
  282. </a>
  283. </li>
  284. <?php
  285. endforeach
  286. ?>
  287. </ul>
  288. </td>
  289. </tr>
  290. </table>
  291. <div class="clearfix"><br /></div>
  292. <table class="table-acuse">
  293. <tr>
  294. <td class="col-table-12 td-border td-center">
  295. <strong>
  296. PLAZO DE RESPUESTA
  297. </strong>
  298. </td>
  299. </tr>
  300. </table>
  301. <div class="clearfix"><br /></div>
  302. <table class="table-acuse td-border td-padding">
  303. <tr>
  304. <td class="col-table-8">
  305. <strong>Incompetencia y Parcialmente Incompetencia :</strong>
  306. </td>
  307. <td class="col-table-4 td-subrayado">
  308. 3 días hábiles
  309. </td>
  310. </tr>
  311. <tr>
  312. <td class="col-table-8">
  313. <strong>En Caso de Negativa a la Información: Improcedente, Inexistente, Confidencial y Reservada :</strong>
  314. </td>
  315. <td class="col-table-4 td-subrayado">
  316. 5 días hábiles
  317. </td>
  318. </tr>
  319. <tr>
  320. <td class="col-table-8">
  321. <strong>En Caso de Reproducción con Costo :</strong>
  322. </td>
  323. <td class="col-table-4 td-subrayado">
  324. 5 días hábiles
  325. </td>
  326. </tr>
  327. </table>
  328. </div>