mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Merge branch 'bug/nuevas_dim_tarifa_enc' into 'main'
las tarifas estaban bien. arreglado bug de guardar en presupuesto administrador See merge request jjimenez/safekat!364
This commit is contained in:
@ -153,7 +153,10 @@ class TarifaEncuadernacionModel extends \App\Models\BaseModel
|
||||
$builder->where('t2.proveedor_id', $proveedor_id);
|
||||
}
|
||||
|
||||
return $builder->get()->getResultObject();
|
||||
|
||||
$data = $builder->get()->getResultObject();
|
||||
$sql = $this->db->getLastQuery();
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function getTarifaPresupuestoEncuadernacionHoras($tarifa_id, $horas, $tirada, $proveedor_id=-1){
|
||||
|
||||
@ -305,7 +305,7 @@
|
||||
<label for="compPosPaginasColor" class="form-label">
|
||||
<?= lang('Presupuestos.posicionPagColor') ?>
|
||||
</label>
|
||||
<input type="text" id="compPosPaginasColor" name="pos_paginas_color" maxLength="20" class="form-control" value="<?= isset($presupuestoEntity->pos_paginas_color) ? (old('', $presupuestoEntity->pos_paginas_color)) : '' ?>">
|
||||
<input type="text" id="compPosPaginasColor" name="comp_pos_paginas_color" maxLength="20" class="form-control" value="<?= isset($presupuestoEntity->pos_paginas_color) ? (old('', $presupuestoEntity->pos_paginas_color)) : '' ?>">
|
||||
</div><!--//.mb-3 -->
|
||||
</div><!--//.col -->
|
||||
<div class="col-md-12 col-lg-8 px-4">
|
||||
|
||||
@ -275,7 +275,7 @@ $('#bc-save').on( "click", function() {
|
||||
$('#tirada_alternativa_json_data').val(JSON.stringify(data));
|
||||
}
|
||||
|
||||
$('#presupuestoForm').on("submit", function(event) {
|
||||
$('#saveForm').on("click", function(event) {
|
||||
|
||||
event.preventDefault();
|
||||
save_servicios();
|
||||
|
||||
9633
xdebug.log
9633
xdebug.log
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user