mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Merge branch 'main' into 'dev/proveedores'
# Conflicts: # ci4/app/Views/themes/backend/vuexy/form/configuracion/maquinas/_maquinaFormItems.php
This commit is contained in:
@ -1,181 +1,520 @@
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xl-12">
|
||||
<div class="nav-align-top mb-4">
|
||||
<ul class="nav nav-pills mb-3" role="tablist">
|
||||
<li class="nav-item">
|
||||
<button
|
||||
type="button"
|
||||
class="nav-link active"
|
||||
role="tab"
|
||||
data-bs-toggle="tab"
|
||||
data-bs-target="#informacion-cliente"
|
||||
aria-controls="informacion-cliente"
|
||||
aria-selected="true">
|
||||
Ficha de Cliente
|
||||
</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<button
|
||||
type="button"
|
||||
class="nav-link"
|
||||
role="tab"
|
||||
data-bs-toggle="tab"
|
||||
data-bs-target="#contactos"
|
||||
aria-controls="contactos"
|
||||
aria-selected="false">
|
||||
Contactos
|
||||
</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<button
|
||||
type="button"
|
||||
class="nav-link"
|
||||
role="tab"
|
||||
data-bs-toggle="tab"
|
||||
data-bs-target="#domicilio-entrega"
|
||||
aria-controls="domicilio-entrega"
|
||||
aria-selected="false">
|
||||
Domicilio de Entrega
|
||||
</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<button
|
||||
type="button"
|
||||
class="nav-link"
|
||||
role="tab"
|
||||
data-bs-toggle="tab"
|
||||
data-bs-target="#facturacion"
|
||||
aria-controls="facturacion"
|
||||
aria-selected="false">
|
||||
Facturación
|
||||
</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<button
|
||||
type="button"
|
||||
class="nav-link"
|
||||
role="tab"
|
||||
data-bs-toggle="tab"
|
||||
data-bs-target="#pedidos"
|
||||
aria-controls="pedidos"
|
||||
aria-selected="false">
|
||||
Pedidos
|
||||
</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<button
|
||||
type="button"
|
||||
class="nav-link"
|
||||
role="tab"
|
||||
data-bs-toggle="tab"
|
||||
data-bs-target="#usuarios"
|
||||
aria-controls="usuarios"
|
||||
aria-selected="false">
|
||||
Usuarios
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane fade show active" id="informacion-cliente" role="tabpanel">
|
||||
<div class="accordion" id="collapsibleSection">
|
||||
<div class="card accordion-item">
|
||||
<h2 class="accordion-header" id="headingDeliveryAddress">
|
||||
<button
|
||||
type="button"
|
||||
class="accordion-button"
|
||||
data-bs-toggle="collapse"
|
||||
data-bs-target="#datos-cliente"
|
||||
aria-expanded="true"
|
||||
aria-controls="datos-cliente">
|
||||
Datos del Cliente
|
||||
</button>
|
||||
</h2>
|
||||
<div
|
||||
id="datos-cliente"
|
||||
class="accordion-collapse collapse show"
|
||||
data-bs-parent="#collapsibleSection"
|
||||
>
|
||||
<div class="accordion-body">
|
||||
<div class="row g-3 mb-3">
|
||||
<div class="col-md-12">
|
||||
<label for="cif" class="form-label">
|
||||
<?= lang('Clientes.cif') ?>*
|
||||
</label>
|
||||
<input type="text" id="cif" name="cif" required
|
||||
maxLength="50" class="form-control"
|
||||
value="<?= old('cif', $clienteEntity->cif) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="nombre" class="form-label">
|
||||
<?= lang('Clientes.nombre') ?>*
|
||||
</label>
|
||||
<input
|
||||
type="text" id="nombre" name="nombre" required
|
||||
maxLength="255" class="form-control"
|
||||
value="<?= old('nombre', $clienteEntity->nombre) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="alias" class="form-label">
|
||||
<?= lang('Clientes.alias') ?>*
|
||||
</label>
|
||||
<input type="text" id="alias" name="alias" required
|
||||
maxLength="255" class="form-control"
|
||||
value="<?= old('alias', $clienteEntity->alias) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<label for="direccion" class="form-label">
|
||||
<?= lang('Clientes.direccion') ?>
|
||||
</label>
|
||||
<textarea rows="2"
|
||||
id="direccion"
|
||||
name="direccion"
|
||||
style="height: 10em;"
|
||||
class="form-control"
|
||||
>
|
||||
<?= old('direccion', $clienteEntity->direccion) ?>
|
||||
</textarea>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label for="paisId" class="form-label">
|
||||
<?= lang('Clientes.paisId') ?>
|
||||
</label>
|
||||
<select
|
||||
id="paisId"
|
||||
name="pais_id"
|
||||
class="form-control select2"
|
||||
style="width: 100%;"
|
||||
>
|
||||
<?php if (isset($paisList) && is_array($paisList) && !empty($paisList)) :
|
||||
foreach ($paisList as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->pais_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label for="comunidadAutonomaId" class="form-label">
|
||||
<?= lang('Clientes.comunidadAutonomaId') ?>
|
||||
</label>
|
||||
<select id="comunidadAutonomaId"
|
||||
name="comunidad_autonoma_id"
|
||||
class="select2 form-control"
|
||||
style="width: 100%;"
|
||||
>
|
||||
<?php if (isset($comunidadAutonomaList) && is_array($comunidadAutonomaList) && !empty($comunidadAutonomaList)) :
|
||||
foreach ($comunidadAutonomaList as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->comunidad_autonoma_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label for="provinciaId" class="form-label">
|
||||
<?= lang('Clientes.provinciaId') ?>
|
||||
</label>
|
||||
<select
|
||||
id="provinciaId"
|
||||
name="provincia_id"
|
||||
class="form-control select2"
|
||||
style="width: 100%;"
|
||||
>
|
||||
<?php if (isset($provinciaList) && is_array($provinciaList) && !empty($provinciaList)) :
|
||||
foreach ($provinciaList as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->provincia_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="ciudad" class="form-label">
|
||||
<?= lang('Clientes.ciudad') ?>
|
||||
</label>
|
||||
<input type="text" id="ciudad" name="ciudad"
|
||||
maxLength="100" class="form-control"
|
||||
value="<?= old('ciudad', $clienteEntity->ciudad) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="cp" class="form-label">
|
||||
<?= lang('Clientes.cp') ?>
|
||||
</label>
|
||||
<input type="text" id="cp" name="cp"
|
||||
maxLength="10" class="form-control"
|
||||
value="<?= old('cp', $clienteEntity->cp) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="telefono" class="form-label">
|
||||
<?= lang('Clientes.telefono') ?>
|
||||
</label>
|
||||
<input type="text" id="telefono" name="telefono"
|
||||
maxLength="60" class="form-control"
|
||||
value="<?= old('telefono', $clienteEntity->telefono) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="email" class="form-label">
|
||||
<?= lang('Clientes.email') ?>
|
||||
</label>
|
||||
<input type="email" id="email" name="email"
|
||||
maxLength="150" class="form-control"
|
||||
value="<?= old('email', $clienteEntity->email) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="comercialId" class="form-label">
|
||||
<?= lang('Clientes.comercialId') ?>
|
||||
</label>
|
||||
<select
|
||||
id="comercialId"
|
||||
name="comercial_id"
|
||||
class="form-control select2"
|
||||
style="width: 100%;"
|
||||
>
|
||||
<?php if (isset($userList) && is_array($userList) && !empty($userList)) :
|
||||
foreach ($userList as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->comercial_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="soporteId" class="form-label">
|
||||
<?= lang('Clientes.soporteId') ?>
|
||||
</label>
|
||||
<select
|
||||
id="soporteId"
|
||||
name="soporte_id"
|
||||
class="form-control select2"
|
||||
style="width: 100%;"
|
||||
>
|
||||
<?php if (isset($userList2) && is_array($userList2) && !empty($userList2)) :
|
||||
foreach ($userList2 as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->soporte_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card accordion-item">
|
||||
<h2 class="accordion-header" id="headingDeliveryOptions">
|
||||
<button
|
||||
type="button"
|
||||
class="accordion-button collapsed"
|
||||
data-bs-toggle="collapse"
|
||||
data-bs-target="#contabilidad"
|
||||
aria-expanded="false"
|
||||
aria-controls="contabilidad">
|
||||
Contabilidad
|
||||
</button>
|
||||
</h2>
|
||||
<div
|
||||
id="contabilidad"
|
||||
class="accordion-collapse collapse"
|
||||
aria-labelledby="headingDeliveryOptions"
|
||||
data-bs-parent="#collapsibleSection">
|
||||
<div class="accordion-body">
|
||||
<div class="row g-3 mb-3">
|
||||
<div class="col-md-6">
|
||||
<label for="formaPagoId" class="form-label">
|
||||
<?= lang('Clientes.formaPagoId') ?>
|
||||
</label>
|
||||
<select
|
||||
id="formaPagoId"
|
||||
name="forma_pago_id"
|
||||
class="form-control select2"
|
||||
style="width: 100%;"
|
||||
>
|
||||
<?php if (isset($formaDePagoList) && is_array($formaDePagoList) && !empty($formaDePagoList)) :
|
||||
foreach ($formaDePagoList as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->forma_pago_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="vencimiento" class="form-label">
|
||||
<?= lang('Clientes.vencimiento') ?>
|
||||
</label>
|
||||
<input type="number" id="vencimiento" name="vencimiento"
|
||||
placeholder="15" maxLength="10" class="form-control"
|
||||
value="<?= old('vencimiento', $clienteEntity->vencimiento) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="fechaVencimiento" class="form-label">
|
||||
<?= lang('Clientes.fechaVencimiento') ?>
|
||||
</label>
|
||||
<input type="text" id="fechaVencimiento" name="fecha_vencimiento"
|
||||
maxLength="100" class="form-control"
|
||||
value="<?= old('fecha_vencimiento', $clienteEntity->fecha_vencimiento) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label for="ccc" class="form-label">
|
||||
<?= lang('Clientes.ccc') ?>
|
||||
</label>
|
||||
<input type="text" id="ccc" name="ccc"
|
||||
maxLength="100" class="form-control"
|
||||
value="<?= old('ccc', $clienteEntity->ccc) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label for="cccCliente" class="form-label">
|
||||
<?= lang('Clientes.cccCliente') ?>
|
||||
</label>
|
||||
<input type="text" id="cccCliente" name="ccc_cliente"
|
||||
maxLength="100" class="form-control"
|
||||
value="<?= old('ccc_cliente', $clienteEntity->ccc_cliente) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label for="numCuenta" class="form-label">
|
||||
<?= lang('Clientes.numCuenta') ?>
|
||||
</label>
|
||||
<input type="text" id="numCuenta" name="num_cuenta"
|
||||
maxLength="10" class="form-control"
|
||||
value="<?= old('num_cuenta', $clienteEntity->num_cuenta) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="limiteCredito" class="form-label">
|
||||
<?= lang('Clientes.limiteCredito') ?>
|
||||
</label>
|
||||
<input type="number" id="limiteCredito"
|
||||
name="limite_credito"
|
||||
placeholder="0.00" maxLength="8"
|
||||
step="0.01" class="form-control"
|
||||
value="<?= old('limite_credito', $clienteEntity->limite_credito) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-check">
|
||||
|
||||
<label for="creditoAsegurado" class="form-check-label">
|
||||
<input type="checkbox" id="creditoAsegurado"
|
||||
name="credito_asegurado" value="1"
|
||||
class="form-check-input"<?= $clienteEntity->credito_asegurado == true ? 'checked' : ''; ?>>
|
||||
<?= lang('Clientes.creditoAsegurado') ?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="comentarios" class="form-label">
|
||||
<?= lang('Clientes.comentarios') ?>
|
||||
</label>
|
||||
<textarea rows="3" id="comentarios" name="comentarios"
|
||||
style="height: 10em;"
|
||||
class="form-control">
|
||||
<?= old('comentarios', $clienteEntity->comentarios) ?>
|
||||
</textarea>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card accordion-item">
|
||||
<h2 class="accordion-header" id="headingPaymentMethod">
|
||||
<button
|
||||
type="button"
|
||||
class="accordion-button collapsed"
|
||||
data-bs-toggle="collapse"
|
||||
data-bs-target="#configuracion"
|
||||
aria-expanded="false"
|
||||
aria-controls="configuracion">
|
||||
Configuración
|
||||
</button>
|
||||
</h2>
|
||||
<div
|
||||
id="configuracion"
|
||||
class="accordion-collapse collapse"
|
||||
aria-labelledby="headingPaymentMethod"
|
||||
data-bs-parent="#collapsibleSection"
|
||||
>
|
||||
<div class="accordion-body">
|
||||
<div class="row g-3 mb-3">
|
||||
<div class="col-md-3">
|
||||
<div class="form-check">
|
||||
<label for="disponibleFe" class="form-check-label">
|
||||
<input type="checkbox" id="disponibleFe" name="disponible_fe" value="1"
|
||||
class="form-check-input"<?= $clienteEntity->disponible_fe == true ? 'checked' : ''; ?>>
|
||||
<?= lang('Clientes.disponibleFe') ?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-check">
|
||||
<label for="messageTracking" class="form-check-label">
|
||||
<input type="checkbox" id="messageTracking" name="message_tracking" value="1"
|
||||
class="form-check-input"<?= $clienteEntity->message_tracking == true ? 'checked' : ''; ?>>
|
||||
<?= lang('Clientes.messageTracking') ?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-check">
|
||||
<label for="messageProductionStart" class="form-check-label">
|
||||
<input type="checkbox" id="messageProductionStart" name="message_production_start" value="1"
|
||||
class="form-check-input"<?= $clienteEntity->message_production_start == true ? 'checked' : ''; ?>>
|
||||
<?= lang('Clientes.messageProductionStart') ?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-check">
|
||||
<label for="tiradaFlexible" class="form-check-label">
|
||||
<input type="checkbox" id="tiradaFlexible" name="tirada_flexible" value="1"
|
||||
class="form-check-input"<?= $clienteEntity->tirada_flexible == true ? 'checked' : ''; ?>>
|
||||
<?= lang('Clientes.tiradaFlexible') ?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="descuentoTiradaFlexible" class="form-label">
|
||||
<?= lang('Clientes.descuentoTiradaFlexible') ?>
|
||||
</label>
|
||||
<input type="number" id="descuentoTiradaFlexible"
|
||||
name="descuento_tirada_flexible"
|
||||
placeholder="20.00" maxLength="8" step="0.01" class="form-control"
|
||||
value="<?= old('descuento_tirada_flexible', $clienteEntity->descuento_tirada_flexible) ?>"
|
||||
>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<label for="comentariosTiradaFlexible" class="form-label">
|
||||
<?= lang('Clientes.comentariosTiradaFlexible') ?>
|
||||
</label>
|
||||
<textarea rows="3" id="comentariosTiradaFlexible"
|
||||
name="comentarios_tirada_flexible"
|
||||
style="height: 10em;"
|
||||
class="form-control">
|
||||
<?= old('comentarios_tirada_flexible', $clienteEntity->comentarios_tirada_flexible) ?>
|
||||
</textarea>
|
||||
</div><!--//.mb-3 -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="contactos" role="tabpanel">
|
||||
<h3>Proximanente</h3>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="domicilio-entrega" role="tabpanel">
|
||||
<h3>Proximanente</h3>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="facturacion" role="tabpanel">
|
||||
<h3>Proximanente</h3>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="pedidos" role="tabpanel">
|
||||
<h3>Proximanente</h3>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="usuarios" role="tabpanel">
|
||||
<h3>Proximanente</h3>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<p>Usuario Creación: <?= $clienteEntity->user_created_id ?> @ <?= $clienteEntity->created_at ?></p>
|
||||
<p>Usuario Última Edición: <?= $clienteEntity->user_update_id ?> @ <?= $clienteEntity->updated_at ?></p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-lg-6 px-4">
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?= lang('Clientes.nombre') ?>*
|
||||
</label>
|
||||
<input type="text" id="nombre" name="nombre" required maxLength="255" class="form-control"
|
||||
value="<?= old('nombre', $clienteEntity->nombre) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="alias" class="form-label">
|
||||
<?= lang('Clientes.alias') ?>*
|
||||
</label>
|
||||
<input type="text" id="alias" name="alias" required maxLength="255" class="form-control"
|
||||
value="<?= old('alias', $clienteEntity->alias) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="cif" class="form-label">
|
||||
<?= lang('Clientes.cif') ?>*
|
||||
</label>
|
||||
<input type="text" id="cif" name="cif" required maxLength="50" class="form-control"
|
||||
value="<?= old('cif', $clienteEntity->cif) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="direccion" class="form-label">
|
||||
<?= lang('Clientes.direccion') ?>
|
||||
</label>
|
||||
<textarea rows="3" id="direccion" name="direccion" style="height: 10em;"
|
||||
class="form-control"><?= old('direccion', $clienteEntity->direccion) ?></textarea>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="ciudad" class="form-label">
|
||||
<?= lang('Clientes.ciudad') ?>
|
||||
</label>
|
||||
<input type="text" id="ciudad" name="ciudad" maxLength="100" class="form-control"
|
||||
value="<?= old('ciudad', $clienteEntity->ciudad) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="comunidadAutonomaId" class="form-label">
|
||||
<?= lang('Clientes.comunidadAutonomaId') ?>
|
||||
</label>
|
||||
<select id="comunidadAutonomaId" name="comunidad_autonoma_id" class="select2 form-control"
|
||||
style="width: 100%;">
|
||||
|
||||
<?php if (isset($comunidadAutonomaList) && is_array($comunidadAutonomaList) && !empty($comunidadAutonomaList)) :
|
||||
foreach ($comunidadAutonomaList as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->comunidad_autonoma_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="provinciaId" class="form-label">
|
||||
<?= lang('Clientes.provinciaId') ?>*
|
||||
</label>
|
||||
<select id="provinciaId" name="provincia_id" required class="form-control select2" style="width: 100%;">
|
||||
|
||||
<?php if (isset($provinciaList) && is_array($provinciaList) && !empty($provinciaList)) :
|
||||
foreach ($provinciaList as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->provincia_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="cp" class="form-label">
|
||||
<?= lang('Clientes.cp') ?>
|
||||
</label>
|
||||
<input type="text" id="cp" name="cp" maxLength="10" class="form-control"
|
||||
value="<?= old('cp', $clienteEntity->cp) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="paisId" class="form-label">
|
||||
<?= lang('Clientes.paisId') ?>
|
||||
</label>
|
||||
<select id="paisId" name="pais_id" class="form-control select2" style="width: 100%;">
|
||||
|
||||
<?php if (isset($paisList) && is_array($paisList) && !empty($paisList)) :
|
||||
foreach ($paisList as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->pais_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="telefono" class="form-label">
|
||||
<?= lang('Clientes.telefono') ?>
|
||||
</label>
|
||||
<input type="text" id="telefono" name="telefono" maxLength="60" class="form-control"
|
||||
value="<?= old('telefono', $clienteEntity->telefono) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="email" class="form-label">
|
||||
<?= lang('Clientes.email') ?>
|
||||
</label>
|
||||
<input type="email" id="email" name="email" maxLength="150" class="form-control"
|
||||
value="<?= old('email', $clienteEntity->email) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="comercialId" class="form-label">
|
||||
<?= lang('Clientes.comercialId') ?>*
|
||||
</label>
|
||||
<select id="comercialId" name="comercial_id" required class="form-control select2" style="width: 100%;">
|
||||
|
||||
<?php if (isset($userList) && is_array($userList) && !empty($userList)) :
|
||||
foreach ($userList as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->comercial_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="soporteId" class="form-label">
|
||||
<?= lang('Clientes.soporteId') ?>*
|
||||
</label>
|
||||
<select id="soporteId" name="soporte_id" required class="form-control select2" style="width: 100%;">
|
||||
|
||||
<?php if (isset($userList2) && is_array($userList2) && !empty($userList2)) :
|
||||
foreach ($userList2 as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->soporte_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="formaPagoId" class="form-label">
|
||||
<?= lang('Clientes.formaPagoId') ?>
|
||||
</label>
|
||||
<select id="formaPagoId" name="forma_pago_id" class="form-control select2" style="width: 100%;">
|
||||
|
||||
<?php if (isset($formaDePagoList) && is_array($formaDePagoList) && !empty($formaDePagoList)) :
|
||||
foreach ($formaDePagoList as $k => $v) : ?>
|
||||
<option value="<?= $k ?>"<?= $k == $clienteEntity->forma_pago_id ? ' selected' : '' ?>>
|
||||
<?= $v ?>
|
||||
</option>
|
||||
<?php endforeach;
|
||||
endif; ?>
|
||||
</select>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="vencimiento" class="form-label">
|
||||
<?= lang('Clientes.vencimiento') ?>*
|
||||
</label>
|
||||
<input type="number" id="vencimiento" name="vencimiento" required placeholder="15" maxLength="10"
|
||||
class="form-control" value="<?= old('vencimiento', $clienteEntity->vencimiento) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="fechaVencimiento" class="form-label">
|
||||
<?= lang('Clientes.fechaVencimiento') ?>
|
||||
</label>
|
||||
<input type="text" id="fechaVencimiento" name="fecha_vencimiento" maxLength="100" class="form-control"
|
||||
value="<?= old('fecha_vencimiento', $clienteEntity->fecha_vencimiento) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="margen" class="form-label">
|
||||
@ -201,15 +540,7 @@
|
||||
class="form-control" value="<?= old('descuento', $clienteEntity->descuento) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="limiteCredito" class="form-label">
|
||||
<?= lang('Clientes.limiteCredito') ?>*
|
||||
</label>
|
||||
<input type="number" id="limiteCredito" name="limite_credito" required placeholder="0.00" maxLength="8"
|
||||
step="0.01" class="form-control"
|
||||
value="<?= old('limite_credito', $clienteEntity->limite_credito) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<?php /* A implementar en el controller
|
||||
<div class="mb-3">
|
||||
<label for="limiteCreditoUserId" class="form-label">
|
||||
<?= lang('Clientes.limiteCreditoUserId') ?>*
|
||||
@ -228,6 +559,8 @@
|
||||
value="<?= old('limite_credito_change_at', $clienteEntity->limite_credito_change_at) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
*/ ?>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="creditoSolunion" class="form-label">
|
||||
<?= lang('Clientes.creditoSolunion') ?>
|
||||
@ -238,103 +571,6 @@
|
||||
|
||||
</div><!--//.col -->
|
||||
<div class="col-md-12 col-lg-6 px-4">
|
||||
<div class="mb-3">
|
||||
<div class="form-check">
|
||||
|
||||
<label for="creditoAsegurado" class="form-check-label">
|
||||
<input type="checkbox" id="creditoAsegurado" name="credito_asegurado" value="1"
|
||||
class="form-check-input"<?= $clienteEntity->credito_asegurado == true ? 'checked' : ''; ?>>
|
||||
<?= lang('Clientes.creditoAsegurado') ?>
|
||||
</label>
|
||||
</div><!--//.form-check -->
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="ccc" class="form-label">
|
||||
<?= lang('Clientes.ccc') ?>
|
||||
</label>
|
||||
<input type="text" id="ccc" name="ccc" maxLength="100" class="form-control"
|
||||
value="<?= old('ccc', $clienteEntity->ccc) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="cccCliente" class="form-label">
|
||||
<?= lang('Clientes.cccCliente') ?>
|
||||
</label>
|
||||
<input type="text" id="cccCliente" name="ccc_cliente" maxLength="100" class="form-control"
|
||||
value="<?= old('ccc_cliente', $clienteEntity->ccc_cliente) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="numCuenta" class="form-label">
|
||||
<?= lang('Clientes.numCuenta') ?>
|
||||
</label>
|
||||
<input type="text" id="numCuenta" name="num_cuenta" maxLength="10" class="form-control"
|
||||
value="<?= old('num_cuenta', $clienteEntity->num_cuenta) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<div class="form-check">
|
||||
|
||||
<label for="disponibleFe" class="form-check-label">
|
||||
<input type="checkbox" id="disponibleFe" name="disponible_fe" value="1"
|
||||
class="form-check-input"<?= $clienteEntity->disponible_fe == true ? 'checked' : ''; ?>>
|
||||
<?= lang('Clientes.disponibleFe') ?>
|
||||
</label>
|
||||
</div><!--//.form-check -->
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<div class="form-check">
|
||||
|
||||
<label for="messageTracking" class="form-check-label">
|
||||
<input type="checkbox" id="messageTracking" name="message_tracking" value="1"
|
||||
class="form-check-input"<?= $clienteEntity->message_tracking == true ? 'checked' : ''; ?>>
|
||||
<?= lang('Clientes.messageTracking') ?>
|
||||
</label>
|
||||
</div><!--//.form-check -->
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<div class="form-check">
|
||||
|
||||
<label for="messageProductionStart" class="form-check-label">
|
||||
<input type="checkbox" id="messageProductionStart" name="message_production_start" value="1"
|
||||
class="form-check-input"<?= $clienteEntity->message_production_start == true ? 'checked' : ''; ?>>
|
||||
<?= lang('Clientes.messageProductionStart') ?>
|
||||
</label>
|
||||
</div><!--//.form-check -->
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<div class="form-check">
|
||||
|
||||
<label for="tiradaFlexible" class="form-check-label">
|
||||
<input type="checkbox" id="tiradaFlexible" name="tirada_flexible" value="1"
|
||||
class="form-check-input"<?= $clienteEntity->tirada_flexible == true ? 'checked' : ''; ?>>
|
||||
<?= lang('Clientes.tiradaFlexible') ?>
|
||||
</label>
|
||||
</div><!--//.form-check -->
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="descuentoTiradaFlexible" class="form-label">
|
||||
<?= lang('Clientes.descuentoTiradaFlexible') ?>*
|
||||
</label>
|
||||
<input type="number" id="descuentoTiradaFlexible" name="descuento_tirada_flexible" required
|
||||
placeholder="20.00" maxLength="8" step="0.01" class="form-control"
|
||||
value="<?= old('descuento_tirada_flexible', $clienteEntity->descuento_tirada_flexible) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="comentariosTiradaFlexible" class="form-label">
|
||||
<?= lang('Clientes.comentariosTiradaFlexible') ?>*
|
||||
</label>
|
||||
<textarea rows="3" id="comentariosTiradaFlexible" name="comentarios_tirada_flexible" required
|
||||
style="height: 10em;"
|
||||
class="form-control"><?= old('comentarios_tirada_flexible', $clienteEntity->comentarios_tirada_flexible) ?></textarea>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="saturacion" class="form-label">
|
||||
<?= lang('Clientes.saturacion') ?>*
|
||||
@ -386,38 +622,10 @@
|
||||
</div><!--//.form-check -->
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="comentarios" class="form-label">
|
||||
<?= lang('Clientes.comentarios') ?>
|
||||
</label>
|
||||
<textarea rows="3" id="comentarios" name="comentarios" style="height: 10em;"
|
||||
class="form-control"><?= old('comentarios', $clienteEntity->comentarios) ?></textarea>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="isDeleted" class="form-label">
|
||||
<?= lang('Clientes.isDeleted') ?>*
|
||||
</label>
|
||||
<input type="number" id="isDeleted" name="is_deleted" required placeholder="0" maxLength="4"
|
||||
class="form-control" value="<?= old('is_deleted', $clienteEntity->is_deleted) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="userCreatedId" class="form-label">
|
||||
<?= lang('Clientes.userCreatedId') ?>*
|
||||
</label>
|
||||
<input type="number" id="userCreatedId" name="user_created_id" required placeholder="1" maxLength="10"
|
||||
class="form-control" value="<?= old('user_created_id', $clienteEntity->user_created_id) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="userUpdateId" class="form-label">
|
||||
<?= lang('Clientes.userUpdateId') ?>*
|
||||
</label>
|
||||
<input type="number" id="userUpdateId" name="user_update_id" required placeholder="1" maxLength="10"
|
||||
class="form-control" value="<?= old('user_update_id', $clienteEntity->user_update_id) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
</div><!--//.col -->
|
||||
|
||||
</div><!-- //.row -->
|
||||
</div><!-- //.row -->
|
||||
|
||||
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
<?= $this->include("themes/_commonPartialsBs/select2bs5") ?>
|
||||
<?= $this->include("themes/_commonPartialsBs/sweetalert") ?>
|
||||
<?= $this->extend('themes/backend/vuexy/main/defaultlayout') ?>
|
||||
|
||||
<?= $this->section("content") ?>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@ -9,21 +10,21 @@
|
||||
<div class="card-header">
|
||||
<h3 class="card-title"><?= $boxTitle ?? $pageTitle ?></h3>
|
||||
</div><!--//.card-header -->
|
||||
<form id="maquinaForm" method="post" action="<?= $formAction ?>">
|
||||
<form id="maquinaForm" class="card-body" method="post" action="<?= $formAction ?>">
|
||||
<?= csrf_field() ?>
|
||||
<div class="card-body">
|
||||
<?= view("themes/_commonPartialsBs/_alertBoxes") ?>
|
||||
<?= !empty($validation->getErrors()) ? $validation->listErrors("bootstrap_style") : "" ?>
|
||||
<?= view("themes/backend/vuexy/form/configuracion/maquinas/_maquinaFormItems") ?>
|
||||
</div><!-- /.card-body -->
|
||||
<div class="card-footer">
|
||||
<input type="submit"
|
||||
class="btn btn-primary float-start me-sm-3 me-1"
|
||||
name="save"
|
||||
value="<?= lang("Basic.global.Save") ?>"
|
||||
/>
|
||||
<?= anchor(route_to("maquinaList"), lang("Basic.global.Cancel"), ["class" => "btn btn-secondary float-start"]) ?>
|
||||
</div><!-- /.card-footer -->
|
||||
<div class="card-body">
|
||||
<?= view("themes/_commonPartialsBs/_alertBoxes") ?>
|
||||
<?= !empty($validation->getErrors()) ? $validation->listErrors("bootstrap_style") : "" ?>
|
||||
<?= view("themes/backend/vuexy/form/configuracion/maquinas/_maquinaFormItems") ?>
|
||||
</div><!-- /.card-body -->
|
||||
<div class="py-4">
|
||||
<input type="submit"
|
||||
class="btn btn-primary float-start me-sm-3 me-1"
|
||||
name="save"
|
||||
value="<?= lang("Basic.global.Save") ?>"
|
||||
/>
|
||||
<?= anchor(route_to("maquinaList"), lang("Basic.global.Cancel"), ["class" => "btn btn-secondary float-start"]) ?>
|
||||
</div><!-- /.card-footer -->
|
||||
</form>
|
||||
</div><!-- //.card -->
|
||||
</div><!--//.col -->
|
||||
@ -36,7 +37,7 @@
|
||||
<div class="card accordion-item active">
|
||||
<h2 class="accordion-header" id="headingOne">
|
||||
<button type="button" class="accordion-button" data-bs-toggle="collapse" data-bs-target="#accordionTip1" aria-expanded="false" aria-controls="accordionTip1">
|
||||
<p><?= lang("MaquinasTarifasImpresions.moduleTitle") ?></p>
|
||||
<h3><?= lang("MaquinasTarifasImpresions.moduleTitle") ?></h3>
|
||||
</button>
|
||||
</h2>
|
||||
|
||||
@ -68,13 +69,12 @@
|
||||
<div class="card accordion-item active">
|
||||
<h2 class="accordion-header" id="headingOne">
|
||||
<button type="button" class="accordion-button" data-bs-toggle="collapse" data-bs-target="#accordionTip2" aria-expanded="false" aria-controls="accordionTip2">
|
||||
<p><?= lang("MaquinasTarifasImpresions.moduleTitle") ?></p>
|
||||
<h3><?= lang("MaquinasTarifasImpresions.moduleTitle") ?></h3>
|
||||
</button>
|
||||
</h2>
|
||||
|
||||
<div id="accordionTip2" class="accordion-collapse collapse show" data-bs-parent="#accordianPapelesImpresion">
|
||||
<div class="accordion-body">
|
||||
|
||||
<table id="tableOfPapelesImpresion" class="table table-striped table-hover" style="width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -174,7 +174,6 @@
|
||||
});
|
||||
|
||||
$('#padreId').select2({
|
||||
theme: 'bootstrap-5',
|
||||
allowClear: false,
|
||||
ajax: {
|
||||
url: '<?= route_to("menuItemsOfMaquinas") ?>',
|
||||
@ -365,7 +364,7 @@
|
||||
searching: false,
|
||||
paging: true,
|
||||
info: false,
|
||||
dom: "Blt",
|
||||
dom: '<"mt-4"><"float-end"B><"float-start"l><t>', //"Blt",
|
||||
ajax : $.fn.dataTable.pipeline( {
|
||||
url: '<?= route_to('dataTableOfMaquinasTarifasImpresion') ?>',
|
||||
data: {
|
||||
|
||||
@ -1,26 +1,29 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-lg-12 px-4">
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?=lang('Tarifaacabado.nombre') ?>*
|
||||
</label>
|
||||
<input type="text" id="nombre" name="nombre" required maxLength="255" class="form-control" value="<?=old('nombre', $tarifaacabadoEntity->nombre) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-lg-12 px-4">
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?= lang('Tarifaacabado.nombre') ?>*
|
||||
</label>
|
||||
<input type="text" id="nombre" name="nombre" required maxLength="255" class="form-control"
|
||||
value="<?= old('nombre', $tarifaacabadoEntity->nombre) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?=lang('Tarifaacabado.precioMin') ?>*
|
||||
</label>
|
||||
<input type="text" id="precio_min" name="precio_min" required class="form-control" value="<?=old('precio_min', $tarifaacabadoEntity->precio_min) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?= lang('Tarifaacabado.precioMin') ?>*
|
||||
</label>
|
||||
<input type="text" id="precio_min" name="precio_min" required class="form-control"
|
||||
value="<?= old('precio_min', $tarifaacabadoEntity->precio_min) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?=lang('Tarifaacabado.importeFijo') ?>*
|
||||
</label>
|
||||
<input type="text" id="importe_fijo" name="importe_fijo" required class="form-control" value="<?=old('importe_fijo', $tarifaacabadoEntity->importe_fijo) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?= lang('Tarifaacabado.importeFijo') ?>*
|
||||
</label>
|
||||
<input type="text" id="importe_fijo" name="importe_fijo" required class="form-control"
|
||||
value="<?= old('importe_fijo', $tarifaacabadoEntity->importe_fijo) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
</div><!--//.col -->
|
||||
</div><!--//.col -->
|
||||
|
||||
</div><!-- //.row -->
|
||||
</div><!-- //.row -->
|
||||
@ -17,8 +17,6 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?= lang('Tarifaacabado.nombre') ?></th>
|
||||
<th><?= lang('Tarifaacabado.precioMin') ?></th>
|
||||
<th><?= lang('Tarifaacabado.importeFijo') ?></th>
|
||||
<th class="text-nowrap"><?= lang('Basic.global.Action') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -117,8 +115,6 @@
|
||||
],
|
||||
columns : [
|
||||
{ 'data': 'nombre' },
|
||||
{ 'data': 'precio_min' },
|
||||
{ 'data': 'importe_fijo' },
|
||||
{ 'data': actionBtns }
|
||||
]
|
||||
});
|
||||
|
||||
@ -7,6 +7,20 @@
|
||||
<input type="text" id="nombre" name="nombre" required maxLength="255" class="form-control" value="<?=old('nombre', $tarifaManipuladoEntity->nombre) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?=lang('Tarifamanipulado.precioMin') ?>*
|
||||
</label>
|
||||
<input type="text" id="precio_min" name="precio_min" required class="form-control" value="<?=old('precio_min', $tarifaManipuladoEntity->precio_min) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?=lang('Tarifamanipulado.importeFijo') ?>*
|
||||
</label>
|
||||
<input type="text" id="importe_fijo" name="importe_fijo" required class="form-control" value="<?=old('importe_fijo', $tarifaManipuladoEntity->importe_fijo) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
</div><!--//.col -->
|
||||
|
||||
</div><!-- //.row -->
|
||||
@ -1,33 +1,64 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-lg-12 px-4">
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?=lang('Tarifapreimpresion.nombre') ?>*
|
||||
</label>
|
||||
<input type="text" id="nombre" name="nombre" required maxLength="255" class="form-control" value="<?=old('nombre', $tarifapreimpresionEntity->nombre) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-lg-12 px-4">
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?= lang('Tarifapreimpresion.nombre') ?>*
|
||||
</label>
|
||||
<input
|
||||
type="text"
|
||||
id="nombre"
|
||||
name="nombre"
|
||||
required
|
||||
maxLength="255"
|
||||
class="form-control"
|
||||
value="<?= old('nombre', $tarifapreimpresionEntity->nombre) ?>"
|
||||
>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="precio" class="form-label">
|
||||
<?=lang('Tarifapreimpresion.precio') ?>*
|
||||
</label>
|
||||
<input type="number" id="precio" name="precio" required maxLength="31" step="0.01" class="form-control" value="<?=old('precio', $tarifapreimpresionEntity->precio) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
<?php /*
|
||||
<div class="mb-3">
|
||||
<label for="userCreatedId" class="form-label">
|
||||
<?=lang('Tarifapreimpresion.userCreatedId') ?>*
|
||||
</label>
|
||||
<input type="number" id="userCreatedId" name="user_created_id" required placeholder="1" maxLength="10" class="form-control" value="<?=old('user_created_id', $tarifapreimpresionEntity->user_created_id) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
<div class="mb-3">
|
||||
<label for="precio" class="form-label">
|
||||
<?= lang('Tarifapreimpresion.precio') ?>*
|
||||
</label>
|
||||
<input
|
||||
type="number"
|
||||
id="precio"
|
||||
name="precio"
|
||||
required
|
||||
maxLength="31"
|
||||
step="0.01"
|
||||
class="form-control"
|
||||
value="<?= old('precio', $tarifapreimpresionEntity->precio) ?>"
|
||||
>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="userUpdateId" class="form-label">
|
||||
<?=lang('Tarifapreimpresion.userUpdateId') ?>*
|
||||
</label>
|
||||
<input type="number" id="userUpdateId" name="user_updated_id" required placeholder="1" maxLength="10" class="form-control" value="<?=old('user_updated_id', $tarifapreimpresionEntity->user_updated_id) ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
*/ ?>
|
||||
</div><!--//.col -->
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?= lang('Tarifapreimpresion.precioMin') ?>*
|
||||
</label>
|
||||
<input
|
||||
type="text"
|
||||
id="precio_min"
|
||||
name="precio_min"
|
||||
required
|
||||
class="form-control"
|
||||
value="<?= old('precio_min', $tarifapreimpresionEntity->precio_min) ?>"
|
||||
>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
</div><!-- //.row -->
|
||||
<div class="mb-3">
|
||||
<label for="nombre" class="form-label">
|
||||
<?= lang('Tarifapreimpresion.importeFijo') ?>*
|
||||
</label>
|
||||
<input
|
||||
type="text"
|
||||
id="importe_fijo"
|
||||
name="importe_fijo"
|
||||
required
|
||||
class="form-control"
|
||||
value="<?= old('importe_fijo', $tarifapreimpresionEntity->importe_fijo) ?>"
|
||||
>
|
||||
</div><!--//.mb-3 -->
|
||||
|
||||
</div><!--//.col -->
|
||||
|
||||
</div><!-- //.row -->
|
||||
@ -451,13 +451,22 @@
|
||||
* MENU CONFIGURACION
|
||||
*/
|
||||
if (allowMenuSection($menus,
|
||||
['Calendario', 'Paises', 'Users', 'Group', 'Papelesgenericos', 'Papelesimpresion', 'Maquina'], 'index')): ?>
|
||||
['Calendario', 'Paises', 'Users', 'Group', 'Papelesgenericos', 'Papelesimpresion', 'Maquinas'], 'index')): ?>
|
||||
<li class="menu-item">
|
||||
<a href="javascript:void(0);" class="menu-link menu-toggle">
|
||||
<i class="menu-icon tf-icons ti ti-adjustments-horizontal"></i>
|
||||
<div data-i18n="<?= lang("App.menu_configuration") ?>"><?= lang("App.menu_configuration") ?></div>
|
||||
</a>
|
||||
<ul class="menu-sub">
|
||||
<?php if (count($temp = getArrayItem($menus, 'name', 'Maquinas')) > 0): ?>
|
||||
<?php if (count(getArrayItem($temp, 'methods', 'index', true)) > 0): ?>
|
||||
<li class="menu-item">
|
||||
<a href="<?= site_url("configuracion/maquinas") ?>" class="menu-link">
|
||||
<div data-i18n="<?= lang("App.menu_maquina") ?>"><?= lang("App.menu_maquina") ?></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if (count($temp = getArrayItem($menus, 'name', 'Calendario')) > 0): ?>
|
||||
<?php if (count(getArrayItem($temp, 'methods', 'index', true)) > 0): ?>
|
||||
<li class="menu-item">
|
||||
@ -512,15 +521,6 @@
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if (count($temp = getArrayItem($menus, 'name', 'Maquina')) > 0): ?>
|
||||
<?php if (count(getArrayItem($temp, 'methods', 'index', true)) > 0): ?>
|
||||
<li class="menu-item">
|
||||
<a href="<?= site_url("configuracion/maquina") ?>" class="menu-link">
|
||||
<div data-i18n="<?= lang("App.menu_maquina") ?>"><?= lang("App.menu_maquina") ?></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user