Finalizadas las tareas de modificacion

This commit is contained in:
Jaime Jimenez
2023-08-18 13:51:09 +02:00
parent ce070dfcf7
commit 77cb70ede4
34 changed files with 318 additions and 129 deletions

View File

@ -156,4 +156,16 @@ class TarifaEncuadernacionLineaModel extends \App\Models\GoBaseModel
return "";
}
public function removeAllEncuadernacionLineas($tiradaId = -1, $datetime = null, $delete_flag=1){
$builder = $this->db
->table($this->table)
->set(['deleted_at' => $datetime->format('Y-m-d H:i:s'),
'is_deleted' => $delete_flag])
->where('tirada_encuadernacion_id',$tiradaId)
->update();
return $builder;
}
}