Rimozione file non usato

This commit is contained in:
loviuz 2021-02-05 15:52:26 +01:00
parent e31251c69b
commit 2b1776cbf8
1 changed files with 0 additions and 26 deletions

View File

@ -1,26 +0,0 @@
<?php
include_once __DIR__.'/../../core.php';
switch (post('op')) {
case 'aggiorna-listino':
$sconto = post('sconto');
foreach ($id_records as $id_record) {
$dbo->query('UPDATE mg_prezzi_articoli SET sconto_percentuale='.prepare($sconto).' WHERE id='.prepare($id_record));
}
flash()->info(tr('Sconti modificati correttamente!'));
break;
}
return [
'aggiorna-listino' => [
'text' => '<span>'.tr('Modifica sconto').'</span>',
'data' => [
'title' => tr('Inserisci lo sconto per questi articoli'),
'msg' => '{[ "type": "text", "label": "<small>'.tr('Nuovo sconto').'</small>","icon-after":"%", "name": "sconto" ]}',
'button' => tr('Modifica'),
'class' => 'btn btn-lg btn-warning',
'blank' => false,
],
],
];