2017-09-14 16:20:11 +02:00
|
|
|
<?php
|
2020-09-07 15:04:06 +02:00
|
|
|
/*
|
|
|
|
* OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione
|
2021-01-20 15:08:51 +01:00
|
|
|
* Copyright (C) DevCode s.r.l.
|
2020-09-07 15:04:06 +02:00
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2017-09-14 16:20:11 +02:00
|
|
|
|
|
|
|
include_once __DIR__.'/../../core.php';
|
|
|
|
|
|
|
|
echo '
|
2017-11-07 19:19:52 +01:00
|
|
|
|
|
|
|
<div class="alert alert-warning">
|
2017-11-11 10:23:02 +01:00
|
|
|
<i class="fa fa-warning"></i> <b>'.tr('Attenzione', [], ['upper']).':</b> '.tr('le suddette stampe contabili non sono da considerarsi valide ai fini fiscali').'.
|
2017-11-07 19:19:52 +01:00
|
|
|
</div>
|
|
|
|
|
2017-09-15 12:50:59 +02:00
|
|
|
<div class="row">
|
2023-05-17 10:50:50 +02:00
|
|
|
<div class="col-md-6 text-center">
|
2017-09-15 12:50:59 +02:00
|
|
|
<div class="panel panel-primary">
|
|
|
|
<div class="panel-heading">
|
2020-07-02 17:30:09 +02:00
|
|
|
<h3 class="panel-title">'.tr('Registri IVA').'</h3>
|
2017-09-15 12:50:59 +02:00
|
|
|
</div>
|
2017-09-14 16:20:11 +02:00
|
|
|
|
2020-12-02 11:31:52 +01:00
|
|
|
<div class="panel-body">
|
2023-05-17 10:50:50 +02:00
|
|
|
<div class="col-md-4">
|
|
|
|
<button type="button" class="btn btn-primary col-md-12" data-toggle="modal" data-title="'.tr('Stampa registro IVA vendite').'" data-href="'.base_path().'/modules/stampe_contabili/stampe_contabili.php?dir=entrata&nome_stampa=Registro IVA&id_record='.$id_record.'" ><i class="fa fa-print fa-2x"></i><br>'.tr('Registro').'<br>'.tr('IVA vendite').'</button>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<button type="button" class="btn btn-primary col-md-12" data-toggle="modal" data-title="'.tr('Stampa registro IVA acquisti').'" data-href="'.base_path().'/modules/stampe_contabili/stampe_contabili.php?dir=uscita&nome_stampa=Registro IVA&id_record='.$id_record.'" ><i class="fa fa-print fa-2x"></i><br>'.tr('Registro').'<br>'.tr('IVA acquisti').'</button>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<button type="button" class="btn btn-primary col-md-12" data-toggle="modal" data-title="'.tr('Stampa liquidazione IVA').'" data-href="'.base_path().'/modules/stampe_contabili/stampe_contabili.php?nome_stampa=Liquidazione IVA&id_record='.$id_record.'" ><i class="fa fa-print fa-2x"></i><br>'.tr('Liquidazione').'<br>'.tr('IVA').'</button>
|
|
|
|
</div>
|
2017-09-14 16:20:11 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-09-15 12:50:59 +02:00
|
|
|
|
|
|
|
|
2017-09-21 16:09:48 +02:00
|
|
|
|
2023-05-17 10:50:50 +02:00
|
|
|
<div class="col-md-6 text-center">
|
2017-09-21 16:09:48 +02:00
|
|
|
<div class="panel panel-primary">
|
|
|
|
<div class="panel-heading">
|
2023-05-17 10:50:50 +02:00
|
|
|
<h3 class="panel-title">'.tr('Contabilità').'</h3>
|
2017-09-21 16:09:48 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel-body">
|
2023-05-17 10:50:50 +02:00
|
|
|
<div class="col-md-4">
|
|
|
|
<button type="button" class="btn btn-primary col-md-12" data-toggle="modal" data-title="'.tr('Stampa Bilancio').'" data-href="'.base_path().'/modules/stampe_contabili/stampa_bilancio.php" ><i class="fa fa-print fa-2x"></i> <br>'.tr('Stampa').'<br>'.tr('Bilancio').'<br></button>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
'.Prints::getLink('Mastrino', 1, 'btn-primary col-md-12', '<br>'.tr('Situazione').'<br>'.tr('patrimoniale'), '|default| fa-2x', 'lev=1').'
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
'.Prints::getLink('Mastrino', 2, 'btn-primary col-md-12', '<br>'.tr('Situazione').'<br>'.tr('economica'), '|default| fa-2x', 'lev=1').'
|
|
|
|
</div>
|
2017-09-15 12:50:59 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-25 14:30:31 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2023-05-17 10:50:50 +02:00
|
|
|
<div class="col-md-4 text-center">
|
2021-10-25 14:30:31 +02:00
|
|
|
<div class="panel panel-primary">
|
|
|
|
<div class="panel-heading">
|
2023-05-17 10:50:50 +02:00
|
|
|
<h3 class="panel-title">'.tr('Dati economici dal _START_ al _END_', [
|
|
|
|
'_START_' => Translator::dateToLocale($_SESSION['period_start']),
|
|
|
|
'_END_' => Translator::dateToLocale($_SESSION['period_end']),
|
|
|
|
]).'</h3>
|
2021-10-25 14:30:31 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel-body">
|
2023-05-17 10:50:50 +02:00
|
|
|
<div class="col-md-6">
|
|
|
|
'.Prints::getLink('Fatturato', $id_record, 'btn-primary col-md-12', '<br>'.tr('Stampa').'<br>'.tr('Fatturato'), '|default| fa-2x', 'dir=entrata').'
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
'.Prints::getLink('Fatturato', $id_record, 'btn-primary col-md-12', '<br>'.tr('Stampa').'<br>'.tr('Acquisti').'<br>', '|default| fa-2x', 'dir=uscita').'
|
|
|
|
</div>
|
2021-11-12 11:53:42 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-05-17 10:50:50 +02:00
|
|
|
<div class="col-md-4 text-center">
|
2021-11-12 11:53:42 +01:00
|
|
|
<div class="panel panel-primary">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">'.tr('Libro giornale').'</h3>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel-body">
|
2023-05-17 10:50:50 +02:00
|
|
|
<div class="col-md-6">
|
|
|
|
'.Prints::getLink('Libro giornale', 2, 'btn-primary col-md-12', '<br>'.tr('Libro').'<br>'.tr('giornale'), '|default| fa-2x').'
|
|
|
|
</div>
|
2021-10-25 14:30:31 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-07-27 15:09:10 +02:00
|
|
|
|
2023-05-17 10:50:50 +02:00
|
|
|
<div class="col-md-4 text-center">
|
2022-07-27 15:09:10 +02:00
|
|
|
<div class="panel panel-primary">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">'.tr('Scadenzario').'</h3>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel-body">';
|
|
|
|
|
|
|
|
if (empty($dbo->fetchArray('SELECT * FROM co_scadenziario'))) {
|
|
|
|
$class = 'muted';
|
|
|
|
$disabled = 'disabled';
|
|
|
|
} else {
|
|
|
|
$class = 'primary';
|
|
|
|
$disabled = '';
|
|
|
|
}
|
|
|
|
|
2023-05-17 10:50:50 +02:00
|
|
|
echo '
|
|
|
|
<div class="col-md-6">
|
|
|
|
<button type="button" '.$disabled.' class="btn btn-'.$class.' col-md-12" data-toggle="modal" data-title="'.tr('Stampa scadenzario').'" data-href="'.base_path().'/modules/stampe_contabili/stampa_scadenzario.php" >
|
|
|
|
<i class="fa fa-print fa-2x"></i><br>'.tr('Stampa<br>scadenzario').'
|
|
|
|
</button>
|
|
|
|
</div>';
|
2022-07-27 15:09:10 +02:00
|
|
|
|
|
|
|
echo '
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-09-14 16:20:11 +02:00
|
|
|
</div>';
|