PageRenderTime 45ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/app/views/admin/gestion/form/proyectoEdificio.php

https://gitlab.com/carlos3434/webpsi20
PHP | 282 lines | 115 code | 6 blank | 161 comment | 0 complexity | 7f7fe92a143e2b0fcded10a72444e162 MD5 | raw file
  1. <!-- /.modal -->
  2. <?php
  3. $format_db = 'YYYY-MM-DD';
  4. ?>
  5. <div class="modal fade" id="proyectoEdificioModal" tabindex="-1" role="dialog" aria-hidden="true">
  6. <div class="modal-dialog modal-lg">
  7. <div class="modal-content">
  8. <!-- Custom Tabs -->
  9. <input type="hidden" id="txt_proyecto_edificio_id" name="txt_proyecto_edificio_id">
  10. <input type="hidden" id="txt_proyecto_estado_id" name="txt_proyecto_estado_id">
  11. <div class="nav-tabs-custom nav-tabs-style-1">
  12. <ul class="nav nav-tabs logo modal-header" id="proyectoEdificioModalNav">
  13. <li class="logo tab_3">
  14. <a href="#tab_3" data-toggle="tab">
  15. <button class="btn btn-primary btn-sm"><i class="fa fa-building fa-lg"></i> </button>
  16. <span>UbicaciĆ³n</span>
  17. </a>
  18. </li>
  19. <?php /*
  20. <li class="logo tab_1">
  21. <a href="#tab_1" data-toggle="tab">
  22. <button class="btn btn-primary btn-sm"><i class="fa fa-cloud fa-lg"></i> </button>
  23. <span>Gesti&oacute;n Edificios</span>
  24. </a>
  25. </li>
  26. <li class="logo tab_2">
  27. <a href="#tab_2" data-toggle="tab">
  28. <button class="btn btn-primary btn-sm"><i class="fa fa-search-plus fa-lg"></i> </button>
  29. <span>Movimientos</span>
  30. </a>
  31. </li>
  32. <li class="logo tab_5">
  33. <a href="#tab_5" data-toggle="tab">
  34. <button class="btn btn-primary btn-sm"><i class="fa fa-files-o fa-lg"></i> </button>
  35. <span><?php echo trans('main.bitacora'); ?></span>
  36. </a>
  37. </li>
  38. */ ?>
  39. <li class="logo tab_4">
  40. <a href="#tab_4" data-toggle="tab">
  41. <button class="btn btn-primary btn-sm"><i class="fa fa-list-ul fa-lg"></i> </button>
  42. <span>Detalle</span>
  43. </a>
  44. </li>
  45. <li class="pull-right">
  46. <button class="btn btn-sm btn-default pull-right" data-dismiss="modal">
  47. <i class="fa fa-close"></i>
  48. </button>
  49. </li>
  50. </ul>
  51. <div class="tab-content">
  52. <div class="tab-pane active" id="tab_3">
  53. <div class="row">
  54. <div class="col-sm-6">
  55. <label><?php echo trans('gestion.direccion_numero_manzana_lote') ?>: </label><br>
  56. <span id="lbl_direccion" style="font-size: 1.2em;"></span>
  57. <span id="lbl_direccion_referencia" style="font-size: 1.2em;"></span>
  58. </div>
  59. <div class="col-sm-2">
  60. <label><?php echo trans('gestion.avance') ?> (%): </label><br>
  61. <span id="lbl_avance" style="font-size: 1.2em;"></span>
  62. </div>
  63. <div class="col-sm-2">
  64. <label><?php echo trans('gestion.numero_departamentos') ?>: </label><br>
  65. <span id="lbl_numero_departamento" style="font-size: 1.2em;"></span>
  66. </div>
  67. <div class="col-sm-2">
  68. <label><?php echo trans('gestion.numero_pisos') ?>: </label><br>
  69. <span id="lbl_numero_piso" style="font-size: 1.2em;"></span>
  70. </div>
  71. </div>
  72. <div class="row">
  73. <div class="col-sm-4">
  74. <label><?php echo trans('gestion.estado') ?>: </label><br>
  75. <span id="lbl_proyecto_estado" style="font-size: 1.2em;"></span>
  76. </div>
  77. <div class="col-sm-3">
  78. <label><?php echo trans('gestion.bandeja') ?>: </label><br>
  79. <span id="lbl_proyecto_bandeja" style="font-size: 1.2em;"></span>
  80. </div>
  81. <div class="col-sm-5">
  82. <label><?php echo trans('gestion.provisional') ?>: </label><br>
  83. <span id="lbl_provisional_estado" style="font-size: 1.2em;"></span>
  84. </div>
  85. </div>
  86. <div class="row">
  87. <div class="col-sm-6 col-xs-6">
  88. <button class="btn btn-success" id="boton_mapa_mostrar">MAPA</button>
  89. </div>
  90. <div class="col-sm-6 col-xs-6">
  91. <button class="btn btn-success" id="boton_calle_mostrar">CALLE</button>
  92. </div>
  93. </div>
  94. <div class="row">
  95. <div class="col-sm-6">
  96. <div id="map"></div>
  97. </div>
  98. <div class="col-sm-6">
  99. <div id="pano"></div>
  100. </div>
  101. </div>
  102. <div class="row">
  103. <div class="col-sm-offset-6 col-sm-6 text-right">
  104. <label>Coordenadas: </label>
  105. <span id="txt_longitud" style="font-size: 1em;">0</span>,
  106. <span id="txt_latitud" style="font-size: 1em;">0</span>
  107. </div>
  108. </div>
  109. <div class="modal-footer">
  110. <?php echo \View::make('admin.gestion.form.proyectoedificiototales'); ?>
  111. <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo trans('main.Close') ?></button>
  112. <button type="button" id="btn_aplicar_xy" name="btn_aplicar_xy" class="btn btn-primary"><?php echo trans('main.Save') ?> XY</button>
  113. </div>
  114. </div><!-- /.tab-pane -->
  115. <?php /*
  116. <div class="tab-pane" id="tab_1">
  117. <?php echo \View::make('admin.gestion.form.proyectoedificiogestionar', ['format_db' => $format_db]); ?>
  118. </div><!-- /.tab-pane -->
  119. <div class="tab-pane" id="tab_2">
  120. <div class="row" style="height:500px;overflow-y: auto;">
  121. <div class="col-sm-12">
  122. <h3>GESTIONES DEL EDIFICIO</h3>
  123. <div class="table-responsive">
  124. <table id="t_movimiento_total" class="table table-bordered table-condensed">
  125. <thead>
  126. <tr>
  127. <th><?php echo trans('gestion.nro') ?></th>
  128. <th><?php echo trans('gestion.proyecto_tipo') ?></th>
  129. <th><?php echo trans('gestion.fecha_inicio') ?></th>
  130. <th><?php echo trans('gestion.fecha_compromiso') ?></th>
  131. <th><?php echo trans('gestion.fecha_gestion') ?></th>
  132. <th><?php echo trans('gestion.estado_general') ?></th>
  133. <th><?php echo trans('gestion.gestion_interna') ?></th>
  134. <th><?php echo trans('gestion.recepcion_expediente') ?></th>
  135. <th><?php echo trans('gestion.fecha_termino') ?></th>
  136. <th><?php echo trans('gestion.casuistica') ?></th>
  137. <th><?php echo trans('gestion.proyecto_estado') ?></th>
  138. <th><?php echo trans('gestion.fecha_seguimiento') ?></th>
  139. <th><?php echo trans('gestion.created_at') ?></th>
  140. <th><?php echo trans('gestion.usuario') ?></th>
  141. </tr>
  142. </thead>
  143. </table>
  144. </div>
  145. <div class="table-responsive">
  146. <h3>PROVISIONALES</h3>
  147. <table id="t_movimiento_provisional" class="table table-bordered table-condensed">
  148. <thead>
  149. <tr>
  150. <th><?php echo trans('gestion.nro') ?></th>
  151. <th><?php echo trans('gestion.proyecto_tipo') ?></th>
  152. <th><?php echo trans('gestion.fecentrega') ?></th>
  153. <th><?php echo trans('gestion.fecrespuesta') ?></th>
  154. <th><?php echo trans('gestion.fectermino') ?></th>
  155. <th><?php echo trans('gestion.fecliquidacion') ?></th>
  156. <th><?php echo trans('gestion.estadoprovisional') ?></th>
  157. <th><?php echo trans('gestion.evaluadorejecutor') ?></th>
  158. </tr>
  159. </thead>
  160. </table>
  161. </div>
  162. <div class="table-responsive">
  163. <h3>MEGAPROYECTOS</h3>
  164. <table id="t_movimiento_megaproyecto" class="table table-bordered table-condensed">
  165. <thead>
  166. <tr>
  167. <th><?php echo trans('gestion.nro') ?></th>
  168. <th><?php echo trans('gestion.energia_estado') ?></th>
  169. <th><?php echo trans('gestion.fo_estado') ?></th>
  170. <th><?php echo trans('gestion.troba_nueva') ?></th>
  171. <th><?php echo trans('gestion.troba_fecha_final') ?></th>
  172. <th><?php echo trans('gestion.troba_estado') ?></th>
  173. </tr>
  174. </thead>
  175. </table>
  176. </div>
  177. </div>
  178. </div>
  179. <div class="modal-footer">
  180. <?php echo \View::make('admin.gestion.form.proyectoedificiototales'); ?>
  181. <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo trans('main.Close') ?></button>
  182. </div>
  183. </div><!-- /.tab-pane -->
  184. <div class="tab-pane" id="tab_5">
  185. <div class="row">
  186. <div class="col-md-12">
  187. <form id="form_proyecto_bitacora" name="form_proyecto_bitacora" action="" method="post" autocomplete="off">
  188. <div class="row">
  189. <div class="col-sm-3">
  190. <div class="form-group">
  191. <label for="txt_fecha_observacion"><?php echo trans('gestion.fecha') ?></label>
  192. <input style="font-size:1.3em;" placeholder="<?php echo $format_db; ?>" type="text" class="form-control input-lg" name="txt_fecha_observacion" id="txt_fecha_observacion" value="<?php echo date('Y-m-d') ?>">
  193. </div>
  194. </div>
  195. <div class="col-sm-9">
  196. <div class="form-group">
  197. <label for="txt_descripcion"><?php echo trans('gestion.descripcion') ?></label>
  198. <textarea style="font-size:1.3em;" placeholder="<?php echo trans('gestion.agregar_descripcion_bitacora') ?>" class="resize-none form-control " rows="2" name="txt_descripcion" id="txt_descripcion"></textarea>
  199. </div>
  200. </div>
  201. </div>
  202. </form>
  203. <!-- Inicia contenido -->
  204. <table id="datatable_proyecto_bitacora" class="table table-bordered table-striped table-condensed display responsive no-wrap" cellspacing="0" width="100%">
  205. <thead>
  206. <tr>
  207. <th class="text-center" ><?php echo trans('gestion.nro') ?></th>
  208. <th class="text-center"><?php echo trans('gestion.fecha') ?></th>
  209. <th class="text-center"><?php echo trans('gestion.descripcion') ?></th>
  210. <th class="text-center"><?php echo trans('gestion.usuario') ?></th>
  211. </tr>
  212. </thead>
  213. </table>
  214. <!-- Finaliza contenido -->
  215. </div>
  216. </div>
  217. <div class="modal-footer">
  218. <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo trans('main.Close') ?></button>
  219. <button type="button" id="btn_bitacora" name="btn_bitacora" class="btn btn-primary"><?php echo trans('main.Save') ?></button>
  220. </div>
  221. </div><!-- /.tab-pane -->
  222. */ ?>
  223. <div class="tab-pane" id="tab_4">
  224. <div class="row">
  225. <div class="col-md-12" id="tab_4_content">
  226. </div>
  227. </div>
  228. <div class="modal-footer">
  229. <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo trans('main.Close') ?></button>
  230. </div>
  231. </div><!-- /.tab-pane -->
  232. </div><!-- /.tab-content -->
  233. </div><!-- nav-tabs-custom -->
  234. </div>
  235. </div>
  236. </div>
  237. <!-- /.modal -->
  238. <?php /*
  239. <div class="col-sm-12">
  240. <div class="table-responsive">
  241. <table id="t_movimiento" class="table table-bordered table-striped">
  242. <thead>
  243. <tr>
  244. <th></th>
  245. <th><?php echo trans('gestion.nro') ?></th>
  246. <th><?php echo trans('gestion.fecha_movimiento') ?></th>
  247. <th><?php echo trans('gestion.avance') ?></th>
  248. <th><?php echo trans('gestion.usuario') ?></th>
  249. <th><?php echo trans('gestion.observacion') ?></th>
  250. <th><?php echo trans('gestion.proyecto_tipo') ?></th>
  251. </tr>
  252. </thead>
  253. <tbody id="tb_movimiento">
  254. </tbody>
  255. <tfoot>
  256. <tr>
  257. <th></th>
  258. <th><?php echo trans('gestion.nro') ?></th>
  259. <th><?php echo trans('gestion.fecha_movimiento') ?></th>
  260. <th><?php echo trans('gestion.avance') ?></th>
  261. <th><?php echo trans('gestion.usuario') ?></th>
  262. <th><?php echo trans('gestion.observacion') ?></th>
  263. <th><?php echo trans('gestion.proyecto_tipo') ?></th>
  264. </tr>
  265. </tfoot>
  266. </table>
  267. </div>
  268. </div>
  269. */ ?>