mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Merge branch 'fix/papeles_especiales_cliente' into 'main'
corregido error en papeles especiales See merge request jjimenez/safekat!498
This commit is contained in:
@ -148,6 +148,8 @@ class Presupuestoadmin extends \App\Controllers\BaseResourceController
|
||||
$this->viewData['incReiList'] = array('incidencia' => lang('Presupuestos.incidencia'), 'reimpresion' => lang('Presupuestos.reimpresion'), 'sin_cargo' => lang('Presupuestos.sinCargo'));
|
||||
|
||||
$this->viewData['POD'] = $this->getPOD();
|
||||
$this->viewData['pais_default_id'] = model('App\Models\Configuracion\ConfigVariableModel')->getVariable('id_pais_defecto')->value;
|
||||
$this->viewData['pais_default'] = model('App\Models\Configuracion\PaisModel')->find($this->viewData['pais_default_id'])->nombre;
|
||||
|
||||
$this->viewData['formAction'] = route_to('createPresupuestoAdmin', $tipo_impresion_id);
|
||||
|
||||
|
||||
@ -125,6 +125,11 @@
|
||||
<?=lang('Presupuestos.paisId') ?>
|
||||
</label>
|
||||
<select id="paisId" name="pais_id" class="form-control select2bs" style="width: 100%;" >
|
||||
<?php if(isset($pais_default)): ?>
|
||||
<option value="<?= $pais_default_id ?>" selected>
|
||||
<?= $pais_default ?>
|
||||
</option>
|
||||
<?php endif; ?>
|
||||
</select>
|
||||
</div><!--//.mb-3 -->
|
||||
</div>
|
||||
|
||||
@ -38,7 +38,7 @@ class DisenioCubierta {
|
||||
solapas: () => {return $('#solapas_cubierta').hasClass("d-none") ? 0 : $('#solapas_cubierta').val()},
|
||||
lomo: () => {return $('#lc').val()},
|
||||
tapa_dura: () => {return this.tapaBlanda.hasClass("selected") ? 0 : 1},
|
||||
tirada: this.presupuestoCliente.datosGenerales.getTiradas()[0],
|
||||
tirada: () => {return this.presupuestoCliente.datosGenerales.getTiradas()[0]},
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ class DisenioInterior {
|
||||
{
|
||||
[this.csrf_token]: this.csrf_hash,
|
||||
tipo: this.getTipoImpresion(),
|
||||
tirada: () => {return $('#tirada').val()},
|
||||
tirada: () => {{return this.presupuestoCliente.datosGenerales.getTiradas()[0]}},
|
||||
ancho: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().ancho},
|
||||
alto: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().alto},
|
||||
solapas: 0,
|
||||
|
||||
Reference in New Issue
Block a user