Stile del codice

This commit is contained in:
Dasc3er 2020-09-08 14:57:39 +02:00
parent 4a18313b8f
commit 984d427a5a
3 changed files with 3 additions and 4 deletions

View File

@ -39,6 +39,6 @@ Number.prototype.toLocale = function () {
jQuery.fn.scrollTo = function (elem, speed) {
$(this).animate({
scrollTop: $(this).scrollTop() - $(this).offset().top + $(elem).offset().top
}, speed == undefined ? 1000 : speed);
}, speed === undefined ? 1000 : speed);
return this;
};

View File

@ -183,8 +183,6 @@ elseif ($record['stato'] == 'Bozza') {
{[ "type": "date", "class":"<?php echo (dateFormat($fattura->data_competenza) < dateFormat($fattura->data)) ? 'unblockable' : ''; ?>", "label": "<?php echo tr('Data competenza'); ?>", "name": "data_competenza", "required": 1, "value": "$data_competenza$", "min-date": "$data_registrazione$", "help": "<?php echo tr('Data nella quale considerare il movimento contabile, che può essere posticipato rispetto la data della fattura'); ?>" ]}
</div>
<?php
if ($dir == 'entrata') {
?>

View File

@ -252,9 +252,10 @@ class DefaultHandler implements HandlerInterface
$values['min-value'] = isset($values['min-value']) ? $values['min-value'] : '0.'.str_repeat('0', $decimals - 1).'1';
}
}
// Delega al metodo "text", per la generazione del codice HTML
$values['type'] = 'text';
return $this->text($values, $extras);
}