mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-03 17:27:29 +01:00
Stile del codice
This commit is contained in:
parent
4a18313b8f
commit
984d427a5a
2
assets/src/js/functions/prototypes.js
vendored
2
assets/src/js/functions/prototypes.js
vendored
@ -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;
|
||||
};
|
||||
|
@ -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') {
|
||||
?>
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user