echo Close('div'); echo Open('div', array('class' => 'col-md-12')); $input2 = input(array('type' => 'text', 'placeholder' => 'Campo Obligatorio', 'class' => 'form-control', 'ng-model' => 'cliente.nombres', 'ng-required' => 'true')); echo get_combo_group('Nombres', $input2, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-12')); $input3 = input(array('type' => 'text', 'placeholder' => 'Campo Obligatorio', 'class' => 'form-control', 'ng-model' => 'cliente.apellidos', 'ng-required' => 'true')); echo get_combo_group('Apellidos', $input3, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-12', 'ng-show' => 'tipo_id')); $input4 = input(array('type' => 'text', 'placeholder' => '', 'class' => 'form-control', 'ng-model' => 'cliente.razonsocial')); echo get_combo_group('Razon Social :', $input4, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-12')); $input4 = input(array('type' => 'text', 'placeholder' => 'Campo Obligatorio', 'class' => 'form-control', 'ng-model' => 'cliente.direccion', 'ng-required' => 'false')); echo get_combo_group('Direccion :', $input4, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-12')); $input6 = input(array('type' => 'text', 'placeholder' => 'Campo Obligatorio', 'class' => 'form-control', 'ng-model' => 'cliente.celular', 'ng-required' => 'false', 'only-numbers' => '')); echo get_combo_group('Telefono : ', $input6, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('id' => 'opciones', 'class' => 'col-md-12')); echo tagcontent('button', '{{ btnText }}', array('class' => 'btn btn-primary col-md-6', 'type' => 'submit', 'ng-disabled' => 'cliente_form.$invalid', 'ng-click' => 'new_cli(cliente);')); echo tagcontent('button', 'CANCELAR', array('class' => 'btn btn-warning col-md-6', 'type' => 'submit', 'ng-click' => 'cancel();')); echo Close('div'); echo Close('form'); echo Close('div'); echo Close('div'); echo Open('div', array('class' => 'panel-footer')); echo '<h3>{{ msg }}</h3>'; echo Close('div');
echo tagcontent('td', '{{ generic.nombreUnico }}'); $button = tagcontent('button', '', array('class' => 'btn btn-primary glyphicon glyphicon-ok col-md-2', 'type' => 'submit', 'ng-click' => 'add(generic);')); $button .= tagcontent('button', '', array('class' => 'btn btn-danger glyphicon glyphicon-remove col-md-2', 'type' => 'submit', 'ng-click' => 'nuevo();')); echo tagcontent('td', $button); echo Close('tr'); echo Close('table'); echo Open('div', array('class' => 'col-sm-12', 'align' => 'right', 'ng-hide' => 'envio')); echo tagcontent('dir-pagination-controls', '', array('max-size' => '5', 'direction-links' => 'true', 'boundary-links' => 'true', 'on-page-change' => "myMethod(newPageNumber)")); echo Close('div'); echo Close('div'); echo Open('div', array('class' => 'col-md-12', 'ng-show' => 'add_productos==true')); echo tagcontent('div', '<h3>AGREGAR PRODUCTOS AL GENERICO</h3>', array('class' => 'label label-default col-md-12')); echo tagcontent('div', '<h4>{{producto_generico.nombreUnico}}</h4>', array('class' => 'label label-success col-md-12')); $input1 = input(array('type' => 'text', 'placeholder' => 'Codigo', 'class' => 'form-control', 'ng-model' => 'producto_find.codigo', 'ng-required' => 'true', 'style' => 'width:50%')); $input1 .= input(array('type' => 'text', 'placeholder' => 'Cantidad', 'class' => 'form-control', 'ng-model' => 'producto_find.cantidad', 'ng-required' => 'true', 'style' => 'width:50%')); echo get_combo_group('PRODUCTO :', $input1, $class = 'col-md-3 form-group'); echo tagcontent('button', '', array('class' => 'btn btn-primary glyphicon glyphicon-search col-md-1', 'type' => 'submit', 'ng-click' => 'findproduct(producto_find.codigo,producto_find.cantidad);')); echo Open('table', array('class' => 'table table-striped table-condensed', 'border' => '1')); echo Open('tr'); echo tagcontent('th', 'CODIGO', array('class' => 'col-md-1')); echo tagcontent('th', 'DESCRIPCION', array('class' => 'col-md-7')); echo tagcontent('th', 'CANTIDAD', array('class' => 'col-md-1')); echo tagcontent('th', 'ACCION', array('class' => 'col-md-2')); echo Close('tr'); echo Open('tr', array('ng-repeat' => 'producto in productos')); echo tagcontent('td', '{{ producto.codigo }}'); echo tagcontent('td', '{{ producto.nombreUnico }}'); /*$input = input(array('type' => 'text', 'class' => 'form-control','ng-model'=>'producto.cantidad','ng-init'=>'producto.cantidad = 1')); echo tagcontent('td', $input);*/ echo tagcontent('td', '{{ producto.cant }}'); $button = tagcontent('button', '', array('class' => 'btn btn-danger glyphicon glyphicon-remove col-md-2', 'type' => 'submit', 'ng-click' => 'quitproduct(producto.codigo);'));
echo open("tr"); echo open("td"); $combo_mes = combobox($mes, array('label' => 'mes', 'value' => 'id'), array('class' => 'form-control', 'name' => 'mes', 'id' => 'mes'), false); echo get_combo_group('Mes', $combo_mes, 'col-md-12 form-group'); echo close("td"); echo open("td"); $combo_dia = combobox($dia, array('label' => 'id', 'value' => 'id'), array('class' => 'form-control', 'name' => 'dia', 'id' => 'dia'), false); echo get_combo_group('Día', $combo_dia, 'col-md-12 form-group'); echo close("td"); echo open("td"); $combo_terapias = combobox($tipos_terapia, array('label' => 'tipo', 'value' => 'id'), array('class' => 'form-control', 'name' => 'tipos_terapias', 'id' => 'tipos_terapias'), false); echo get_combo_group('Tipos Terapias', $combo_terapias, 'col-md-12 form-group'); /*SUBTERAPIAS Combobox dinanico. JLQ 12/04/2016*/ echo Open('div', array('id' => 'div_subterapias', 'style' => 'display:none;')); $combo_subterapias = combobox(array(), array('label' => 'tipo', 'value' => 'id'), array('class' => 'form-control', 'name' => 'tipos_subterapias', 'id' => 'tipos_subterapias'), true); echo get_combo_group('SubTerapias', $combo_subterapias, 'col-md-12 form-group'); echo close("div"); //div_subterapias echo close("td"); echo close("tr"); echo open("tr"); echo open("td"); ?> <select name ='subsecuente' class='form-control' id='subsecuente'> <option value='0'>Seleccione</option> <option value='1'>Subsecuente</option> <option value='2'>Una vez</option> </select> <?php echo close("td");
<?php echo Open('form', array('action' => base_url('/pventa/index/update_mesa'), 'method' => 'post')); echo Open('div', array('class' => 'col-md-12')); echo input(array('type' => 'hidden', 'name' => 'mesa_id', 'value' => $mesa->mesa_id)); echo Open('div', array('class' => 'col-md-3')); $input2 = input(array('type' => 'text', 'name' => 'mesa_nro', 'class' => 'form-control', 'ng-model' => 'mesa.nro', 'ng-required' => 'true', 'value' => $mesa->mesa_nro)); echo get_combo_group('NRO MESA: ', $input2, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-4')); $combo_estado = combobox($estados, array('label' => 'est_msa_nombre', 'value' => 'est_msa_id'), array('class' => 'form-control input-sm', 'name' => 'estado_id'), TRUE, $mesa->mesa_estado); echo get_combo_group('ESTADO', $combo_estado, 'col-md-12 form-group has-warning'); echo Close('div'); echo Open('div', array('class' => 'col-md-3')); $input2 = input(array('type' => 'text', 'name' => 'mesa_capacidad', 'class' => 'form-control', 'ng-model' => 'mesa.capacidad', 'ng-required' => 'true', 'value' => $mesa->mesa_capacidad)); echo get_combo_group('CAPACIDAD: ', $input2, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-2')); echo tagcontent('button', '<span class=""></span>MODIFICAR', array('id' => 'ajaxformbtn', 'class' => 'btn btn-primary', 'data-target' => 'result_out_mesas')); echo Close('div'); echo Close('div'); echo Close('form');
<?php echo Open('form', array('name' => 'devoluciones_form', 'class' => 'form-horizontal', 'role' => 'form', 'novalidate' => '')); echo Open('div', array('class' => 'panel panel-success')); echo Open('div', array('class' => 'panel-heading')); echo '<center><h1>CAMBIO DE MESA</h1></center>'; echo Close('div'); echo Open('div', array('class' => 'panel-body')); echo Open('div', array('class' => 'col-md-12')); $input2 = input(array('type' => 'text', 'placeholder' => '', 'class' => 'form-control', 'ng-model' => 'mesa_cambio.mesa_nro', 'ng-required' => 'true')); echo get_combo_group('MESA #: ', $input2, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-12')); $input2 = input(array('type' => 'text', 'placeholder' => '', 'class' => 'form-control', 'ng-model' => 'mesa_cambio.cliente_mesa', 'ng-required' => 'true')); echo get_combo_group('CLIENTE: ', $input2, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-12')); $input2 = tagcontent('select', '', array('class' => "form-control", 'ng-options' => "mesa.mesa_nro for mesa in mesas_disp", 'ng-model' => "mesa", 'ng-required' => 'true')); echo get_combo_group('CAMBIAR A: ', $input2, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-12')); echo tagcontent('button', 'GUARDAR', array('class' => 'btn btn-primary btn-sm col-md-6', 'type' => 'button', 'ng-click' => 'elegirMesa(mesa_cambio, mesa)')); echo tagcontent('button', 'CANCELAR', array('class' => 'btn btn-warning btn-sm col-md-6', 'type' => 'button', 'ng-click' => 'cancel()')); echo Close('div'); echo Close('div'); echo Close('div'); echo Close('form');
echo open("div", array('id' => 'form_view')); echo "<center><h3>MODIFICAR SOLICITUD DE FISIATRIA</h3></center><br> "; $apellidoPaterno_field[] = array('readonly' => 'readonly', 'name' => 'apellido_paterno', 'id' => 'apellido_paterno', 'class' => 'form-control', 'value' => $primer_apellido); echo get_field_group('Apell. Paterno', $apellidoPaterno_field, 'col-md-3 form-group'); $apellidoMaterno_field[] = array('readonly' => 'readonly', 'name' => 'apellido_materno', 'id' => 'apellido_materno', 'class' => 'form-control', 'value' => $segundo_apellido); echo get_field_group('Apell. Materno', $apellidoMaterno_field, 'col-md-3 form-group'); $nombres_field[] = array('readonly' => 'readonly', 'name' => 'p_nombre', 'id' => 'p_nombre', 'class' => 'form-control', 'value' => $primer_nombre); echo get_field_group('Primer Nombre', $nombres_field, 'col-md-3 form-group'); $segund_nombres_field[] = array('readonly' => 'readonly', 'name' => 's_nombre', 'id' => 's_nombre', 'class' => 'form-control', 'value' => $segundo_nombre); echo get_field_group('Segundo Nombre', $segund_nombres_field, 'col-md-3 form-group'); $cedula_field[] = array('readonly' => 'readonly', 'name' => 'cedula', 'id' => 'cedula', 'class' => 'form-control', 'value' => $solicitud[0]->id_cliente); echo get_field_group('Ced. de Ciudadanía', $cedula_field, 'col-md-3 form-group'); $edad_field[] = array('readonly' => 'readonly', 'name' => 'edad', 'id' => 'edad', 'class' => 'form-control', 'value' => $solicitud[0]->edad); echo get_field_group('Edad', $edad_field, 'col-md-2 form-group'); $combo_servicio = combobox($listtiposerv, array('label' => 'tipo', 'value' => 'id'), array('class' => 'form-control', 'name' => 'id_servicio', 'id' => 'id_servicio'), false, $solicitud[0]->id_servicio); echo get_combo_group('Servicio', $combo_servicio, 'col-md-6 form-group'); $hClinica_field[] = array('name' => 'h_clinica', 'id' => 'h_clinica', 'class' => 'form-control', 'callback' => 'load_cliente', 'data-url' => base_url('common/autosuggest/get_client_by_name_hmc/%QUERY'), 'value' => $solicitud[0]->id_cliente); echo get_field_group('No.de la Historia Clinica', $hClinica_field, 'col-md-4 form-group'); $fecha_atencion_field[] = array('name' => 'fecha_atencion', 'id' => 'fecha_atencion', 'class' => 'form-control datepicker', 'value' => $solicitud[0]->fecha_atencion); echo get_field_group('Fecha de atención ', $fecha_atencion_field, 'col-md-3 form-group'); echo close("div"); echo open("div", array('class' => 'row col-md-12')); ?> <ul class="nav nav-tabs"> <li><a href="#estudio_solicitado_tex" data-toggle = "tab">ESTUDIO SOLICITADO</a></li> <li><a href="#motivo_solicitud_tex" data-toggle = "tab">MOTIVO DE LA SOLICITUD</a></li> </ul> <?php echo open("div", array('id' => 'myTabContent', 'class' => 'tab-content col-md-12')); echo open("div", array('class' => 'tab-pane ', 'id' => 'estudio_solicitado_tex'));
$input1 .= input(array('type' => 'text', 'placeholder' => 'Campo Obligatorio', 'class' => 'form-control', 'ng-model' => "cliente_find.nombres_apellidos", 'style' => 'width:70%;color:red', 'disabled' => '')); echo get_combo_group('CLIENTE :', $input1, $class = 'form-group col-xs-12 col-sm-12 col-md-12 col-lg-12'); //Se agregan estos datos para la mesa, en el caso de que el cliente haga su consumo dentro del restaurant echo Open('div', array('ng-show' => 'ver_datos_mesa')); echo input(array('type' => 'hidden', 'ng-model' => 'mesa_aux.mesa_id')); echo input(array('type' => 'hidden', 'ng-model' => 'mesa_aux.orden_servicio')); echo input(array('type' => 'hidden', 'ng-model' => 'mesa_aux.cliente_mesa')); $input1 = input(array('type' => 'text', 'class' => 'form-control', 'ng-model' => "mesa_aux.mesa_nro", 'style' => 'width:50%', 'readonly' => 'readonly')); $input1 .= tagcontent('button', 'CAMBIAR MESA', array('class' => 'btn btn-warning btn-sm', 'type' => 'button', 'ng-click' => 'cambiar_mesa(mesa_aux)', 'style' => 'width:50%')); echo get_combo_group('MESA #: ', $input1, $class = 'form-group col-xs-12 col-sm-12 col-md-12 col-lg-12'); $input2 = tagcontent('select', '', array('class' => "form-control", 'ng-options' => "emp.nombres_apellidos for emp in empleados", 'ng-model' => "mesa_aux.emp", 'ng-required' => 'true')); echo get_combo_group('MESERO: ', $input2, $class = 'form-group col-xs-12 col-sm-12 col-md-12 col-lg-12'); echo Close('div'); $input1 = input(array('type' => 'text', 'placeholder' => 'Cantidad', 'id' => 'cantidad', 'class' => 'form-control', 'ng-model' => "producto_find.cantidad", 'code' => "13", 'dl-key-code' => "find_pro(producto_find);", 'style' => 'width:50%', 'focus' => '')); $input1 .= input(array('type' => 'text', 'placeholder' => 'Codigo Comun', 'class' => 'form-control', 'ng-model' => "producto_find.codigo2", 'code' => "13", 'dl-key-code' => "find_pro(producto_find);", 'style' => 'width:50%', 'only-numbers' => '', 'ng-trim' => 'true')); echo get_combo_group('PRODUCTO :', $input1, $class = 'form-group col-xs-12 col-sm-12 col-md-12 col-lg-12'); //Botón que se muestra cuando no se selecciona ninguna mesa echo Open('div', array('ng-show' => 'ver_boton_facturar')); echo tagcontent('button', 'FACTURAR', array('ng-click' => "get_cart();", 'class' => 'btn btn-success col-xs-12 col-sm-12 col-md-12 col-lg-12', 'type' => 'submit')); echo Close('div'); //Vistas para controlar que campos se muestran según si el consumo que realiza el cliente es dentro o fuera del restaurant echo Open('div', array('ng-show' => '!ver_boton_facturar')); echo tagcontent('button', 'GENERAR FACTURA', array('ng-click' => "consultar_comandas_mesa(mesa_aux.mesa_id);", 'class' => 'btn btn-success col-xs-6 col-sm-6 col-md-6 col-lg-6', 'type' => 'submit')); echo tagcontent('button', 'HACER PEDIDO', array('ng-click' => "save_pedido(mesa);", 'class' => 'btn btn-info col-xs-6 col-sm-6 col-md-6 col-lg-6', 'type' => 'submit')); echo Close('div'); echo tagcontent('span', 'DETALLE FACTURA {{ ngCart.getTotalItems() }}', array('class' => 'label label-default col-xs-12 col-sm-12 col-md-12 col-lg-12', 'style' => 'font-size:20px;text-align:center')); echo tagcontent('ngcart-cart'); echo Close('div'); echo Open('div', array('class' => 'col-xs-8 col-sm-8 col-md-8 col-lg-8')); echo Open('div', array('class' => 'col-xs-12 col-sm-12 col-md-12 col-lg-12', 'ng-show' => 'subgrupo.length > 0')); echo Open('table', array('class' => 'table table-striped table-responsive '));
<?php echo Open('div', array('align' => 'center', 'class' => 'col-md-12')); echo '<h1 class="page-header"><small><font class="text-success">GENERACION DE REPORTES DE FISIATRIA</font></small></h1>'; echo Close('div'); echo lineBreak(1); echo Open('form', array('action' => base_url('fisiatria/reporte/get_reporte'), 'method' => 'post')); $combobox1 = combobox($mes, array('label' => 'mes', 'value' => 'id'), array('class' => 'form-control', 'name' => 'mes', 'id' => 'mes', 'enabled' => 'disabled'), false); $combobox2 = combobox_array($anio, array('class' => 'form-control', 'name' => 'anio', 'id' => 'anio', 'enabled' => 'disabled'), false); echo get_combo_group('MESES :', $combobox1, 'col-md-2 form-group'); echo get_combo_group('AÑO :', $combobox2, 'col-md-2 form-group'); echo Open('div', array('class' => 'col-md-5 form-group')); echo Open('div', array('class' => 'input-group has-success')); echo tagcontent('span', '<span class="glyphicon glyphicon-check"></span> Tipo Documento: ', array('class' => 'input-group-addon')); ?> <select name ="tipo_reporte" id="tipo_reporte" class="combobox form-control input-sm"> <option value="1">Patologias Frecuentes</option> <option value="2">Terapia Fisica</option> </select> <?php echo Close('div'); echo Close('div'); echo tagcontent('button', 'GENERAR', array('name' => 'btnGenerar', 'class' => 'btn btn-primary col-md-2 pull-left', 'id' => 'ajaxformbtn', 'type' => 'submit', 'data-target' => 'opcion_elegida')); echo Close('div'); echo Close('form'); echo tagcontent('div', '', array('id' => 'opcion_elegida', 'class' => 'col-md-12'));