Fix minori stampe contabili
This commit is contained in:
parent
7c7797a826
commit
d5cecabdae
|
@ -26,7 +26,7 @@ switch ($resource) {
|
||||||
$id_print = get('id_print');
|
$id_print = get('id_print');
|
||||||
$dir = get('dir');
|
$dir = get('dir');
|
||||||
|
|
||||||
$stampa_definitiva = $database->fetchOne('SELECT id FROM co_stampecontabili WHERE id_print='.prepare($id_print).' AND dir='.prepare($dir).' AND date_start='.prepare($date_start).' AND date_end='.prepare($date_end))['id'];
|
$stampa_definitiva = $dbo->fetchOne('SELECT id FROM co_stampecontabili WHERE id_print='.prepare($id_print).' AND dir='.prepare($dir).' AND date_start='.prepare($date_start).' AND date_end='.prepare($date_end))['id'];
|
||||||
|
|
||||||
echo json_encode($stampa_definitiva ?: 0);
|
echo json_encode($stampa_definitiva ?: 0);
|
||||||
|
|
||||||
|
|
|
@ -172,10 +172,8 @@ if ($nome_stampa != 'Liquidazione IVA') {
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$("#modals > div").on("shown.bs.modal", function () {
|
||||||
setTimeout(function () {
|
eseguiControlli();
|
||||||
eseguiControlli();
|
|
||||||
}, 1000);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#date_start").on("blur", function(){
|
$("#date_start").on("blur", function(){
|
||||||
|
|
Loading…
Reference in New Issue