Fix minore

This commit is contained in:
valentina 2024-07-09 14:52:53 +02:00
parent 7e6e0c2da8
commit ba24c716fd
3 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ switch (filter('op')) {
$database->delete('mg_articolo_attributo', ['id_articolo' => $id_articolo]); $database->delete('mg_articolo_attributo', ['id_articolo' => $id_articolo]);
$database->update('mg_articoli', ['id_combinazione' => null], ['id' => $id_articolo]); $database->update('mg_articoli', ['id_combinazione' => null], ['id' => $id_articolo]);
\Modules\Articoli\Articolo::find($id_articolo)->delete(); Modules\Articoli\Articolo::find($id_articolo)->delete();
flash()->info(tr('Variante rimossa correttamente!')); flash()->info(tr('Variante rimossa correttamente!'));

View File

@ -99,8 +99,8 @@ if (!empty($elementi)) {
<div class="card card-warning collapsable collapsed-card"> <div class="card card-warning collapsable collapsed-card">
<div class="card-header with-border"> <div class="card-header with-border">
<h3 class="card-title"><i class="fa fa-warning"></i> '.tr('Documenti collegati: _NUM_', [ <h3 class="card-title"><i class="fa fa-warning"></i> '.tr('Documenti collegati: _NUM_', [
'_NUM_' => count($elementi), '_NUM_' => count($elementi),
]).'</h3> ]).'</h3>
<div class="card-tools pull-right"> <div class="card-tools pull-right">
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button> <button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div> </div>