<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<?php $this->load->view('template/head.php'); ?>
<?php $this->load->view('template/header_admin.php'); ?>
<section class="row contenedor-titulo">
	<h3 class="titulo"><?= $titulo ?></h3> 
</section>
<section class="row contenedor">
<?php
		$form_data         = [
			'name'       => 'crear_form',
			'id'         => 'crear-form',
			'class'      => 'crear-form',
			'novalidate' => '',
		];
		$attributes_labels = ['class' => 'control-label'];
		?>
		<?= form_open_multipart(base_url('impresion/editar'), $form_data); ?>
		<div class="col-lg-12 col-md-12">
			<div class="form-group input-type" style="width: 100%;">
				<?= form_label('Tipo de impresión', 'TEX_TIPOIMPRE', $attributes_labels); ?>
				<div class="input-group" style="width: 100%;">
					<div class="input-group-addon">
						<i class="fa fa-print"></i>
					</div>
					<select name="TEX_TIPOIMPRE"  id="TEX_TIPOIMPRE" class="form-control" onchange="" required="required">
						<option value=" ">Seleccione</option>
						<option value="T" <?= (@$configuracion->TEX_TIPOIMPRE === 'T') ? 'selected' : '' ?>>Impresora térmica</option>
						<option value="L" <?= (@$configuracion->TEX_TIPOIMPRE === 'L') ? 'selected' : '' ?>>Impresora Laser</option>
					</select>
				</div>
			</div>
			<div class="col-lg-12 col-md-12">
									<div class="boton-submit">
										<div class="input-group">
											<a href="<?php echo base_url('administrador') ?>" class="btn btn-danger" style="margin-right: 10px;">Regresar</a>
											<input type="submit" value="Guardar" class="btn btn-default" id="btn-save-config"> 
										</div>  
									</div>
								</div>
		<?= form_close(); ?>
</section>
<?php
$data_view['loajs'] = $load_js;
$this->load->view('template/footer.php', $data_view);
?>