Compare commits

...

2 Commits

Author SHA1 Message Date
FabioL 09bebde86c Fix casting variabile 2024-07-24 14:17:01 +02:00
FabioL d2fa540b36 Fix cambio stato dopo firma bulk 2024-07-24 14:16:49 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -832,7 +832,7 @@ switch (post('op')) {
$intervento = Intervento::find($id_record);
if (!empty($stato)) {
$intervento = Intervento::find($id_record);
$intervento->id = $stato['id'];
$intervento->idstatointervento = $stato['id'];
$intervento->save();
}

View File

@ -192,7 +192,7 @@ echo '
<form action="" method="post" id="form-firma" class="hide">
<input type="hidden" name="op" value="firma_bulk">
<input type="hidden" name="backto" value="record-list">
<input type="hidden" name="records" value="<?php echo implode(';', $records ?: ''); ?>">
<input type="hidden" name="records" value="<?php echo implode(';', $records); ?>">
<div class="row">
<div class="col-md-12">