mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Correzioni minori e aggiornamento a Laravel 9
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace App\View\Components\Inputs;
|
||||
|
||||
use App\View\Components\InputWrapper;
|
||||
use Illuminate\View\Component;
|
||||
use Illuminate\View\Component;use Illuminate\Support\Str;
|
||||
|
||||
class Number extends InputWrapper
|
||||
{
|
||||
@@ -40,7 +40,7 @@ class Number extends InputWrapper
|
||||
|
||||
// Gestione della precisione (numero specifico, oppure "qta" per il valore previsto nell'impostazione "Cifre decimali per quantità").
|
||||
$decimals = $this->get('decimals');
|
||||
if (string_starts_with($decimals, 'qta')) {
|
||||
if (Str::startsWith($decimals, 'qta')) {
|
||||
$decimals = setting('Cifre decimali per quantità');
|
||||
|
||||
// Se non è previsto un valore minimo, lo imposta a 1
|
||||
|
Reference in New Issue
Block a user