mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix vari
This commit is contained in:
@@ -569,6 +569,3 @@ input.small-width {
|
|||||||
margin: 5%;
|
margin: 5%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.bound{
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
@@ -3,7 +3,7 @@ $(document).ready(function () {
|
|||||||
$('[data-href]').not('.ask, .bound').click(function () {
|
$('[data-href]').not('.ask, .bound').click(function () {
|
||||||
launch_modal($(this).data('title'), $(this).data('href'), 1, $(this).data('target'));
|
launch_modal($(this).data('title'), $(this).data('href'), 1, $(this).data('target'));
|
||||||
});
|
});
|
||||||
$('[data-href]').not('.ask, .bound').addClass('bound');
|
$('[data-href]').not('.ask, .bound').addClass('bound clickable');
|
||||||
|
|
||||||
// Tooltip
|
// Tooltip
|
||||||
$('.tip').not('.tooltipstered').each(function () {
|
$('.tip').not('.tooltipstered').each(function () {
|
||||||
|
@@ -4,7 +4,7 @@ include_once __DIR__.'/../../core.php';
|
|||||||
|
|
||||||
switch (post('op')) {
|
switch (post('op')) {
|
||||||
case 'import':
|
case 'import':
|
||||||
$i = 0;
|
|
||||||
foreach ($data as $key => $value) {
|
foreach ($data as $key => $value) {
|
||||||
|
|
||||||
if (!empty($value)){
|
if (!empty($value)){
|
||||||
|
@@ -48,7 +48,7 @@ switch (post('op')) {
|
|||||||
// Richiamo delle operazioni specifiche
|
// Richiamo delle operazioni specifiche
|
||||||
include $imports[$id_record]['import'];
|
include $imports[$id_record]['import'];
|
||||||
|
|
||||||
$_SESSION['infos'][] = tr('Importazione completata. '.$i.' righe processate.');
|
$_SESSION['infos'][] = tr('Importazione completata. '.count($csv).' righe processate.');
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -98,9 +98,10 @@ if (empty($id_record)) {
|
|||||||
<script>
|
<script>
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
<?php if ($first_row){ ?>
|
<?php if ($first_row){ ?>
|
||||||
$('#first_row').prop('checked', true);
|
$('#first_row').prop('checked', false);
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
)};
|
$('#save').html( "<i class='fa fa-flag-checkered'></i> <?= 'Avvia importazione' ?> ");
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
@@ -99,7 +99,7 @@ $_SESSION['superselect']['idanagrafica'] = $records[0]['idanagrafica'];
|
|||||||
<!-- RIGA 3 -->
|
<!-- RIGA 3 -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
{[ "type": "span", "label": "<?php echo tr('Codice'); ?>", "name": "codice", "value": "$codice$", "extra": "<?php echo $readonly; ?>" ]}
|
{[ "type": "span", "label": "<?php echo tr('Numero'); ?>", "name": "codice", "value": "$codice$", "extra": "<?php echo $readonly; ?>" ]}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
include_once __DIR__.'/../../core.php';
|
include_once __DIR__.'/../../core.php';
|
||||||
|
|
||||||
$report_name = 'contratto_'.$id_record.'.pdf';
|
$report_name = sanitizeFilename('contratto_'.$records[0]['numero'].'.pdf');
|
||||||
|
|
||||||
$autofill = [
|
$autofill = [
|
||||||
'count' => 0, // Conteggio delle righe
|
'count' => 0, // Conteggio delle righe
|
||||||
|
@@ -4,7 +4,7 @@ include_once __DIR__.'/../../core.php';
|
|||||||
|
|
||||||
include_once $docroot.'/modules/interventi/modutil.php';
|
include_once $docroot.'/modules/interventi/modutil.php';
|
||||||
|
|
||||||
$report_name = 'contratto_'.$id_record.'_cons.pdf';
|
$report_name = sanitizeFilename('contratto_'.$records[0]['numero'].'_cons.pdf');
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -371,7 +371,7 @@ if (!empty($interventi)) {
|
|||||||
|
|
||||||
echo '
|
echo '
|
||||||
<br><small class="text-muted">'.tr('Intervento num. _NUM_ del _DATE_', [
|
<br><small class="text-muted">'.tr('Intervento num. _NUM_ del _DATE_', [
|
||||||
'_NUM_' => $int['id'],
|
'_NUM_' => $int['codice'],
|
||||||
'_DATE_' => Translator::dateToLocale($int['inizio']),
|
'_DATE_' => Translator::dateToLocale($int['inizio']),
|
||||||
]).'.</small>';
|
]).'.</small>';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user