mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
corregido error en papeles especiales
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['incReiList'] = array('incidencia' => lang('Presupuestos.incidencia'), 'reimpresion' => lang('Presupuestos.reimpresion'), 'sin_cargo' => lang('Presupuestos.sinCargo'));
|
||||||
|
|
||||||
$this->viewData['POD'] = $this->getPOD();
|
$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);
|
$this->viewData['formAction'] = route_to('createPresupuestoAdmin', $tipo_impresion_id);
|
||||||
|
|
||||||
|
|||||||
@ -125,6 +125,11 @@
|
|||||||
<?=lang('Presupuestos.paisId') ?>
|
<?=lang('Presupuestos.paisId') ?>
|
||||||
</label>
|
</label>
|
||||||
<select id="paisId" name="pais_id" class="form-control select2bs" style="width: 100%;" >
|
<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>
|
</select>
|
||||||
</div><!--//.mb-3 -->
|
</div><!--//.mb-3 -->
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -38,7 +38,7 @@ class DisenioCubierta {
|
|||||||
solapas: () => {return $('#solapas_cubierta').hasClass("d-none") ? 0 : $('#solapas_cubierta').val()},
|
solapas: () => {return $('#solapas_cubierta').hasClass("d-none") ? 0 : $('#solapas_cubierta').val()},
|
||||||
lomo: () => {return $('#lc').val()},
|
lomo: () => {return $('#lc').val()},
|
||||||
tapa_dura: () => {return this.tapaBlanda.hasClass("selected") ? 0 : 1},
|
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,
|
[this.csrf_token]: this.csrf_hash,
|
||||||
tipo: this.getTipoImpresion(),
|
tipo: this.getTipoImpresion(),
|
||||||
tirada: () => {return $('#tirada').val()},
|
tirada: () => {{return this.presupuestoCliente.datosGenerales.getTiradas()[0]}},
|
||||||
ancho: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().ancho},
|
ancho: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().ancho},
|
||||||
alto: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().alto},
|
alto: () => {return this.presupuestoCliente.datosGenerales.getDimensionLibro().alto},
|
||||||
solapas: 0,
|
solapas: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user